Hi , I am getting a segmentation fault when using EAP-TLS and the following linelog statement Access-Request ="%{User-Name};%{reply:Packet-Type};%S;%{%{%{Module-Failure-Message[*]} :-%{reply:Reply-Message[*]}:-%{MS-CHAP-Error[*]}}:-[AUTHENTICATED]};%{C alling-Station-Id};%{reply:[*]};%{proxy-request:Packet-Dst-IP-Address}" On running with the -XX flags it seems to seg out at as follows Thu Apr 27 17:50:57 2017 : Debug: %{User-Name};%{reply:Packet-Type};%S;%{%{%{Module-Failure-Message[*]}:- %{reply:Reply-Message[*]}:-%{MS-CHAP-Error[*]}}:-[AUTHENTICATED]};%{Cal ling-Station-Id};%{reply:[*]};%{proxy-request:Packet-Dst-IP-Address} Thu Apr 27 17:50:57 2017 : Debug: Parsed xlat tree: Thu Apr 27 17:50:57 2017 : Debug: attribute --> User-Name Thu Apr 27 17:50:57 2017 : Debug: literal --> ; Thu Apr 27 17:50:57 2017 : Debug: attribute --> Packet-Type Thu Apr 27 17:50:57 2017 : Debug: literal --> ; Thu Apr 27 17:50:57 2017 : Debug: percent --> S Thu Apr 27 17:50:57 2017 : Debug: literal --> ; Thu Apr 27 17:50:57 2017 : Debug: XLAT-IF { Thu Apr 27 17:50:57 2017 : Debug: XLAT-IF { Thu Apr 27 17:50:57 2017 : Debug: attribute --> Module-Failure-Message Thu Apr 27 17:50:57 2017 : Debug: { Thu Apr 27 17:50:57 2017 : Debug: ref 2 Thu Apr 27 17:50:57 2017 : Debug: list 1 Thu Apr 27 17:50:57 2017 : Debug: [*] Thu Apr 27 17:50:57 2017 : Debug: } Thu Apr 27 17:50:57 2017 : Debug: } Thu Apr 27 17:50:57 2017 : Debug: XLAT-ELSE { Thu Apr 27 17:50:57 2017 : Debug: attribute --> Reply-Message Thu Apr 27 17:50:57 2017 : Debug: { Thu Apr 27 17:50:57 2017 : Debug: ref 2 Thu Apr 27 17:50:57 2017 : Debug: list 2 Thu Apr 27 17:50:57 2017 : Debug: [*] Thu Apr 27 17:50:57 2017 : Debug: } Thu Apr 27 17:50:57 2017 : Debug: literal --> :- Thu Apr 27 17:50:57 2017 : Debug: attribute --> MS-CHAP-Error Thu Apr 27 17:50:57 2017 : Debug: { Thu Apr 27 17:50:57 2017 : Debug: ref 2 Thu Apr 27 17:50:57 2017 : Debug: list 1 Thu Apr 27 17:50:57 2017 : Debug: [*] Thu Apr 27 17:50:57 2017 : Debug: } Thu Apr 27 17:50:57 2017 : Debug: } Thu Apr 27 17:50:57 2017 : Debug: } Thu Apr 27 17:50:57 2017 : Debug: XLAT-ELSE { Thu Apr 27 17:50:57 2017 : Debug: literal --> [AUTHENTICATED] Thu Apr 27 17:50:57 2017 : Debug: } Thu Apr 27 17:50:57 2017 : Debug: literal --> ; Thu Apr 27 17:50:57 2017 : Debug: attribute --> Calling-Station-Id Thu Apr 27 17:50:57 2017 : Debug: literal --> ; So looks like Calling-Station-Id is the culprit. Please note this only occurs when the EAP method is TLS and not PEAP /PAP etc. Disabling the above stops the crash. Any suggestions happy provide further logs if required.
On 27 Apr 2017, at 17:56, Arnab Roy <arnabroy@mail.com> wrote:
I am getting a segmentation fault when using EAP-TLS and the following linelog statement
Check out doc/bugs - the developers need a backtrace to diagnose this. https://github.com/FreeRADIUS/freeradius-server/blob/v3.0.x/doc/bugs The version you're using (or git revision if you're building from source) is also required. Regards, Adam Bishop gpg: E75B 1F92 6407 DFDF 9F1C BF10 C993 2504 6609 D460 jisc.ac.uk Jisc is a registered charity (number 1149740) and a company limited by guarantee which is registered in England under Company No. 5747339, VAT No. GB 197 0632 86. Jisc’s registered office is: One Castlepark, Tower Hill, Bristol, BS2 0JA. T 0203 697 5800. Jisc Services Limited is a wholly owned Jisc subsidiary and a company limited by guarantee which is registered in England under company number 2881024, VAT number GB 197 0632 86. The registered office is: One Castle Park, Tower Hill, Bristol BS2 0JA. T 0203 697 5800.
participants (2)
-
Adam Bishop -
Arnab Roy