search for: confbase

Displaying 5 results from an estimated 5 matches for "confbase".

Did you mean: cnfbase
2010 Sep 03
1
[PATCH] New '-o' option to configure server or hosts from command line
...+++++- 4 files changed, 92 insertions(+), 32 deletions(-) diff --git a/src/conf.c b/src/conf.c index ea33e9c..dc5d2dc 100644 --- a/src/conf.c +++ b/src/conf.c @@ -36,6 +36,8 @@ int pinginterval = 0; /* seconds between pings */ int pingtimeout = 0; /* seconds to wait for response */ char *confbase = NULL; /* directory in which all config files are */ char *netname = NULL; /* name of the vpn network */ +list_t *cmdline_conf = NULL; /* global/host configuration values given at the command line */ + static int config_compare(const config_t *a, const config_t *b) { int result; @@ -4...
2005 Jul 27
2
SWIGging ConfigBase
Hi all I''m trying to write an .i file for ConfigBase. If I can figure out a few general SWIG things then I think most of it will work. Apols for the noob swig questions. The C++ class has lots of overloaded methods called Read, which return different kinds of values. In wxruby-not-swig these are implemented as read, read_bool, read_int and so on. read() means read_string(). In ruby
2016 Oct 05
3
Dev: new option to mark all tincd socket of a tincd process
I know i'm new to the list but i'd like to propose something for tincd daemon. I'd like to mark all sockets established by a tincd process with a mark passed as an argument in the command line. What could be the purpose of this new option? The goal of this option is to be able to have several tincd process running at the same time using the same port but using different ip. In
2007 Oct 18
0
[PATCH] Use a control socket directory to restrict access
...-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 daemon. + /* + * Now handle commands that do involve connecting to a running tinc daemon. + * Connecting is a bit tricky - we authentica...
2008 Sep 30
1
Problem compiling tinc-1.0.8 on gcc-2.95
...continue; } } if(FD_ISSET(c->socket, writeset)) { if(!flush_meta(c)) { - terminate_connection(c, c->status.active); + terminate_connection(c, c->status.st.active); continue; } } @@ -466,7 +466,7 @@ asprintf(&fname, "%s/hosts/%s", confbase, c->name); if(stat(fname, &s) || s.st_mtime > last_config_check) - terminate_connection(c, c->status.active); + terminate_connection(c, c->status.st.active); free(fname); } diff -ubr tinc-1.0.8/src/net_packet.c tinc-1.0.8.my/src/net_packet.c --- tinc-1.0.8/sr...