From owner-freebsd-pf@FreeBSD.ORG Tue Jun 12 14:41:04 2007 Return-Path: X-Original-To: freebsd-pf@freebsd.org Delivered-To: freebsd-pf@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A88CC16A468 for ; Tue, 12 Jun 2007 14:41:04 +0000 (UTC) (envelope-from csirki@mail.tiszanet.hu) Received: from jail.solvo.hu (www.solvo.hu [217.65.100.10]) by mx1.freebsd.org (Postfix) with ESMTP id 6191F13C487 for ; Tue, 12 Jun 2007 14:41:04 +0000 (UTC) (envelope-from csirki@mail.tiszanet.hu) Received: from relay.solvo.u-szeged.hu ([160.114.44.81] helo=szabszivista) by jail.solvo.hu with esmtpa (Exim 4.63 (FreeBSD)) (envelope-from ) id 1Hy7EM-000Hze-GB for freebsd-pf@freebsd.org; Tue, 12 Jun 2007 16:20:25 +0200 Message-ID: From: =?iso-8859-1?Q?G=E9czi_Szabolcs?= To: Date: Tue, 12 Jun 2007 16:22:31 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Windows Mail 6.0.6000.16386 X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6000.16386 Subject: log nat connections source address X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: =?iso-8859-1?Q?G=E9czi_Szabolcs?= 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: Tue, 12 Jun 2007 14:41:04 -0000 hi, i'd like to log nat connections with pflog. I tag the nat connections packets and log tagged packets but I can't log the source address of connections. in the log there are the external interface address and the destinations address only. nat on $ext_if from $internal_net to any tag natted -> {public ip} pass out quick log on $ext_if keep state tagged natted part of the log: 16:00:08.384847 IP publicip.62642 > www.mifene.hu.http: S 4030616034:4030616034(0) win 65535 what should I do? thx sz