1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-19 05:59:01 +00:00
Commit Graph

8287 Commits

Author SHA1 Message Date
david
b15d8825a3 Whitespace in http-fingerprints. 2012-11-21 00:47:30 +00:00
david
4c6253d544 New http-fingerprints.
Contributed by Jesper Kückelhahn.
Sitecore, Moodle, typo3, SquirrelMail, RoundCube.
http://seclists.org/nmap-dev/2012/q4/287
2012-11-21 00:47:29 +00:00
david
0232192312 Move inclusion of <errno.h> to after HAVE_POLL.
Suggested by Henri.
http://seclists.org/nmap-dev/2012/q4/286
2012-11-20 19:43:55 +00:00
david
8f5ed637f9 Include <errno.h> in engine_poll.c for EINTR.
I'm not sure why I wasn't seeing this error before:
engine_poll.c: In function ‘poll_loop’:
engine_poll.c:352:46: error: ‘EINTR’ undeclared (first use in this function)
engine_poll.c:352:46: note: each undeclared identifier is reported only once for each function it appears in
2012-11-20 18:59:41 +00:00
fyodor
6788abdee2 regenerate to include new note that we use liblinear in Nmap for IPv6 OS detection 2012-11-17 01:34:52 +00:00
fyodor
40593b417a add slightly more information on the nmap-mswin32-aux checkout 2012-11-17 01:33:56 +00:00
fyodor
f8ff3a7b84 A bunch of updates to the Nmap TODO 2012-11-17 01:33:01 +00:00
fyodor
dc3ef3f9b0 Add credit for our usage of LibLinear for IPv6 OS detection 2012-11-16 22:57:04 +00:00
david
e68592686e Add missing newline to log.
"Ignoring claimed %s uptime of %lu days\n"
2012-11-16 21:40:59 +00:00
david
6ad551b872 Actually pass the bigger buffer size when padding with nulls. 2012-11-16 21:12:33 +00:00
david
b40d0e2982 Pad the device name of SO_BINDTODEVICE up to sizeof(int).
An apparent kernel bug in Linux 2.6.20 and earlier causes the
SO_BINDTODEVICE setsockopt to return EINVAL if the device name is too
short. Pad with null characters to avoid this.

http://article.gmane.org/gmane.linux.network/71887
http://article.gmane.org/gmane.linux.network/72216
2012-11-16 21:02:59 +00:00
david
641dddafb5 Use socket_bindtodevice instead of bare setsockopt in Nsock. 2012-11-16 21:02:57 +00:00
david
8dd3a8a66e Fix SO_BINDTODEVICE Nsock error message. 2012-11-16 21:02:54 +00:00
fyodor
89d84932de Regenerated the man pages with today's date 2012-11-16 19:09:59 +00:00
fyodor
fe32e7d299 OK, I think I'm done with CHANGELOG 2012-11-16 09:24:48 +00:00
fyodor
854611fa82 spellcheck the new changelog entries 2012-11-16 09:18:41 +00:00
fyodor
c58b302ee1 Fix some more typos and spelling errors 2012-11-16 09:13:53 +00:00
fyodor
46e8ade6da fix another instance of same typo 2012-11-16 08:53:05 +00:00
fyodor
8ccf89b3ea fix a typo 2012-11-16 08:52:13 +00:00
fyodor
9f974ef58c Almost done with CHANGELOG 2012-11-16 08:44:51 +00:00
fyodor
3c7d576a04 Some more improvements to the CHANGELOG, still more to do though 2012-11-16 04:37:21 +00:00
david
89e8707ae6 CHANGELOG typo. 2012-11-16 03:32:00 +00:00
fyodor
abc16cc78f Spell out rdp acronym 2012-11-16 02:25:08 +00:00
fyodor
5272dd5a82 spell out OSPF acronym 2012-11-16 02:24:02 +00:00
fyodor
dccd153b72 Spell out jdwp acronym 2012-11-16 02:15:00 +00:00
fyodor
755e7cdfb3 add author name to Patrik's IPP library 2012-11-16 02:13:27 +00:00
fyodor
079e4c4c6a spell out EIGRP acronym 2012-11-16 02:07:06 +00:00
fyodor
ea05ae2586 Latest auto-generated files in prep for upcoming 6.20BETA1 release 2012-11-16 00:54:16 +00:00
fyodor
2560aa96c9 Latest todo file task updates 2012-11-16 00:52:36 +00:00
fyodor
0a9d569e42 Some more minor script description updates 2012-11-16 00:51:50 +00:00
fyodor
f91bc7a100 A bit more work on the CHANGELOG, though still lots of cleanup remaining 2012-11-16 00:43:38 +00:00
fyodor
5f5d246620 Add a section to the TODO containing descriptions of all 85 (wow!) new scripts since Nmap 6.01 2012-11-15 23:06:21 +00:00
fyodor
f13353a610 Minor description updates (and sometimes just text reformatting) for some of the 85 new scripts(!) since Nmap 6.01 2012-11-15 23:05:31 +00:00
fyodor
ff0f33288b Add author field to Patrik's bjnp-discover script 2012-11-15 21:17:17 +00:00
henri
9d7c017cf7 Use the fallback nsock engine by default in order to maximize
compatibility between systems and use cases. [Henri Doreau]

