Subject: Re: resetting the IP packet filter rules without rebooting...
To: Andrew Brown <atatat@atatdot.net>
From: Herb Peyerl <hpeyerl@beer.org>
List: netbsd-users
Date: 11/25/2002 10:55:34
Andrew Brown <atatat@atatdot.net>  wrote:
 > >ipf -D ; ipf -E -f /etc/ipf.conf ; ipnat -f /etc/ipnat.conf ; sleep 30 ; ipf -D
 > >
 > >I hit return and after a couple seconds, I hit ^C.  If the ^C makes it,
 > >then it doesn't "ipf -D". If not, then I know I only have to wait about
 > >30 seconds before I'll have access to the machine again.
 > 
 > i assert that it's more useful to type something (anything, doesn't
 > matter what, since sleep doesn't care) and *if* you see output (ie,
 > full-duplex echo-back is working), *then* you hit control-c.  if you
 > don't get echo-back, then your new filters are interfering with it

yeah, actually, I do usually hit return a few times before ^C but YKWIM.


---
Real PC Serial console & remote reset - The PC Weasel! http://www.realweasel.com