search for: identname

Displaying 1 result from an estimated 1 matches for "identname".

Did you mean: destname
2007 Oct 18
0
[PATCH] Use a control socket directory to restrict access
...r response header. */ diff --git a/src/tincctl.c b/src/tincctl.c index 7e08629..f46a643 100644 --- a/src/tincctl.c +++ b/src/tincctl.c @@ -319,7 +319,7 @@ static void make_names(void) { #endif if(!controlsocketname) - asprintf(&controlsocketname, LOCALSTATEDIR "/run/%s.control", identname); + asprintf(&controlsocketname, "%s/run/%s.control/socket", LOCALSTATEDIR, identname); if(netname) { if(!confbase) @@ -491,10 +491,49 @@ int main(int argc, char *argv[], char *envp[]) { return 1; } - // Now handle commands that do involve connecting to a running tinc d...