Darkkey / erlamsa

Erlang port of famous radamsa fuzzzer.
MIT License
66 stars 10 forks source link

Problem with the UDP proxy mode #3

Closed kbeckmann closed 6 years ago

kbeckmann commented 6 years ago

I tried to run the UDP proxy and ended up with an error. Am I doing something wrong or is there a bug?

$ ./erlamsa -P 0.5,0.5 -i udp://8001:localhost:8000                   
=ERROR REPORT==== 8-Sep-2018::16:36:02.407203 ===
Error in process <0.76.0> with exit value:
{badarg,[{io_lib,format,
                 ["udp proxy worker process started, socket id ~p, bind to ~s:~d",
                  [#Port<0.6>]],
                 [{file,"io_lib.erl"},{line,183}]},
         {erlamsa_logger,'-build_logger/1-fun-1-',5,
                         [{file,"src/erlamsa_logger.erl"},{line,174}]},
         {erlamsa_logger,logger,1,
                         [{file,"src/erlamsa_logger.erl"},{line,210}]}]}

=ERROR REPORT==== 8-Sep-2018::16:36:02.407913 ===
Error in process <0.79.0> with exit value:
{{badmatch,[{"udp",8001,44443,{127,0,0,1},8000}]},
 [{erlamsa_fuzzproxy,loop_udp,7,
                     [{file,"src/erlamsa_fuzzproxy.erl"},{line,149}]}]}
Darkkey commented 6 years ago

Clearly a bug, I’ll fix it tomorrow. Thank you!

kbeckmann commented 6 years ago

Great! Enjoyed your talk at r2con, great stuff.

Darkkey commented 6 years ago

Should work for now.

kbeckmann commented 6 years ago

Works great!