]> git.pld-linux.org Git - packages/proftpd.git/commitdiff
- patches from devel
authorpius <pius@pld-linux.org>
Wed, 21 Jul 1999 09:27:12 +0000 (09:27 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    proftpd-betterlog.patch -> 1.1
    proftpd-noautopriv.patch -> 1.1

proftpd-betterlog.patch [new file with mode: 0644]
proftpd-noautopriv.patch [new file with mode: 0644]

diff --git a/proftpd-betterlog.patch b/proftpd-betterlog.patch
new file mode 100644 (file)
index 0000000..8f83935
--- /dev/null
@@ -0,0 +1,28 @@
+--- proftpd-1.2.0pre1/modules/mod_auth.c.betterlog     Thu Feb 11 14:03:09 1999
++++ proftpd-1.2.0pre1/modules/mod_auth.c       Thu Feb 11 14:03:34 1999
+@@ -514,7 +514,11 @@
+   c = _auth_resolve_user(p,&user,&ourname,&anonname);
+   if(!user) {
+-    log_pri(LOG_NOTICE,"failed login, '%s' is 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);
+     goto auth_failure;
+   }
+@@ -522,7 +526,11 @@
+   aclp = login_check_limits(main_server->conf,FALSE,TRUE,&i);
+   if((pw = auth_getpwnam(p,user)) == NULL) {
+-    log_pri(LOG_NOTICE,"failed login, can't find user '%s'",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);
+     goto auth_failure;
+   }
diff --git a/proftpd-noautopriv.patch b/proftpd-noautopriv.patch
new file mode 100644 (file)
index 0000000..be965ea
--- /dev/null
@@ -0,0 +1,10 @@
+--- proftpd-1.2.0pre1/include/log.h.noauthpriv Thu Feb 11 12:10:38 1999
++++ proftpd-1.2.0pre1/include/log.h    Thu Feb 11 12:11:01 1999
+@@ -25,6 +25,7 @@
+ #ifndef __LOG_H
+ #define __LOG_H
++#undef LOG_AUTHPRIV
+ #ifndef LOG_AUTHPRIV
+ #define LOG_AUTHPRIV LOG_AUTH
+ #endif
This page took 0.038354 seconds and 4 git commands to generate.