PacketFence - BTS - PacketFence
View Issue Details
0001675PacketFencecorepublic2013-07-30 19:352015-02-18 10:59
victor 
 
normalcrashalways
closedopen 
4.0.1 
 
0001675: Segmentation fault after successful mac auth
PF ver 4.0.3
# uname -a
Linux packetfence 3.9-1-686-pae 0000001 SMP Debian 3.9.8-1 i686 GNU/Linux

Freeradius crashes during mac authentication



rlm_perl: Added pair NAS-Port-Type = Wireless-802.11
rlm_perl: Added pair Service-Type = Login-User
rlm_perl: Added pair Cisco-NAS-Port = 262
rlm_perl: Added pair Calling-Station-Id = E8-99-C4-7F-8D-C2
rlm_perl: Added pair Called-Station-Id = F0-29-29-09-15-90:ComtechGuest-test
rlm_perl: Added pair Cisco-AVPair = ssid=ComtechGuest-test
rlm_perl: Added pair Cisco-AVPair = service-type=Login
rlm_perl: Added pair User-Name = e899c47f8dc2
rlm_perl: Added pair NAS-Identifier = C1140-3_MP_TEST
rlm_perl: Added pair User-Password = e899c47f8dc2
rlm_perl: Added pair NAS-IP-Address = 10.8.254.18
rlm_perl: Added pair NAS-Port = 262
rlm_perl: Added pair NAS-Port-Id = 262
rlm_perl: Added pair WISPr-Location-Name = Comtech Mayland Place
rlm_perl: Added pair Auth-Type = Accept
++[packetfence] returns noop
Found Auth-Type = Accept
Auth-Type = Accept, accepting the user
Login OK: [e899c47f8dc2] (from client 10.8.254.18 port 262 cli E8-99-C4-7F-8D-C2)
# Executing section post-auth from file /usr/local/pf/raddb//sites-enabled/packetfence
+- entering group post-auth {...}
++[exec] returns noop
++? if (!EAP-Type || (EAP-Type != 21 && EAP-Type != 25))
? Evaluating !(EAP-Type ) -> TRUE
?? Skipping (EAP-Type != 21 )
?? Skipping (EAP-Type != 25)
++? if (!EAP-Type || (EAP-Type != 21 && EAP-Type != 25)) -> TRUE
++- entering if (!EAP-Type || (EAP-Type != 21 && EAP-Type != 25)) {...}
rlm_perl: perl_embed:: module = /usr/local/pf/raddb//packetfence.pm , func = post_auth exit status= syntax error at line 1, column 49, byte 49 at /usr/lib/perl5/XML/Parser.pm line 188.
Segmentation fault
 
No tags attached.
Issue History
2013-07-30 19:35victorNew Issue
2013-07-31 07:19ludovicNote Added: 0003351
2015-02-18 10:59lmunroNote Added: 0003950
2015-02-18 10:59lmunroStatusnew => closed

Notes
(0003351)
ludovic   
2013-07-31 07:19   
You need to update perl-SOAP-Lite to >= 1.0 and you need to apply this patch:

https://github.com/inverse-inc/packetfence/commit/4861189ba7faf680eef257d5b1c157d7260fe0de [^]

All of this will be fixed in 4.0.4, set to be released today.
(0003950)
lmunro   
2015-02-18 10:59   
Obsolete bug tracker entries.
PF 4 introduced changes that either make these irrelevant or impossible to reproduce.

New issues are moving to github issues.