There were known issues with the following cases:
  * epoll and regular files
  * kqueue and regular files
  * WSAPoll and stdin

The --nsock-engine=<ENGINE> can still be used to bypass this
default choice.

See: http://seclists.org/nmap-dev/2012/q4/173
2012-11-13 08:40:49 +00:00
david
64f874d835 Temporarily add back generated nmap.rc.
This is needed from the Visual C++ GUI build, not only from make, and
the GUI doesn't have a way to generate this file.

It may be possible to have a Visual Basic script to the automatic
updating of the version number, according to this article.
http://support.microsoft.com/kb/237870
2012-11-13 01:44:39 +00:00
david
a050128a25 CHANGELOG for Ncat Unix domain sockets. 2012-11-12 20:44:50 +00:00
david
7b371609a3 Refactor get_hostaddr_string to get_peeraddr_string.
All the information passed as arguments is present in an iod, and we
only call this with members of one iod. Change it to accept just an iod
as an argument.
2012-11-12 20:44:49 +00:00
david
f5ac3e9f4e Put brackets on PEER_STR_LEN.
Maybe we'll decide to add these; anyway more space doesn't hurt.
2012-11-12 20:44:46 +00:00
david
cc4eb9f381 Disable automatic generation of datagram Unix domain source socket.
This code was not always properly cleaning up automatically generated
sockets; for example in the case of "Connection refused". It would
delete sockets even if you gave one manually with --source; it's not
clear that's the right behavior.
2012-11-12 20:44:45 +00:00
david
e017de82bb Short section on -U in ncat man page. 2012-11-12 20:44:43 +00:00
david
fde17a1e40 Tests for UNIX sockets implementation in Ncat
Added tests for UNIX domain sockets to the ncat_test.pl
script. Added tests for:
1. listening on and connecting to UNIX STREAM socket.
2. listening on and connecting to (client with random
   socket) UNIX DGRAM socket.
3. connecting to UNIX DGRAM socket with given source
   socket (with "-s").
2012-11-12 20:44:41 +00:00
david
6531a19892 Implementation of UNIX-domain sockets for Ncat
Implementation of UNIX sockets for Ncat using
also UNIX-domain sockets functionality from
Nsock library. Added new argument "-U".
2012-11-12 20:44:40 +00:00
david
f01e3800fb Implementation of UNIX-domain sockets for Nsock.
Implementation of UNIX-domain sockets functionality
for Nsock. Also some minor necessary changes to
existing Nsock functions, to work properly with
UNIX-domain sockets.
2012-11-12 20:44:37 +00:00
david
c5f632382f Show an error instead of silently falling back to AF_INET6. 2012-11-12 19:34:23 +00:00
david
0d3a8846b0 Set target port number based on target af, not o.af.
o.af is AF_UNSPEC at this point in the common case that neither -4 nor
-6 was given. The code was falling through to the "else" IPv6 case. I
think we were getting luck with this because the port number happens to
be in the same place in sockaddr_in and sockaddr_in6.
2012-11-12 19:34:22 +00:00
david
665e6b9e70 Whitespace. 2012-11-12 19:01:01 +00:00
david
c92d25dfcb Fix ncat man page typo. 2012-11-12 18:11:58 +00:00
david
39fe45da8e More OS CPE. 2012-11-12 08:00:54 +00:00
patrik
20555b7988 nse_check_globals cleanup 2012-11-12 03:49:35 +00:00