-
-
Notifications
You must be signed in to change notification settings - Fork 15.5k
anbox: init at 2019-03-07 #57826
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
anbox: init at 2019-03-07 #57826
Conversation
Is there a reason to not use |
Co-authored-by: Luke Adams <luke.adams@belljar.io> Co-authored-by: Volth <volth@webmaster.ms> Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com> Co-authored-by: Edward Tjörnhammar <ed@cflags.cc> Co-authored-by: Gabriel Ebner <gebner@gebner.org>
Co-authored-by: Luke Adams <luke.adams@belljar.io> Co-authored-by: Volth <volth@webmaster.ms> Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
Co-authored-by: Luke Adams <luke.adams@belljar.io> Co-authored-by: Volth <volth@webmaster.ms> Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com> Co-authored-by: Edward Tjörnhammar <ed@cflags.cc> Co-authored-by: Gabriel Ebner <gebner@gebner.org>
Co-authored-by: Luke Adams <luke.adams@belljar.io> Co-authored-by: Volth <volth@webmaster.ms> Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com> Co-authored-by: Edward Tjörnhammar <ed@cflags.cc> Co-authored-by: Gabriel Ebner <gebner@gebner.org>
@dtzWill Good point. It requires a fair amount of patching in the cmake code but it's doable. Upstream includes googletest as a cmake external project, which expects the googletest source code. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tested the previous PR, since there are no significant changes here, I assume it should be fine.
If anbox works like Android the routing tables for the default route should be in other routing tables then |
@Mic92 I would have never found that. |
🎉 |
@gebner Yeah source routing policies is a not-well known corner of the Linux networking stack. It comes right in terms of weirdness right after tc. |
Motivation for this change
Android in a box
This is an update of @edwtjo's PR #48040. Now networking works out of the box---I just had to enable NAT, networking works even though
adb shell ip r
doesn't show a default route.For testing, I'm starting
anbox session-manager
and thenanbox-application-manager
.cc @edwtjo @Mic92 @jasoncarr0 @peterhoeg
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)