Re: [tcpdump-workers] [Patch] tcpdump probabilistic sampling

2008-04-14 Thread Kris Katterjohn
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Guy Harris wrote: > Should we switch to getopt_long(), and include a BSD-licensed > getopt_long() (e.g., one from one of the *BSDs) for platforms that don't > have it? (Glibc's had it for a while, I think recent versions of most > of not all of the

Re: [tcpdump-workers] [Patch] tcpdump probabilistic sampling

2008-04-14 Thread Michael Richardson
> "Guy" == Guy Harris <[EMAIL PROTECTED]> writes: Guy> Michael Richardson wrote: >> Only... -P is used somewhere else, in another patch, I think. We >> gotta get 4.0 out, with long options... Guy> tcpdump currently still uses getopt(), so it doesn't support Guy> long opti

Re: [tcpdump-workers] [Patch] tcpdump probabilistic sampling

2008-04-14 Thread Guy Harris
Michael Richardson wrote: Only... -P is used somewhere else, in another patch, I think. We gotta get 4.0 out, with long options... tcpdump currently still uses getopt(), so it doesn't support long options. Should we switch to getopt_long(), and include a BSD-licensed getopt_long() (e.g., one

Re: [tcpdump-workers] Timed Captures under UNIX

2008-04-14 Thread Guy Harris
Matthew Topper wrote: I posted patches to the sourceforge projects of both tcpdump and libpcap which together enabled capturing packets for a given number of seconds. I don't really see any activity on either sites, so I was hoping that someone here could tell me how I should proceed, and if I'v

Re: [tcpdump-workers] Devices and adresses in libpcap

2008-04-14 Thread Eloy Paris
Hola David, On Sun, Apr 13, 2008 at 08:11:30PM +0200, David Rosal wrote: > 2008/4/13, Guy Harris <[EMAIL PROTECTED]>: > > > > What do you mean by "some attributes of pcap descriptors that are hidden > > in libpcap"? > > Be aware that the pcap_t structure is opaque, and subject to arbitrary > ch