Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 04 May 1997 11:51:24 -0400
From:      "Danny J. Zerkel" <dzerkel@phofarm.com>
To:        jkh@freebsd.org
Cc:        hackers@freebsd.org
Subject:   rc.* changes
Message-ID:  <336CB07C.41C67EA6@phofarm.com>

next in thread | raw e-mail | index | archive | help
Jordan,

I made the recent rc changes to my system and so far so good.  I
wanted to add a few things for my configuration, so here are some
further (simple) suggestions.

1) Could you add a knob for inetd options?

2) I have a filter file that I use in rc.firewall, so I added:

--- rc.firewall Tue Apr 29 17:49:25 1997
+++ /etc/rc.firewall    Thu May  1 19:24:50 1997
@@ -150,5 +150,7 @@
     /sbin/ipfw add pass udp from ${oip} to any 123
 
     # Everyting else is denied as default.
+elif [ "${firewall}" != "NONE" ]; then
+    /sbin/ipfw ${firewall}
 fi
 
I then have firewall set in rc.conf like this:

firewall="/etc/ppp/filter"      # Set to firewall type or NO for none.

You might want to test if ${firewall} actually refers to a file
first, but the minimal approach works for me.

Thanks,

Danny J. Zerkel
Photon Farmers
dzerkel@phofarm.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?336CB07C.41C67EA6>