Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 04 Apr 2006 09:29:52 +0300
From:      "N. Ersen SISECI" <siseci@gmail.com>
To:        freebsd-pf@FreeBSD.org
Subject:   Log tag
Message-ID:  <1144132192.47587.8.camel@siseci.gdg.gov.tr>

next in thread | raw e-mail | index | archive | help


Hi,

Is it possible to label the log entries?
We can do it in IPF with set-tag (log=48).
Is there a similiar method in PF?


IPF Rule:
pass in log first quick on bge0 proto tcp from any to 10.1.2.3 port = 22
flags S/SA keep state keep frags set-tag (log=110)

IPF Log entry:
04/04/2006 09:26:00.982095 bge0 @0:3 p 10.1.2.3,57221 ->
192.168.90.12,22 PR tcp len 20 64 -S K-S K-F OUT log-tag 110

Thanks,

N. Ersen SISECI
http://www.enderunix.org



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