Add configuration of client fticksVISINST.
authorLinus Nordberg <linus@nordu.net>
Mon, 4 Apr 2011 11:32:04 +0000 (13:32 +0200)
committerLinus Nordberg <linus@nordu.net>
Mon, 4 Apr 2011 11:32:04 +0000 (13:32 +0200)
radsecproxy.c
radsecproxy.conf-example
radsecproxy.h

index 5856113..8cf2f27 100644 (file)
@@ -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");
index 9ec003d..04a27ef 100644 (file)
 #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.
index 2cd55ee..38f5518 100644 (file)
@@ -124,6 +124,7 @@ struct clsrvconf {
     struct tls *tlsconf;
     struct list *clients;
     struct server *servers;
+    char *fticks_viscountry;
 };
 
 #include "tlscommon.h"