]> Git Repo - qemu.git/commit - slirp/udp.c
slirp: Fix restricted mode
authorJan Kiszka <[email protected]>
Wed, 20 Jul 2011 10:20:13 +0000 (12:20 +0200)
committerAnthony Liguori <[email protected]>
Sat, 23 Jul 2011 15:19:49 +0000 (10:19 -0500)
commit12b513d837c9da5277390ddaf98ca0058339977a
tree57d4e937818492effc1f31402dc830b1ca0b206c
parent80f52a6694423da7a40e2ec39e14a5817184c7ef
slirp: Fix restricted mode

This aligns the code to what the documentation claims: Allow everything
but requests that would have to be routed outside of the virtual LAN.

So we need to drop the unneeded IP-level filter, allow TFTP requests,
and add the missing protocol-level filter to ICMP.

CC: Gleb Natapov <[email protected]>
Signed-off-by: Jan Kiszka <[email protected]>
Signed-off-by: Anthony Liguori <[email protected]>
slirp/ip_icmp.c
slirp/ip_input.c
slirp/udp.c
This page took 0.025679 seconds and 4 git commands to generate.