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

[-- Attachment #1 --]
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 
the rules.  For rules that create state, you can check the output of "$pfctl 
-vvss" for the newest state for a certain rule.  For rules that do logging, 
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 
this?  Can you explain a bit - it's certainly not difficult to implement.

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

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)

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

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