From owner-freebsd-pf@FreeBSD.ORG Wed Nov 7 03:22:53 2007 Return-Path: Delivered-To: freebsd-pf@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 12D8716A421 for ; Wed, 7 Nov 2007 03:22:53 +0000 (UTC) (envelope-from max@love2party.net) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.188]) by mx1.freebsd.org (Postfix) with ESMTP id 998C713C4B6 for ; Wed, 7 Nov 2007 03:22:52 +0000 (UTC) (envelope-from max@love2party.net) Received: from amd64.laiers.local (dslb-088-066-012-178.pools.arcor-ip.net [88.66.12.178]) by mrelayeu.kundenserver.de (node=mrelayeu7) with ESMTP (Nemesis) id 0ML2xA-1IpbVB1M3g-0005On; Wed, 07 Nov 2007 04:22:49 +0100 From: Max Laier Organization: FreeBSD To: freebsd-pf@freebsd.org Date: Wed, 7 Nov 2007 04:22:41 +0100 User-Agent: KMail/1.9.7 References: In-Reply-To: X-Face: ,,8R(x[kmU]tKN@>gtH1yQE4aslGdu+2]; R]*pL,U>^H?)gW@49@wdJ`H<=?utf-8?q?=25=7D*=5FBD=0A=09U=5For=3D=5CmOZf764=26nYj=3DJYbR1PW0ud?=>|!~,,CPC.1-D$FG@0h3#'5"k{V]a~.<=?utf-8?q?mZ=7D44=23Se=7Em=0A=09Fe=7E=5C=5DX5B=5D=5Fxj?=(ykz9QKMw_l0C2AQ]}Ym8)fU MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2603792.viM6RKrmlF"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200711070422.48022.max@love2party.net> X-Provags-ID: V01U2FsdGVkX1+GuD8LrlPbqqLHw1UYg9+QLDGJlxkLvzRFqyj ilnVu9PkvAxQf63vLky6MELFmjbWP3EBJxlBObldg09egq0cyf g1+NcuQXS3wRCFSVb3LK6WVuFpf3tYFWxnGbF5ItSM= Cc: Subject: Re: pflogd not logging certain rules X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Technical discussion and general questions about packet filter \(pf\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Nov 2007 03:22:53 -0000 --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 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--