Commit 6e99928
committed
Exclude ourselves from the VPN, to avoid pings becoming recursive
Our ping proxy uses isReachable, which doesn't give us an explicit socket, so can't
be protected and kept out of the VPN. Without this (or filtering to just the ping
app, as I had been testing before...) pings result in a ping back into our own VPN,
and the whole app crashes in short order.1 parent 1ba0420 commit 6e99928
File tree
1 file changed
+9
-1
lines changed- app/src/main/java/tech/httptoolkit/android
1 file changed
+9
-1
lines changedLines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
152 | 156 | | |
153 | 157 | | |
154 | 158 | | |
155 | | - | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
156 | 164 | | |
157 | 165 | | |
158 | 166 | | |
| |||
0 commit comments