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

[Suggestion] Bring up the loopback interface inside orjail sandbox. #55

Closed
phantomcraft opened this issue Jan 14, 2019 · 0 comments
Closed

Comments

@phantomcraft
Copy link
Collaborator

I update my cryptocurrencies often with Orjail, some of them require the loopback interface (lo) to be up; many programs follow the same.

For example, when I update my Monero's blockchain I have to start in this way with Orjail:

sudo orjail -- sh -c "sudo ip li set lo up; monerod --hide-my-port --p2p-bind-ip 127.0.0.1 --max-concurrency 8 --prep-blocks-threads 8"

Of course I added this feature to my Orjail to avoid the second "sudo".

It's ok to bring loopback interface up, since it doesn't route anything out of netns sandbox.

@lesion lesion closed this as completed Feb 7, 2019
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