Suppress logging of passwords

This commit is contained in:
Michiel Broek 2007-03-10 13:11:19 +00:00
parent a29a2f7b09
commit 995ac386a5
2 changed files with 9 additions and 2 deletions

View File

@ -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

View File

@ -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;