Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | tunnel: blackhole sockets when there's going to be a sure routing loop | Jason A. Donenfeld | 2019-10-21 | 1 | -1/+40 |
| | | | | | | | | This prevents against common mishaps when changing from a wifi network that supports v6 to one that doesn't. Reported-by: Jonathan Tooker <jonathan.tooker@netprotect.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | tunnel: windows does not always add/remove routes with up/down interface | Jason A. Donenfeld | 2019-10-01 | 1 | -20/+24 |
| | | | | | | | | | | | | | | | | On Linux, we're used to routes being added after an interface is up, and routes being removed as a consequence of an interface going down. On Windows, this isn't always the case, at least not from the perspective of the route notifiers. In order to work around this and make a multi-interface model coherent, we search for a new default route not only whenever the routing table changes but also whenever any interface link parameters change, such as up/down. The practical consequence is that now WireGuard connects properly when wifi is disconnected and then reconnected. Reported-by: Nenad Kozul <me@nenadkozul.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | winipcfg: make Unregister wait for callbacks to complete | Jason A. Donenfeld | 2019-09-27 | 1 | -22/+31 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | tunnel: wait for IP service to attach to wintun | Jason A. Donenfeld | 2019-06-18 | 1 | -0/+148 |
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> |