path: root/services (follow)
Commit message (Collapse)AuthorAgeFilesLines
* tunnel: device->interfaceJason A. Donenfeld2019-09-131-1/+1
* services: use protected prefix for named pipeJason A. Donenfeld2019-09-011-1/+1
* manager: delay stale adapter cleanupJason A. Donenfeld2019-08-301-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.
* tunnel: do not query real interface nameJason A. Donenfeld2019-08-261-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>
* tunnel: move Run into own module to reduce file sizeJason A. Donenfeld2019-08-241-0/+26
* elevate: move service/token into proper moduleJason A. Donenfeld2019-08-051-76/+0
* tunnel: retain SeLoadDriverPrivilegeJason A. Donenfeld2019-06-071-2/+13
| | | | This is a big loss. We'll need to revisit this.
* services: iterate through groups using helperJason A. Donenfeld2019-06-071-2/+1
* global: several helpers are now upstreamJason A. Donenfeld2019-05-271-5/+1
* service: split into tunnel and managerJason A. Donenfeld2019-05-202-0/+166