19 Commits
Author SHA1 Message Date
David Adrian f30c8df9e5 Remove extranneous printf 2013-10-16 17:36:40 -04:00
David Adrian 0e03d170e6 Fix bug where only 16 bits of entropy was used
Always use aesrand_getword() & 0xFFFFFFFF not 0xFFFF. This was causing
the groups used over multiple runs of ZMap to have identical generators
too often.
2013-10-16 17:26:34 -04:00
David Adrian f6609beb2c Don't overwrite conf files on install 2013-10-12 13:44:33 -04:00
David Adrian bc28a5a576 Fix compile warnings in blacklist.c 2013-10-12 13:04:02 -04:00
David Adrian 4eac51fdca Merge in changes to allow filtering received packets
Merge branch 'output-filter'

Conflicts:
	src/zmap.c
2013-10-12 12:54:56 -04:00
David Adrian d1f6d4c182 Fix minor styling errors 2013-10-12 12:52:15 -04:00
David Adrian f483288e5a Improved filter validator
- Can no longer do "stringfield = INTEGER" or "intfield = string"
- Print slightly more sane error messages
2013-10-12 12:47:23 -04:00
David Adrian eeb5ddcf0c Switch to the iterative evaluator 2013-10-11 12:38:22 -04:00
David Adrian f2ba9d7621 Untested iterative implementation of evaluate 2013-10-11 12:13:42 -04:00
David Adrian 2453404604 Move stack.h and stack.c to lib 2013-10-11 11:04:04 -04:00
David Adrian bc516445ef Remove debug printf calls 2013-10-11 10:25:45 -04:00
David Adrian 4af98e9951 Working filtering, still needs cleanup and optimization 2013-10-11 10:19:53 -04:00
David Adrian af834fe2e2 Update build to -Werror, #pragma to ignore in lexer.l 2013-10-09 12:49:58 -04:00
David Adrian 45918feced Fix JSON build errors
Updated module_json.c to use field_t.value as a union, not as
a pointer.
2013-10-04 12:00:32 -04:00
David Adrian f6ea0a79a8 Build filter using CMake 2013-10-04 10:53:03 -04:00
David Adrian 29c291c562 Incredibly hacky evaluate implementation 2013-10-03 14:29:46 -04:00
David Adrian f7939bfbcb Add support for holding an index instead of fieldname 2013-10-03 14:29:38 -04:00
David Adrian 8db9f260f2 Mildly working build process with argument parsing 2013-10-03 14:29:38 -04:00
David Adrian 21fa755c13 Finish moving zmap to CMake
- Generalize libjson support in CMakeLists
- Remove zopt.h, zopt.c from the repository
2013-10-03 12:14:36 -04:00