[Slirp] gvisor netstack as an alternative to slirp

Marek Majkowski majek04 at gmail.com
Tue Jan 21 15:56:48 UTC 2020


On Fri, Jan 3, 2020 at 9:00 AM Marc-André Lureau
<marcandre.lureau at gmail.com> wrote:
> This looks very promising!
>
> (my PoC/hack using smoltcp was much more complicated:
> https://gitlab.freedesktop.org/elmarco/smolirp/blob/master/src/slirp.rs
> - beware it is quite broken as is)
>
> > Let me know what you think.
>
> Could you give some instructions on how to build it? (fwiw, qemu and
> podman don't use TUN/TAP, but via fd, I'll try to adapt the code)
>
> I think you should make it a standalone go project with a repo.

It took me a while, but here it is:
https://github.com/majek/slirpnetstack

I tried to get major feature parity with slirp4netns, just to prove if
gvisor/netstack is sufficient. It seems to be. This code supports
ipv6.

Marek


More information about the Slirp mailing list