diff options
author | Linus Nordberg <linus@nordu.net> | 2011-04-04 13:32:04 +0200 |
---|---|---|
committer | Linus Nordberg <linus@nordu.net> | 2011-04-04 13:32:04 +0200 |
commit | f06d902b3138b983743c517dd7d6fd7d6362b1f9 (patch) | |
tree | 578a3233aabefe756f2ff7b20d18237545d8687a | |
parent | a6403e16f7166976ea2267aeb2b4644e23cc36b9 (diff) |
Add configuration of client fticksVISINST.
-rw-r--r-- | radsecproxy.c | 1 | ||||
-rw-r--r-- | radsecproxy.conf-example | 5 | ||||
-rw-r--r-- | radsecproxy.h | 1 |
3 files changed, 6 insertions, 1 deletions
diff --git a/radsecproxy.c b/radsecproxy.c index 5856113..8cf2f27 100644 --- a/radsecproxy.c +++ b/radsecproxy.c @@ -2676,6 +2676,7 @@ int confclient_cb(struct gconffile **cf, void *arg, char *block, char *opt, char "rewriteIn", CONF_STR, &conf->confrewritein, "rewriteOut", CONF_STR, &conf->confrewriteout, "rewriteattribute", CONF_STR, &conf->confrewriteusername, + "fticksVISCOUNTRY", CONF_STR, &conf->fticks_viscountry, NULL )) debugx(1, DBG_ERR, "configuration error"); diff --git a/radsecproxy.conf-example b/radsecproxy.conf-example index 9ec003d..04a27ef 100644 --- a/radsecproxy.conf-example +++ b/radsecproxy.conf-example @@ -30,10 +30,13 @@ #LogDestination x-syslog:///log_local2 # For generating log entries conforming to the F-Ticks system, specify -# F-Ticks-Reporting with one of +# F-Ticks-Reporting with one of the following values. # None -- Do not log in F-Ticks format. This is the default. # Basic -- Do log in F-Ticks format but do not log VISINST. # Full -- Do log in F-Ticks format and do log VISINST. +# Please note that in order to get F-Ticks logging for a given client, +# its matching client configuration block has to contain the +# fticksVISCOUNTRY option. # You can optionally specify F-Ticks-MAC in order to determine if and # how Calling-Station-Id is logged. diff --git a/radsecproxy.h b/radsecproxy.h index 2cd55ee..38f5518 100644 --- a/radsecproxy.h +++ b/radsecproxy.h @@ -124,6 +124,7 @@ struct clsrvconf { struct tls *tlsconf; struct list *clients; struct server *servers; + char *fticks_viscountry; }; #include "tlscommon.h" |