projects
/
clearscm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Changed to add IPs to iptables for all ports instead of j ust ssh.
[clearscm.git]
/
bin
/
bice.pl
diff --git
a/bin/bice.pl
b/bin/bice.pl
index
e875791
..
04ddb8f
100755
(executable)
--- a/
bin/bice.pl
+++ b/
bin/bice.pl
@@
-117,7
+117,7
@@
sub AddToIPTables (@) {
`/sbin/iptables -N BICE`;
# Add all new @ips to iptables
`/sbin/iptables -N BICE`;
# Add all new @ips to iptables
- `/sbin/iptables -A BICE -s $_ -p tcp -
-destination-port 22 -
j DROP` foreach (sort keys %ips);
+ `/sbin/iptables -A BICE -s $_ -p tcp -j DROP` foreach (sort keys %ips);
return;
} # AddToIPTables
return;
} # AddToIPTables