Re: sending raw ip packets without a builder function (request)
Alberto Ornaghi <[email protected]>
| Newsgroups | gmane.comp.security.libnet |
|---|---|
| Message-ID | <[email protected]> |
Mustafa Abu Sedera wrote:
>
>
> Hi all!
>
> Is there any way (or function) to send raw ip packets by only specifying
> a payload pointer(to an ip header mostly) and payload len, similar like
> libnet_adv_write_link() but for ip layer and above?
you can use the libnet_build_data() just before the send. if you specify
the entire packet it will be sent as is, no builder is required.
bye
--
--==> ALoR <==---------------------- - - -
There are only 10 types of people in this world...
Those who understand binary, and those who don't.