Commit cb9e63ae authored by venaas's avatar venaas Committed by venaas

supports new server and realm config methods as well as argument for config file path

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@85 e88ac4ed-0b26-0410-9574-a7f39faa03bf
parent dc3aebb5
......@@ -11,12 +11,13 @@ The config files must be in either "/etc/radsecproxy" or the
proxy's current work directory. You may alter the path near
the top of radsecproxy.h if necessary.
There are two options that may be specified on the command line.
They are "-d loglevel" to set a loglevel of 1, 2, 3 or 4 where 4
is the most detailed logging. Also "-f" to run the proxy in
the foreground with logging to stderr. Without "-f" the default
is to detach as a daemon and log to syslog.
There are three options that may be specified on the command line.
"-c configfile" to specify a non-default config file path;
"-d loglevel" to set a loglevel of 1, 2, 3 or 4 where 4 is the most
detailed; and "-f" to run the proxy in the foreground with logging
to stderr. Without "-f" the default is to detach as a daemon and
log to syslog.
For more information, feedback etc. contact <venaas@uninett.no>.
Stig Venaas, 2007.05.09
Stig Venaas, 2007.05.14
This diff is collapsed.
......@@ -101,8 +101,6 @@ struct client {
struct server {
struct peer peer;
char *realmdata;
char **realms;
int sock;
pthread_mutex_t lock;
pthread_t clientth;
......@@ -115,6 +113,11 @@ struct server {
pthread_cond_t newrq_cond;
};
struct realm {
char *name;
struct server *server;
};
#define RADLEN(x) ntohs(((uint16_t *)(x))[1])
#define SOCKADDR_SIZE(addr) ((addr).ss_family == AF_INET ? \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment