Skip site navigation (1)Skip section navigation (2)
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
--nextPart2603792.viM6RKrmlF
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

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=20
the match/packets/bytes counters.

=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

--nextPart2603792.viM6RKrmlF
Content-Type: application/pgp-signature; name=signature.asc 
Content-Description: This is a digitally signed message part.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)

iD8DBQBHMS+IXyyEoT62BG0RAqyVAJ4/JgR2hQbZ5OJgBVM+taEN5m+rIwCeJ9Ri
vsWGtVAcp8r1E3eO+DxkjH0=
=k1sL
-----END PGP SIGNATURE-----

--nextPart2603792.viM6RKrmlF--



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