Minor changes

master
bbruns 2010-10-06 16:25:39 +00:00
parent 16d7aad0a2
commit 83b3f05fc8
2 changed files with 4 additions and 3 deletions

View File

@ -4,6 +4,8 @@
- Changes to LANDHCPSERVER so it accepts interface names, plus a possible fix for win7
hammering DHCP server for unknown reason?
- Cleanups
- No longer display list of blocked IPs, considering if they are
as long as my list is, they'll take 4 pages to display...
0.9.7 - Brielle Bruns <bruns@2mbit.com>
- Support for marking packets, uses new config file and

View File

@ -136,13 +136,12 @@ if [ -s "$BASEDIR/include/ipv4_custom_blockip" ]; then
fi
if [ $BLOCKEDIP ]; then
display_c YELLOW "Adding blocked IPs: " N
display_c YELLOW "Adding blocked IPs... "
for i in `grep -v "\#" $BLOCKEDIP`; do
echo -n "$i "
#echo -n "$i "
$IPTABLES -A INPUT -s $i -j DROP
$IPTABLES -A OUTPUT -d $i -j DROP
done
echo -ne "\n"
fi