Commit Graph

53 Commits

Author SHA1 Message Date
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
d2112701b0 have cyclic use blacklist_lookup_index 2013-10-03 02:49:50 -04:00
3aa0f27b51 constraints stores network order; we want to return host order 2013-10-03 02:48:46 -04:00
408e46d939 add blacklist_lookup_index proto 2013-10-03 02:47:31 -04:00
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
bc3ec6456a What Eric and Zakir said 2013-10-01 17:05:47 -04:00
dab1e823bd fixing get_gateway malloc error issue #21 2013-08-19 11:34:16 -04:00
37630d7325 Merge branch 'stable' 2013-08-18 13:39:47 -04:00
314fb7b1de updating CHANGELOG 2013-08-18 13:39:12 -04:00
01de79da5a fixing recv_run header in recv.h. fixes issue #14 2013-08-18 13:35:45 -04:00
8ed7a2fe36 Merge branch 'master' of github.com:zmap/zmap 2013-08-18 13:34:13 -04:00
0b791e5c47 fixing recv_run header in recv.h. fixes issue #14 2013-08-18 13:33:30 -04:00
0d9842af97 Merge pull request #13 from hmoore-r7/bug/fix-udp-malloc-free
Fix strdup/malloc/free ordering to always free the right pointer.
2013-08-18 10:15:08 -07:00
1bf3f2a8d5 Arguments in error message were swapped, fix 2013-08-17 20:59:42 -05:00
d57091dcbf Fix strdup/malloc/free ordering to always free the right pointer.
This commit ensures that udp_send_msg is freed before being reallocated
and freed before the process exits. This also changes the last fprintf
to a log_warn() call, which should be more inline with the intent.
2013-08-17 20:52:43 -05:00
aeac7d291d fixing readme 2013-08-17 19:32:55 -04:00
9a40f15e91 cleaning up readme 2013-08-17 18:51:57 -04:00
779424fe2c Merge branch 'master' of https://github.com/ciccio-87/zmap into ciccio-87-master 2013-08-17 18:51:27 -04:00
eaf4ece8dd Merge branch 'stable' 2013-08-17 17:11:57 -04:00
ce5be6e30f Clean up and add memory requirements. 2013-08-17 17:11:14 -04:00
387569538c adding v1.0.1 to changelog. 2013-08-17 17:09:55 -04:00
0b5b8fb80d fixing makefile to not require ssldb for building redis 2013-08-17 16:16:42 -04:00
e084d3fb6f Note 64-bit requirement 2013-08-17 16:16:00 -04:00
f86b764cab Merge branch 'hmoore-r7-feature/add-udp-probe-specifiers' 2013-08-17 15:45:30 -04:00
43239cf5df Merge branch 'hmoore-r7-feature/add-udp-probe-specifiers' of github.com:zmap/zmap into stable 2013-08-17 15:41:26 -04:00
3b2ea3627e merge 2013-08-17 15:30:31 -04:00
15036cfe83 Proper cleanup and typo fixes 2013-08-17 14:11:58 -05:00
ed47f926f5 Free memory on close 2013-08-17 14:06:34 -05:00
98f96410db Clean up and add memory requirements. 2013-08-17 14:50:07 -04:00
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
2e6261720f This is the last commit needed to build with REDIS 2013-08-17 10:38:57 -05:00
8aac1ccc52 Make oom check consistent, check and correct overlong payload size 2013-08-17 10:20:17 -05:00
01f4f985a1 Merge branch 'master' of github.com:zmap/zmap 2013-08-17 02:35:30 -04:00
597a0c252e remove ssldb and fix redis callback 2013-08-17 02:35:27 -04:00
7438bdd461 Merge branch 'master' of https://github.com/ciccio-87/zmap 2013-08-17 08:13:49 +02:00
69f22bb996 Update README 2013-08-17 08:19:56 +02:00
4f860d66db fixed blacklist.c 2013-08-17 08:13:01 +02:00
b90a901684 OK, now the 32bit fix should be working, keeping numbers right
(maybe issues could still exists in summary print)
2013-08-17 08:04:19 +02:00
ceba676ccf use log_fatal instead of stderr 2013-08-17 01:39:51 -04:00
0b7ab2cac8 use the close callback for cleanup 2013-08-17 01:38:04 -04:00
9ae0d5e656 quick and dirty fix to make it compile and (seemingly) work
on 32 bits systems, it needs more testing though
2013-08-17 07:26:44 +02:00
cc47ec25ca fixing makefile to not require ssldb for building redis 2013-08-17 00:30:57 -04:00
cfdbe3bbc2 Make the error messages consistent 2013-08-16 22:16:29 -05:00
75de805f41 Add README 2013-08-16 22:15:43 -05:00
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
b8246abf06 Add simple length checks on UDP payload; use logger 2013-08-16 17:43:02 -04:00
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
4fef9f0be8 Bump the snaplen size to full frames 2013-08-16 16:10:37 -05:00
228c66e9c3 Add some default udp probe files 2013-08-16 15:53:33 -05:00
cad968212a Note 64-bit requirement 2013-08-16 16:51:58 -04:00