X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=proftpd-betterlog.patch;h=7b43a8d65e868883ddaeb86dd6b94d3de1c9a967;hb=153bd57c2e7b3f8b2b819d1b8179e3322615c0c4;hp=466e04474e7456b18a7558c22b4145f63003f32a;hpb=cda40b44aa61cb3ed73bc501bff784d3a35b870a;p=packages%2Fproftpd.git diff --git a/proftpd-betterlog.patch b/proftpd-betterlog.patch index 466e044..7b43a8d 100644 --- a/proftpd-betterlog.patch +++ b/proftpd-betterlog.patch @@ -1,29 +1,30 @@ -diff -ur proftpd-1.2.0pre4.orig/modules/mod_auth.c proftpd-1.2.0pre4/modules/mod_auth.c ---- proftpd-1.2.0pre4.orig/modules/mod_auth.c Mon Aug 30 05:43:57 1999 -+++ proftpd-1.2.0pre4/modules/mod_auth.c Wed Sep 1 13:59:36 1999 -@@ -525,7 +525,11 @@ +diff -ur proftpd-1.2.0pre9.orig/modules/mod_auth.c proftpd-1.2.0pre9/modules/mod_auth.c +--- proftpd-1.2.0pre9.orig/modules/mod_auth.c Sat Oct 23 07:18:49 1999 ++++ proftpd-1.2.0pre9/modules/mod_auth.c Thu Oct 28 15:18:57 1999 +@@ -541,8 +541,11 @@ c = _auth_resolve_user(p,&user,&ourname,&anonname); if(!user) { -- log_pri(LOG_NOTICE,"failed login from %s, '%s' is not a UserAlias.",inet_ascii(p,session.c->remote_ipaddr),origuser); +- log_pri(LOG_NOTICE, "USER %s (Login failed): User not a UserAlias.", +- origuser); + log_auth(LOG_NOTICE,"USER %s: user is not a UserAlias from %s [%s] to %s:%i", -+ user,session.c->remote_name, -+ inet_ascii(p,session.c->remote_ipaddr), -+ inet_ascii(p,session.c->local_ipaddr), -+ session.c->local_port); ++ origuser,session.c->remote_name, ++ inet_ascii(p,session.c->remote_ipaddr), ++ inet_ascii(p,session.c->local_ipaddr), ++ session.c->local_port); goto auth_failure; } -@@ -533,7 +537,11 @@ +@@ -550,7 +553,11 @@ aclp = login_check_limits(main_server->conf,FALSE,TRUE,&i); if((pw = auth_getpwnam(p,user)) == NULL) { -- log_pri(LOG_NOTICE,"failed login from %s, can't find user '%s'",inet_ascii(p,session.c->remote_ipaddr),user); +- log_pri(LOG_NOTICE, "USER %s (Login failed): Can't find user.", user); + log_auth(LOG_NOTICE,"USER %s: no such user found from %s [%s] to %s:%i", -+ user,session.c->remote_name, -+ inet_ascii(p,session.c->remote_ipaddr), -+ inet_ascii(p,session.c->local_ipaddr), -+ session.c->local_port); ++ user,session.c->remote_name, ++ inet_ascii(p,session.c->remote_ipaddr), ++ inet_ascii(p,session.c->local_ipaddr), ++ session.c->local_port); goto auth_failure; }