1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-25 17:09:02 +00:00
david 4c57d3f8c8 Unconditionally set the port state to PORT_OPEN when receiving a service
scan response, instead of checking for a current state of
PORT_OPENFILTERED. The code calls getPortState, but the port may not
have been assigned a state, again because of the new Port allocation
architecture, so the function returns -1.

It would make sense to have getPortState return the default port state
if a Port has not been allocated, but there are two other places it is
used where the code relies on it returning -1 to indicate that a port
has not received a state yet.
2010-01-23 02:01:50 +00:00
2010-01-16 02:25:26 +00:00
2010-01-15 03:55:23 +00:00
2010-01-15 03:55:23 +00:00
2010-01-15 03:55:23 +00:00
2008-07-31 14:18:21 +00:00
2010-01-15 03:55:23 +00:00
2010-01-15 03:55:23 +00:00
2009-12-18 07:59:31 +00:00
2010-01-15 03:55:23 +00:00
2010-01-15 03:55:23 +00:00
2010-01-15 03:55:23 +00:00

Here is some documentation for Nmap, but these files are much less
comprehensive than what you'll find at the actual Nmap documentation
site ( http://nmap.org ).
Languages
C 37.8%
Lua 28.1%
C++ 16.7%
Shell 5.8%
Python 4.2%
Other 7.2%