Update of /cvsroot/routingtools/tools/rc.d
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25639
Modified Files:
firewall
Log Message:
* Only load ipt_unclean in kernel 2.4, skip otherwise (detected by uname)
Index: firewall
===================================================================
RCS file: /cvsroot/routingtools/tools/rc.d/firewall,v
retrieving revision 1.30
retrieving revision 1.31
diff -C2 -d -r1.30 -r1.31
*** firewall 18 Jun 2004 17:49:10 -0000 1.30
--- firewall 18 Jun 2004 19:37:19 -0000 1.31
***************
*** 38,41 ****
--- 38,42 ----
IPTABLES=/usr/sbin/iptables
MODPROBE=/sbin/modprobe
+ UNAME=/bin/uname
# load configuration
***************
*** 188,192 ****
$IPTABLES -N Block
! $IPTABLES -A Block -m unclean -j LogDrop
if [ "$FW_IPSEC" = "yes" ]; then
--- 189,197 ----
$IPTABLES -N Block
! case `$UNAME -r` in
! 2.4.*)
! $IPTABLES -A Block -m unclean -j LogDrop
! ;;
! esac
if [ "$FW_IPSEC" = "yes" ]; then
***************
*** 352,355 ****
--- 357,363 ----
#
# $Log$
+ # Revision 1.31 2004/06/18 19:37:19 hurikhan
+ # * Only load ipt_unclean in kernel 2.4, skip otherwise (detected by uname)
+ #
# Revision 1.30 2004/06/18 17:49:10 hurikhan
# * include new SuSE init script semantics
|