Eric
6cf931b541
portable 64-bit output type
2013-10-03 22:03:55 -04:00
Eric
113d684fe8
done testing m32
2013-10-03 22:03:40 -04:00
Eric
ae07374bb9
Use a union in fieldset->value
...
Instead of unreliably casting uint64_t's to (void *)
2013-10-03 21:53:42 -04:00
Eric
a74f1d877b
testing on 32-bit system
2013-10-03 21:35:08 -04:00
Eric
55b65d697a
I care more about users than attacking governments
...
I'll bet the users would agree with this default as well. Arguably,
this shouldn't even be an option???
2013-10-03 21:00:14 -04:00
Eric
82a8f402b8
change INSTALL to document cmake
2013-10-03 20:40:38 -04:00
Eric
19c4a04932
demote spurious log_infos to log_debug
2013-10-03 04:17:03 -04:00
Eric
ec1b761489
Support multiple cyclic groups for smaller subnets
...
We will choose the first one in the list that is large enough to support
the number of hosts chosen. This speeds up scanning small networks considerably:
e.g. /16s can be scanned in <200ms (+ cooldown)
2013-10-03 03:50:12 -04:00
Eric
d2112701b0
have cyclic use blacklist_lookup_index
2013-10-03 02:49:50 -04:00
Eric
3aa0f27b51
constraints stores network order; we want to return host order
2013-10-03 02:48:46 -04:00
Eric
408e46d939
add blacklist_lookup_index proto
2013-10-03 02:47:31 -04:00
Eric
8ecbd038b5
Adding radix support to constraints
...
This allows us to lookup an index -> ip address much faster
(16 seconds for ~3.7 billion addresses with sparse blacklist,
vs 65 sec before radix array).
Setting the PREFIX_LEN to /20, as this appears to give a good tradeoff
between radix population time (<1ms), runtime (16s), and memory footprint (4MB).
2013-10-03 02:28:19 -04:00
Eric
6c74ce6837
Update man page to include fields
...
and also update file paths
2013-09-03 16:02:27 -04:00
Eric
2198295c71
Adding icmp unreachable strings (udp_unreach_str)
2013-09-02 19:00:22 -04:00
Eric
754e2dc1f7
Add icmp_responder to UDP fieldset
...
icmp_responder is the source address of the DEST_UNREACH ICMP
packet, which is not necessarily the same as the saddr (e.g.
NETWORK_UNREACH)
2013-09-02 18:14:58 -04:00
Eric
d694fe69a6
UDP probe module updates saddr fieldset
...
ICMP responses (e.g. DEST_UNREACH) to UDP probes (generally)
contain the IP/UDP packet that ellicited the response, though
they do not have to come from the host we sent them to (e.g.
NETWORK_UNREACH). We will "correct" this by switching the saddr
fieldset to be the host we WOULD have received a response from
2013-09-02 17:58:20 -04:00
Eric
ee9593938b
Move make_ip_str to probe_modules/packet.c
...
This is a utility function, mostly useful for probe modules
2013-09-02 17:57:32 -04:00
Eric
e458982892
Add fs_modify_word to fieldset
...
You may modify an existing word to be a different value;
useful in UDP module for ICMP unreachable responses, so
we can update the "source" address
2013-09-02 17:55:06 -04:00
Eric
7534966101
use pkg-config for JSON=true
2013-09-02 15:49:49 -04:00
Eric
e02ac4eb0b
surely this will work
2013-09-02 15:44:15 -04:00
Eric
7ad015dc73
make now works with default json-c install
2013-09-02 15:30:21 -04:00
Eric
fde456e592
format output fields better
2013-09-02 14:22:57 -04:00
Eric
b4c2a42a86
print miliseconds in timestamp-str, and correct timestamp-us description
2013-09-02 14:22:10 -04:00
Eric
cec225302a
tcp seq is 32-bits
2013-09-02 13:28:17 -04:00
Eric
d44b0f10e4
ipid is 16-bit and ttl is 8-bit
2013-09-02 13:22:52 -04:00
Eric
1ed0c2a32d
print newline after csv headers
2013-09-02 13:18:39 -04:00
Eric
ba083e1a8e
cleanup tab/spaces
2013-08-31 16:25:26 -04:00
Eric
075a44cfb4
reseting to simple_file; not sure why i had to change this in the first place
2013-08-31 16:23:40 -04:00
Eric
fc6ef16b8f
friendlier error messages for vpn-users in get-gateway
2013-08-31 16:16:49 -04:00
Eric
5ff9684bf9
add --vpn to doc
2013-08-31 16:02:45 -04:00
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
Eric
8f5e4beb01
Add make uninstall
...
removes man page (and potential old-man page), and binary.
does not remove /etc/zmap/ or contents
2013-08-31 14:55:08 -04:00
Eric
2aeb368f37
remove old man if it is there
2013-08-29 18:05:41 -04:00
Eric
e4025464b0
must initialize cmdline_parser before we read args
2013-08-29 18:05:06 -04:00
Eric
851cdb05d6
Merge branch 'master' of github.com:jimcheetham/zmap into jimcheetham-master
2013-08-29 01:49:04 -04:00
Eric
f6bcd169c1
Merge branch 'patch-2' of github.com:cicku/zmap into cicku-patch-2
2013-08-29 01:09:04 -04:00
Eric
853524c2ae
remove redundant -Ws from Makefile
2013-08-20 19:24:18 -04:00
Eric Wustrow
3b2ea3627e
merge
2013-08-17 15:30:31 -04:00
Eric Wustrow
3776d3cae7
Merge pull request #8 from hmoore-r7/bug/fix-redis-output-compile
...
This is the last commit needed to build with REDIS
2013-08-17 11:41:39 -07:00
Eric
01f4f985a1
Merge branch 'master' of github.com:zmap/zmap
2013-08-17 02:35:30 -04:00
Eric
597a0c252e
remove ssldb and fix redis callback
2013-08-17 02:35:27 -04:00
Eric Wustrow
ceba676ccf
use log_fatal instead of stderr
2013-08-17 01:39:51 -04:00
Eric Wustrow
0b7ab2cac8
use the close callback for cleanup
2013-08-17 01:38:04 -04:00
Eric Wustrow
9f04ca6bd2
Merge branch 'feature/add-udp-probe-specifiers' of github.com:hmoore-r7/zmap into hmoore-r7-feature/add-udp-probe-specifiers
2013-08-16 17:43:30 -04:00
Eric Wustrow
b8246abf06
Add simple length checks on UDP payload; use logger
2013-08-16 17:43:02 -04:00
Eric Wustrow
f891b7cdf2
Merge branch 'feature/add-udp-probe-specifiers' of github.com:hmoore-r7/zmap into hmoore-r7-feature/add-udp-probe-specifiers
2013-08-16 17:10:56 -04:00