Pat Thoyts [Wed, 2 Dec 2009 23:37:56 +0000 (23:37 +0000)]
SOCKS proxying support.
This patch enables SockSpy to listen for SOCKS4 and 4a requests. This is
similar to the forwarding mode as SOCKS is protocol independent and can
be used to forward connections to any port.
Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
Pat Thoyts [Sun, 29 Nov 2009 11:32:59 +0000 (11:32 +0000)]
Enable optional display of client socket name.
Added a view menu item to show the socket name of the client socket
next to the timestamp to aid tracking pipeline responses.
Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
Pat Thoyts [Sun, 29 Nov 2009 00:58:08 +0000 (00:58 +0000)]
Return HTTP/1.0 response to the client on CONNECT.
When using Firefox to the sockspy in proxy mode with tls sometimes an
attempt to access a new site send the request down the current socket
to the wrong host. This is likely a HTTP/1.1 pipelining issue.
Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
Pat Thoyts [Fri, 27 Nov 2009 15:34:50 +0000 (15:34 +0000)]
Change the parsing of proxy requests to avoid list shimmering.
This patch splits the first line into a method and uri without
using list which might affect the quoting on the data.
Also tidied up the error handling on the ProxyConnect function.
Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>