Re: Who uses libnet, and for what?

[email protected] (Enrico Zini)
Newsgroups gmane.comp.security.libnet
Message-ID <[email protected]>
On Mon, Feb 16, 2004 at 10:55:41AM -0800, Mike Schiffman wrote:

> Hey Enrico, is there a URL for this project? Also, good catch on the 
> memory leak in the advanced interface. I just added:
> 
> void
> libnet_adv_free_packet(libnet_t *l, u_int8_t *packet)
[...]
> The reason I did this rather than adding the call to free() inside of 
> libnet_adv_write_link() is flexibility. What if you wanted to use the 
> libnet advanced interface to write a packet you built yourself? If the 
> memory wasn't heap-based, you'd choke when trying to free it.

That's wonderful!  That also means you can send packets many times and a
lot of other nice things.

Thanks a lot!

Enrico
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.