Hi! I just tried out a log-only rule:
log in proto tcp from any to firewally/32 port = 22 flags S group 100 This is listed by ipfstat -in as: @7 log in proto tcp from any to 172.17.0.7/32 port = 22 flags S/FSRPAU group 100 But this is what ipmon logs: Jan 27 07:17:06 firewally ipmon[47]: 07:17:06.639230 dc0 @0:4 L 172.17.0.9,37975 -> 172.17.0.7,22 PR tcp len 20 60 -S IN The rule ipmon logs is this: @4 block in quick on dc0 from any to any head 100 So, why is ipmon logging the head of the ruleset for this rule? It logs the right rule ID for block. (I did not try logging pass on this machine.) This is a block: Jan 27 06:53:03 firewally ipmon[47]: 06:53:02.918069 tun0 @1000:3 b 10.230.32.164,3649 -> 217.232.134.160,1434 PR udp len 20 404 IN And it's rule: @3 block in log quick from 10.0.0.0/8 to any group 1000 (Interesting why a 10.0.0.0/8 escaped, but irrelevant.) Platform: FreeBSD 4.7 with IPFilter v3.4.29 I checked diffs for 3.4.30 and 3.4.31, this seems to be unchanged. Lupe Christoph -- | [EMAIL PROTECTED] | http://www.lupe-christoph.de/ | | Big Misunderstandings #6398: The Titanic was not supposed to be | | unsinkable. The designer had a speech impediment. He said: "I have | | thith great unthinkable conthept ..." |
