aboutsummaryrefslogtreecommitdiffstats
path: root/libmproxy/proxy/modes/socks_proxy.py
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2016-01-18 16:07:02 +0100
committerMaximilian Hils <git@maximilianhils.com>2016-01-18 16:07:02 +0100
commit4024721c7b1762325d90146044f2fdc01d07caa0 (patch)
tree3180434c7af8e7e6c7b398dd08805e6ff0a319b7 /libmproxy/proxy/modes/socks_proxy.py
parent7eb9bf818c6ab0b4fa341d741ead0a4199805473 (diff)
parentcb3107fd0eb119ec88265c842f457845fe2a0b4a (diff)
downloadmitmproxy-4024721c7b1762325d90146044f2fdc01d07caa0.tar.gz
mitmproxy-4024721c7b1762325d90146044f2fdc01d07caa0.tar.bz2
mitmproxy-4024721c7b1762325d90146044f2fdc01d07caa0.zip
Merge pull request #879 from snemes/master
Fixed a problem with the bind address not being used as the source address on outgoing TCP packets
Diffstat (limited to 'libmproxy/proxy/modes/socks_proxy.py')
-rw-r--r--libmproxy/proxy/modes/socks_proxy.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/libmproxy/proxy/modes/socks_proxy.py b/libmproxy/proxy/modes/socks_proxy.py
index 264c734a..90788e37 100644
--- a/libmproxy/proxy/modes/socks_proxy.py
+++ b/libmproxy/proxy/modes/socks_proxy.py
@@ -8,6 +8,9 @@ from ...protocol import Layer, ServerConnectionMixin
class Socks5Proxy(Layer, ServerConnectionMixin):
+ def __init__(self, ctx):
+ super(Socks5Proxy, self).__init__(ctx)
+
def __call__(self):
try:
# Parse Client Greeting