user mode network stack - hostfwd not working with restrict=y
Public bug reported:
I find that explicit hostfwd commands do not seem to work with restrict=yes option, even if the docs clearly state that hostfwd should override restrict setting.
I am using this config:
-net user,name=test,net=192.168.100.0/24,host=192.168.100.44,restrict=y,hostfwd=tcp:127.0.0.1:3389-192.168.100.1:3389
(my guest has static IP address configured as 192.168.100.1/24)
and I cannot log into my guest via rdp. the client hanging indefinitely. by just changing to "restrict=no" I can log in.
maybe I am doing something wrong, but I cannot figure out what.
running QEMU emulator version 0.14.0 (qemu-kvm-0.14.0)
** Affects: qemu
Importance: Undecided
Status: New
** Tags: hostfwd restrict
Signature · 31 lines
You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/829455 Title: user mode network stack - hostfwd not working with restrict=y Status in QEMU: New Bug description: I find that explicit hostfwd commands do not seem to work with restrict=yes option, even if the docs clearly state that hostfwd should override restrict setting. I am using this config: -net user,name=test,net=192.168.100.0/24,host=192.168.100.44,restrict=y,hostfwd=tcp:127.0.0.1:3389-192.168.100.1:3389 (my guest has static IP address configured as 192.168.100.1/24) and I cannot log into my guest via rdp. the client hanging indefinitely. by just changing to "restrict=no" I can log in. maybe I am doing something wrong, but I cannot figure out what. running QEMU emulator version 0.14.0 (qemu-kvm-0.14.0) To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/829455/+subscriptions
Did you guys merge back the fix in:
http://lists.gnu.org/archive/html/qemu-devel/2011-11/msg01519.html
?
Signature · 31 lines
You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/829455 Title: user mode network stack - hostfwd not working with restrict=y Status in QEMU: New Bug description: I find that explicit hostfwd commands do not seem to work with restrict=yes option, even if the docs clearly state that hostfwd should override restrict setting. I am using this config: -net user,name=test,net=192.168.100.0/24,host=192.168.100.44,restrict=y,hostfwd=tcp:127.0.0.1:3389-192.168.100.1:3389 (my guest has static IP address configured as 192.168.100.1/24) and I cannot log into my guest via rdp. the client hanging indefinitely. by just changing to "restrict=no" I can log in. maybe I am doing something wrong, but I cannot figure out what. running QEMU emulator version 0.14.0 (qemu-kvm-0.14.0) To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/829455/+subscriptions
Quoted 4 lines · Axel Hübl
Did you guys merge back the fix in:
http://lists.gnu.org/archive/html/qemu-devel/2011-11/msg01519.html
?
This patch has not been applied. CCing Jan Kiszka, slirp maintainer.
Stefan
Quoted 7 lines · Stefan Hajnoczi
Quoted 4 lines · Axel Hübl
Did you guys merge back the fix in:
http://lists.gnu.org/archive/html/qemu-devel/2011-11/msg01519.html
?This patch has not been applied. CCing Jan Kiszka, slirp maintainer.
Yeah, I recall that I was traveling back then and apparently lost the thread afterward. Just merged the commit into my queue.
Jan
Signature · 2 lines
Siemens AG, Corporate Technology, CT RTC ITP SES-DE Corporate Competence Center Embedded Linux
Patch has been included here:
http://git.qemu.org/?p=qemu.git;a=commitdiff;h=b5a87d26e848945eb8
** Changed in: qemu
Status: New => Fix Released
Signature · 31 lines
You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/829455 Title: user mode network stack - hostfwd not working with restrict=y Status in QEMU: Fix Released Bug description: I find that explicit hostfwd commands do not seem to work with restrict=yes option, even if the docs clearly state that hostfwd should override restrict setting. I am using this config: -net user,name=test,net=192.168.100.0/24,host=192.168.100.44,restrict=y,hostfwd=tcp:127.0.0.1:3389-192.168.100.1:3389 (my guest has static IP address configured as 192.168.100.1/24) and I cannot log into my guest via rdp. the client hanging indefinitely. by just changing to "restrict=no" I can log in. maybe I am doing something wrong, but I cannot figure out what. running QEMU emulator version 0.14.0 (qemu-kvm-0.14.0) To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/829455/+subscriptions
It seems that's problem persist with this patch ( qemu 2.7rc2) Regards
Signature · 31 lines
You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/829455 Title: user mode network stack - hostfwd not working with restrict=y Status in QEMU: Fix Released Bug description: I find that explicit hostfwd commands do not seem to work with restrict=yes option, even if the docs clearly state that hostfwd should override restrict setting. I am using this config: -net user,name=test,net=192.168.100.0/24,host=192.168.100.44,restrict=y,hostfwd=tcp:127.0.0.1:3389-192.168.100.1:3389 (my guest has static IP address configured as 192.168.100.1/24) and I cannot log into my guest via rdp. the client hanging indefinitely. by just changing to "restrict=no" I can log in. maybe I am doing something wrong, but I cannot figure out what. running QEMU emulator version 0.14.0 (qemu-kvm-0.14.0) To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/829455/+subscriptions
Sorry for this spam,
it's just a routing problem .
Regards
Signature · 31 lines
You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/829455 Title: user mode network stack - hostfwd not working with restrict=y Status in QEMU: Fix Released Bug description: I find that explicit hostfwd commands do not seem to work with restrict=yes option, even if the docs clearly state that hostfwd should override restrict setting. I am using this config: -net user,name=test,net=192.168.100.0/24,host=192.168.100.44,restrict=y,hostfwd=tcp:127.0.0.1:3389-192.168.100.1:3389 (my guest has static IP address configured as 192.168.100.1/24) and I cannot log into my guest via rdp. the client hanging indefinitely. by just changing to "restrict=no" I can log in. maybe I am doing something wrong, but I cannot figure out what. running QEMU emulator version 0.14.0 (qemu-kvm-0.14.0) To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/829455/+subscriptions