Re: [tcpdump-workers] vlan tagged packets and libpcap breakage

2012-11-01 Thread Guy Harris
On Oct 31, 2012, at 2:50 PM, Ani Sinha wrote: > pcap files that already have the tags reinsrted should work with > current filter code. However for live traffic, one has to get the tags > from CMSG() and then reinsert it back to the packet for the current > filter to work. *Somebody* has to do

Re: [tcpdump-workers] vlan tagged packets and libpcap breakage

2012-11-01 Thread Guy Harris
On Oct 31, 2012, at 3:35 PM, Ani Sinha wrote: > yes but if the packet is passed to the filter within libpcap (when we > are not using the kernel filter) before the reinsertion, ...that would be a bug. Currently, that bug doesn't exist in the recvfrom() code path, but *does* appear to exist in