From 782ee133dff92d7d2155163ef9779a5a3775280f Mon Sep 17 00:00:00 2001 From: Mark Pizzolato Date: Sat, 13 Jun 2020 14:40:17 -0700 Subject: [PATCH] ETHER: Update comments and network notes to describe Npcap support --- 0readme_ethernet.txt | 27 ++++++++++++++------------- sim_ether.c | 12 ++++++++---- 2 files changed, 22 insertions(+), 17 deletions(-) diff --git a/0readme_ethernet.txt b/0readme_ethernet.txt index c2814021..04349a89 100644 --- a/0readme_ethernet.txt +++ b/0readme_ethernet.txt @@ -216,19 +216,19 @@ Note: As mentioned above, NAT networking is specifically capable of providing ------------------------------------------------------------------------------- Windows notes: - 1. The Windows-specific code uses the WinPCAP 4.1.3 package from - https://www.winpcap.org/install/bin/WinPcap_4_1_3.exe. This package - for windows simulates the libpcap package that is freely available for - un*x systems. The Npcap package does not currently allow simulators - to exchange packets with the host system while WinPcap does. + 1. The Npcap package available from https://nmap.org/npcap is the preferred + interface for Windows 7 onward since the original WinPCAP 4.1.3 package + from https://www.winpcap.org/install/bin/WinPcap_4_1_3.exe is no longer + developed or supported. These packages for windows simulate the libpcap + package that is freely available for un*x systems. 2. You must *install* the WinPCAP runtime package. 3. The first time the WinPCAP driver is used, it will be dynamically loaded, and the user must be an Administrator on the machine to do so. If you need to run as an unprivileged user, you must set the "npf" driver to autostart. - Current WinPcap installers provide an option to configure this at - installation time, so if that choice is made, then there is no need for + Current Npcap and WinPcap installers provide an option to configure this + at installation time, so if that choice is made, then there is no need for administrator privileged to run simulators with network support. @@ -238,10 +238,11 @@ Building on Windows: Express 2008 or 2010 interactive development environments, read the file ".\Visual Studio Projects\0ReadMe_Projects.txt" for details about the required dependencies. Alternatively, you can build simh with networking - support using the MinGW GCC compiler environment or the cygwin environment. - Each of these Visual C++, MinGW and cygwin build environments require - WinPcap and Posix packages being available. These should be located in a - directory structure parallel to the current simulator source directory. + support using the MinGW GCC compiler environment (32 bit) or the cygwin + environment. Each of these Visual C++, MinGW and cygwin build environments + require Npcap or WinPcap and Posix threading packages being available. + These should be located in a directory structure parallel to the current + simulator source directory. For Example, the directory structure should look like: @@ -268,8 +269,8 @@ Building on Windows: file is invoked with. The current windows network built binaries will run on any system without - regard to whether or not WinPcap is installed, and will provide - Network functionality when WinPcap is available. + regard to whether or not Npcap or WinPcap is installed, and will provide + Network functionality when Npcap or WinPcap is available. ------------------------------------------------------------------------------- diff --git a/sim_ether.c b/sim_ether.c index 920714d6..5bdbb10f 100644 --- a/sim_ether.c +++ b/sim_ether.c @@ -56,7 +56,7 @@ Supported/Tested Platforms: - Windows(NT,2K,XP,2K3,Vista,Win7) WinPcap V3.0+ + Windows(NT,2K,XP,2K3,Vista,Win7) WinPcap-4.1.3 Npcap-V0.9994 Linux libpcap at least 0.9 OpenBSD,FreeBSD,NetBSD libpcap at least 0.9 MAC OS/X libpcap at least 0.9 @@ -67,8 +67,11 @@ Compaq Tru64 Unix ?? VMS Alpha/Itanium VMS only, needs VMS libpcap - WinPcap is available from: + WinPcap is no longer developed or supported by was available from: http://winpcap.polito.it/ + Npcap is a complete replacement for systems running Windows7 and later + and is available from: + https://nmap.org/npcap libpcap for VMS is available from: http://simh.trailing-edge.com/sources/vms-pcap.zip libpcap for other Unix platforms is available at: @@ -82,8 +85,9 @@ Current Version: http://www.tcpdump.org/daily/libpcap-current.tar.gz Released Version: http://www.tcpdump.org/release/ - When necessary (see NOTE above about vendor supplied libpcap), - we've gotten the tarball, unpacked, built and installed it with: + When absolutely necessary (see NOTE above about vendor supplied + libpcap), we've gotten the tarball, unpacked, built and installed + it with: gzip -dc libpcap-current.tar.gz | tar xvf - cd libpcap-directory-name ./configure