pf question

Matthew Seaman m.seaman at infracaninophile.co.uk
Thu Jan 12 13:53:58 PST 2006


Richard C. Isaacson wrote:
> Dick Davies wrote:
>> On 12/01/06, Vasile Cristescu <v.cristescu at gmail.com> wrote:

>>> does pf has something like " ipfw -d show " ?

>> I don't know. What does 'ipfw -d show' do?

> Are you asking if you can print out rules?

> pfctl -sr -v

'-d' in ipfw includes the dynamic rules in the list output.  The command
the OP needs is:

   pfctl -ss -vv

which prints the state table.  Unlike ipfw(8), it's not in the same format
as the rule list, but it tells you what you need to know.  

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                       7 Priory Courtyard
                                                      Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey         Ramsgate
                                                      Kent, CT11 9PW
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20060112/d9d2d1bd/signature.bin


More information about the freebsd-questions mailing list