Hashing of usernames in syslog

Erik Klavon erik at eriq.org
Sat Sep 28 01:04:40 UTC 2002


Greetings

I would like to be able to hash every occurrence of usernames which
appear in syslog entries made by nnrpd. This feature would be
configurable in inn.conf and would require SSL. It would use the
SHA-1 cryptographic hash function. I haven't thought this through in
detail, but here is my initial idea of an approach.

I would implement this by first writing a function that takes as
argument the username and returns either an encrypted version or its
or a copy of its argument, depending on the option in inn.conf. A new
global variable would be used to store the encrypted value. Every
syslog statement which includes a username would be modified to use
this new value.

What does everyone think about this idea/approach? 

Erik

-- 
erik         | "It is idle to think that, by means of words, | Maurice
  kl at von     | any real communication can ever pass | Maeterlinck
    eriq.org | from one [human] to another." | Silence



More information about the inn-workers mailing list