Re: [tcpdump-workers] How to extract the source name field data of

2004-05-27 Thread Jun-ichiro itojun Hagino
> Yes I am doing live capturing, but all what I interested about is the 16 > byte "Source Name" field (Name to Add). I want to include the tcpdump > command in my perl program so that I can make further processing on the data > of that field. i would suggest you write a program using libp

Re: [tcpdump-workers] How to extract the source name field data of

2004-05-27 Thread Bassam A. Al-Khaffaf
Yes I am doing live capturing, but all what I interested about is the 16 byte "Source Name" field (Name to Add). I want to include the tcpdump command in my perl program so that I can make further processing on the data of that field. I need your help in this matter Regards Bassam A. Al-Khaffa

Re: [tcpdump-workers] How to extract the source name field data of

2004-05-27 Thread Jun-ichiro itojun Hagino
> Hi, >I am capturing the NetBeui (NBF) packets by using the following command: > > tcpdump -X netbuie > > I am getting a range of data, but, is there a way to determine which part of > the packet to extract? I am interested in the 16 byte "Source Name" field > (Name to add) as shown below. I

[tcpdump-workers] How to extract the source name field data of the netbeui (NBF) protocol

2004-05-27 Thread Bassam A. Al-Khaffaf
Hi, I am capturing the NetBeui (NBF) packets by using the following command: tcpdump -X netbuie I am getting a range of data, but, is there a way to determine which part of the packet to extract? I am interested in the 16 byte "Source Name" field (Name to add) as shown below. I want to extrac

Re: [tcpdump-workers] savefile.c patch

2004-05-27 Thread Guy Harris
On May 27, 2004, at 5:22 AM, Gisle Vanem wrote: Since pcap_dump_close() doesn't have a pcap_t argument, where should the oldmode come from? Can we have two module globals; oldmode_stdin, oldmode_stdout, assuming stdin/stdout won't be opened for capture more than once? If it's opened for capture or

Re: [tcpdump-workers] Various diffs for more complete LDP decoding

2004-05-27 Thread Guy Harris
On May 27, 2004, at 11:04 AM, [EMAIL PROTECTED] wrote: Below are patches to perform significantly more complete LDP decoding. Checked in, with an unused variable removed, and with declarations of "decode_prefix{4,6}()" put into a "decode_prefix.h" header included by "print-bgp.c" and "print-ldp.c

[tcpdump-workers] Various diffs for more complete LDP decoding

2004-05-27 Thread sthaug
Below are patches to perform significantly more complete LDP decoding. Synposis: - Minor diff to print-tcp.c (actually call the LDP decoder) - Minor diff to print-bgp.c (unstaticize routines used by print-ldp.c) - Major diff to print-ldp.c Hannes: I'd be happy to decode even more if you can get m

Re: [tcpdump-workers] savefile.c patch

2004-05-27 Thread Gisle Vanem
> Since pcap_dump_close() doesn't have a pcap_t argument, where should > the oldmode come from? Can we have two module globals; oldmode_stdin, > oldmode_stdout, assuming stdin/stdout won't be opened for capture more > than once? I've added a 'long filemode' to 'struct pcap' (long since O_BINARY

Re: [tcpdump-workers] savefile.c patch

2004-05-27 Thread Gisle Vanem
"Guy Harris" <[EMAIL PROTECTED]> said: > Also, should we save the mode returned by "setmode()" and restore it > when we close a "pcap_t" or "pcap_dumper_t" that refers to the standard > input or output? Since pcap_dump_close() doesn't have a pcap_t argument, where should the oldmode come from?

[tcpdump-workers] Automatic report from sources (tcpdump libpcap htdocs) between 26.05.2004 - 27.05.2004 GMT

2004-05-27 Thread Automatic cvs log generator /tcpdump/bin/makelog
CVS log entries from 26.05.2004 (Wed) 09:04:04 - 27.05.2004 (Thu) 09:04:04 GMT = Summary by authors = Author: guy File: tcpdump/CREDITS; Revisions: 1.94 File: tcpdump/print-ipx.c;