qemu-e2k/slirp
Gertjan Halkes b5a87d26e8 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>
2013-06-19 12:44:38 +02:00
..
arp_table.c slirp: Don't crash on packets from 0.0.0.0/8. 2012-11-15 10:27:14 +01:00
bootp.c slirp: Add domain-search option to slirp's DHCP server 2012-11-15 10:27:14 +01:00
bootp.h janitor: add guards to headers 2012-12-19 08:31:31 +01:00
cksum.c
COPYRIGHT
debug.h
dnssearch.c slirp: Add domain-search option to slirp's DHCP server 2012-11-15 10:27:14 +01:00
if.c misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
if.h
ip_icmp.c Fix comments (adress -> address, layed -> laid, wierd -> weird) 2012-12-07 12:34:11 +01:00
ip_icmp.h
ip_input.c misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
ip_output.c
ip.h
libslirp.h slirp: switch to GPollFD 2013-02-21 16:17:31 -06:00
main.h slirp: switch to GPollFD 2013-02-21 16:17:31 -06:00
Makefile.objs slirp: Add domain-search option to slirp's DHCP server 2012-11-15 10:27:14 +01:00
mbuf.c
mbuf.h
misc.c remove some double-includes 2013-05-18 16:35:12 +04:00
misc.h slirp: cleanup leftovers from misc.h 2013-06-01 14:25:39 +04:00
sbuf.c misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
sbuf.h
slirp_config.h
slirp.c sysemu: avoid proliferation of include/ subdirectories 2013-04-15 18:19:25 +02:00
slirp.h slirp: remove unused field tt 2013-01-12 12:26:16 +00:00
socket.c MinGW: Replace setsockopt by qemu_setsocketopt 2013-03-22 13:14:48 +01:00
socket.h slirp: switch to GPollFD 2013-02-21 16:17:31 -06:00
tcp_input.c make user networking hostfwd work with restrict=y 2013-06-19 12:44:38 +02:00
tcp_output.c
tcp_subr.c oslib-posix: rename socket_set_nonblock() to qemu_set_nonblock() 2013-04-02 11:47:37 -04:00
tcp_timer.c
tcp_timer.h
tcp_var.h
tcp.h
tcpip.h
tftp.c
tftp.h janitor: add guards to headers 2012-12-19 08:31:31 +01:00
udp.c MinGW: Replace setsockopt by qemu_setsocketopt 2013-03-22 13:14:48 +01:00
udp.h