mirror of
https://github.com/nmap/nmap.git
synced 2026-08-27 03:48:14 +00:00
[NSE] Added support for decoding EIGRP broadcasts from Cisco routers to broadcast-listener.nse
This commit is contained in:
parent
631515a5ed
commit
7807926f15
3 changed files with 656 additions and 508 deletions
|
|
@ -134,8 +134,8 @@ sniffInterface = function(iface, Decoders, decodertab)
|
|||
-- default to 30 seconds, if nothing else was set
|
||||
timeout = timeout and (timeout * 1000) or (30 * 1000)
|
||||
|
||||
-- We wan't all packets that aren't explicitly for us
|
||||
sock:pcap_open(iface.name, 1500, false, ("!host %s"):format(iface.address))
|
||||
-- We want all packets that aren't explicitly for us
|
||||
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
|
||||
sock:set_timeout(100)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue