=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/etc/netstart,v retrieving revision 1.3 retrieving revision 1.4 diff -c -r1.3 -r1.4 *** src/etc/netstart 1995/12/30 23:38:21 1.3 --- src/etc/netstart 1996/01/09 09:29:27 1.4 *************** *** 20,31 **** --- 20,34 ---- gated=NO kerberos_server=NO amd=NO + ipfilter=NO # miscellaneous other flags # only used if the appropriate server is marked YES above gated_flags= amd_dir=/amd # AMD's mount directory amd_master=/etc/amd/master # AMD 'master' map + ipfilter_rules=/etc/ipf.rules # Rules for IP packet filtering + ipmon_flags=-s # To disable logging, use ipmon_flags=NO # /etc/myname contains my symbolic name # *************** *** 33,38 **** --- 36,50 ---- hostname $hostname if [ -f /etc/defaultdomain ]; then domainname `cat /etc/defaultdomain` + fi + + # Configure the IP filter before configuring network interfaces + # + if [ X"${ipfilter}" = X"YES" -a -f "${ipfilter_rules}" ]; then + echo 'configuring IP filter' + ipf -Fa -f ${ipfilter_rules} -E + else + ipfilter=NO fi # configure all of the interfaces which we know about.