Suppress logging of passwords
This commit is contained in:
parent
a29a2f7b09
commit
995ac386a5
@ -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
|
||||
|
||||
|
@ -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;
|
||||
|
||||
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;
|
||||
|
Reference in New Issue
Block a user