Skip to content

Commit

Permalink
documentation: Add manuel for mitigating tunnelvision attacks
Browse files Browse the repository at this point in the history
  • Loading branch information
nekohasekai committed May 20, 2024
1 parent d4c2d5b commit 5fa834d
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 209 deletions.
38 changes: 38 additions & 0 deletions docs/manual/misc/tunnelvision.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
icon: material/book-lock-open
---

# TunnelVision

TunnelVision is an attack that uses DHCP option 121 to set higher priority routes
so that traffic does not go through the VPN.

Reference: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-3661

## Status

### Android

Android does not handle DHCP option 121 and is not affected.

### Apple platforms

Update [sing-box graphical client](/clients/apple/#download) to `1.9.0-rc.16` or newer,
then enable `includeAllNetworks` in `Settings``Packet Tunnel` and you will be unaffected.

Note: when `includeAllNetworks` is enabled, the default TUN stack is changed to `gvisor`,
and the `system` and `mixed` stacks are not available.

### Linux

Update sing-box to `1.9.0-rc.16` or newer, rules generated by `auto-route` are unaffected.

### Windows

No solution yet.

## Workarounds

* Don't connect to untrusted networks
* Relay untrusted network through another device
* Just ignore it
208 changes: 0 additions & 208 deletions docs/manual/proxy-protocol/tuic.md

This file was deleted.

3 changes: 2 additions & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,9 @@ nav:
- Proxy Protocol:
- Shadowsocks: manual/proxy-protocol/shadowsocks.md
- Trojan: manual/proxy-protocol/trojan.md
- TUIC: manual/proxy-protocol/tuic.md
- Hysteria 2: manual/proxy-protocol/hysteria2.md
- Misc:
- TunnelVision: manual/misc/tunnelvision.md
- Configuration:
- configuration/index.md
- Log:
Expand Down

0 comments on commit 5fa834d

Please sign in to comment.