mirror of
https://tildegit.org/solene/iblock.git
synced 2024-11-25 19:50:12 +01:00
less verbose logs
This commit is contained in:
parent
fc07398e49
commit
b452300021
3
main.c
3
main.c
@ -192,9 +192,8 @@ watch_event(const int nsock, const int s[], const char *table)
|
|||||||
close(new_fd); /* no longer required */
|
close(new_fd); /* no longer required */
|
||||||
|
|
||||||
/* ban this ip */
|
/* ban this ip */
|
||||||
syslog(LOG_DAEMON, "blocking %s", ip);
|
syslog(LOG_DAEMON, "block and kill states for %s", ip);
|
||||||
runcmd(bancmd[0], bancmd);
|
runcmd(bancmd[0], bancmd);
|
||||||
syslog(LOG_DAEMON, "kill states for %s", ip);
|
|
||||||
runcmd(killstatecmd[0], killstatecmd);
|
runcmd(killstatecmd[0], killstatecmd);
|
||||||
}
|
}
|
||||||
if (ev[i].filter & EVFILT_SIGNAL) {
|
if (ev[i].filter & EVFILT_SIGNAL) {
|
||||||
|
Loading…
Reference in New Issue
Block a user