Libnet
Send packet w/out calling libnet_build_ethernet() Mar 19 2004 12:27PM
Fabio Duarte (fduarte parks com br) (1 replies)
Hi, I am a beginner in libnet and I would like to do a very simple thing.
I have an ethernet packet that was previously captured by libpcap and I
would like to send it back thru the wire without modifying it. What I
did was to exctract the source, destination and type from the packet and
call libnet_build_ethernet() with these parameters. It worked well but I
would be pleased if someone could tell me a way to do it without having
to extract and insert back the ethernet header.

Thanks in advance,
Fabio D.

PS.: I am doing this under linux.

[ reply ]
Re: Send packet w/out calling libnet_build_ethernet() Mar 19 2004 06:51PM
Peter Moody (peter ucsc edu) (1 replies)
Re: Send packet w/out calling libnet_build_ethernet() Mar 19 2004 07:32PM
Fabio Duarte (fduarte parks com br) (1 replies)
Re: Send packet w/out calling libnet_build_ethernet() Mar 20 2004 05:40PM
Aaron Turner (aturner pobox com)


 

Privacy Statement
Copyright 2010, SecurityFocus