From: Fabian Keil Date: Tue, 20 Mar 2007 13:53:17 +0000 (+0000) Subject: Log the source address for ACL-related connection drops. X-Git-Tag: v_3_0_7~306 X-Git-Url: http://www.privoxy.org/gitweb/files-in-use.jpg?a=commitdiff_plain;h=61efbfb939d84ef0c21c63743573abfddd6dba0b;p=privoxy.git Log the source address for ACL-related connection drops. --- diff --git a/jcc.c b/jcc.c index b375b49e..320858a0 100644 --- a/jcc.c +++ b/jcc.c @@ -1,4 +1,4 @@ -const char jcc_rcs[] = "$Id: jcc.c,v 1.125 2007/03/09 14:12:00 fabiankeil Exp $"; +const char jcc_rcs[] = "$Id: jcc.c,v 1.126 2007/03/17 15:20:05 fabiankeil Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/jcc.c,v $ @@ -33,6 +33,9 @@ const char jcc_rcs[] = "$Id: jcc.c,v 1.125 2007/03/09 14:12:00 fabiankeil Exp $" * * Revisions : * $Log: jcc.c,v $ + * Revision 1.126 2007/03/17 15:20:05 fabiankeil + * New config option: enforce-blocks. + * * Revision 1.125 2007/03/09 14:12:00 fabiankeil * - Move null byte check into separate function. * - Don't confuse the client with error pages @@ -3203,7 +3206,7 @@ static void listen_loop(void) #ifdef FEATURE_ACL if (block_acl(NULL,csp)) { - log_error(LOG_LEVEL_CONNECT, "Connection dropped due to ACL"); + log_error(LOG_LEVEL_CONNECT, "Connection from %s dropped due to ACL", csp->ip_addr_str); close_socket(csp->cfd); freez(csp); continue;