1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-17 21:19:01 +00:00

[NSE] Added support for decoding EIGRP broadcasts from Cisco routers to broadcast-listener.nse

This commit is contained in:
tomsellers
2012-02-12 21:20:16 +00:00
parent 631515a5ed
commit 7807926f15
3 changed files with 656 additions and 508 deletions

View File

@@ -1,5 +1,8 @@
# Nmap Changelog ($Id$); -*-text-*- # Nmap Changelog ($Id$); -*-text-*-
o [NSE] Added support for decoding EIGRP broadcasts from Cisco routers
to broadcast-listener. [Tom]
o [NSE] Added redirect support to the http library. All calls to http.get and o [NSE] Added redirect support to the http library. All calls to http.get and
http.head now transparently handle any HTTP redirects. [Patrik] http.head now transparently handle any HTTP redirects. [Patrik]

File diff suppressed because it is too large Load Diff

View File

@@ -134,8 +134,8 @@ sniffInterface = function(iface, Decoders, decodertab)
-- default to 30 seconds, if nothing else was set -- default to 30 seconds, if nothing else was set
timeout = timeout and (timeout * 1000) or (30 * 1000) timeout = timeout and (timeout * 1000) or (30 * 1000)
-- We wan't all packets that aren't explicitly for us -- We want all packets that aren't explicitly for us
sock:pcap_open(iface.name, 1500, false, ("!host %s"):format(iface.address)) sock:pcap_open(iface.name, 1500, true, ("!host %s"):format(iface.address))
-- Set a short timeout so that we can timeout in time if needed -- Set a short timeout so that we can timeout in time if needed
sock:set_timeout(100) sock:set_timeout(100)