Fuzzing udp

140 views
Skip to first unread message

Andrea D'Ubaldo

unread,
Sep 24, 2018, 5:59:26 AM9/24/18
to afl-users
Hello, 

I've already used AFL (2.52b) for "no-networking" application. Now I'm trying to fuzz a simple server, listening on two or three ports but I'm not able to runn afl-fuzz. I've instrumented the code with afl-g++ (-std=c++0x could be the problem this flag?) but i'm facing a syllo error after running the commean:

afl-fuzz -m 1000 -i ..testcases/ -o ../findings -N udp://localhost:<MyPort> -- ./MyBinary -myargs=<args...> 

afl-fuzz: invalid option -- 'N'


By omitting the option "-N network_specs" treating it as a "regular" binary, i get another error: 

The program took more than X ms to process one of the initial test cases.
    Usually, the right thing to do is to relax the -t option - or to delete i [...]

whatever X i choose (-t 2000).


I'm doing something wrong? Maybe this version did not support network options?

Thank you!

Doug Birdwell

unread,
Sep 24, 2018, 12:28:17 PM9/24/18
to afl-users
My networking code is old (derived from 1.95b) b/c I have been working on other things, but it should still work (although I have not used it in a couple of years).  The -N option is implemented in it and supports (supported) both TCP and UDP over both IPv4 and IPv6.  See https://github.com/jdbirdwell/afl .  This capability was not imported into the main afl distribution.

Doug Birdwell
Reply all
Reply to author
Forward
0 new messages