aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tunnel/addressconfig.go (follow)
Commit message (Collapse)AuthorAgeFilesLines
* firewall: add allow rule for tunnel service process even when no blocking is requiredJason A. Donenfeld2020-11-231-3/+5
| | | | | | | This is essential for allowing incoming connections. Reported-by: /u/Julien_Madagascar on Reddit Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* global: update headersJason A. Donenfeld2020-11-221-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tunnel: only enable DNS blocking for 0/0 configsJason A. Donenfeld2020-11-221-7/+3
| | | | | | This lets people use split tunnel DNS for the more common case. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tunnel: mask self before giving routes to windowsJason A. Donenfeld2020-11-181-0/+1
| | | | | | Otherwise Windows complains. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tunnel: do not return a nil error when adding routes failsJason A. Donenfeld2020-11-161-1/+1
| | | | | Reported-by: Michael Zhou <mzhou@cse.unsw.edu.au> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tunnel: unset dns search if none is specifiedJason A. Donenfeld2020-06-071-7/+9
| | | | | | | This doesn't get automatically cleared in the same way that nameservers do. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tunnel: support setting dns domain suffixJason A. Donenfeld2020-06-051-0/+9
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tunnel: use real on-link routesJason A. Donenfeld2019-12-161-21/+10
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* manager: fix nits in adapter cleanup logic and also handle ā€˜%sā€™ uniformlyJason A. Donenfeld2019-08-301-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tunnel: wait for IP service to attach to wintunJason A. Donenfeld2019-06-181-0/+201
This helps fix startup races without needing to poll, as well as reconfiguring interfaces after wintun destroys and re-adds. It also deals gracefully with IPv6 being disabled. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>