1998-12-14 22:13:37 +00:00
|
|
|
--- modules/mod_auth.c.orig Sat Oct 17 22:24:41 1998
|
|
|
|
+++ modules/mod_auth.c Mon Dec 14 15:26:02 1998
|
|
|
|
@@ -61,7 +61,7 @@
|
1998-02-20 08:55:57 +00:00
|
|
|
/* Is this the proper behavior when timing out? */
|
|
|
|
send_response_async(R_421,"Login Timeout (%d seconds): closing control connection.",
|
|
|
|
TimeoutLogin);
|
|
|
|
- schedule(main_exit,0,(void*)LOG_NOTICE,"FTP login timed out, disconnected.",
|
|
|
|
+ schedule(main_exit,0,(void*)LOG_INFO,"FTP login timed out, disconnected.",
|
|
|
|
(void*)0,NULL);
|
|
|
|
remove_timer(TIMER_IDLE,ANY_MODULE);
|
|
|
|
remove_timer(TIMER_NOXFER,ANY_MODULE);
|
1998-12-14 22:13:37 +00:00
|
|
|
@@ -763,13 +763,13 @@
|
|
|
|
resolve_anonymous_dirs(c->subset);
|
1998-02-20 08:55:57 +00:00
|
|
|
|
|
|
|
if(c)
|
1998-12-14 22:13:37 +00:00
|
|
|
- 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);
|
1998-02-20 08:55:57 +00:00
|
|
|
else
|
1998-12-14 22:13:37 +00:00
|
|
|
- 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),
|
|
|
|
@@ -1132,7 +1132,7 @@
|
|
|
|
send_response(R_530,"%s",
|
|
|
|
sreplace(cmd->tmp_pool,maxstr,"%m",maxn,NULL));
|
1998-02-20 08:55:57 +00:00
|
|
|
|
1998-12-14 22:13:37 +00:00
|
|
|
- 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);
|
|
|
|
}
|
|
|
|
@@ -1156,7 +1156,7 @@
|
1998-02-20 08:55:57 +00:00
|
|
|
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);
|
|
|
|
}
|
1998-12-14 22:13:37 +00:00
|
|
|
@@ -1243,7 +1243,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),
|