Re: Bogus MAC in netfilter-queue for IF_MULTICAST_LOOPed packets.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The LOG target display these packets as having no MAC address (Indeed,
the multicast loop code strips the MAC header).

Headers are not stripped.

The "lo" device is of type loopback, so there will be no MAC header
generated at all, because none is necessary. Subsequently, there is
nothing to strip.

The multicast loopback code does not use the lo device, it uses netif_rx on the output interface.

see ip_dev_loopback_xmit() at net/ipv4/ip_output.c:118. it does a
skb_reset_mac_header() and a __skb_pull(skb_network_offset()).
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux