summaryrefslogtreecommitdiff
path: root/ftp/proftpd-devel/files/patch-ae
blob: b7525289a45a91e0e9b57a7f7517c92c360431ba (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
--- modules/mod_auth.c.orig	Thu Mar  4 18:29:19 1999
+++ modules/mod_auth.c	Thu Apr  1 14:36:03 1999
@@ -65,7 +65,7 @@
   /* Is this the proper behavior when timing out? */
   send_response_async(R_421,"Login Timeout (%d seconds): closing control connection.",
                       TimeoutLogin);
-  main_exit((void*)LOG_NOTICE,"FTP login timed out, disconnected.",
+  main_exit((void*)LOG_INFO,"FTP login timed out, disconnected.",
 		  (void*)0,NULL);
 
 /*
@@ -787,13 +787,13 @@
     resolve_anonymous_dirs(c->subset);
 
   if(c)
-    log_auth(LOG_NOTICE,"ANONYMOUS FTP login as '%s' from %s [%s] to %s:%i",
+    log_auth(LOG_INFO,"ANONYMOUS FTP login as '%s' from %s [%s] to %s:%i",
       origuser,session.c->remote_name,
       inet_ascii(p,session.c->remote_ipaddr),
       inet_ascii(p,session.c->local_ipaddr),
       session.c->local_port);
   else
-    log_auth(LOG_NOTICE,"FTP login as '%s' from %s [%s] to %s:%i",
+    log_auth(LOG_INFO,"FTP login as '%s' from %s [%s] to %s:%i",
       origuser,session.c->remote_name,
       inet_ascii(p,session.c->remote_ipaddr),
       inet_ascii(p,session.c->local_ipaddr),
@@ -1156,7 +1156,7 @@
       send_response(R_530,"%s",
                     sreplace(cmd->tmp_pool,maxstr,"%m",maxn,NULL));
 
-      log_auth(LOG_NOTICE,"connection refused (max clients per host %d)",
+      log_auth(LOG_INFO,"connection refused (max clients per host %d)",
                max);
       end_login(0);
     }
@@ -1180,7 +1180,7 @@
       send_response(R_530,"%s",
                     sreplace(cmd->tmp_pool,maxstr,"%m",maxn,NULL));
 
-      log_auth(LOG_NOTICE,"connection refused (max clients %d)",
+      log_auth(LOG_INFO,"connection refused (max clients %d)",
                max);
       end_login(0);
     }
@@ -1267,7 +1267,7 @@
 
     if(++auth_tries >= max) {
       send_response(R_530,"Login incorrect");
-      log_auth(LOG_NOTICE,"Maximum login attempts exceeded from %s [%s] to %s:%i",
+      log_auth(LOG_INFO,"Maximum login attempts exceeded from %s [%s] to %s:%i",
                session.c->remote_name,
                inet_ascii(cmd->tmp_pool,session.c->remote_ipaddr),
 	       inet_ascii(cmd->tmp_pool,session.c->local_ipaddr),