Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Jan 2006 21:53:37 +0000
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        "Richard C. Isaacson" <ri@beldurnik.com>
Cc:        Vasile Cristescu <v.cristescu@gmail.com>, Dick Davies <rasputnik@gmail.com>, freebsd-questions@freebsd.org
Subject:   Re: pf question
Message-ID:  <43C6CFE1.9000706@infracaninophile.co.uk>
In-Reply-To: <43C6CB1A.2040907@beldurnik.com>
References:  <a1dad8940601121325j5c90e9e8lc65d48b235c1ce09@mail.gmail.com>	<3f1760601121328s74787a5cr@mail.gmail.com> <43C6CB1A.2040907@beldurnik.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig248D425390898EAFBC459ACB
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit

Richard C. Isaacson wrote:
> Dick Davies wrote:
>> On 12/01/06, Vasile Cristescu <v.cristescu@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

--------------enig248D425390898EAFBC459ACB
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDxs/n8Mjk52CukIwRA8fmAJ9Z5USjqRVKt6AjenQx9ahzwQcAsQCcCvNt
Ni0odJCtKWJlkSsFGJr2py4=
=sR0y
-----END PGP SIGNATURE-----

--------------enig248D425390898EAFBC459ACB--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43C6CFE1.9000706>