Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #---------------------
- # Log Lines to Block
- #---------------------
- 2019-07-22 09:44:37.767073 [WARNING] sofia_reg.c:1532 SIP auth challenge (INVITE) on sofia profile 'internal' for [[email protected]] from ip 77.247.110.234
- 2019-07-22 09:44:37.767073 [DEBUG] sofia.c:8025 IP 77.247.110.234 Rejected by acl "domains". Falling back to Digest auth.
- #---------------------
- # Fail2ban
- #---------------------
- #FILTER
- #------
- /etc/fail2ban/filter.d/freeswitch-invite.conf
- # Fail2Ban configuration file
- #
- # Author: soapee01
- #
- [Definition]
- failregex = .*\[DEBUG\] sofia.c:\d+ IP <HOST> Rejected by acl.*Falling back to Digest auth.
- ignoreregex =
- #JAIL.LOCAL
- #----------
- [freeswitch-invite]
- enabled = true
- port = 5060,5061,5080,5081
- filter = freeswitch-invite
- logpath = /usr/local/freeswitch/log/freeswitch.log
- action = iptables-allports[name=freeswitch-invite, protocol=all]
- maxretry = 5
- findtime = 60
- bantime = 6000
- #---------------------
- # Fail2ban Logs
- #---------------------
- 2019-07-22 09:38:42,970 fail2ban.jail : INFO Jail 'freeswitch-invite' started
- 2019-07-22 09:38:43,978 fail2ban.actions: WARNING [freeswitch-invite] Ban 195.154.172.176
- 2019-07-22 09:38:45,986 fail2ban.actions: WARNING [freeswitch-invite] Ban 62.210.244.137
- 2019-07-22 09:38:46,993 fail2ban.actions: WARNING [freeswitch-invite] Ban 192.3.8.10
- 2019-07-22 09:38:50,003 fail2ban.actions: WARNING [freeswitch-invite] Ban 62.210.91.41
- 2019-07-22 09:38:54,013 fail2ban.actions: WARNING [freeswitch-invite] Ban 62.210.246.122
- 2019-07-22 09:39:02,027 fail2ban.actions: WARNING [freeswitch-invite] Ban 62.210.90.242
- 2019-07-22 09:39:06,038 fail2ban.actions: WARNING [freeswitch-invite] Ban 102.165.52.145
- 2019-07-22 09:39:06,044 fail2ban.actions: WARNING [freeswitch-invite] Ban 23.94.144.194
- 2019-07-22 09:39:07,051 fail2ban.actions: WARNING [freeswitch-invite] Ban 192.3.138.210
- 2019-07-22 09:39:16,066 fail2ban.actions: WARNING [freeswitch-invite] Ban 107.172.15.10
- 2019-07-22 09:39:31,089 fail2ban.actions: WARNING [freeswitch-invite] Ban 192.210.144.178
- 2019-07-22 09:40:11,140 fail2ban.actions: WARNING [freeswitch-invite] Ban 192.3.183.186
- 2019-07-22 09:41:30,233 fail2ban.actions: WARNING [freeswitch-invite] Ban 23.94.149.146
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement