3.0.0 detail: suppress now works, but found a SEGV elsewhere

Stefan Winter stefan.winter at restena.lu
Tue Jan 7 08:51:20 CET 2014


Hi,

>>> And the log files do contain the User-Password attribute.
>>
>>  That shouldn't happen
> 
> Fixed.

Umm. In a way, yes. With current SVN (v3.0.x from a few minutes ago), 
the logs don't contain the User-Password.

Unfortunately, shortly after detail is done (it logs the packet,
omits the User-Password), the server crashes with a SEGV.

Here's the -X log of the moment:

(0) auth_log_silent : /var/log/radius/radacct/%Y%m%d/%{RESTENA-Service-Type}-service/auth-detail expands to /var/log/radius/radacct/20140107/Staff-IMAP-service/auth-detail
(0) auth_log_silent :   expand: "%t" -> 'Tue Jan  7 08:43:27 2014'
(0)   [auth_log_silent] = ok
(0)   ? if ( "%{RESTENA-Service-Type}" == "Staff-IMAP" && "%{strlen:%{User-Password}}" == "96" ) 
(0)     expand: "Staff-IMAP" -> 'Staff-IMAP'
(0)     expand: "%{RESTENA-Service-Type}" -> 'Staff-IMAP'
(0)     expand: "96" -> '96'
(0)     expand: "%{strlen:%{User-Password}}" -> '96'
(0)   ? if ( "%{RESTENA-Service-Type}" == "Staff-IMAP" && "%{strlen:%{User-Password}}" == "96" )  -> TRUE
(0)   if ( "%{RESTENA-Service-Type}" == "Staff-IMAP" && "%{strlen:%{User-Password}}" == "96" )  {
Segmentation fault

My config for this states:

        auth_log_silent
        if ( "%{RESTENA-Service-Type}" == "Staff-IMAP" && "%{strlen:%{User-Password}}" == "96" ) {
                sql-webmailsso
        }

So it crashed before invoking an sql instance? The same worked on 3.0.0.

Greetings,

Stefan Winter

-- 
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-users/attachments/20140107/007db464/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-users/attachments/20140107/007db464/attachment.pgp>


More information about the Freeradius-Users mailing list