Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: Libnet 1.1.1 pre-release

From: Frédéric Raynal <pappy(at)security-labs.org>
Date: Wed Dec 04 2002 - 09:31:10 EST

Get and install wpcap.dll and libpacket.dll on your box :

http://winpcap.polito.it/

libpacket.dll is in /usr/lib on my system, as wpcap.dll, and (almost) evrything works fine.

I just had to patch the 1.1.1RC1 as on sample called an IPv6 function, which leads to troubles in libnet_resolve.c (patch below).

 --
Frederic RAYNAL
http://www.security-labs.org/
Redacteur en chef de M.I.S.C.
Multi-Systems & Internet Security Cookbook

Zhen Shi writes:

Do you need help?X

> I tried to install libnet 1.1.1-pre under cygwin,
 

  • orig/Libnet-latest/src/libnet_resolve.c 2002-01-04 15:30:34.000000000 +0100 +++ Libnet-latest/src/libnet_resolve.c 2002-01-04 15:15:02.000000000 +0100 @@ -236,7 +236,7 @@ "libnet_name2addr6(): can't resolve IPv6 addresses.\n"); } return (in6addr_error); -#endif +#else #ifdef HAVE_SOLARIS #ifdef HAVE_SOLARIS_IPV6 if (!(host_ent = getipnodebyname((char *)&addr, @@ -256,6 +256,7 @@ } memcpy(&addr, host_ent->h_addr, host_ent->h_length); return (addr); +#endif /* !__WIN32__ */ } else {



To unsubscribe, e-mail: libnet-unsubscribe@securityfocus.com For additional commands, e-mail: libnet-help@securityfocus.com Received on Wed Dec 4 09:32:48 2002

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:02:22 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library