diff --git a/client.py b/client.py index 0301ca0..2a9d835 100644 --- a/client.py +++ b/client.py @@ -155,8 +155,8 @@ def _main(listener, fw, ssh_cmd, remotename, python, seed_hosts, auto_nets): def onaccept(): sock,srcip = listener.accept() dstip = original_dst(sock) - debug1('Accept: %r:%r -> %r:%r.\n' % (srcip[0],srcip[1], - dstip[0],dstip[1])) + debug1('Accept: %s:%r -> %s:%r.\n' % (srcip[0],srcip[1], + dstip[0],dstip[1])) if dstip == listener.getsockname(): debug1("-- ignored: that's my address!\n") sock.close() diff --git a/sshuttle.md b/sshuttle.md index eb2983e..d8d3d27 100644 --- a/sshuttle.md +++ b/sshuttle.md @@ -139,8 +139,8 @@ Test locally by proxying all local connections, without using ssh: s: 192.168.42.0/24 c : connected. firewall manager: starting transproxy. - c : Accept: '192.168.42.106':50035 -> '192.168.42.121':139. - c : Accept: '192.168.42.121':47523 -> '77.141.99.22':443. + c : Accept: 192.168.42.106:50035 -> 192.168.42.121:139. + c : Accept: 192.168.42.121:47523 -> 77.141.99.22:443. ...etc... ^C firewall manager: undoing changes. @@ -166,7 +166,7 @@ and subnet guessing: hostwatch: Found: testbox1: 1.2.3.4 hostwatch: Found: mytest2: 5.6.7.8 hostwatch: Found: domaincontroller: 99.1.2.3 - c : Accept: '192.168.42.121':60554 -> '77.141.99.22':22. + c : Accept: 192.168.42.121:60554 -> 77.141.99.22:22. ^C firewall manager: undoing changes. c : Keyboard interrupt: exiting.