IPFilter Questions
From: michael@mck.net.comDate: 09/17/02
- Next message: newtonian: "Re: Spyware going thru firewall"
- Previous message: Dazz: "Re: Got Active Ports, now what?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: michael@mck.net.com Date: Tue, 17 Sep 2002 04:46:42 GMT
Hello all...
I've become a victom of the stability of IPFilter...
My firewall has been up and running for 487 days
without a single problem. Recently, being the genious
that I am, I deleted my shell history. The problem, is
that since IPF has been so reliable, I relied on my shell
history to manage it.
Anyway, there were a couple of commands I used... one to
reload the rules if I made a change to them and one to
reload the NAT rules if I changed them.
The best I can remember for the IPF rule reload is that
the command looked something like this...
ipfstat -io|ipf -rf - ....
The problem is that I dont remember the rest of this command
string. It used to do the following... clear the current
rules in memory, break any current connections, and load the
new rules.
For example, if I edited my ipf.rules file and removed the
rule that allowed port 80 outbound and ran the "reload"
command (ie. ipfstat -io|ipf -rf - ....) it would immediately
break all connections and show some output reflecting the
new reload.
I have tried this...
ipfstat -io|ipf -rf -;ipf -Fsa -f /etc/opt/ipf/ipf.rules
but the connections stay open even if I have removed the rule that
allowed them. I'm pretty sure this isnt the command sequence I
used to use, but I cant find it on the net anywhere.
I am looking for the best way to clear the current ruleset and load
the latest ruleset... I want it to break all existing connections
when I do it.
If anyone has any ideas or suggestions, they would be greatly
appreciated.
Thanks to all in advance.
- Next message: newtonian: "Re: Spyware going thru firewall"
- Previous message: Dazz: "Re: Got Active Ports, now what?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|