|
@ -20,12 +20,15 @@ nfs_client=NO |
|
|
gated=NO |
|
|
gated=NO |
|
|
kerberos_server=NO |
|
|
kerberos_server=NO |
|
|
amd=NO |
|
|
amd=NO |
|
|
|
|
|
ipfilter=NO |
|
|
|
|
|
|
|
|
# miscellaneous other flags |
|
|
# miscellaneous other flags |
|
|
# only used if the appropriate server is marked YES above |
|
|
# only used if the appropriate server is marked YES above |
|
|
gated_flags= |
|
|
gated_flags= |
|
|
amd_dir=/amd # AMD's mount directory |
|
|
amd_dir=/amd # AMD's mount directory |
|
|
amd_master=/etc/amd/master # AMD 'master' map |
|
|
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 |
|
|
# /etc/myname contains my symbolic name |
|
|
# |
|
|
# |
|
@ -35,6 +38,15 @@ if [ -f /etc/defaultdomain ]; then |
|
|
domainname `cat /etc/defaultdomain` |
|
|
domainname `cat /etc/defaultdomain` |
|
|
fi |
|
|
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. |
|
|
# configure all of the interfaces which we know about. |
|
|
# do this by reading /etc/hostname.* files, where * is the name |
|
|
# do this by reading /etc/hostname.* files, where * is the name |
|
|
# of a given interface. |
|
|
# of a given interface. |
|
|