david
38c50f3ac3
In eth_get_pcap_devname (nee intf_get_pcap_devname), fall back on matching MAC
...
addresses if matching IP addresses fails. I have a feeling this is more
reliable than matching IP addresses, but as I'm not sure, I have made it the
backup so that nothing will stop working that was working before. The MAC
address matching works fine for me if I disable the IP address matching. The
code is adapted from libdnet 1.11.
2008-06-20 20:57:40 +00:00
david
09cc37f7f0
Rename intf_get_pcap_devname to eth_get_pcap_devname to reflect its new home.
2008-06-20 20:44:54 +00:00
david
b145c5549d
Move intf_get_pcap_devname from intf-win32.c to eth-win32.c. Pending changes
...
are going to make that function use a struct eth_t, so it needs to be here to
be in scope for that struct's internals.
2008-06-20 20:36:21 +00:00
david
f557cbe90e
Remove the unused (and broken) intf_get_desc function from libdnet-stripped. It
...
used to be used to get the interface description back when the eth_open
correlation code worked that way.
2008-06-20 20:32:51 +00:00
david
450052603b
In intf_get_pcap_devname, compare each of the pcap device's addresses against
...
all of the dnet device's addresses, not just the first one. This is a long shot
to fix the "dnet: Failed to open eth4" problem on Vista, but it's the right
thing anyway.
2008-06-20 19:44:13 +00:00
batrick
b64c8846b4
Made small aesthetic changes to mutex documentation.
2008-06-20 16:20:18 +00:00
batrick
27859e42cf
Updated documentation for stdnse module. It now includes
...
tobinary, tooctal, tohex, and make_buffer.
2008-06-20 14:05:26 +00:00
batrick
0bc91f9db2
Improved and changed the make_buffer function.
...
It now returns the line as its first argument always, otherwise nil, errmsg
I updated scripts that use make_buffer.
When Lua 5.2 comes out, we may be able to use a function I've added
called stdnse.lines (commented for now). It cannot be used yet because
we cannot yield inside generic for loop. The function is built for
generic for loops. It will work as such:
for line in stdnse.lines(socket) do
...
end
2008-06-20 13:50:50 +00:00
batrick
dffb1d9423
Updated stdnse library (optimizations).
2008-06-20 12:05:18 +00:00
batrick
bb07552e94
Changed a bad reference to the table.remove function for the mutex code.
...
The main branch does not yet have the changes to init that includes all
Lua functions being in the Registry with shorthand names.
2008-06-20 07:28:58 +00:00
batrick
f117619044
Added mutex code.
2008-06-20 07:19:37 +00:00
batrick
00c55e7e42
Removed old commented code.
2008-06-20 07:07:13 +00:00
doug
5150b51145
nmapsubmit-svfp-060108.mbx
...
* privoxy match line
* major SIPOptions probe reorganisation -- see nmap-dev
2008-06-20 05:21:09 +00:00
michael
4863010770
Service fingerprints are no longer truncated in XML logs.
2008-06-20 03:25:53 +00:00
doug
c9440050e8
nmapsubmit-svfp-060108.mbx SSH and telnet fingerprints
2008-06-20 01:20:31 +00:00
fyodor
d61e811485
apply more suggestions from Brandon
2008-06-19 05:27:42 +00:00
doug
ee8afa1b12
nmapsubmit-svfp-060108.mbx FTP fingerprints
2008-06-19 03:30:38 +00:00
michael
3d2f2f56e8
added more comments, fixed a small bug, and refactored code in route_dst
2008-06-19 02:41:49 +00:00
doug
fb85d6b1c7
Mail protocols for nmapsubmit-svfp-060108.mbx
...
pop3, smtp, and imap
2008-06-19 01:11:12 +00:00
fyodor
645be747da
fix a broken link found by Kris
2008-06-19 00:28:47 +00:00
david
130f794664
Remove the now-unused getInterfaceByIP function from tcpip.cc. (Really, it was
...
not used before because of how the logic for o.spoofsource and o.device is
handled in nmap.cc.) Its basic purpose remains in the function ipaddr2devname.
2008-06-18 23:03:24 +00:00
doug
b9ae121838
Processing corrections from: nmapsubmit-svcorr-060108.mbx
2008-06-18 22:54:05 +00:00
david
e4227a44e0
Remove some code which Michael correctly surmised isn't used. Replace it with
...
an assertion.
2008-06-18 22:51:17 +00:00
david
c67369c6b2
Fix up indentation in route_dst in tcpip.cc (no code changes). This function
...
has been messed up for a while and I was having trouble reading it. I changed
it to use the mix of 8-wide tabs and spaces used by most of the rest of the
file.
2008-06-18 22:30:38 +00:00
doug
da3f573795
Several match lines and probes from Tom Sellers that were sent to nmap-dev.
2008-06-18 21:18:27 +00:00
david
a74aed2965
Fix some misspelled words in docs/scripting.xml.
2008-06-18 20:43:59 +00:00
michael
2cdb6d9a2a
removed a redundant loop from route_dst() in tcpip.cc
2008-06-18 20:41:45 +00:00
david
da94206212
Fix an indexterm in scripting.xml. I changed a duplicate term into the one I
...
meant to put in.
2008-06-18 20:08:52 +00:00
david
136cdf787c
Add some indexterms to docs/scripting.xml and docs/refguide.xml.
2008-06-18 18:43:27 +00:00
david
37dff042e0
Change the link for detail information on -oG output from
...
http://www.unspecific.com/nmap-oG-output to
http://nmap.org/book/output-formats-grepable-output.html (or a cross-reference
if notman).
2008-06-18 17:57:49 +00:00
david
687c923bc1
Capitalize HTTP and HTTP GET in the Reference Guide.
2008-06-18 17:45:11 +00:00
david
d70ed50e90
Use the new man and notman elements in the Reference Guide. Links to book
...
sections are web links when the man page is built on its own, simple
cross-references when it is part of the book.
2008-06-18 17:37:07 +00:00
david
f1383115d4
Change the Reference Guide: /1 isn't the smallest netmask allowed anymore. /0
...
works.
2008-06-18 15:06:29 +00:00
kris
f0f84ad3b0
Fixing a pair of tags (function -> literal) and fixing an example call (match.lua -> match.regex). I also changed the variable used to avoid confusion (regex -> pattern).
2008-06-18 04:46:55 +00:00
kris
a217660668
Adding a missing parenthesis, and putting an "s" after an apostrophe
2008-06-18 04:41:19 +00:00
david
5c412b30ef
Use a space between the number and the unit in quantities like "500 ms" in the
...
Reference Guide. See http://physics.nist.gov/Pubs/SP811/sec07.html#7.2 for a
section of an SI style guide with this rule.
2008-06-18 04:29:21 +00:00
michael
5f390306be
A fix to r8309, this uses an error message already in nmap instead of the one I added
2008-06-18 01:55:25 +00:00
fyodor
92e39aa66f
o Update the HTTP library to use the new timing_level functionality to
...
set connection and response timeouts. An error preventing the new
timing_level feature from working was also fixed. [Jah]
2008-06-18 00:15:27 +00:00
david
a4ed2549a4
Fix a closing para tag in docs/scripting.xml.
2008-06-17 22:53:02 +00:00
michael
78c3a83c87
Added an error message for when the user specifies a device(-e) that doesnt have a route to the target IP in windows.
...
This was caught by another error message later on, but it was ambiguous and unrelated to the actual problem.
2008-06-17 22:50:37 +00:00
kris
bc0826654a
The WinPcap Windows installer now has x64 npf.sys support. Thanks for Rob Nicholls for the patch.
2008-06-17 21:02:40 +00:00
bmenrigh
c6ee0c4995
I made several changes to sentences and paragraphs as well as several
...
comments about existing text. I think the complicated and changing
nature of NSE had made it hard to write about it in a concise and easy
to understand way.
2008-06-17 01:36:39 +00:00
bmenrigh
5e40032248
Minor firewall (intrusive->restrictive) wording change.
2008-06-16 21:33:46 +00:00
david
fd7104cce2
Fix one of the new OS fingerprints. It was missing a Class line.
2008-06-16 18:00:47 +00:00
fyodor
10344d4084
update --log-errors section
2008-06-16 10:10:15 +00:00
kris
edfe5f3f5e
Section title capitalization consistency in scripting.xml and nmap-install.xml
2008-06-16 06:35:22 +00:00
fyodor
78d229b507
remove a stray space
2008-06-16 03:06:37 +00:00
fyodor
0e8455e292
some edits suggested by João Medeiros
2008-06-16 00:24:00 +00:00
kris
b1adb3e9fd
Fix a missing parenthesis in the install guide (removal section)
2008-06-15 19:13:15 +00:00
fyodor
f44a5709aa
update copyright year
2008-06-15 10:43:10 +00:00