root@linuxbox:~# cat /etc/resolv.conf
# Generated by NetworkManager
domain correct
search correct
nameserver correct DNS1
nameserver correct DNS2
root@linuxbox:~# iptables -t nat -n -L
Chain PREROUTING (policy ACCEPT)
target prot opt source destination
sshuttle-12300 all --
0.0.0.0/0 0.0.0.0/0
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
sshuttle-12300 all --
0.0.0.0/0 0.0.0.0/0
Chain POSTROUTING (policy ACCEPT)
target prot opt source destination
Chain sshuttle-12300 (2 references)
target prot opt source destination
RETURN tcp --
0.0.0.0/0 127.0.0.0/8
REDIRECT tcp --
0.0.0.0/0 0.0.0.0/0 TTL match
TTL != 42 redir ports 12300
REDIRECT udp --
0.0.0.0/0 131.236.3.91 udp dpt:
53 TTL match TTL != 42 redir ports 12300
REDIRECT udp --
0.0.0.0/0 131.236.2.1 udp dpt:
53 TTL match TTL != 42 redir ports 12300
root@linuxbox:~#
> As well as copying the debug output from sshuttle (-vvv parameter) when
> doing the failing lookup command with nothing else happening on the network.
c : Ready: 4 r=[9] w=[] x=[]
c : < channel=16 cmd=DNS_RESPONSE len=113
c : Waiting: 4 r=[3, 5, 8, 9] w=[] x=[] (fullness=6586/0)
c : Ready: 4 r=[5] w=[] x=[]
c : DNS request from ('131.236.170.207', 42949): 28 bytes
c : > channel=17 cmd=DNS_REQ len=28 (fullness=6586)
c : mux wrote: 36/36
c : Waiting: 4 r=[3, 5, 8, 9] w=[] x=[] (fullness=6614/0)
s: Ready: 2 r=[4] w=[] x=[]
s: < channel=17 cmd=DNS_REQ len=28
s: Incoming DNS request.
s: Waiting: 3 r=[4, 6, 8] w=[] x=[] (fullness=3976/0)
s: Ready: 3 r=[8] w=[] x=[]
s: DNS response: 56 bytes
s: > channel=17 cmd=DNS_RESPONSE len=56 (fullness=3976)
c : Ready: 4 r=[9] w=[] x=[]
c : < channel=17 cmd=DNS_RESPONSE len=56
c : Waiting: 4 r=[3, 5, 8, 9] w=[] x=[] (fullness=6614/0)
s: mux wrote: 64/64
s: Waiting: 2 r=[4, 6] w=[] x=[] (fullness=4032/0)
c : Ready: 4 r=[5] w=[] x=[]
c : DNS request from ('131.236.170.207', 54078): 57 bytes
c : > channel=18 cmd=DNS_REQ len=57 (fullness=6614)
c : mux wrote: 65/65
c : Waiting: 4 r=[3, 5, 8, 9] w=[] x=[] (fullness=6671/0)
s: Ready: 2 r=[4] w=[] x=[]
s: < channel=18 cmd=DNS_REQ len=57
s: Incoming DNS request.
s: Waiting: 3 r=[4, 6, 7] w=[] x=[] (fullness=4032/0)
s: Ready: 3 r=[7] w=[] x=[]
s: DNS response: 113 bytes
s: > channel=18 cmd=DNS_RESPONSE len=113 (fullness=4032)
s: mux wrote: 121/121
c : Ready: 4 r=[9] w=[] x=[]
c : < channel=18 cmd=DNS_RESPONSE len=113
c : Waiting: 4 r=[3, 5, 8, 9] w=[] x=[] (fullness=6671/0)
s: Waiting: 2 r=[4, 6] w=[] x=[] (fullness=4145/0)
c : Ready: 4 r=[5] w=[] x=[]
c : DNS request from ('131.236.170.207', 39588): 28 bytes
c : > channel=19 cmd=DNS_REQ len=28 (fullness=6671)
c : mux wrote: 36/36
c : Waiting: 4 r=[3, 5, 8, 9] w=[] x=[] (fullness=6699/0)
s: Ready: 2 r=[4] w=[] x=[]
s: < channel=19 cmd=DNS_REQ len=28
s: Incoming DNS request.
s: Waiting: 3 r=[4, 6, 8] w=[] x=[] (fullness=4145/0)
s: Ready: 3 r=[8] w=[] x=[]
s: DNS response: 56 bytes
s: > channel=19 cmd=DNS_RESPONSE len=56 (fullness=4145)
s: mux wrote: 64/64
s: Waiting: 2 r=[4, 6] w=[] x=[] (fullness=4201/0)
c : Ready: 4 r=[9] w=[] x=[]
c : < channel=19 cmd=DNS_RESPONSE len=56
c : Waiting: 4 r=[3, 5, 8, 9] w=[] x=[] (fullness=6699/0)
c : Ready: 4 r=[5] w=[] x=[]
c : DNS request from ('131.236.170.207', 59181): 57 bytes
c : > channel=20 cmd=DNS_REQ len=57 (fullness=6699)
c : mux wrote: 65/65
c : Waiting: 4 r=[3, 5, 8, 9] w=[] x=[] (fullness=6756/0)
s: Ready: 2 r=[4] w=[] x=[]
s: < channel=20 cmd=DNS_REQ len=57
s: Incoming DNS request.
s: Waiting: 3 r=[4, 6, 7] w=[] x=[] (fullness=4201/0)
s: Ready: 3 r=[7] w=[] x=[]
s: DNS response: 113 bytes
s: > channel=20 cmd=DNS_RESPONSE len=113 (fullness=4201)
s: mux wrote: 121/121
s: Waiting: 2 r=[4, 6] w=[] x=[] (fullness=4314/0)
c : Ready: 4 r=[9] w=[] x=[]
c : < channel=20 cmd=DNS_RESPONSE len=113
c : Waiting: 4 r=[3, 5, 8, 9] w=[] x=[] (fullness=6756/0)
c : Ready: 4 r=[5] w=[] x=[]
c : DNS request from ('131.236.170.207', 49701): 40 bytes
c : > channel=21 cmd=DNS_REQ len=40 (fullness=6756)
c : mux wrote: 48/48
c : Waiting: 4 r=[3, 5, 8, 9] w=[] x=[] (fullness=6796/0)
s: Ready: 2 r=[4] w=[] x=[]
s: < channel=21 cmd=DNS_REQ len=40
s: Incoming DNS request.
s: Waiting: 3 r=[4, 6, 8] w=[] x=[] (fullness=4314/0)
s: Ready: 3 r=[8] w=[] x=[]
s: DNS response: 96 bytes
s: > channel=21 cmd=DNS_RESPONSE len=96 (fullness=4314)
c : Ready: 4 r=[9] w=[] x=[]
c : < channel=21 cmd=DNS_RESPONSE len=96
s: mux wrote: 104/104
s: Waiting: 2 r=[4, 6] w=[] x=[] (fullness=4410/0)
c : Waiting: 4 r=[3, 5, 8, 9] w=[] x=[] (fullness=6796/0)
c : Ready: 4 r=[5] w=[] x=[]
c : DNS request from ('131.236.170.207', 54078): 57 bytes
c : > channel=22 cmd=DNS_REQ len=57 (fullness=6796)
c : mux wrote: 65/65
c : Waiting: 4 r=[3, 5, 8, 9] w=[] x=[] (fullness=6853/0)
s: Ready: 2 r=[4] w=[] x=[]
s: < channel=22 cmd=DNS_REQ len=57
s: Incoming DNS request.
s: Waiting: 3 r=[4, 6, 7] w=[] x=[] (fullness=4410/0)
s: Ready: 3 r=[7] w=[] x=[]
s: DNS response: 113 bytes
s: > channel=22 cmd=DNS_RESPONSE len=113 (fullness=4410)
s: mux wrote: 121/121
c : Ready: 4 r=[9] w=[] x=[]
c : < channel=22 cmd=DNS_RESPONSE len=113
s: Waiting: 2 r=[4, 6] w=[] x=[] (fullness=4523/0)
c : Waiting: 4 r=[3, 5, 8, 9] w=[] x=[] (fullness=6853/0)
c : Ready: 4 r=[5] w=[] x=[]
c : DNS request from ('131.236.170.207', 42179): 40 bytes
c : > channel=23 cmd=DNS_REQ len=40 (fullness=6853)
c : mux wrote: 48/48
c : Waiting: 4 r=[3, 5, 8, 9] w=[] x=[] (fullness=6893/0)
s: Ready: 2 r=[4] w=[] x=[]
s: < channel=23 cmd=DNS_REQ len=40
s: Incoming DNS request.
s: Waiting: 3 r=[4, 6, 8] w=[] x=[] (fullness=4523/0)
s: Ready: 3 r=[8] w=[] x=[]
s: DNS response: 96 bytes
s: > channel=23 cmd=DNS_RESPONSE len=96 (fullness=4523)
s: mux wrote: 104/104
s: Waiting: 2 r=[4, 6] w=[] x=[] (fullness=4619/0)
c : Ready: 4 r=[9] w=[] x=[]
c : < channel=23 cmd=DNS_RESPONSE len=96
c : Waiting: 4 r=[3, 5, 8, 9] w=[] x=[] (fullness=6893/0)
c : Ready: 4 r=[5] w=[] x=[]
c : DNS request from ('131.236.170.207', 51374): 45 bytes
c : > channel=24 cmd=DNS_REQ len=45 (fullness=6893)
c : mux wrote: 53/53
c : Waiting: 4 r=[3, 5, 8, 9] w=[] x=[] (fullness=6938/0)
s: Ready: 2 r=[4] w=[] x=[]
s: < channel=24 cmd=DNS_REQ len=45
s: Incoming DNS request.
s: Waiting: 3 r=[4, 6, 7] w=[] x=[] (fullness=4619/0)
s: Ready: 3 r=[7] w=[] x=[]
s: DNS response: 102 bytes
s: > channel=24 cmd=DNS_RESPONSE len=102 (fullness=4619)
c : Ready: 4 r=[9] w=[] x=[]
c : < channel=24 cmd=DNS_RESPONSE len=102
s: mux wrote: 110/110
s: Waiting: 2 r=[4, 6] w=[] x=[] (fullness=4721/0)
c : Waiting: 4 r=[3, 5, 8, 9] w=[] x=[] (fullness=6938/0)
c : Ready: 4 r=[5] w=[] x=[]
c : DNS request from ('131.236.170.207', 49701): 40 bytes
c : > channel=25 cmd=DNS_REQ len=40 (fullness=6938)
c : mux wrote: 48/48
c : Waiting: 4 r=[3, 5, 8, 9] w=[] x=[] (fullness=6978/0)
s: Ready: 2 r=[4] w=[] x=[]
s: < channel=25 cmd=DNS_REQ len=40
s: Incoming DNS request.
s: Waiting: 3 r=[4, 6, 8] w=[] x=[] (fullness=4721/0)
s: Ready: 3 r=[8] w=[] x=[]
s: DNS response: 96 bytes
s: > channel=25 cmd=DNS_RESPONSE len=96 (fullness=4721)
c : Ready: 4 r=[9] w=[] x=[]
c : < channel=25 cmd=DNS_RESPONSE len=96
s: mux wrote: 104/104
s: Waiting: 2 r=[4, 6] w=[] x=[] (fullness=4817/0)
c : Waiting: 4 r=[3, 5, 8, 9] w=[] x=[] (fullness=6978/0)
c : Ready: 4 r=[5] w=[] x=[]
c : DNS request from ('131.236.170.207', 34020): 45 bytes
c : > channel=26 cmd=DNS_REQ len=45 (fullness=6978)
c : mux wrote: 53/53
c : Waiting: 4 r=[3, 5, 8, 9] w=[] x=[] (fullness=7023/0)
s: Ready: 2 r=[4] w=[] x=[]
s: < channel=26 cmd=DNS_REQ len=45
s: Incoming DNS request.
s: Waiting: 3 r=[4, 6, 7] w=[] x=[] (fullness=4817/0)
s: Ready: 3 r=[7] w=[] x=[]
s: DNS response: 102 bytes
s: > channel=26 cmd=DNS_RESPONSE len=102 (fullness=4817)
s: mux wrote: 110/110
s: Waiting: 2 r=[4, 6] w=[] x=[] (fullness=4919/0)
c : Ready: 4 r=[9] w=[] x=[]
c : < channel=26 cmd=DNS_RESPONSE len=102
c : Waiting: 4 r=[3, 5, 8, 9] w=[] x=[] (fullness=7023/0)
> Oh, what version of sshuttle are you using?
Version 0.52