From 4b7e690457d46e5c91d8eab759beeab4e689e066 Mon Sep 17 00:00:00 2001 From: jilles Date: Sun, 18 Mar 2007 07:44:24 -0700 Subject: [PATCH] [svn] Don't leak auth{} spoofed ip for I-line is full notice either. --- ChangeLog | 9 +++++++++ include/serno.h | 2 +- src/s_conf.c | 4 ++-- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 5248fff0..04f7f8a4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +jilles 2007/03/17 23:50:25 UTC (20070317-3265) + Log: + Update NEWS. + + + Changes: Modified: + +37 -0 trunk/NEWS (File Modified) + + jilles 2007/03/15 18:09:08 UTC (20070315-3259) Log: Allow /invite (but not invex) to override +r, +l, +j in diff --git a/include/serno.h b/include/serno.h index 7ce06e71..0d8a9370 100644 --- a/include/serno.h +++ b/include/serno.h @@ -1 +1 @@ -#define SERNO "20070315-3259" +#define SERNO "20070317-3265" diff --git a/src/s_conf.c b/src/s_conf.c index fa3580a2..bb59cbfc 100644 --- a/src/s_conf.c +++ b/src/s_conf.c @@ -21,7 +21,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * USA * - * $Id: s_conf.c 3257 2007-03-13 16:09:28Z jilles $ + * $Id: s_conf.c 3271 2007-03-18 14:44:24Z jilles $ */ #include "stdinc.h" @@ -239,7 +239,7 @@ check_client(struct Client *client_p, struct Client *source_p, const char *usern "I-line is full for %s!%s%s@%s (%s).", source_p->name, IsGotId(source_p) ? "" : "~", source_p->username, source_p->host, - source_p->sockhost); + show_ip(NULL, source_p) && !IsIPSpoof(source_p) ? source_p->sockhost : "255.255.255.255"); ilog(L_FUSER, "Too many connections from %s!%s%s@%s.", source_p->name, IsGotId(source_p) ? "" : "~",