-
Notifications
You must be signed in to change notification settings - Fork 136
Open
Description
Hi everyone, and a happy new year!
I am trying to run mahimahi on Ubuntu 20.04LTS using binaries installed from the official repositories.
I'm trying to execute mm-delay 10, which instantly fails with the message:
Died on std::runtime_error: dnsmasq: did not start after 20 attempts
Died on std::runtime_error: `packetshell': process exited with failure status
I initially thought the problem might be related to #143, but I do not experience any delay before the crash; it is instant.
Thus I did a bit of digging and compiled mahimahi myself from source to get additional debug output. The problem seems to come from lacking permissions:
- The crash happens unrelated to
dnsmasq, but because ofserver.write("x")link to code. - When attempting the write, a
write: Connection refusedis thrown. - I checked which address the Socket connects to, and it's
0.0.0.0:53.
At this point, I am unsure what to do next to get mahimahi to work. I cannot run it as root (sudo mm-delay 10 throws mm-delay: please run as non-root). Is there any specific configuration I need to make mahimahi work?
Thanks and best,
Alex
Metadata
Metadata
Assignees
Labels
No labels