Date: Wed, 7 Nov 2007 04:22:41 +0100 From: Max Laier <max@love2party.net> To: freebsd-pf@freebsd.org Subject: Re: pflogd not logging certain rules Message-ID: <200711070422.48022.max@love2party.net> In-Reply-To: <BAY102-W424CD18B3B5DA8713FEECFCC8A0@phx.gbl> References: <BAY102-W424CD18B3B5DA8713FEECFCC8A0@phx.gbl>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
On Wednesday 07 November 2007, syle ishere wrote:
> pass in log proto { tcp, udp } from any to $ext_if port { 21, 22 }
> flags S/SA keep state \(max-src-conn 5, max-src-conn-rate 5/60,
> overload <bad> flush global)
>
> I use the "pass in LOG" here and it does not log at all.
> I go connect to port 21 or 22 and watch logs and nothing.
> My other logging rules do work for things like:
> pass in log proto tcp from any to $ext_if port 25 keep state
>
> So i know the logging actually does work, but the first line does not,
> any ideas?
Are you sure the rule is even hit? Check with "pfctl -vvvsr" and look at
the match/packets/bytes counters.
--
/"\ 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 v2.0.4 (FreeBSD)
iD8DBQBHMS+IXyyEoT62BG0RAqyVAJ4/JgR2hQbZ5OJgBVM+taEN5m+rIwCeJ9Ri
vsWGtVAcp8r1E3eO+DxkjH0=
=k1sL
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200711070422.48022.max>
