Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Worker ¶
type Worker interface { Kill(ctx context.Context) (bool, error) Peers(ctx context.Context) ([]string, error) }
We can't control launched tincd daemon after start. After privilege escalation (*sudo, oascript, runas, ...) we have no more control to the process:
* impossible send signal (to rooted process) * impossible control by STDIN/STDOUT due to privilege escalation apps are non-redirecting pipes
So we have to control by TCP, however we can detect death by exit ¶
```
Desktop application | | | worker for network (separate process due to privilege escalation) +.......+ | | | | Peers +<----->| | | Kill +------>| |
```
Click to show internal directories.
Click to hide internal directories.