Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fork server handshake Failed ---ASAN error #11

Closed
legendsLjj opened this issue Feb 15, 2022 · 5 comments
Closed

Fork server handshake Failed ---ASAN error #11

legendsLjj opened this issue Feb 15, 2022 · 5 comments

Comments

@legendsLjj
Copy link

legendsLjj commented Feb 15, 2022

hello, thanks for your wonderful job,I have learned a lot.But I encoutered a terrible error when I use asan to compile LightFTP and dcmtk in my linux server.

I follow the instructions of the Dockerfile, and execute them in my ubuntu 16.04 server.

when I finish all of steps , I start testing, then I suffered the error.

the first image is dcmtk, shell look like
"afl-fuzz -i in-dicom -o out -N tcp://127.0.0.1/5158 -P DICOM -D 10000 -E -K ./dcmqrscp"

图片1

the second image is lightftp
"afl-fuzz -t 3000 -i in-ftp -x ftp.dict -o out -N tcp://127.0.0.1/2200 -P FTP -D 10000 -q 3 -s 3 -E -K -c ftpclean.sh ./fftp fftp.conf 2200"
2

for lightftp, when I try "unset AFL_use_asan", the error change into "No such process"
3

eventually, I use gcc to compile, and add "-Q" with the run shell, it works!
"afl-fuzz -t 3000 -i in-ftp -x ftp.dict -o out -N tcp://127.0.0.1/2200 -P FTP -D 10000 -q 3 -s 3 -E -K -c ftpclean.sh ./fftp fftp.conf 2200"
4

@rnatella
Copy link
Collaborator

Hi, I cannot get the PNG file, could you check the attachment?

@legendsLjj
Copy link
Author

Hi, I cannot get the PNG file, could you check the attachment?

hello,thanks for your attention, I have updated the images,hoping for your advice~

@rnatella
Copy link
Collaborator

You can try running afl-fuzz with "-m none". ASAN increases a lot the memory consumption of the child process (i.e., the fork server).

@legendsLjj
Copy link
Author

You can try running afl-fuzz with "-m none". ASAN increases a lot the memory consumption of the child process (i.e., the fork server).

Thank you so much for your help! The problem has been solved by adding "-m none" options.

@rnatella
Copy link
Collaborator

Great! Happy it helped

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants