Debugging networking issues

108 views
Skip to first unread message

drew.w...@gmail.com

unread,
Mar 7, 2018, 10:21:54 AM3/7/18
to sshuttle
My sshuttle stopped working yesterday and am struggling to debug the issue. I route all traffic through a local SSH server on 192.168.1.x, but now none of my networking traffic is being sent to sshuttle. sshuttle is still receiving DNS requests and I see those getting resolved by the local server. What steps do I take to debug the networking issue?

netstat -rn

-> % netstat -rn
Routing tables


Internet:
Destination        Gateway            Flags        Refs      Use   Netif Expire
default            192.168.1.1        UGSc          186        0     en0
127                127.0.0.1          UCS             0        0     lo0
127.0.0.1          127.0.0.1          UH             10      224     lo0
169.254            link#5             UCS             0        0     en0
192.168.1          link#5             UCS             6        0     en0
192.168.1.1/32     link#5             UCS             1        0     en0
192.168.1.1        0:1:c0:19:f1:c     UHLWIir        99       58     en0   1199
192.168.1.15       a4:77:33:ab:ef:62  UHLWIi          2       23     en0   1171
192.168.1.21/32    link#5             UCS             0        0     en0
192.168.1.25       d0:50:99:8e:3d:69  UHLWIi          1        1     en0   1178
192.168.1.64       c8:69:cd:31:42:66  UHLWIi          1       14     en0   1160
192.168.1.77       a4:8d:3b:f3:d6:1b  UHLWIi          2       20     en0   1171
192.168.1.94       d4:90:9c:de:9:4d   UHLWIi          1       14     en0   1160
192.168.1.191      18:65:90:77:c1:12  UHLWIi          1       10     en0   1181
224.0.0/4          link#5             UmCS            2        0     en0
224.0.0.251        1:0:5e:0:0:fb      UHmLWI          0        0     en0
239.255.255.250    1:0:5e:7f:ff:fa    UHmLWI          0       26     en0
255.255.255.255/32 link#5             UCS             0        0     en0

After starting sshuttle (pf chosen by auto)
-> % netstat -rn
Routing tables


Internet:
Destination        Gateway            Flags        Refs      Use   Netif Expire
default            192.168.1.1        UGSc          205        0     en0
127                127.0.0.1          UCS             0        0     lo0
127.0.0.1          127.0.0.1          UH              5      696     lo0
169.254            link#5             UCS             0        0     en0
192.168.1          link#5             UCS             7        0     en0
192.168.1.1/32     link#5             UCS             1        0     en0
192.168.1.1        0:1:c0:19:f1:c     UHLWIir       145       72     en0   1030
192.168.1.15       a4:77:33:ab:ef:62  UHLWI           0       23     en0    974
192.168.1.21/32    link#5             UCS             2        0     en0
192.168.1.21       60:f8:1d:d0:5a:bc  UHLWIi          1       67     lo0
192.168.1.25       d0:50:99:8e:3d:69  UHLWIi          2       21     en0   1028
192.168.1.64       c8:69:cd:31:42:66  UHLWIi          1       17     en0    963
192.168.1.77       a4:8d:3b:f3:d6:1b  UHLWI           0       20     en0    974
192.168.1.94       d4:90:9c:de:9:4d   UHLWIi          1       17     en0    963
192.168.1.191      18:65:90:77:c1:12  UHLWIi          2       27     en0    984
192.168.1.255      ff:ff:ff:ff:ff:ff  UHLWbI          0        5     en0
224.0.0/4          link#5             UmCS            2        0     en0
224.0.0.251        1:0:5e:0:0:fb      UHmLWI          0        0     en0
239.255.255.250    1:0:5e:7f:ff:fa    UHmLWI          0       32     en0
255.255.255.255/32 link#5             UCS             0        0     en0

Brian May

unread,
Mar 8, 2018, 1:30:34 AM3/8/18
to drew.w...@gmail.com, sshuttle
drew.w...@gmail.com writes:

> My sshuttle stopped working yesterday and am struggling to debug the issue.
> I route all traffic through a local SSH server on 192.168.1.x, but now none
> of my networking traffic is being sent to sshuttle. sshuttle is still
> receiving DNS requests and I see those getting resolved by the local
> server. What steps do I take to debug the networking issue?

First rule out the easy explanations. Is it possible you upgraded your
Linux kernel recently?

https://github.com/sshuttle/sshuttle/issues/208
--
Brian May <br...@microcomaustralia.com.au>

Drew Wells

unread,
Mar 8, 2018, 1:32:12 AM3/8/18
to Brian May, sshuttle
I didn't I'm on os x
I flushed routes multiple times then rebooted and sshuttle started working. Rebooting alone did not resolve things
Reply all
Reply to author
Forward
0 new messages