(wlan) how to update a pf rules set automaticly

Louis Kowolowski louisk at cryptomonkeys.com
Tue Jan 31 13:26:35 PST 2006


On Tue, Jan 31, 2006 at 12:54:53PM -0800, David Wolfskill wrote:
> On Tue, Jan 31, 2006 at 09:44:41PM +0100, Gordon Bergling wrote:
> > ...
> > Off cource, I could write a script which updates my pf.conf or restart
> > pf with a different config file, but I would like to have some more
> > magic. ;)
> > 
> > Has anyone an Idea?
> 
> What I do, using ipfw, is have 2 scripts.
> 
I'm doing something similar but using pf instead.  I leave certain types of
traffic open (dhcp, and dns, and ntp) and block the rest.  Then when dhclient
calls dhclient-exit-hooks, I execute a new set of pf rules based on the info
I got from dhclient.
--
Louis Kowolowski	KE7BAX			    louisk at cryptomonkeys.com
Cryptomonkeys:                          http://www.cryptomonkeys.com/~louisk

Irrigation of the land with seawater desalinated by fusion power is ancient.
It's called rain.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 185 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-mobile/attachments/20060131/1d7080b9/attachment.bin


More information about the freebsd-mobile mailing list