Re: Problem with ipfw flush

2007-01-25 Thread Ian Smith
Re: freebsd-questions Digest, Vol 162, Issue 11 Message: 31 On Wed, 24 Jan 2007 19:20:47 -0500 (EST), Dan Mahoney wrote: On Wed, 24 Jan 2007, Kevin Kinsey wrote: Dan Mahoney, System Admin wrote: Hey all. In trying to tweak my firewall setup I'm using a file called

Re: Problem with ipfw flush

2007-01-25 Thread Dan Mahoney, System Admin
On Fri, 26 Jan 2007, Ian Smith wrote: Excellent. I'll read up on this for a bit. I suppose my biggest confusion was as to why I could do: kldload ipfw ipfw add 65000 allow ip from any to any but not ipfw flush ipfw add 65000 allow ip from any to any Clearly, the devil is in the output

Re: Problem with ipfw flush

2007-01-25 Thread Ian Smith
On Thu, 25 Jan 2007, Dan Mahoney, System Admin wrote: On Fri, 26 Jan 2007, Ian Smith wrote: Excellent. I'll read up on this for a bit. I've been reading man ipfw for years, but every time find something new :) I suppose my biggest confusion was as to why I could do: kldload ipfw

Problem with ipfw flush

2007-01-24 Thread Dan Mahoney, System Admin
Hey all. In trying to tweak my firewall setup I'm using a file called /etc/ipfw.rules However, it seems even though I copy my rules perfectly to that file, the system freezes up and locks me out when I do: ipfw -f flush; ipfw /etc/ipfw.rules I've also tried doing it as ipfw -f flush

Re: Problem with ipfw flush

2007-01-24 Thread Jeff Royle
Dan Mahoney, System Admin wrote: Hey all. In trying to tweak my firewall setup I'm using a file called /etc/ipfw.rules However, it seems even though I copy my rules perfectly to that file, the system freezes up and locks me out when I do: ipfw -f flush; ipfw /etc/ipfw.rules I've also

Re: Problem with ipfw flush

2007-01-24 Thread Jeff Royle
Jeff Royle wrote: Dan Mahoney, System Admin wrote: Hey all. In trying to tweak my firewall setup I'm using a file called /etc/ipfw.rules However, it seems even though I copy my rules perfectly to that file, the system freezes up and locks me out when I do: ipfw -f flush; ipfw

Re: Problem with ipfw flush

2007-01-24 Thread John Nielsen
On Wednesday 24 January 2007 15:59, Jeff Royle wrote: Jeff Royle wrote: Dan Mahoney, System Admin wrote: In trying to tweak my firewall setup I'm using a file called /etc/ipfw.rules However, it seems even though I copy my rules perfectly to that file, the system freezes up and locks

Re: Problem with ipfw flush

2007-01-24 Thread applecom
In trying to tweak my firewall setup I'm using a file called /etc/ipfw.rules However, it seems even though I copy my rules perfectly to that file, the system freezes up and locks me out when I do: ipfw -f flush; ipfw /etc/ipfw.rules I've also tried doing it as ipfw -f flush ipfw

Re: Problem with ipfw flush

2007-01-24 Thread Dan Mahoney, System Admin
On Thu, 25 Jan 2007, [EMAIL PROTECTED] wrote: In trying to tweak my firewall setup I'm using a file called /etc/ipfw.rules However, it seems even though I copy my rules perfectly to that file, the system freezes up and locks me out when I do: ipfw -f flush; ipfw /etc/ipfw.rules I've also

Re: Problem with ipfw flush

2007-01-24 Thread Kevin Kinsey
Dan Mahoney, System Admin wrote: Hey all. In trying to tweak my firewall setup I'm using a file called /etc/ipfw.rules However, it seems even though I copy my rules perfectly to that file, the system freezes up and locks me out when I do: /usr/share/examples/ipfw/change_rules.sh? HTH,

Re: Problem with ipfw flush

2007-01-24 Thread Dan Mahoney, System Admin
On Wed, 24 Jan 2007, Kevin Kinsey wrote: Dan Mahoney, System Admin wrote: Hey all. In trying to tweak my firewall setup I'm using a file called /etc/ipfw.rules However, it seems even though I copy my rules perfectly to that file, the system freezes up and locks me out when I do:

Re: Problem with ipfw flush

2007-01-24 Thread applecom
Dan Mahoney, System Admin [EMAIL PROTECTED] wrote: Even if I add the flush command directly to /etc/ipfw.rules, and run ipfw -f /etc/ipfw.rules right from the command line, my connection gets dropped and the rest of the commands do not run. In experimenting a bit more, I've found that I can

Re: Problem with ipfw flush

2007-01-24 Thread Paul Schmehl
--On January 24, 2007 4:18:12 PM -0500 Dan Mahoney, System Admin [EMAIL PROTECTED] wrote: Well, I'm trying to be compliant with /etc/rc.firewall's expectations for a rules file, which IS called with ipfw rules.file Are you aware that you can run /etc/rc.d/ipfw restart? You'll get locked out