Re: [patch] matching IPv4 broadcast packets in ipfw

From: Maxim Ignatenko <gelraen.ua_at_gmail.com>
Date: Mon, 6 Apr 2009 20:54:47 +0300
Strange, but packet
    TCP 88.222.53.231:55882 192.168.100.2:44943 out via gif0
matched the rule
    allow log ip from any to any broadcast

ifconfig gif0
gif0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> metric 0 mtu 1280
        tunnel inet x.x.x.x --> x.x.x.x
        inet 192.168.100.1 --> 192.168.100.2 netmask 0xfffffffc

I thougth it should not be matched because gif0 has not set
IFF_BROADCAST in if_flags
Received on Mon Apr 06 2009 - 15:54:49 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:45 UTC