FR 2.1.x git + SoH: ASSERT FAILED xlat.c[1048]: outlen > 0

James J J Hooper jjj.hooper at bristol.ac.uk
Wed May 4 20:28:11 CEST 2011


On 04/05/2011 11:24, Phil Mayers wrote:
> On 04/05/11 10:42, James J J Hooper wrote:

>> ++++[updated] returns updated
>> +++- if ((Calling-Station-Id) && "%{Calling-Station-Id}" =~
>> /^%{config:policy.mac-addr}$/i) returns updated
>> +++ ... skipping else for request 750: Preceding "if" was taken
>> ++- policy create.uob-stripped-mac returns updated
>
>
> Is that all? It jumps straight from the above to dumping the SoH packet?

Yes

>> SoH-Supported = yes
>> SoH-MS-Machine-OS-vendor = Microsoft
>> SoH-MS-Machine-OS-version = 6
>> SoH-MS-Machine-OS-release = 0
>> SoH-MS-Machine-OS-build = 6000
>> SoH-MS-Machine-SP-version = 0
>> SoH-MS-Machine-SP-release = 0
>> SoH-MS-Machine-Processor = x86
>> SoH-MS-Machine-Name = "AlexanderPC"
>> SoH-MS-Correlation-Id = 0x81aa82cd69f946f2bae142fd0fbfcc3e01cc09847027078c
>> SoH-MS-Machine-Role = client
>> SoH-MS-Windows-Health-Status = "firewall ok snoozed=0 microsoft=0
>> up2date=1 enabled=0"
>> SoH-MS-Windows-Health-Status = "firewall ok snoozed=0 microsoft=0
>> up2date=1 enabled=0"
>> SoH-MS-Windows-Health-Status = "firewall ok snoozed=0 microsoft=1
>> up2date=1 enabled=1"
>> SoH-MS-Windows-Health-Status = "antivirus ok snoozed=0 microsoft=0
>
>
> Ok, something has gone wildly wrong there.... Unless they really do have 3
> firewall, 7 AV and 8 anti-spyware products installed!

Indeed - We all know how messed up clients can get, so this one is 
probably due for some TLC (if I can get them to come in).

>> up2date=1 enabled=1"
>> SoH-MS-Windows-Health-Status = "antivirus ok snoozed=0 microsoft=0
>> up2date=1 enabled=0"
>> SoH-MS-Windows-Health-Status = "antivirus ok snoozed=0 microsoft=0
>> up2date=1 enabled=0"
>> SoH-MS-Windows-Health-Status = "antivirus ok snoozed=0 microsoft=0
>> up2date=1 enabled=1"
>> SoH-MS-Windows-Health-Status = "antivirus ok snoozed=0 microsoft=0
>> up2date=1 enabled=1"
>> SoH-MS-Windows-Health-Status = "antivirus ok snoozed=0 microsoft=0
>> up2date=0 enabled=1"
>> SoH-MS-Windows-Health-Status = "antivirus ok snoozed=0 microsoft=0
>> up2date=1 enabled=1"
>> SoH-MS-Windows-Health-Status = "antispyware ok snoozed=0 microsoft=0
>> up2date=1 enabled=1"
>> SoH-MS-Windows-Health-Status = "antispyware ok snoozed=0 microsoft=0
>> up2date=1 enabled=0"
>> SoH-MS-Windows-Health-Status = "antispyware ok snoozed=0 microsoft=0
>> up2date=1 enabled=1"
>> SoH-MS-Windows-Health-Status = "antispyware ok snoozed=0 microsoft=0
>> up2date=1 enabled=1"
>> SoH-MS-Windows-Health-Status = "antispyware ok snoozed=0 microsoft=0
>> up2date=1 enabled=1"
>> SoH-MS-Windows-Health-Status = "antispyware ok snoozed=0 microsoft=1
>> up2date=0 enabled=0"
>> SoH-MS-Windows-Health-Status = "antispyware ok snoozed=0 microsoft=0
>> up2date=0 enabled=1"
>> SoH-MS-Windows-Health-Status = "antispyware ok snoozed=0 microsoft=0
>> up2date=1 enabled=1"
>> SoH-MS-Windows-Health-Status = "auto-updates ok action=install by-policy=1"
>> SoH-MS-Windows-Health-Status = "security-updates error no-wsus-srv"
>> FreeRADIUS-Proxied-To = 127.0.0.1
>> User-Name = "abcdef at bris.ac.uk"
>> Calling-Station-Id = "00:1b:77:xx:xx:xx"
>> Called-Station-Id = "00:3a:98:9d:17:30:eduroam"
>> NAS-Port = 29
>> NAS-IP-Address = 172.17.107.207
>> NAS-Identifier = "wism7"
>> Airespace-Wlan-Id = 3
>> Service-Type = Framed-User
>> Framed-MTU = 1300
>> NAS-Port-Type = Wireless-802.11
>> Tunnel-Type:0 = VLAN
>> Tunnel-Medium-Type:0 = IEEE-802
>> Tunnel-Private-Group-Id:0 = "448"
>> ASSERT FAILED xlat.c[1048]: outlen > 0
>>
>>
>> Config bits:
>>
>> server eduroamlocal-soh {
>>
>> authorize {
>> if (SoH-Supported == no) {
>> update config {
>> Auth-Type = Accept
>> }
>> }
>> else {
>> detail-bsql
>
> What's the config for this module?

As below i.e. a plain old detail module

>
>> update config {
>> Auth-Type = Accept
>> }
>>
>>
>> detail detail-bsql {
>> detailfile =
>> ${radacctdir}/%{%{Virtual-Server}:-UNKNOWN}-bsql/detail-bsql.log
>>
>> detailperm = 0600
>> header = "%t"
>> }

-James



More information about the Freeradius-Users mailing list