Re: Send packet w/out calling libnet_build_ethernet()
Fabio Duarte <[email protected]>
| Newsgroups | gmane.comp.security.libnet |
|---|---|
| Message-ID | <[email protected]> |
Hi Peter, the reason is the former, I have to build the tool as an exercise. The moment I get the packet I have to retransmit it thru another interface. As I understood from tcpreplay, I would need to save the packets in files and etc... The way I am doing the retransmission today works well but, if there is a cleaner way I would like to try. Thanks, Fabio Duarte. Peter Moody wrote: >are you looking to actually build this tool yourself as an exercise or >do you just want the functionality? > >if it's the latter, take a look at tcpreplay: > >http://tcpreplay.sourceforge.net/ > >if it's the former, some one else here would have a better answer for >you. > >-Peter > > > >>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. >> >> > > > >