Re: [tcpdump-workers] how to construct tcpdump readable packets

2006-04-10 Thread Latha G
Hi, Thanks a lot.. It works fine. On 4/7/06, Guy Harris <[EMAIL PROTECTED]> wrote: > > Hannes Gredler wrote: > > > you may want to check the text2pcap utility > > that comes along with ethereal for learning about > > conversion to a libpcap readable format. > > Or, alternatively, with newer vers

Re: [tcpdump-workers] how to construct tcpdump readable packets

2006-04-07 Thread Guy Harris
Hannes Gredler wrote: you may want to check the text2pcap utility that comes along with ethereal for learning about conversion to a libpcap readable format. Or, alternatively, with newer versions of libpcap (those with pcap_open_dead(), so you can write to a libpcap file without having a lib

Re: [tcpdump-workers] how to construct tcpdump readable packets

2006-04-07 Thread Hannes Gredler
latha, you may want to check the text2pcap utility that comes along with ethereal for learning about conversion to a libpcap readable format. /hannes Latha G wrote: Hi all, Is there any way to construct manually a tcpdump readable packet? As we know the header structres, we can fill those hea

[tcpdump-workers] how to construct tcpdump readable packets

2006-04-06 Thread Latha G
Hi all, Is there any way to construct manually a tcpdump readable packet? As we know the header structres, we can fill those header information and put it in a string(packet).. then how to convert this packet to a raw packet such that it can be read by tcpdump? Thanks in advance. -- Regards, La