Re: libnet-NG on Windows

Frédéric Raynal <[email protected]> Thu, 19 Aug 2004 08:03:39 +0200
Newsgroups gmane.comp.security.libnet
Message-ID <[email protected]>
Hello,

On Wed, Aug 18, 2004 at 04:18:57PM +0200, Gisle Vanem wrote:
> 
> What's the status on NG on Win32? I tried building it with
> my own makefile, but a lot of stuff is missing and the orig/*.c
> files can't be used AFAICS since "libnet_context::device" is 
> gone now.
> 
> More problems:
> 1. gettimeofday() is missing. Easy to fix.
> 2. WIN32 seems to blindly assume MSVC. Doesn't
>    work as-is with MingW.
> 3. The libnet_dll.def file lists a bunch of functions that's
>   not coded.
> 4. Missing functions; libnet_link_open, libnet_get_hwaddr,
>   libnet_link_write_* etc.
> 
> Anybody tried NG with MSVC or MingW? Does it even
> work?
> 


Easy to answer : currently, no work have been done for win32.

It must not be that difficult anyway, becasue Kirby already did the
big part of the job!

As with gettimeofday(), there are probably some other easy-to-fix
stuff.

The bigger part is porting the link layer specific functions, which
should be placed in src/libnet_mode_link_win32.c As you can nnotice,
there is currently no such file :( I'll try to port it before leaving,
but I'm not sure I'll be able.

	Fred Raynal