Use syslog for messages about dropped sessions, do not flood a console.
Suggested by: Eugene Grosbein <eugen@kuzbass.ru> Approved by: luigi MFC after: 1 week
This commit is contained in:
parent
02edf2208d
commit
6b6874b20c
@ -1026,7 +1026,7 @@ install_state(struct ip_fw *rule, ipfw_insn_limit *cmd,
|
||||
if (parent->count >= cmd->conn_limit) {
|
||||
if (fw_verbose && last_log != time_second) {
|
||||
last_log = time_second;
|
||||
printf(
|
||||
log(LOG_SECURITY | LOG_INFO,
|
||||
"drop session, too many entries\n");
|
||||
}
|
||||
return 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user