Re: [tcpdump-workers] tcpdump: patches required for OpenSolaris/SXCE

2009-12-07 Thread Darren Reed
In some further development, I've updated print-ipnet.c to output which hook was used to record the packet. The output has been modified to look like this: $ ./tcpdump -c 3 -en -r ~/a reading from file /home/dr146992/a, link-type IPNET (Solaris ipnet) 20:52:54.829738 0 > -1, hook observe-out (1)

Re: [tcpdump-workers] tcpdump: patches required for OpenSolaris/SXCE

2009-11-27 Thread Guy Harris
On Nov 27, 2009, at 10:24 AM, Michael Richardson wrote: There is a "temporary" global, "gndo", which you can use for now. That's what I did in print-ipnet.c for the short-term fix. Presumably, for the long-term fix, gndo will be static to tcpdump.c. - This is the tcpdump-workers list. Visit

Re: [tcpdump-workers] tcpdump: patches required for OpenSolaris/SXCE

2009-11-27 Thread Michael Richardson
> "Guy" == Guy Harris writes: >> The short-term fix is to make ipnet_if_print() not take a >> netdissect_options * as its first argument, and have it pass gndo >> as the netdissect_options * to other routines. Guy> I've checked in a change to do that. (That way, we lose as

Re: [tcpdump-workers] tcpdump: patches required for OpenSolaris/SXCE

2009-11-27 Thread Michael Richardson
> "Guy" == Guy Harris writes: Guy> On Nov 26, 2009, at 12:26 PM, Michael Richardson wrote: >> I'll use that to validate the work. Guy> To what does "that" refer? I only see one attachment to Guy> Darren's message, which is an inline attachment with the patch Guy> that u

Re: [tcpdump-workers] tcpdump: patches required for OpenSolaris/SXCE

2009-11-26 Thread Guy Harris
On Nov 26, 2009, at 2:50 PM, Guy Harris wrote: The short-term fix is to make ipnet_if_print() not take a netdissect_options * as its first argument, and have it pass gndo as the netdissect_options * to other routines. I've checked in a change to do that. (That way, we lose as little of

Re: [tcpdump-workers] tcpdump: patches required for OpenSolaris/SXCE

2009-11-26 Thread Guy Harris
On Nov 26, 2009, at 12:26 PM, Michael Richardson wrote: "Darren" == Darren Reed writes: Darren> I've attached two files: e1000g0 is an IPNET capture file Darren> from e1000g0 of some ICMP traffic (i.e. ping) tcpdmp.patches Darren> are the changes I needed to make to stop tcpdum

Re: [tcpdump-workers] tcpdump: patches required for OpenSolaris/SXCE

2009-11-26 Thread Guy Harris
On Nov 26, 2009, at 12:26 PM, Michael Richardson wrote: I'll use that to validate the work. To what does "that" refer? I only see one attachment to Darren's message, which is an inline attachment with the patch that undoes the netdissect stuff; I don't see the capture file. - This is t

Re: [tcpdump-workers] tcpdump: patches required for OpenSolaris/SXCE

2009-11-26 Thread Michael Richardson
> "Darren" == Darren Reed writes: >> IPNET (Solaris IPNET) >> >> (I realize that the DOCSIS won't print. But, I care that it does >> not crash) >> >> Ideally, you'll place the files into tests/ and add a new test >> case. >> >> I updated print-ipnet.c to

Re: [tcpdump-workers] tcpdump: patches required for OpenSolaris/SXCE

2009-11-25 Thread Guy Harris
On Nov 25, 2009, at 10:55 AM, Darren Reed wrote: On 11/24/09 18:31, Michael Richardson wrote: Darren, thanks! Please pull from the git tree, and run "./configure; make check" I would appreciate it if you have any pcap files of formats: DOCSIS (DOCSIS) (printing not supported) This seems t

Re: [tcpdump-workers] tcpdump: patches required for OpenSolaris/SXCE

2009-11-25 Thread Darren Reed
On 11/24/09 18:31, Michael Richardson wrote: Darren, thanks! Please pull from the git tree, and run "./configure; make check" I would appreciate it if you have any pcap files of formats: DOCSIS (DOCSIS) (printing not supported) This seems to be an inherent part of libpcap? BPF on Solaris

Re: [tcpdump-workers] tcpdump: patches required for OpenSolaris/SXCE build >= 125

2009-11-24 Thread Michael Richardson
Darren, thanks! Please pull from the git tree, and run "./configure; make check" I would appreciate it if you have any pcap files of formats: DOCSIS (DOCSIS) (printing not supported) IPNET (Solaris IPNET) (I realize that the DOCSIS won't print. But, I care that it does not crash) Ideally, y

[tcpdump-workers] tcpdump: patches required for OpenSolaris/SXCE build >= 125

2009-11-24 Thread Darren Reed
The patches attached to this email are required to get a fully working tcpdump on OpenSolaris, or Solaris Express Community Edition, build 125 and later. The attached patch introduces support for printing out the IPNET headers used for packet capture inside of zones that share their networking

Re: [tcpdump-workers] tcpdump patches...

2007-12-10 Thread Gianluca Varenni
- Original Message - From: "Michael Richardson" <[EMAIL PROTECTED]> To: Cc: "Peter Losher" <[EMAIL PROTECTED]>; "Joao Damas" <[EMAIL PROTECTED]> Sent: Sunday, December 09, 2007 2:53 PM Subject: Re: [tcpdump-workers] tcpdump patches...

Re: [tcpdump-workers] tcpdump patches...

2007-12-09 Thread Michael Richardson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > "Peter" == Peter Losher <[EMAIL PROTECTED]> writes: Peter> Sorry it took so long to get back to you on this, but here is Peter> the patch we are using for rotating tcpdump files for F-Root. Peter> It works against tcpdump 3.8.3. We