profuzzbench / profuzzbench

ProFuzzBench - A Benchmark for Stateful Protocol Fuzzing
https://arxiv.org/pdf/2101.05102.pdf
Apache License 2.0
229 stars 52 forks source link

Problem with forked-daapd and aflnet #22

Closed songxpu closed 2 years ago

songxpu commented 2 years ago

I built docker and ran the command directly from the tutorial and then showed aflnet timeout according to docker logs. image

Further, I went inside docker and ran the forked-daapd program directly and it prompted an assert error image

How should this issue be addressed?

rnatella commented 2 years ago

Depending on your system, you may need to configure a longer timeout. By default, it is set to 3 seconds, but more time may be needed in your case. This seeds includes many HTTP requests.

If you want to run the server from a shell within the container, you need to start the network daemons needed by the server (see also the "run.sh" script):

sudo /etc/init.d/dbus start sudo /etc/init.d/avahi-daemon start

songxpu commented 2 years ago

根据您的系统,您可能需要配置更长的超时时间。默认情况下,它设置为 3 秒,但在您的情况下可能需要更多时间。此种子包括许多 HTTP 请求。

如果要从容器内的 shell 运行服务器,则需要启动服务器所需的网络守护程序(另请参见“run.sh”脚本):

sudo /etc/init.d/dbus start sudo /etc/init.d/avahi-daemon start

Great, I tried your solution way of running the server from docker inside and it solved the problem successfully : )