Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Jan 2005 17:13:07 +0100
From:      Max Laier <max@love2party.net>
To:        freebsd-pf@freebsd.org
Subject:   Re: Timestamp on packets?
Message-ID:  <200501121713.17588.max@love2party.net>
In-Reply-To: <41E34BA2.5060404@forrie.com>
References:  <41E34BA2.5060404@forrie.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart2474564.Zk18hZCn0v
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

On Tuesday 11 January 2005 04:44, Forrest Aldrich wrote:
> After reading through the manpage for pfctl, I wonder if there's a
> mechanism/equivalent for PF that shows the timestamp of the last "hit"
> on a rule... similar to "ipfw -t"...?

No, there is no such functionality.  In fact, we don't even store such data=
 in=20
the rules.  For rules that create state, you can check the output of "$pfct=
l=20
=2Dvvss" for the newest state for a certain rule.  For rules that do loggin=
g,=20
you can check /var/log/pflog for the last packet logged.

I don't really see the point in this information.  Why do you want to know=
=20
this?  Can you explain a bit - it's certainly not difficult to implement.

=2D-=20
/"\  Best regards,                      | mlaier@freebsd.org
\ /  Max Laier                          | ICQ #67774661
 X   http://pf4freebsd.love2party.net/  | mlaier@EFnet
/ \  ASCII Ribbon Campaign              | Against HTML Mail and News

--nextPart2474564.Zk18hZCn0v
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQBB5UydXyyEoT62BG0RAkSPAJwLhiULtjaV54R4dNHM4y3TqHgfEgCfU9+1
VK1qXjsmpZ/fd2jSuyDR52E=
=VrsV
-----END PGP SIGNATURE-----

--nextPart2474564.Zk18hZCn0v--



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