libnet.dll under win2k

Herman Hsu <[email protected]>
Newsgroups gmane.comp.security.libnet
Message-ID <[email protected]>

Hi,

I'm trying to get libnet.dll to work under win2k.  I believe I followed the instructions precisely, but it still doesn't work.

Here's an overview of my setup:

Windows 2000 SP3
VC++ SP5
WinPCAP 3.0 binary from http://winpcap.polito.it/
WinPCAP 3.0 dev pack from http://winpcap.polito.it/
MS SDK
libnet 1.1.1 src from http://www.packetfactory.net/Projects/Libnet/

I got everything to compile, built Libnet.dll and Libnet.lib with no problems at all.

Now, I'm just trying to get it to run.  I compiled one of the sample progams: tcp2.  Everything compiles fine and runs with no error.  But, nothing is written to the wire.

Using a sniffer, all I see is a ARP request whenever I do something like:
>tcp2 -s 192.168.10.9.456 -d 192.168.10.10.567 -p "hello"

I've also tried it under Linux and it works fine, but I need it to work under Windows.  I'm basically stuck at this moment.

Any suggestions???
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.