Re: [tcpdump-workers] scan_sys_class_net bug in pcap-linux.c

2012-12-05 Thread Guy Harris
On Dec 5, 2012, at 2:56 PM, Paul Sheer wrote: > I would like to capture on all interfaces, but I would also like to know, > with each packet, what interface it arrived on and left out of. > > This information is contained within the Linux kernel skbuff. > > But pcap does not see it. What's r

Re: [tcpdump-workers] scan_sys_class_net bug in pcap-linux.c

2012-12-05 Thread Paul Sheer
Thanks, There are two other problems I am having: Firstly, I would like to capture on all interfaces, but I would also like to know, with each packet, what interface it arrived on and left out of. This information is contained within the Linux kernel skbuff. But pcap does not see it. I also

Re: [tcpdump-workers] scan_sys_class_net bug in pcap-linux.c

2012-12-05 Thread Guy Harris
On Dec 3, 2012, at 10:33 AM, Paul Sheer wrote: > works for me Ok, good. Thanks for noting the "subsystem in older kernels" issue - looking for ifindex is a better idea; in addition to dating back to 2.6.0, it's also more strongly associated with being a network interface. (What we really wa