Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Jun 2007 16:22:31 +0200
From:      =?iso-8859-1?Q?G=E9czi_Szabolcs?= <csirki@mail.tiszanet.hu>
To:        <freebsd-pf@freebsd.org>
Subject:   log nat connections source address
Message-ID:  <C550E25E379349158E276D221B657019@szeged.solvo.hu>

next in thread | raw e-mail | index | archive | help
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 <mss 1460,nop,nop,sackOK>

what should I do?

thx

sz 




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