d33tah
ccd0c02a4c
Add a lacking space in the license comment. The command I used to do this is:
...
for file in `grep "* including the terms and conditions of this license text as well. \*" * -r --files-with-match `; do sed "s/\* including the terms and conditions of this license text as well. \*/* including the terms and conditions of this license text as well. */g" -i $file; done
2013-09-11 19:06:20 +00:00
fyodor
85e74c4075
Regen man pages
2013-08-17 20:09:25 +00:00
henri
694a8fe825
Nsock-pcap cleanup
...
Make the API follow the general nsock style. Report errors properly using the
nsock logging facilities.
2013-07-31 19:11:16 +00:00
fyodor
6e01ecd452
Update an email address, fix a typo, and slightly reword a sentence.
2013-07-30 00:02:00 +00:00
fyodor
fa6db96c73
Update the man page to use the latest text from COPYING file and regenerate
2013-07-29 23:57:40 +00:00
fyodor
b01fd55cb6
Change version number to 6.41SVN and regenerate auto-generated files such as man page, script.db, etc.
2013-07-29 06:00:07 +00:00
fyodor
83fb10ec56
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
david
d22fe5be68
Check for matching ICMP ID on echo reply.
2013-07-17 04:48:04 +00:00
david
a712b3005d
Rewrite is_response_icmp to give access to the encapsulated packet.
...
We will want to also get the ICMP ID from the packet.
Remove the now-unused getDestAddrFromICMPPacket function.
2013-07-17 04:48:02 +00:00
david
febef4cc63
Factor out is_response_icmp.
2013-07-17 04:48:00 +00:00
dmiller
3b171708f2
Fix typo in nping man page: --md > --mf
...
Reported in this RedHat bug:
https://bugzilla.redhat.com/show_bug.cgi?id=813739
2013-06-28 15:45:25 +00:00
david
851676e407
Remove obsolete ncat.sln and nping.sln files.
2013-06-28 03:31:44 +00:00
luis
bf1de31d07
Fix a bug reported by David Young. Nping set the SYN flag in all packets, no matter what was passed by the user through --flags. This patch was submitted by Josh Hunt
2013-06-01 09:53:18 +00:00
david
6b7b428cb9
Remove COMPAT_SRCS and COMPAT_OBJS.
...
These appear not to have any effect any more. They were initially used
to conditionally compile and link some files with replacements for
standard library functions, but seem not to have been used after r828
("Moved to nbase system for compatability funcs").
2013-05-13 04:21:11 +00:00
david
c9d5dc20e4
Use hex constant for packet count.
2013-05-03 21:31:02 +00:00
david
8e4b48adce
Increase packet count from 32 to 48.
2013-05-03 21:30:55 +00:00
david
cce06b322c
Move private data members to the top of NpingOps.h.
2013-05-03 21:30:53 +00:00
david
1d57ef7eb4
Normalize public/private indentation.
2013-05-03 21:30:51 +00:00
david
2ffc2099ab
Consolidate NpingOps public data members.
2013-05-03 21:30:49 +00:00
david
a7bad08b0d
Comments on NpingOps fields.
2013-05-03 21:30:47 +00:00
david
e1d4f58a29
Move declaration of NpingOps::getTotalProbes.
2013-05-03 21:30:46 +00:00
david
e5e8b91bbd
Kill extra whitespace in NpingOps.h.
2013-05-03 21:30:44 +00:00
david
b65987df12
Add NpingOps::echo_payload_set.
2013-05-03 21:30:42 +00:00
david
265b73b6ae
Remove unused tcpmss, tcpws, and tcpts from NpingOps.
2013-05-03 21:30:39 +00:00
david
08efb5ce1a
Revert r30833, removal of obtainRawSocket.
...
This was prematurely merged from nmap-npingchanges. obtainRawSocket is
still used here.
2013-05-03 19:31:09 +00:00
david
5f557a3766
Use a constant definition to say 'No Payload'
2013-05-03 17:55:07 +00:00
david
74de527b75
Use false, not zero
2013-05-03 17:55:06 +00:00
david
4fb5f91f9c
Use false instead of zero to initialize a bool
2013-05-03 17:55:04 +00:00
david
6fb635b86a
Use NULL instead of 0 to initialize a pointer
2013-05-03 17:55:02 +00:00
david
4bdd43f466
Remove some useless code.
2013-05-03 17:55:00 +00:00
david
40a73d19c1
Remove unimplemented feature payload-file
2013-05-03 17:54:58 +00:00
david
d90f9549a4
Remove unused/unimplemented host_timeout feature
2013-05-03 17:54:57 +00:00
david
a4240eaab5
Minor style fix
2013-05-03 17:54:55 +00:00
david
3c8eb9781a
Remove unused method from NpingOps
2013-05-03 06:25:24 +00:00
david
67db6f0829
Fix another outError → nping_warning.
...
Apparently missed in r30691. Reported by Gisle Vanem.
http://seclists.org/nmap-dev/2013/q2/32
Recommitted after recovery from backup.
2013-04-12 17:29:28 +00:00
luis
b70a358447
Merge r30025 from nmap-npingchanges: Add two helper functions to handle sockaddr_storage structures.
2013-03-29 17:53:02 +00:00
luis
a55a038bc6
Merge r28024 from nmap-npingchanges: Make the test script executable
2013-03-29 16:52:12 +00:00
luis
a3f84c2c87
Merge r27963 from nmap-npingchanges: Remove some unimplemented command-line flags
2013-03-29 16:39:36 +00:00
luis
ac64c953ab
Merge r27177-180 from nmap-npingchanges: Minor typo and style fixes in -h output
2013-03-29 13:14:18 +00:00
luis
686322d1bd
Merged r27162 from nmap-npingchanges: Remove some unused code
2013-03-29 13:01:29 +00:00
luis
84c31d5237
Merge r27120,27121,27123,27124,27125 from nmap-npingchanges. Minor style and typo fixes.
2013-03-29 12:51:50 +00:00
luis
f64b3fafe8
Merge r27122 from nmap-npingchanges: Changed names for output funtions. outPrint() -> nping_print(); outFatal() -> nping_fatal() ; outError() -> nping_warning(). This change is completely irrelevant but I personally hate the names I chose the first time and I thought I'd change them to something better.
2013-03-29 12:44:51 +00:00
david
ce51d8c4da
Use the default value of MultiThreadedDLL where possible.
2013-02-09 20:30:01 +00:00
david
6b095f42d2
Use MultiThreadedDebugDLL (/MDd) in place of MultiThreadedDebug (/MTd).
...
This is to match r8507, which did the analogous thing for the Release
configuration.
http://seclists.org/nmap-dev/2013/q1/120
2013-02-09 20:29:55 +00:00
david
ecb16767e8
Skip privileged pings against localhost on Windows.
...
Compare to this similar test in Nmap's scan_engine.cc:
if (scantype != CONNECT_SCAN && Targets[0]->ifType() == devt_loopback) {
log_write(LOG_STDOUT, "Skipping %s against %s because Windows does not support scanning your own machine (localhost) this way.\n", scantype2str(scantype), Targets[0]->NameIP());
return;
}
rndbit made a report--unfortunately we con't fix it, but we can make the
error message clearer.
http://seclists.org/nmap-dev/2013/q1/187
2013-02-09 19:08:05 +00:00
david
9e74850e6e
Remove unnecessary or nonexistent files from Nping Windows build.
...
These were causing Nping to always appear to be out of date when
debugging. Cf. r26250 and r25068.
2013-02-09 18:55:22 +00:00
david
dbdee4792e
Keep min/max/avg rtt outputs down to -q.
2013-01-28 22:55:31 +00:00
david
93a245d6e7
Require -v for 'Tx time' and friends in Nping.
2013-01-28 22:55:29 +00:00
david
e1fba2d663
Merge r30416:30527 from /nmap-exp/david/ipv6-ranges.
...
This is a refactoring of target parsing that stores different types of
target specifications as different classes. The eventual intention is to
allow easy iteration over each specification for the purpose of IPv6
multicast host discovery.
2013-01-22 00:01:08 +00:00
henri
809f1eda68
Merged nsock-logging from nmap-exp/henri/nsock-logging/
...
Reworked the logging infrastructure to make it more flexible
and consistent.
Updated nmap, nping and ncat accordingly. Nsock log level can
now be adjusted at runtime by pressing d/D in nmap.
2012-12-15 10:59:30 +00:00