Re: [Qemu-devel] [PATCH v2 1/1] slirp: add SOCKS5 support

2017-04-03 Thread Laurent Vivier
Le 02/04/2017 à 22:19, Samuel Thibault a écrit : > Hello, Hi, > Thanks for the patch! > > Laurent Vivier, on mar. 28 mars 2017 21:07:56 +0200, wrote: >> @@ -617,6 +621,10 @@ void slirp_pollfds_poll(GArray *pollfds, int >> select_error) >> * Check sockets for reading >>

Re: [Qemu-devel] [PATCH v2 1/1] slirp: add SOCKS5 support

2017-04-02 Thread Samuel Thibault
Hello, Thanks for the patch! Laurent Vivier, on mar. 28 mars 2017 21:07:56 +0200, wrote: > @@ -617,6 +621,10 @@ void slirp_pollfds_poll(GArray *pollfds, int > select_error) > * Check sockets for reading > */ > else if (revents & (G_IO_IN | G_I

[Qemu-devel] [PATCH v2 1/1] slirp: add SOCKS5 support

2017-03-28 Thread Laurent Vivier
When the VM is used behind a firewall, This allows the use of a SOCKS5 proxy server to connect the VM IP stack directly to the Internet. This implementation doesn't manage UDP packets, so they are simply dropped (as with restrict=on), except for the localhost as we need it for DNS. Signed-off-by: