-------- Original Message --------
*Subject: *  Re: [Fail2ban-users] fail2ban-client Hangs on Exit
*From: *     Nick Coons <nick.co...@hyperionworks.com>
*To: *         Fail2ban-users <fail2ban-users@lists.sourceforge.net>
*CC: *
*Date: *      2023-6-19  05:41 PM
Hello!

Yes, the log entries there are quite lengthy. Here's the relevant portion related to the failure, with some sensitive info redacted:

2023-06-19 14:33:54,646 fail2ban.utils          [389]: ERROR 7f6659ee1578 -- exec: fail2ban-client set asterisk delignoreip <IP REDACTED>
2023-06-19 14:33:54,646 fail2ban.utils          [389]: ERROR 7f6659ee1578 -- 
timed out after 60 seconds.
2023-06-19 14:33:54,846 fail2ban.utils          [389]: ERROR fail2ban-client set asterisk delignoreip <IP REDACTED> -- failed with [Errno 3] No such process
2023-06-19 14:33:54,846 fail2ban.utils          [389]: ERROR 7f6659ee1578 -- 
stdout: ''
2023-06-19 14:33:54,846 fail2ban.utils          [389]: ERROR 7f6659ee1578 -- 
stderr: ' Caught signal 15. Exiting'
2023-06-19 14:33:54,846 fail2ban.utils          [389]: ERROR 7f6659ee1578 -- 
killed with SIGTERM (return code: -15)
2023-06-19 14:33:54,847 fail2ban.actions        [389]: ERROR Failed to execute unban jail 'asterisk-whitelist' action 'ignoreip' info 'ActionInfo({'ip': '<IP REDACTED>', 'family': 'inet4', 'ip-rev': '<IP REDACTED>.', 'ip-host': '<HOST REDACTED>', 'fid': '<IP REDACTED>', 'failures': 1, 'time': 1686464265.9312005, 'matches': '[2023-06-05 07:23:08] VERBOSE[30081] res_pjsip/pjsip_options.c: Contact aconaway()<HOST REDACTED>/sip:8dpkvpth@<IP REDACTED>:53693;transport=ws;x-ast-orig-host=c0v0ojc0jlgq.invalid:0 is now Reachable.  RTT: 55.155 msec', 'restored': 1, 'F-*': {'matches': [['[', '2023-06-05 07:23:08', ']...': Error unbanning <IP REDACTED>




It looks like "exec: fail2ban-client set asterisk delignoreip" is the first 
error.
Maybe there is a way to run that command by itself from the command line?

I've never worked with actionunban or delignoreip, so I'm not familiar with them, but that is obviously where the problem is.

Something is probably missing, or mis-named.

Wayne Sallee
wa...@waynesallee.com
http://www.WayneSallee.com


_______________________________________________
Fail2ban-users mailing list
Fail2ban-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fail2ban-users

Reply via email to