dmiller
7b523f0643
Don't try to reconnect SSLv2 over DTLS (UDP). Fixes #1543
2019-04-08 22:29:47 +00:00
dmiller
fe9a1db4dd
Avoid double-free due to calling pcap_close when IOD is deleted
2019-03-19 15:51:43 +00:00
nnposter
12f1894f97
Removes leftovers from past tests for PCAP_NETMASK_UNKNOWN
...
Test first implemented in r33774 (80f18a2bc7 ),
finally removed in r37527 (f8004b792c )
2019-02-19 01:47:13 +00:00
dmiller
f8004b792c
Replace a config-time check with a ifndef that also works on Windows.
2018-11-21 06:23:08 +00:00
dmiller
d8c1d935f1
Move Npcap headers and lib stuff to nmap-mswin32-aux
2018-10-18 03:28:39 +00:00
dmiller
e48361523b
Fix the check for pcap_set_immediate_mode, which was failing every time.
2018-10-04 17:35:53 +00:00
dmiller
c7b929995b
Move pcap_setmintocopy call where it belongs, as alternative to pcap_set_immediate_mode
2018-10-01 02:35:10 +00:00
nnposter
973b471c11
Corrects a few issues related to snprintf return values
2018-08-26 02:29:14 +00:00
dmiller
7e644b391e
Use pcap_open and pcap_set_immediate_mode in nsock. Closes #1291
2018-08-21 16:03:30 +00:00
dmiller
7f1485f56d
Switch to pcap_create instead of pcap_live_open. See #1291
2018-08-20 22:08:56 +00:00
dmiller
4deb24fec4
Change configure check for libpcap to require pcap_create (libpcap 1.0.0 or later). See #1291
2018-08-20 22:08:55 +00:00
nnposter
302954fb3f
Rectifies incorrect use of va_start/va_end from stdarg.h. Closes #1297
2018-08-09 22:11:15 +00:00
dmiller
689ea0e05d
Spelling corrections. Fixes #1160
2018-03-26 14:59:41 +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
9f494f61ae
Avoid RC4 by default. Closes #972
2017-10-09 17:03:21 +00:00
dmiller
b90786a5ef
Regen configure scripts
2017-09-27 21:29:31 +00:00
dmiller
97d3fb34f6
Silence autoreconf warnings. Closes #1009
2017-09-19 17:01:39 +00:00
henri
0afdee18fe
nsock: minor style fix
2017-08-31 17:57:40 +00:00
rewanth
6ee953a5ff
Removes trailing spaces in 69 files. Closes #971 .
2017-08-23 08:52:40 +00:00
dmiller
e5623027a2
Also clean up pcap events when deleting an IOD. Closes #961
2017-08-12 16:06:39 +00:00
dmiller
fdfc36778b
Add DTLS and ALPN support to Ncat. Closes #446
2017-07-29 05:55:30 +00:00
dmiller
0d21bd42e2
Update cipher suites to eliminate anonymous authentication methods
2017-07-29 05:55:27 +00:00
dmiller
2065d752bb
Change EV_EXCEPT handling.
...
Original patch by Henri Doreau: http://seclists.org/nmap-dev/2017/q1/252
2017-06-19 22:58:23 +00:00
dmiller
9c7ea727a7
Update license terms for 2017
2017-06-07 12:32:38 +00:00
dmiller
a668a21b7a
Make Nsock handle all connect errors without fatal
2017-03-20 17:12:40 +00:00
dmiller
b7e213b5cb
Fix compatibility with LibreSSL; new checks skipped initialization code
2017-02-07 20:10:02 +00:00
dmiller
9b86dadb58
Remove deprecated calls from OpenSSL 1.1 API. Closes #630
2017-01-11 15:38:08 +00:00
dmiller
d9cbd7acc4
Use the correct license template for Nsock
2016-12-29 17:28:24 +00:00
dmiller
cb8904ebae
Update license headers
2016-12-29 17:18:02 +00:00
dmiller
f6db6731d2
Fix kqueue engine, not compliant with new Nsock API after IOCP integration
2016-08-25 21:02:19 +00:00
tudor
e5a495c1a0
Fixed some compiler warnings
2016-08-23 04:27:07 +00:00
tudor
1e1f744186
Added IOCP integration for Nsock, engine IOCP is the default engine on Windows
2016-08-22 19:15:13 +00:00
dmiller
ed59a3d370
Avoid macro redefinition and WinPcap incompatibility now that Npcap defines PCAP_NETMASK_UNKNOWN
2016-08-18 23:53:46 +00:00
vincent
b5606dde91
Hide first makefile attempt to include makefile.dep
...
This is to avoid having a warning saying that there is no makefile.dep
file, which will be generated right after the warning and then
included in the Makefile.
2016-08-16 09:31:59 +00:00
tudor
63b31682f4
Reverted the IOCP integration
2016-08-11 18:58:03 +00:00
tudor
1aa7958e23
Added IOCP integration for Nsock
2016-08-09 12:44:55 +00:00
dmiller
d30b3c36a8
Silence ASan warning due to definition of container_of in tests. Same as r32536
2016-08-03 18:29:56 +00:00
dmiller
28bd96b82e
Reorder checks and libs to fix building when OpenSSL requires -ldl
2016-07-31 13:57:01 +00:00
dmiller
74cade6f39
Avoid some theoretical null pointer derefs
2016-07-30 03:54:00 +00:00
dmiller
7f6595112d
Better use of configured flags when building Nsock tests
2016-07-30 03:53:59 +00:00
abhishek
57c3760a7c
Updates the Nsock examples, closes #395
2016-06-07 15:58:09 +00:00
dmiller
f90587f131
Bump earliest supported Windows version to Vista, enabling poll nsock engine.
2016-06-04 02:46:13 +00:00
dmiller
dc71d91cea
Avoid crashes in Windows using poll nsock engine
...
WSAPoll returns WSAEINVAL when there are no valid sockets in the fdarray
parameter. Individual WSAPOLLFDs can be ignored by setting them to a
negative value (just as with POSIX poll(2)), but there must be at least
one valid (not-ignored) socket to check.
Handled this by either returning error if the error was not EINVAL, or
by checking each WSAPOLLFD in the fdarray; at the first valid one,
return the error, since this was not the reason for the error. If none
are valid, continue, ignoring the error.
2016-06-04 02:46:13 +00:00
dmiller
50054e6ed7
Update platform toolset to remove XP compatibility
2016-06-04 02:46:11 +00:00
dmiller
a752c2265a
Adjust indents to avoid confusion. Fixes #396 . whitespace only.
2016-06-01 16:51:50 +00:00
dmiller
f38b959593
Avoid clobbering nsiod.peer with junk data if recvfrom doesn't set src_addr
2016-05-13 02:13:25 +00:00
dmiller
6e33d6ac3c
Bump date in copyright headers
2016-04-04 15:38:44 +00:00
dmiller
616cf9730e
clear session data before attempting a reconnect without SSLv2-compatibility. Fixes #318 . Fixes #308
2016-03-12 23:26:26 +00:00
dmiller
d2136e5ad0
Force-clear SSL_OP_NO_SSLv2 flag (required for 1.0.2g and later to allow SSLv2)
2016-03-12 23:26:25 +00:00
dmiller
ee048d5349
Avoid printf on NULL pointer if no string is registered for the error code.
2016-01-04 16:48:09 +00:00