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

SymQEMU Cannot Execute Programs with Socket Communication, While QEMU Works Normally #71

Open
whytolearn opened this issue Dec 3, 2024 · 2 comments
Labels
question Further information is requested

Comments

@whytolearn
Copy link

I encountered an issue where SymQEMU fails to execute programs that involve socket communication in scenarios using dnsmasq. When running the same program in QEMU, it functions without any issues. Specifically, programs that interact with dnsmasq for DNS resolution or DHCP services via sockets behave unexpectedly or fail entirely when executed in SymQEMU.

@aurelf
Copy link
Member

aurelf commented Dec 6, 2024

Thanks for the report. It would be nice if you could provide a small test case with exact commands you used. That would allow to reproduce.

@aurelf aurelf added the question Further information is requested label Dec 6, 2024
@whytolearn
Copy link
Author

Thanks for the report. It would be nice if you could provide a small test case with exact commands you used. That would allow to reproduce.

I'm glad to receive your response. Here are my additional comments:

git clone git://thekelleys.org.uk/dnsmasq.git

cd dnsmasq
make

copy below to /etc/dnsmasq.conf

port=5353
no-daemon 
no-resolv 
interface=lo 
bind-interfaces 

cd src

path/to/sysqemu/build/qemu-x86_64 ./dnsmasq

open other terminal

dig @127.0.0.1 -p 5353 google.com

then it will down

path/to/qemu/build/qemu-x86_64 ./dnsmasq

it is work

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

No branches or pull requests

2 participants