From f06d902b3138b983743c517dd7d6fd7d6362b1f9 Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Mon, 4 Apr 2011 13:32:04 +0200 Subject: Add configuration of client fticksVISINST. --- radsecproxy.c | 1 + radsecproxy.conf-example | 5 ++++- radsecproxy.h | 1 + 3 files changed, 6 insertions(+), 1 deletion(-) 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" -- cgit v1.1