Discussion:
sync
Frédéric Raynal
2005-01-21 17:40:32 UTC
Permalink
Hi,

I started to sync with the 1.1.3 and port adidtional builders.

ng-050121
- new builders:
- libnet_build_tlv_[uint32, str](): type and length are 1 byte
long
- libnet_build_cdp_tlv_[uint32, str](): type and length are 2
bytes long
- sync with 1.1.3
- import libnet_version() in libnet_common.c
- fixed a bug ln libnet_name2addr4 in which it didnt call
hstrerror
- fixed the cdp.c sample code (mostly rewrote it with the cdp_tlv
builders)
- port builders
802_1q, ntp, cdp (mostly rewritten)
Warning:
CDP: csum not controlled in tcpdump/ethereal :(((

As usual:

http://www.security-labs.org/libnetng/

Cheers,

Fred Raynal
Frédéric Raynal
2005-01-22 10:47:41 UTC
Permalink
Hello
I guess I'll ask privately.
I'll answer to the list as it is a good question.
Why is there libnet and libnet-ng?
The 1.1 tree (for which I have done many patches and so on) lacks some
features I needed. Thus, I talked with Mike last year at CanSecWest,
and porposed a new internal architecture, which would make things
easier for both the mainteners and users. NG is that structure.

The central structure is now the packet, and no more the "context"
(even if it is still a very important one, let's say we have 2 central
structures ;) The goal was to have one mechanism to build packets, and
one to send them as it is 2 different actions.

NG have be designed to be compatible with the 1.1 tree, and it is
mostly. And thus, it is supposed to be merged with the normal libnet's
tree. You can see NG as a devel version.

Fred

Loading...