For Example

Jail.conf

[asterisk-iptables]

enabled  = true
filter   = asterisk
action   = iptables-allports[name=ASTERISK, protocol=all]
           sendmail-whois[name=ASTERISK, dest=root, sender=
[email protected]]
logpath  = /var/log/asterisk/messages
maxretry = 5
bantime = 259200

---

iptables -n -L asterisk-iptables

-----

I  frequently execute the *service iptables save*. Which save the list in
iptables files permanently.


Thanks
Aloysius Lloyd
Phone : +1-416-479-0505 Ext 203
Email : [email protected] | Web : www.sunteltech.ca


On Thu, Jan 20, 2011 at 10:36 PM, Aloysius Lloyd
<[email protected]>wrote:

> iptables -n -L  < name jail.conf>
>
>
> Thanks
> Aloysius Lloyd
> Phone : +1-416-479-0505 Ext 203
> Email : [email protected] | Web : www.sunteltech.ca
>
>
>
> On Thu, Jan 20, 2011 at 10:26 PM, Bruce N <[email protected]> wrote:
>
>>
>> Hi Everyone,I know it's not directly related to Asterisk but it seems that
>> mailing list for Fail2ban is non-existant. Other than looking in the
>> asterisk full log for SIP attacks, where else can one look for logs?
>> Specially when there is Fail2ban installed where is the list of the banned
>> IPs that attempted failed SIP authentication?I do have notification setup
>> but I still want to know if anyone on the list knows how to easily list the
>> number of banned IPs? Fail2ban doesn't seem to be tampering iptables files
>> and it probably does another find which I am unable to locate.Thanks,Bruce
>>
>>
>
>

Reply via email to