Commit Graph

14 Commits

Author SHA1 Message Date
Zakir Durumeric
b70a2835b9 abstracting out port validation because shared between udp and tcp. 2013-08-18 23:36:57 -04:00
HD Moore
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
Eric Wustrow
3b2ea3627e merge 2013-08-17 15:30:31 -04:00
HD Moore
15036cfe83 Proper cleanup and typo fixes 2013-08-17 14:11:58 -05:00
HD Moore
ed47f926f5 Free memory on close 2013-08-17 14:06:34 -05:00
HD Moore
8aac1ccc52 Make oom check consistent, check and correct overlong payload size 2013-08-17 10:20:17 -05: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
HD Moore
cfdbe3bbc2 Make the error messages consistent 2013-08-16 22:16:29 -05: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
HD Moore
4fef9f0be8 Bump the snaplen size to full frames 2013-08-16 16:10:37 -05:00
HD Moore
a290942a95 Add support for file:path, text:string, and hex:01020304 for udp probes 2013-08-16 15:50:55 -05:00
Zakir Durumeric
490054d239 inital public release 2013-08-16 11:12:47 -04:00