aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2001-02-27 22:01:35 +0000
committerBill Nottingham <notting@redhat.com>2001-02-27 22:01:35 +0000
commit3080f1ef6364fe1ef16df4ce47feeb9c03642e6d (patch)
tree26586cf6e1b05743961cd1ad26dbd808b64acb95
parentf0c5160ec2c9a38022910c15f0af43d0e8218e0b (diff)
downloadinitscripts-3080f1ef6364fe1ef16df4ce47feeb9c03642e6d.tar
initscripts-3080f1ef6364fe1ef16df4ce47feeb9c03642e6d.tar.gz
initscripts-3080f1ef6364fe1ef16df4ce47feeb9c03642e6d.tar.bz2
initscripts-3080f1ef6364fe1ef16df4ce47feeb9c03642e6d.tar.xz
initscripts-3080f1ef6364fe1ef16df4ce47feeb9c03642e6d.zip
log that we're punching something through the firewall
-rwxr-xr-xsysconfig/network-scripts/ifup-post1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysconfig/network-scripts/ifup-post b/sysconfig/network-scripts/ifup-post
index 14871708..5809220d 100755
--- a/sysconfig/network-scripts/ifup-post
+++ b/sysconfig/network-scripts/ifup-post
@@ -92,6 +92,7 @@ if [ "$FIREWALL_MODS" != "no" -a -n "$FWACTIVE" ]; then
for nameserver in $ns ; do
if ! ipchains -L input -n | grep -q $nameserver ; then
ipchains -I input -s $nameserver/32 53 -p udp -j ACCEPT
+ logger $"punching nameserver $nameserver through the firewall"
fi
done
fi