Fwd: Issues with rlm_perl

Ryan De Kock ryandekock1988 at gmail.com
Wed Jan 22 08:56:27 CET 2014


Hi,

No sure if this has been seen before but there is an issue with 3.0.1 where
the correct pairs or not sent to the rlm_perl module.


Version:
radiusd: FreeRADIUS Version 3.0.1, for host x86_64-unknown-linux-gnu, built
on Jan 20 2014 at 12:27:00
Copyright (C) 1999-2014 The FreeRADIUS server project and contributors
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE
You may redistribute copies of FreeRADIUS under the terms of the
GNU General Public License
For more information about these matters, see the file named COPYRIGHT


Debug:
.......
Ready to process requests.
rad_recv: Accounting-Request packet from host 105.236.242.204 port 43909,
id=61, length=196
        Acct-Status-Type = Stop
        Acct-Terminate-Cause = User-Request
        NAS-Port-Type = Wireless-802.11
        Calling-Station-Id = 'FC:C7:34:BA:7A:39'
        Called-Station-Id = 'hotspot1'
        NAS-Port-Id = 'Hotspot-Bridge'
        User-Name = 'supertest123'
        NAS-Port = 2163212315
        Acct-Session-Id = '80f0001b'
        Framed-IP-Address = 10.20.30.3
        Mikrotik-Host-IP = 10.20.30.3
        Event-Timestamp = 'Jan 22 2014 09:45:49 SAST'
        Acct-Input-Octets = 104
        Acct-Output-Octets = 52
        Acct-Input-Gigawords = 0
        Acct-Output-Gigawords = 0
        Acct-Input-Packets = 2
        Acct-Output-Packets = 1
        Acct-Session-Time = 8
        NAS-Identifier = 'Dev'
        Acct-Delay-Time = 0
        NAS-IP-Address = 105.236.242.204
........
rlm_perl: *DEBUG* Stop != Acct-Start so not doing mail.
rlm_perl: *DEBUG* Checking Valid username/location
rlm_perl: Added pair Acct-Input-Octets = 104
rlm_perl: Added pair NAS-Port-Type = Wireless-802.11
rlm_perl: Added pair Acct-Session-Id = 80f0
rlm_perl: Added pair Acct-Output-Gigawords = 0
rlm_perl: Added pair Acct-Unique-Session-Id = c165
rlm_perl: Added pair Called-Station-Id = hots
rlm_perl: Added pair Tmp-IP-Address-0 = 105.236.242.204
rlm_perl: Added pair Acct-Status-Type = Stop
rlm_perl: Added pair Acct-Output-Packets = 1
rlm_perl: Added pair Mikrotik-Host-IP = 10.20.30.3
rlm_perl: Added pair NAS-IP-Address = 105.236.242.204
rlm_perl: Added pair NAS-Port-Id = Hots
rlm_perl: Added pair Acct-Output-Octets = 52
rlm_perl: Added pair Acct-Terminate-Cause = User-Request
rlm_perl: Added pair Acct-Session-Time = 8
rlm_perl: Added pair Calling-Station-Id = FC:C
rlm_perl: Added pair User-Name = supe
rlm_perl: Added pair NAS-Identifier = Dev
rlm_perl: Added pair Event-Timestamp = Jan 22 2014 09:45:49 SAST
rlm_perl: Added pair Acct-Input-Gigawords = 0
rlm_perl: Added pair Acct-Input-Packets = 2
rlm_perl: Added pair Framed-IP-Address = 10.20.30.3
rlm_perl: Added pair NAS-Port = 2163212315
rlm_perl: Added pair Acct-Delay-Time = 0
rlm_perl: Added pair Tmp-Integer-0 = 100
..........

Called-Station-Id, Acct-Session-Id, Calling-Station-Id,
User-Name,NAS-Identifier are all incorrect (maybe others as well?)

Is there a potential fix? This was the latest version on the freeradius site
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20140122/c3df1790/attachment-0001.html>


More information about the Freeradius-Users mailing list