Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
eduroam
radsecproxy
Commits
2c705843
Commit
2c705843
authored
Dec 21, 2011
by
Maja Gorecka-Wolniewicz
Browse files
New option for client block - fticksVISINST
parent
ab7c8e7c
Changes
4
Hide whitespace changes
Inline
Side-by-side
fticks.c
View file @
2c705843
...
...
@@ -107,8 +107,13 @@ fticks_log(const struct options *options,
memset
(
visinst
,
0
,
sizeof
(
visinst
));
if
(
options
->
fticks_reporting
==
RSP_FTICKS_REPORTING_FULL
)
{
snprintf
((
char
*
)
visinst
,
sizeof
(
visinst
),
"VISINST=%s#"
,
if
(
client
->
conf
->
fticks_visinst
!=
NULL
)
{
snprintf
((
char
*
)
visinst
,
sizeof
(
visinst
),
"VISINST=%s#"
,
client
->
conf
->
fticks_visinst
);
}
else
{
snprintf
((
char
*
)
visinst
,
sizeof
(
visinst
),
"VISINST=%s#"
,
client
->
conf
->
name
);
}
}
memset
(
macout
,
0
,
sizeof
(
macout
));
...
...
radsecproxy.c
View file @
2c705843
...
...
@@ -2690,6 +2690,7 @@ int confclient_cb(struct gconffile **cf, void *arg, char *block, char *opt, char
"rewriteattribute"
,
CONF_STR
,
&
conf
->
confrewriteusername
,
#if defined(WANT_FTICKS)
"fticksVISCOUNTRY"
,
CONF_STR
,
&
conf
->
fticks_viscountry
,
"fticksVISINST"
,
CONF_STR
,
&
conf
->
fticks_visinst
,
#endif
NULL
))
...
...
radsecproxy.conf.5.xml
View file @
2c705843
...
...
@@ -480,9 +480,9 @@ blocktype name {
<literal>
certificateNameCheck
</literal>
,
<literal>
matchCertificateAttribute
</literal>
,
<literal>
duplicateInterval
</literal>
,
<literal>
AddTTL
</literal>
,
<literal>
fticksVISCOUNTRY
</literal>
,
<literal>
rewrite
</literal>
,
<literal>
rewrite
In
</literal>
,
<literal>
rewrite
Out
</literal>
,
and
<literal>
rewriteAttribute
</literal>
.
<literal>
fticksVISCOUNTRY
</literal>
,
<literal>
fticksVISINST
</literal>
,
<literal>
rewrite
</literal>
,
<literal>
rewrite
In
</literal>
,
<literal>
rewriteOut
</literal>
, and
<literal>
rewriteAttribute
</literal>
.
We already discussed the
<literal>
host
</literal>
option. The
value of
<literal>
type
</literal>
must be one of
...
...
@@ -543,6 +543,11 @@ blocktype name {
clients eligible to F-Ticks logging as defined by the
<literal>
FTicksReporting
</literal>
basic option.
</para>
<para>
The
<literal>
fticksVISINST
</literal>
option overwrites
the default
<literal>
VISINST
</literal>
value taken from the client
block name.
</para>
<para>
The
<literal>
rewrite
</literal>
option is deprecated. Use
<literal>
rewriteIn
</literal>
instead.
...
...
radsecproxy.h
View file @
2c705843
...
...
@@ -131,6 +131,7 @@ struct clsrvconf {
struct
list
*
clients
;
struct
server
*
servers
;
char
*
fticks_viscountry
;
char
*
fticks_visinst
;
};
#include "tlscommon.h"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment