Pat Thoyts [Wed, 24 Jul 2024 08:05:05 +0000 (09:05 +0100)]
Limit the length of lines on the UI.
Tk text widget has very poor performance with really long single lines
of text but is improved by splitting up such lines into a number of shorter
lines. Just show the timestamp for the first such line.
Pat Thoyts [Wed, 2 Dec 2009 23:38:53 +0000 (23:38 +0000)]
Enable specifying the network interface and fix command line options.
This patch restricts the listening socket to the localhost interface
by default and permits specifying other (or all) interfaces.
The command line options processing is generalized now to permit additional
options -myaddr and -timeformat.
Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
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>