nmap/nsock
david e18b25bccd Use tempfile in place of tempnam.
To avoid new GCC warnings about tempnam:
ncat_connect.c:789: warning: the use of `tempnam' is dangerous, better use `mkstemp'

Doing things this way has the same race condition as tempnam did,
because we are unlinking the file before binding it. (The race window is
smaller now.) The file must not exist before binding the Unix socket, or
else you get an "address already in use" error. Unlinking before binding
is the same thing that netcat-openbsd does. See this earlier thread:
http://seclists.org/nmap-dev/2012/q4/336.
2013-09-26 07:17:08 +00:00
..
examples Update the Nmap copyright/license files. This isn't the new Nmap Public Source License we've been discussing on the list, but rather just a 'quick patch' to hopefully prevent some of the abuse we've been seeing from companies lately. More details on the changes will be posted to the dev list. Also, the copyright year was updated to 2013 (which is the only change to Nsock license statements). 2013-07-28 22:05:05 +00:00
include Fix a typo in nsock documentation. 2013-08-21 20:06:38 +00:00
src Use tempfile in place of tempnam. 2013-09-26 07:17:08 +00:00
tests Allow NSE_TYPE_CONNECT_SSL to be canceled. 2013-09-15 10:52:07 +00:00
nsock.vcxproj Manage expiration times via a heap queue. 2013-08-10 23:59:30 +00:00