Re: [tcpdump-workers] Legacy Linux kernel support

2019-10-08 Thread Mario Rugiero
El mar., 8 oct. 2019 a las 18:16, Michael Richardson () escribió: > So I'm hearing that on Linux we should support V2 and V3. > *That we continue to need V2 support from the kernel for immediate mode* > I think so, yes. > (This has implications to the *kernel* people as to what they can rip out, >

Re: [tcpdump-workers] Legacy Linux kernel support

2019-10-08 Thread Guy Harris
On Oct 8, 2019, at 2:15 PM, Michael Richardson wrote: > I don't really know which "legacy" compiler stuff that we may wish to > continue to tolerate in tcpdump, but which we can dispense with in libpcap. At this point, in the master branch, I'm not sure there's a difference between how much C99

Re: [tcpdump-workers] Legacy Linux kernel support

2019-10-08 Thread Guy Harris
On Oct 8, 2019, at 8:43 AM, Michael Richardson wrote: > And that's why I think we would agree that we don't want to let tcpdump go > all C99, etc. yet, because people often *do* want the latest tcpdump, on top > of a kernel-compatible libpcap. What do you mean by "all C99"? The master branch's

Re: [tcpdump-workers] Legacy Linux kernel support

2019-10-08 Thread Mario Rugiero
El mar., 8 oct. 2019 a las 13:29, Mario Rugiero () escribió: > It depends. > Which distro is it? > When does it EOL? > Do we expect a release of libpcap before that? > What version of libpcap does it ship? > Do the providers ship it with custom patches? > For the "official" distro package, is it li

Re: [tcpdump-workers] Legacy Linux kernel support

2019-10-08 Thread Guy Harris
On Oct 8, 2019, at 9:29 AM, Mario Rugiero wrote: > Supporting TPACKET_V2 should suffice to fill this gap, right? > We would still need to make a few changes, currently you need to use a > kernel which doesn't support TPACKET_V3 to use this correctly. > It shouldn't be a big change to make immedia

Re: [tcpdump-workers] Legacy Linux kernel support

2019-10-08 Thread Mario Rugiero
El mar., 8 oct. 2019 a las 3:59, Michael Richardson () escribió: > There are many people who use prototype new things this way. > Even IP/IPv6 stuff that use a different protocol number. Often they move > away from libpcap as their requirements grow, but they start that way. > > One reason to do

Re: [tcpdump-workers] Legacy Linux kernel support

2019-10-08 Thread David Laight
From: Mario Rugiero > Sent: 07 October 2019 19:07 ... > > If we were to drop TPACKET_V1 and TPACKET_V2 support, that'd mean we'd be > > dropping 2.x kernels and older 3.x kernels as > > targets, and would require that the headers with which libpcap is being > > built be new enough to support TPAC