Minor changes
parent
16d7aad0a2
commit
83b3f05fc8
|
@ -4,6 +4,8 @@
|
||||||
- Changes to LANDHCPSERVER so it accepts interface names, plus a possible fix for win7
|
- Changes to LANDHCPSERVER so it accepts interface names, plus a possible fix for win7
|
||||||
hammering DHCP server for unknown reason?
|
hammering DHCP server for unknown reason?
|
||||||
- Cleanups
|
- 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>
|
0.9.7 - Brielle Bruns <bruns@2mbit.com>
|
||||||
- Support for marking packets, uses new config file and
|
- Support for marking packets, uses new config file and
|
||||||
|
|
|
@ -136,13 +136,12 @@ if [ -s "$BASEDIR/include/ipv4_custom_blockip" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ $BLOCKEDIP ]; then
|
if [ $BLOCKEDIP ]; then
|
||||||
display_c YELLOW "Adding blocked IPs: " N
|
display_c YELLOW "Adding blocked IPs... "
|
||||||
for i in `grep -v "\#" $BLOCKEDIP`; do
|
for i in `grep -v "\#" $BLOCKEDIP`; do
|
||||||
echo -n "$i "
|
#echo -n "$i "
|
||||||
$IPTABLES -A INPUT -s $i -j DROP
|
$IPTABLES -A INPUT -s $i -j DROP
|
||||||
$IPTABLES -A OUTPUT -d $i -j DROP
|
$IPTABLES -A OUTPUT -d $i -j DROP
|
||||||
done
|
done
|
||||||
echo -ne "\n"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue