Commit Graph

36 Commits

Author SHA1 Message Date
dmiller eb79c42b05 Bind to source with -e, not only -S. Fixes #2122 2026-07-20 15:48:57 +00:00
dmiller d8c9880cd5 Consolidate inet_ntop_ez-like code from throughout 2026-06-11 23:28:26 +00:00
dmiller 95d380b836 Bump copyright date to 2026 [skip ci] 2026-02-16 22:33:40 +00:00
dmiller 3704a278be Prevent Connect scan leaking 1 socket per hostgroup. Fixes #3086 2025-06-13 20:57:15 +00:00
dmiller 6db5c9cb85 Bump copyright date 2025-02-26 17:44:43 +00:00
dmiller 0e3a51c992 Set timeouts for Windows connect scan. Fixes #2113 2024-10-30 19:02:09 +00:00
dmiller f0c022b25f Avoid infinite loop on systems where select doesn't update timeout 2024-10-28 23:11:53 +00:00
dmiller 191aadf142 Record current time for connect probes, not an old time 2024-10-28 23:11:52 +00:00
dmiller f999182d0f Bump date and reapply header templates 2024-02-28 18:46:45 +00:00
dmiller 0890822b09 Don't use uninitialized value in MIN() for maxSocketsAllowed 2023-09-01 20:02:38 +00:00
dmiller 6f6b2de214 Apply new license templates, bump copyright date 2023-04-14 17:11:46 +00:00
dmiller b5dd2956dd Check for sd > FD_SETSIZE before it is unrecoverable. Fixes #1857 2022-09-29 00:13:10 +00:00
dmiller dd690b3e0b Bump copyright date and update some links [ci skip] 2022-02-18 17:38:46 +00:00
fyodor 3aec3f3a07 Update to latest copyright templates. Main change is that Insecure.Com LLC is now Nmap Software LLC 2021-11-23 16:04:37 +00:00
dmiller 180c716ca5 Combine tryno and pingseq
UltraProbe's tryno and pingseq attributes were mutually exclusive,
encoded in the same places in packets, and did not need more than 7 bits
to store. This change combines them into a bitfield. This simplifies
some logic, since they do not need to be distinguished from each other.

Additionally, in cases where the tryno is encoded in the source port
number, no further checks or decoding need to happen beyond comparing
the destination port of the response to the source port of the probe.
2021-08-06 02:47:57 +00:00
dmiller ef8213a36c Reintegrate Nmap 7.90 release branch 2020-10-05 23:00:30 +00:00
dmiller 3d382bdf17 New option --discovery-ignore-rst. Closes #1616 2020-08-31 15:20:49 +00:00
dmiller d639a53088 Bump copyright date in license headers 2019-05-28 21:36:04 +00:00
dmiller aaf5075c67 Move probespec to its own header to reduce includes of scan_engine.h 2018-07-13 18:18:28 +00:00
fyodor ff62300249 Bump copyright dates to 2018 and slightly improve wording (doesn't change meaning) of Nmap license header text 2018-01-28 21:18:17 +00:00
dmiller 9c7ea727a7 Update license terms for 2017 2017-06-07 12:32:38 +00:00
dmiller 891c3be3b9 remove tcpip.h from other headers' includes 2017-04-19 13:53:57 +00:00
fyodor 4bd67aa2fb Update the Nmap license/header text to reflect latest updates to docs/legal-notices.xml 2016-12-14 00:12:23 +00:00
tudor 0a7a7e395b Scan iterator fix for compilation under Visual Studio 2010 2016-10-18 15:56:40 +00:00
vincent ab44513a98 Add check before 'case ENONET:' to check for ENONET existence
This avoid compiling error in case ENONET is not defined, for
example when compiling nmap without openssl
2016-10-17 11:21:32 +00:00
tudor 9c8a435bbf Fixed scanning the same IP multiple times with a type of scan that is now raw, incompleteHosts and completedHosts are now multisets instead of sets 2016-10-15 22:26:43 +00:00
dmiller fbc9ddae92 More accurate handling of obscure ICMP-based connect errors. 2016-10-12 15:26:55 +00:00
dmiller 6ffce766da Avoid comparing with invalidated iterator to end if elements are deleted. 2016-09-01 03:34:22 +00:00
tudor 7c0280382e incompleteHosts and completedHosts are now sets, matching a packet to a target is done faster 2016-08-09 06:07:22 +00:00
dmiller 6e33d6ac3c Bump date in copyright headers 2016-04-04 15:38:44 +00:00
dmiller ea4096c681 Strip or relocate more includes from nmap.h 2015-07-01 21:25:39 +00:00
dmiller 68409b2226 Update copyright date to 2015 2015-06-03 13:01:29 +00:00
dmiller 6199449632 Increase packet tracing for Connect scan
Now connections are traced after completing, in addition to when they
are first attempted.
2015-02-19 16:59:01 +00:00
dmiller ed604aedc7 Fix a bug (infinite loop) with connect scan on AIX 2014-09-10 15:55:51 +00:00
d33tah b9fb766a4f Move a lot of raw/connect scanning routines. 2014-09-03 14:27:11 +00:00
d33tah c86b862501 Introduce scan_engine_connect.cc, scan_engine_connect.h,
scan_engine_raw.cc, scan_engine_raw.h and add them to Windows and Unix
build systems.
2014-09-03 14:27:00 +00:00