diff --git a/ChangeLog b/ChangeLog index 20082807..a19d27b9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -16,6 +16,9 @@ v0.91.7 07-Mar-2007 Content-Transfer-Encoding are temporary stored in the fido message as kludges. + mbnntp: + Suppress logging of passwords. + v0.91.6 05-Mar-2007 - 07-Mar-2007 diff --git a/mbnntp/mbnntp.c b/mbnntp/mbnntp.c index adc3af01..0e748175 100644 --- a/mbnntp/mbnntp.c +++ b/mbnntp/mbnntp.c @@ -4,7 +4,7 @@ * Purpose ...............: MBSE NNTP Server * ***************************************************************************** - * Copyright (C) 1997-2005 + * Copyright (C) 1997-2007 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -265,7 +265,11 @@ void nntp(void) if (len == 0) continue; - Syslog('n', "< \"%s\"", printable(buf, 0)); + if (strcasecmp(buf, (char*)"AUTHINFO PASS")) { + Syslog('n', "< \"%s\"", printable(buf, 0)); + } else { + Syslog('n', "< \"AUTHINFO PASS ********\""); + } if (! check_free()) { send_nntp("400 server closed"); return;