1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-18 13:39:02 +00:00

Make IOCP the default Nsock engine on Windows. See #2126

This commit is contained in:
dmiller
2020-09-29 18:17:10 +00:00
parent eb6e160cb9
commit e214019922
2 changed files with 6 additions and 1 deletions

View File

@@ -1,5 +1,10 @@
#Nmap Changelog ($Id$); -*-text-*- #Nmap Changelog ($Id$); -*-text-*-
o [GH#2126] Fix the "iocp" Nsock engine for Windows to be able to correctly
handle PCAP read events. This engine is now the default for Windows, which
should greatly improve performance over the previous default, the "poll"
engine. [Daniel Miller]
o [GH#2051] Restrict Nmap's search path for scripts and data files. o [GH#2051] Restrict Nmap's search path for scripts and data files.
NMAPDATADIR, defined on Unix and Linux as ${prefix}/share/nmap, will not be NMAPDATADIR, defined on Unix and Linux as ${prefix}/share/nmap, will not be
searched on Windows, where it was previously defined as C:\Nmap . searched on Windows, where it was previously defined as C:\Nmap .

View File

@@ -100,8 +100,8 @@ extern struct io_engine engine_select;
static struct io_engine *available_engines[] = { static struct io_engine *available_engines[] = {
ENGINE_EPOLL ENGINE_EPOLL
ENGINE_KQUEUE ENGINE_KQUEUE
ENGINE_POLL
ENGINE_IOCP ENGINE_IOCP
ENGINE_POLL
ENGINE_SELECT ENGINE_SELECT
NULL NULL
}; };