]> git.proxmox.com Git - qemu.git/commit
make user networking hostfwd work with restrict=y
authorGertjan Halkes <qemu@ghalkes.nl>
Fri, 11 Nov 2011 15:04:20 +0000 (16:04 +0100)
committerJan Kiszka <jan.kiszka@siemens.com>
Wed, 19 Jun 2013 10:44:38 +0000 (12:44 +0200)
commitb5a87d26e848945eb891f4d7e4a7f2be514e08d5
tree4b2eda5eda07bab6fe38d03146a4206d572b2b46
parent68756ba8be2127b6ea30a466af9f78a5c97bc15f
make user networking hostfwd work with restrict=y

This patch allows the hostfwd option to override the restrict=y setting in
the user network stack, as explicitly stated in the documentation on the
restrict option:

     restrict=on|off
         If this option is enabled, the guest will be isolated, i.e. it
         will not be able to contact the host and no guest IP packets
         will be routed over the host to the outside. This option does
         not affect any explicitly set forwarding rules.

Qemu bug tracker:
https://bugs.launchpad.net/qemu/+bug/829455

Signed-off-by: Gertjan Halkes <qemu@ghalkes.nl>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
slirp/tcp_input.c