[Commotion-admin] [commotion-router] Authentication attempts limit (#116)

areynold notifications at github.com
Tue Apr 15 16:07:44 EDT 2014


> @@ -0,0 +1,15 @@
> +# This file is interpreted as shell script.
> +# Put your custom iptables rules here, they will
> +# be executed with each firewall (re-)start.
> +
> +#to restart the fire wall use /etc/init.d/firewall restart;
> +
> +#for debugging added rules ues FW_TRACE=1 fw reload
> +
> +#more details http://wiki.openwrt.org/doc/uci/firewall
> +
> +#if it didn't work remove "-i br-lan" to accept any interface
> +
> +iptables -I INPUT -i br-lan -p tcp -m tcp --dport 22  -m recent --set --name DEFAULT --rsource
> +
> +iptables -I INPUT -i br-lan-p tcp -m tcp --dport 22  -m recent --update --seconds 180 --hitcount 4 --name DEFAULT --rsource -j DROP

This line causes a fatal error on startup. Should be `...br-lan -p...`

---
Reply to this email directly or view it on GitHub:
https://github.com/opentechinstitute/commotion-router/pull/116/files#r11654890
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.chambana.net/pipermail/commotion-admin/attachments/20140415/106c4052/attachment.html>


More information about the Commotion-admin mailing list