path: root/services (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-09-13tunnel: device->interfaceJason A. Donenfeld1-1/+1
2019-09-01services: use protected prefix for named pipeJason A. Donenfeld1-1/+1
2019-08-30manager: delay stale adapter cleanupJason A. Donenfeld1-1/+1
By delaying this by 10 seconds, we ensure that we don't cause the locks to be contended immediately on startup. Before, this added around 600ms of latency to tunnel startup.
2019-08-26tunnel: do not query real interface nameJason A. Donenfeld1-3/+0
We want to enforce the relation between the socket name and the service name, especially since the wintun adapter name might get a 1 or 2 appended depending on weird Nci duplication detection. So we just stick with the configuration-given name throughout. Also, the user can change the adapter name at runtime, which is all the more reason why maybe we shouldn't care about it so much. Reported-by: Nenad Kozul <me@nenadkozul.com>
2019-08-24tunnel: move Run into own module to reduce file sizeJason A. Donenfeld1-0/+26
2019-08-05elevate: move service/token into proper moduleJason A. Donenfeld1-76/+0
2019-06-07tunnel: retain SeLoadDriverPrivilegeJason A. Donenfeld1-2/+13
This is a big loss. We'll need to revisit this.
2019-06-07services: iterate through groups using helperJason A. Donenfeld1-2/+1
2019-05-27global: several helpers are now upstreamJason A. Donenfeld1-5/+1
2019-05-20service: split into tunnel and managerJason A. Donenfeld2-0/+166