Re: 802.11 management frames supported (Was: Xmas, variadic macros, and 802.11)
Frédéric Raynal <[email protected]> Tue, 28 Dec 2004 10:43:24 +0100
| Newsgroups | gmane.comp.security.libnet |
|---|---|
| Message-ID | <[email protected]> |
On Sun, Dec 26, 2004 at 05:25:32PM +0100, Gisle Vanem wrote: >=20 >=20 > "Fr=E9d=E9ric Raynal" wrote: >=20 > >See src/libnet_build_802_11.c for the builders > > include/libnet/libnet-headers.h for the data structures > > samples/80211.c for an extended example >=20 > I had some troubles building this sample on Windows. Because > libnet_build_802_11_cap_info() etc. was defined inline. On Win32, > these must be decorated with LIBNET_API to be exported and used > by the sample app. Fixed. I hope I did not forget it for other functions. >=20 > >http://www.security-labs.org/libnetng/ng-last.tbz2 >=20 > Can you please rename this to 'ng-last.tar.bz2' since bzip > doesn't recognise the '.tbz2' suffix. Done. I have added the support for data and control frames.=20 Almost all fields in 802.11 frames are supposed to be little endian. As I am working on x86, that was not very difficult to achieve. However, on ppc or sparc ... Thus, I added a file include/libnet/libnet-swab.h to force the endianness. However, I could not perform tests on big endian machines. So, if one of you could test that it is correct, that would be a great help ! There are 2 things to do now to have a cool 802.11 support: - wep encryption support - the injection itself Feel free to send me comments about the 802.11 API: it needs to be really user-friendly and easy to use as there are some many fun to get on 802.11 networks ;) Fred Raynal