Commit Graph

8 Commits

Author SHA1 Message Date
Eric
c185f6b0a4 Fake an ethernet header rather than expose vulns
There is probably a slight performance hit, but if you're
scanning with ZMap through a VPN, you probably don't care THAT
much about performance anyway...(also we only add a memcpy for
all accepted packets)
2013-08-31 15:57:15 -04:00
Eric
2972bbefdc Add --vpn (-X) flag to support sending IP pkts
When a user specifies a `-i tun0` flag for a VPN interface,
this interface expects raw IP packets, not ethernet frames.
The --vpn option allows you to send only IP packets to the
specified interface, and also performs some hacks on the receive
end to ensure we can process the results.

TODO: malloc a fake ethernet header for probe_modules.process_packet
(or better yet, make process_packet always take an IP packet, they
all seem to be implicitly doing that anyway).
2013-08-31 15:38:13 -04:00
Zakir Durumeric
672143e9ba bug fixes to extended_file output 2013-08-29 14:51:26 -04:00
Zakir Durumeric
0c83eabfd1 working new interface 2013-08-29 14:29:59 -04:00
Zakir Durumeric
7674433142 working fieldsets without headers 2013-08-27 23:10:35 -04:00
Zakir Durumeric
67aa6f0ab0 adding generic csv output module 2013-08-27 12:03:24 -04:00
Zakir Durumeric
ea39b3bac4 further progress 2013-08-26 07:59:41 -04:00
Zakir Durumeric
490054d239 inital public release 2013-08-16 11:12:47 -04:00