ops icon indicating copy to clipboard operation
ops copied to clipboard

qemu user-mode networking doesn't listen on ipv6

Open eyberg opened this issue 4 years ago • 8 comments

we recently got initial ipv6 support and it turns out qemu user-mode networking doesn't actually listen on ipv6 regardless

https://bugs.launchpad.net/qemu/+bug/1724590

this isn't a huge problem - except for people that are going to use ipv6 in prod, want to test locally, and don't want to go through the hassle of setting up a tap

not a huge priority until someone asks for it but sticking here as a note

eyberg avatar May 26 '20 17:05 eyberg

A QEMU patchset to support hostfwd for ipv6 addresses has been proposed back in 2018 (https://lists.gnu.org/archive/html/qemu-devel/2018-10/msg05734.html), but never got merged.

francescolavra avatar May 26 '20 17:05 francescolavra

my initial thoughts are long-term there is no reason to be using user-mode at all but we'll need to cleanup the dev experience for setting up taps - on a mac that probably means issuing signed binaries since we'll need to use something like the tun/tap kernel extensions - http://tuntaposx.sourceforge.net/

eyberg avatar May 26 '20 17:05 eyberg

until the above happens i think we can put a warning on this if both ipv6 && user-mode are enabled

eyberg avatar Sep 17 '20 16:09 eyberg

Ready to start

EduardGaifutdinov avatar Sep 25 '20 16:09 EduardGaifutdinov

#1005

fabioDMFerreira avatar May 21 '21 08:05 fabioDMFerreira

just ran into this again - I think we should think about re-basing this on top of a newer qemu release as the default mode of operation for most local runs is still very much user-mode based

eyberg avatar Jul 15 '22 15:07 eyberg

unfortunately was bitten by this again - we currently rank number 1 for the term 'ipv6 usermode qemu'

eyberg avatar Sep 21 '23 15:09 eyberg

https://blog.izissise.net/posts/qemuipv6slirp/

eyberg avatar Apr 12 '24 20:04 eyberg