3.0.x: persistent TLS session cache

Stefan Winter stefan.winter at restena.lu
Tue Feb 4 07:48:08 CET 2014


Hi,

>> Well, I used %{logdir} in my persist_dir setting in the config alright,
> 
>   It's probably wrong.

Gah! I read the sample config file n times - but for the life of me
didn't spot % vs. $ in that line.

Sorry for the noise. I think I've got a more real issue with the session
cache, but will have a coffee first.

Stefan

> 
>> but... looking at the code, this debug message prints exactly what's
>> being used for the open() call - so %{logdir} should have been expanded
>> to the literal path, right?
>>
>> Is there some xlat() missing here?
> 
>   Maybe.
> 
>   You also need to separate *configuration* variables from *request*
> variables.  The configuration variables are static, and read from the
> config files.  They're ${foo}.  The request variables are dynamic, and
> change with every request.  They're all %{foo}
> 
>   %{logdir} is wrong.  It's interpreted as a request attribute.  But the
> 'logdir' attribute doesn't exist, so it expands to nothing.
> 
>   %{User-Name} is very different from ${logdir}.
> 
>   Alan DeKok.
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/devel.html
> 


-- 
Stefan WINTER
Ingenieur de Recherche
Fondation RESTENA - Réseau Téléinformatique de l'Education Nationale et
de la Recherche
6, rue Richard Coudenhove-Kalergi
L-1359 Luxembourg

Tel: +352 424409 1
Fax: +352 422473

PGP key updated to 4096 Bit RSA - I will encrypt all mails if the
recipient's key is known to me

http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xC0DE6A358A39DC66
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0x8A39DC66.asc
Type: application/pgp-keys
Size: 3243 bytes
Desc: not available
URL: <http://lists.freeradius.org/pipermail/freeradius-devel/attachments/20140204/e4c8c3c8/attachment.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 901 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freeradius.org/pipermail/freeradius-devel/attachments/20140204/e4c8c3c8/attachment.pgp>


More information about the Freeradius-Devel mailing list