[BACK]Return to ipfilter CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / etc / rc.d

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/etc/rc.d/ipfilter between version 1.10.4.2 and 1.11

version 1.10.4.2, 2004/11/12 06:44:17 version 1.11, 2004/08/13 18:08:03
Line 6 
Line 6 
 # PROVIDE: ipfilter  # PROVIDE: ipfilter
 # REQUIRE: root beforenetlkm mountcritlocal tty  # REQUIRE: root beforenetlkm mountcritlocal tty
   
 . /etc/rc.subr  $_rc_subr_loaded . /etc/rc.subr
   
 name="ipfilter"  name="ipfilter"
 rcvar=$name  rcvar=$name
Line 43  ipfilter_prestart()
Line 43  ipfilter_prestart()
 ipfilter_start()  ipfilter_start()
 {  {
         echo "Enabling ipfilter."          echo "Enabling ipfilter."
         /sbin/ipf -E          /sbin/ipf -E -Fa
         /sbin/ipf -Fa  
         /sbin/ipf -6 -Fa  
         if [ -f /etc/ipf.conf ]; then          if [ -f /etc/ipf.conf ]; then
                 /sbin/ipf -f /etc/ipf.conf                  /sbin/ipf -f /etc/ipf.conf
         fi          fi
Line 65  ipfilter_reload()
Line 63  ipfilter_reload()
         echo "Reloading ipfilter rules."          echo "Reloading ipfilter rules."
   
         /sbin/ipf -I -Fa          /sbin/ipf -I -Fa
         /sbin/ipf -6 -I -Fa  
         if [ -f /etc/ipf.conf ] && ! /sbin/ipf -I -f /etc/ipf.conf; then          if [ -f /etc/ipf.conf ] && ! /sbin/ipf -I -f /etc/ipf.conf; then
                 err 1 "reload of ipf.conf failed; not swapping to new ruleset."                  err 1 "reload of ipf.conf failed; not swapping to new ruleset."
         fi          fi

Legend:
Removed from v.1.10.4.2  
changed lines
  Added in v.1.11

CVSweb <webmaster@jp.NetBSD.org>