-
Notifications
You must be signed in to change notification settings - Fork 129
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
Cannot run mahimahi, seemingly because of permission issues. #159
Comments
Happy new year! I'm afraid I can't replicate this. I just installed a brand-new Ubuntu 20.04 VM on Amazon EC2, and then then logged in and ran:
and it started up fine. In general, the Given that this works on a fresh Ubuntu install, it's possible the problem involves some sort of security hardening or firewall that has been configured on this computer, but it could also be something preventing dnsmasq from starting up properly. |
Thank you very much for checking and confirming that it works on your end. Also thanks for the clarification on the two writes. Based on this, I believe the issue seems to be that dnsmasq does start properly, The first Is there any particular configuration needed to make dnsmasq work for mahimahi? In any case, I'll try to figure out what prevents it from starting properly. |
mahimahi starts dnsmasq with a |
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: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:
dnsmasq
, but because ofserver.write("x")
link to code.write: Connection refused
is thrown.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
throwsmm-delay: please run as non-root
). Is there any specific configuration I need to make mahimahi work?Thanks and best,
Alex
The text was updated successfully, but these errors were encountered: