Dateiansicht:
Datei: | Projekte -> PHP:check_blocked_ip -> fwlist.sh |
---|---|
md5: | 1af0d02fab071468837e2646c2f66ae5 |
sha1: | eb0b749341634e1d63d369fc087345e8e326aff2 |
Download-Link: | Download |
- #!/bin/sh
- # chwon this to root!
- # set rights to 755 or better 750 and think about a group whos allowed execute this! (set this group with chown root:GROUP fwlist.sh)
- /sbin/iptables -L -n | grep "DROP\|REJECT" | sed -r "s/ +/ /" | cut -d " " -f6