Re: [tcpdump-workers] What must be the linktype set to in Pcap if the the packets are to be captured from the unix socket

2006-04-26 Thread santosh.soule
Thanks Harris, I will use those -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Guy Harris Sent: Wednesday, April 26, 2006 3:28 AM To: tcpdump-workers@lists.tcpdump.org Subject: Re: [tcpdump-workers] What must be the linktype set to in Pcap if the the p

[tcpdump-workers] What must be the linktype set to in Pcap if the the packets are to be captured from the unix socket

2006-04-24 Thread santosh.soule
Hi, If the packet needs to be captured from the unix socket what must be the linktype defined in the Pcap. I am writing the packets on to the unix socket. And want to capture from it. I am using pcap library for capturing. Pcap does'nt support's unix sockets. So I want to add support for unix s

Re: [tcpdump-workers] Can I be able to use Libpcap for capturing packets on Unix socket by the following way described in the body of the mail

2006-03-23 Thread santosh.soule
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jefferson Ogata Sent: Tuesday, March 21, 2006 3:26 AM To: tcpdump-workers@lists.tcpdump.org Subject: Re: [tcpdump-workers] Can I be able to use Libpcap for capturing packets on Unix socket by the following

[tcpdump-workers] Can BPF be used to filter on Unix Sockets ?

2006-03-23 Thread santosh.soule
Hi, Can I use BPF(BSD Packet Filter) for unix sockets. I don't think so it can be used. I just needed to confirm. I know its used to filter on any data link devices. Regards, Santosh The information contained in this electronic message and any attachments to this message are intended for the

[tcpdump-workers] Please specify new DLT_ value

2006-03-20 Thread santosh.soule
Hi, I am modifying libpcap library to support capturing on Unix socket. Please tell me the new data link layer type value(ie DLT_ value) to use. In case of unix socket, I wont be dealing with the hardware interface or I can give any of the reserved values. Regards, Santosh The information con

Re: [tcpdump-workers] pcap file format documentation

2006-03-19 Thread santosh.soule
Is there documentation describing the pcap file formats (other than the libpcap source)? >>> Check this link http://wiki.ethereal.com/Development/LibpcapFileFormat Thanks, Don - This is the tcpdump-workers list. Visit https://lists.sandelman.ca/ to unsubscribe. The information contained in

[tcpdump-workers] what it means capturing the packets in "Cooked Mode"

2006-03-19 Thread santosh.soule
Hi, I din't understand when we say the packets to be captured in cooked mode. What exactly is meant by cooked mode ?. Please clarify. I know a bit, its using datagram socket instead of raw socket. Regards, Santosh The information contained in this electronic message and any attachments to th

Re: [tcpdump-workers] How to set snaplen for tcpdump

2006-03-16 Thread santosh.soule
Hi, I got it now, was just goin through the man page. Its tcpdump -s snaplen. Thanks Santosh -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Thursday, March 16, 2006 3:18 PM To: tcpdump-workers@lists.tcpdump.org Subject: [tcpdump

[tcpdump-workers] How to set snaplen for tcpdump

2006-03-16 Thread santosh.soule
Hi, Default snaplen value for tcpdump is 96 bytes. I need to change the snaplen value. How to set it. What's the command for that. If any one has any idea, please pass it on. Regards, Santosh The information contained in this electronic message and any attachments to this message are intende

Re: [tcpdump-workers] Checksum

2006-03-15 Thread santosh.soule
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Luis Del Pino Sent: Wednesday, March 15, 2006 2:42 PM To: tcpdump-workers@lists.tcpdump.org Subject: [tcpdump-workers] Checksum When I capture an UDP datagram from a well-known source, Could the checksum

[tcpdump-workers] Can I be able to use Libpcap for capturing packets on Unix socket by the following way described in the body of the mail

2006-03-12 Thread santosh.soule
In case below mail din't reach the list...so posting again...I need your input guys...Its very urgent... Hi, I need a clarification regarding Libpcap library. What I am doing is instead of writing the packets on to ethernet interface, I am writing on to the Unix socket. I am using Libnet library

[tcpdump-workers] Using Libpcap for capturing packets through Unixsockets

2006-03-07 Thread santosh.soule
Hi, I need a clarification regarding Libpcap library. What I am doing is instead of writing the packets on to ethernet interface, I am writing on to the Unix socket. I am using Libnet library for building and injecting the packets. I have modified the Libnet library for supporting Unix sockets. F

Re: [tcpdump-workers] any way to write datalink packets?

2006-02-19 Thread santosh.soule
Yes, you can use Libnet Library to write the packets...And yes you can use Pcap to capture the packets from the network interface... sks -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of kashif javed Sent: Monday, February 20, 2006 10:35 AM To: tcpdump-wo