I tried "iptables -I INPUT -s [212.224.71.236] -j DROP" and got " Unknown command: iptables...". Do I must install fail2ban to issue iptables command? I'm on windows 7.<br>Thanks<br><br><div class="gmail_quote">
On Sat, Jan 29, 2011 at 4:26 PM, curriegrad2004 <span dir="ltr"><<a href="mailto:curriegrad2004@gmail.com">curriegrad2004@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
iptables -I INPUT -s [hackerip] -j DROP<br>
<br>
A better solution is searching the wiki for fail2ban with FreeSwitch.<br>
<div><div></div><div class="h5"><br>
On Sat, Jan 29, 2011 at 4:20 PM, Joao Leme <<a href="mailto:joaocarlosleme@gmail.com">joaocarlosleme@gmail.com</a>> wrote:<br>
> How do I do that?<br>
> Thanks!<br>
> On Sat, Jan 29, 2011 at 4:12 PM, curriegrad2004 <<a href="mailto:curriegrad2004@gmail.com">curriegrad2004@gmail.com</a>><br>
> wrote:<br>
>><br>
>> Try using iptables and block all incoming traffic from this specific host?<br>
>><br>
>> On Sat, Jan 29, 2011 at 3:39 PM, Joao Leme <<a href="mailto:joaocarlosleme@gmail.com">joaocarlosleme@gmail.com</a>><br>
>> wrote:<br>
>> > I just downloaded and compiled the latest Git and a little after<br>
>> > starting<br>
>> > freeswitch I'm getting non stop the following:<br>
>> > [WARNING] sofia_reg.c:1247 SIP auth challenge (REGISTER) on sofia<br>
>> > profile<br>
>> > ‘internal’ for [140@76.XXX.XX.XXX] from ip 212.224.71.236<br>
>> > [WARNING] sofia_reg.c:1247 SIP auth challenge (REGISTER) on sofia<br>
>> > profile<br>
>> > ‘internal’ for [140@76.XXX.XX.XXX] from ip 212.224.71.236<br>
>> > [WARNING] sofia_reg.c:1247 SIP auth challenge (REGISTER) on sofia<br>
>> > profile<br>
>> > ‘internal’ for [thomas@76.XXX.XX.XXX] from ip 212.224.71.236<br>
>> > [WARNING] sofia_reg.c:1247 SIP auth challenge (REGISTER) on sofia<br>
>> > profile<br>
>> > ‘internal’ for [thomas@76.XXX.XX.XXX] from ip 212.224.71.236<br>
>> > [WARNING] sofia_reg.c:1247 SIP auth challenge (REGISTER) on sofia<br>
>> > profile<br>
>> > ‘internal’ for [140@76.XXX.XX.XXX] from ip 212.224.71.236<br>
>> > [WARNING] sofia_reg.c:1247 SIP auth challenge (REGISTER) on sofia<br>
>> > profile<br>
>> > ‘internal’ for [140@76.XXX.XX.XXX] from ip 212.224.71.236<br>
>> > [WARNING] sofia_reg.c:1247 SIP auth challenge (REGISTER) on sofia<br>
>> > profile<br>
>> > ‘internal’ for [thomas@76.XXX.XX.XXX] from ip 212.224.71.236<br>
>> > [WARNING] sofia_reg.c:1247 SIP auth challenge (REGISTER) on sofia<br>
>> > profile<br>
>> > ‘internal’ for [thomas@76.XXX.XX.XXX] from ip 212.224.71.236<br>
>> > [WARNING] sofia_reg.c:1247 SIP auth challenge (REGISTER) on sofia<br>
>> > profile<br>
>> > ‘internal’ for [140@76.XXX.XX.XXX] from ip 212.224.71.236<br>
>> > [WARNING] sofia_reg.c:1247 SIP auth challenge (REGISTER) on sofia<br>
>> > profile<br>
>> > ‘internal’ for [140@76.XXX.XX.XXX] from ip 212.224.71.236<br>
>> > [WARNING] sofia_reg.c:1247 SIP auth challenge (REGISTER) on sofia<br>
>> > profile<br>
>> > ‘internal’ for [thomas@76.XXX.XX.XXX] from ip 212.224.71.236<br>
>> > [WARNING] sofia_reg.c:1247 SIP auth challenge (REGISTER) on sofia<br>
>> > profile<br>
>> > ‘internal’ for [thomas@76.XXX.XX.XXX] from ip 212.224.71.236<br>
>> > it's non-stop and doesn't let me do nothing else. After the first time I<br>
>> > went on to vars and changed the 1234 password....restarted and same<br>
>> > thing<br>
>> > happened, I also try denying the ip on acl.conf (not sure if has<br>
>> > something<br>
>> > to do with it but gave it a try):<br>
>> ><br>
>> > <configuration name="acl.conf" description="Network Lists"><br>
>> > <network-lists><br>
>> > <list name="test2" default="allow"><br>
>> > <node type="deny" host="212.224.71.236"<br>
>> > mask="255.255.255.0"/><br>
>> > </list><br>
>> > </network-lists><br>
>> > </configuration><br>
>> ><br>
>> > Restarted the computer but nothing, he (thomas I guess) was back on my<br>
>> > console.<br>
>> ><br>
>> > Any ideas??? p.s. My computer is on DMZ (I know DMZ is not ideal but is<br>
>> > the<br>
>> > only way I got to be able to connect to the internal profile from out of<br>
>> > the<br>
>> > office etc).<br>
>> > _______________________________________________<br>
>> > FreeSWITCH-users mailing list<br>
>> > <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
>> > <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>> > UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
>> > <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>> ><br>
>> ><br>
>><br>
>> _______________________________________________<br>
>> FreeSWITCH-users mailing list<br>
>> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
>> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
>> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
><br>
><br>
> _______________________________________________<br>
> FreeSWITCH-users mailing list<br>
> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
><br>
><br>
<br>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br>