[E 140804 12:14:42 server:4450] Exception was: ('out of pty devices',)
Gate One needs pty devices to work (really no way around that requirement). I'm just wondering if there's any way I can make sure the sandbox includes /dev/pts and /dev/ptmx when it gets created in order to solve that problem.
Perhaps there's a way to configure such things in the sandstorm-pkgdev.capnp file (or similar)?
Thanks.
--
You received this message because you are subscribed to the Google Groups "Sandstorm Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sandstorm-de...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi Dan,Thanks for trying out the porting process!The reason the TTY devices aren't there is because we have tried to minimize the kernel interfaces that are exposed inside the sandbox in order to reduce the attack surface for potential sandbox breakouts. New kernel vulnerabilities seem to be discovered monthly, but most don't affect Sandstorm because of our efforts to keep the interface narrow.We could have a discussion about either enabling TTY devices or implementing some userspace emulation of them (there's no theoretical reason they need to be in the kernel, after all, since we're not dealing with actual hardware).But I think the first question is: Is Gate One useful in an environment with no network? Currently, Sandstorm apps are isolated; it's not possible to create arbitrary outbound connections. So, e.g., you wouldn't be able to connect to some other server over SSH; you could only run commands locally.We may expand that in the future, but it's much easier to start secure and then poke holes than it is to start wide open and then try to lock things down later. :)
--
To unsubscribe from this group and stop receiving emails from it, send an email to sandstorm-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sandstorm-dev/CAEAeJWyfWndon6scobNwURiPT1o71cdOXOgzjopsPCRt8jNeUw%40mail.gmail.com.