The Minix-Bochs-WinPCap page
modified: 04 Mar 2004
"WinPcap is an architecture for packet capture and network analysis for
the Win32 platforms. It includes a kernel-level packet filter, a
low-level dynamic link library (packet.dll), and a high-level and
system-independent library (wpcap.dll, based on libpcap version 0.6.2)."
-- from the WinPCap home page,
http://winpcap.polito.it
WinDump is the porting to the Windows platform of tcpdump, the most
used network sniffer/analyzer for UNIX. WinDump is fully compatible
with tcpdump and can be used to watch and diagnose network traffic
according to various complex rules. It can run under Windows 95/98/ME,
and under Windows NT/2000/XP.
-- from the WinDump home page,
http://windump.polito.it
Niclist lists the network interface cards that you can use in the
"ethdev" field of the ne2k line in your bochsrc.
-- comment from the niclist.c source at
http://cvs.sourceforge.net/viewcvs.py/bochs/bochs/misc/
Bochs uses the WinPCap link libraries (dlls) to capture host system
packets so they can be presented to the guest system via the simulated
ethernet interface. WinPCap was developed for other purposes, probably
its most important use is with WinDump, described above. So if you
have any problems with WinPCap you'll probably want to test it with WinDump
before reporting problems to the WinPCap developers.
At the time of writing three versions of WinPCap were available:
-
WinPCap 2.3 is the only one that worked correctly with the version of
niclist.exe distributed with Bochs 2.1 and 2.1.1, as well as with Bochs itself.
-
WinPCap 3.0 appears to work with the Bochs 2.1.1 niclist, although the
output format is slightly different and the suggested ne2k line for the
.bxrc file won't work without editing. And, in any case, Bochs 2.1.1 itself
will not work properly with WinPCap 3.0 -- it will appear to start OK,
but will eventually crash.
-
WinPCap 3.1 beta doesn't work with either Bochs 2.1.1 or the niclist
in the 2.1.1 package.
The above conclusions were based on tests with binary distributions of
Bochs 2.1 and 2.1.1 for Windows downloaded in February 2004. It may be
the differences are due to a redefinition of the interface between the
WinPCap libraries and applications, and it may be that recompilation of
the applications with newer header files is all that is needed. If
this is the case, I'd expect the next release of Bochs would work with
the newer WinPCap, and possibly would no longer work with WinPCap 2.3.
Both WinPCap and Bochs are constantly being debugged and improved. I will
try to keep up with changes and update this page if the situation changes.
All material on this site not otherwise attributed is copyright
©1994-2004 Albert S. Woodhull
Click here for
information on copying and other use.
Mail comments on this page to: Al Woodhull
<awoodhull@hampshire.edu>