<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html><body>
<p>Hi all,</p>
<p>I have a problem using VSA encoded in 2+2 format, namely those in dictionary.starent in 3.0.4 version of the Freeradius. The server uses the dictionary supplied within the tarball.</p>
<p>The server is processing just accounting requests and saving the requests into a detail file at the moment. But they are not decoded:</p>
<p>received Accounting-Request Id 177 from 10.49.36.49:37817 to 10.49.36.230:1813 length 735<br /> User-Name = 'wap'<br /> Calling-Station-Id = '420601521211'<br /> NAS-IP-Address = 10.49.32.253<br /> Acct-Status-Type = Stop<br /> NAS-Identifier = 'tmcz-gw1'<br /> Attr-26 = 0x00001fe40120001031352e302028353435313529<br /> Service-Type = Framed-User<br /> Framed-Protocol = GPRS-PDP-Context<br /> NAS-Port-Type = Wireless-Other<br /> Attr-26 = 0x00001fe4003e000800000001<br /> 3GPP-IMSI = '230015002746529'<br /> 3GPP-IMSI-MCC-MNC = '23001'<br /> 3GPP-NSAPI = '5'<br /> 3GPP-Selection-Mode = '1'<br /> 3GPP-Charging-ID = 559411603<br /> 3GPP-GPRS-Negotiated-QoS-profile = '05-1392127396D1FE7406FFFF001600'<br /> 3GPP-Charging-Characteristics = '0800'<br /> Called-Station-Id = 'internet.t-mobile.cz'<br /> 3GPP-SGSN-Address = 89.24.0.232<br /> 3GPP-GGSN-Address = 89.24.0.248<br /> 3GPP-GGSN-MCC-MNC = '23001'<br /> 3GPP-Negotiated-DSCP = 0<br /> 3GPP-RAT-Type = UTRAN<br /> Attr-26.10415.23 = 0x8001<br /> 3GPP-IMEISV = '8639640220236677'<br /> 3GPP-PDP-Type = 0<br /> Acct-Session-Id = '591800F82157F193'<br /> Acct-Authentic = RADIUS<br /> Attr-26 = 0x00001fe4005e001a6d766e6f2d3030312d746d637a2d696e7465726e6574<br /> Attr-26 = 0x00001fe400fa0013696e745f686f6d655f6e6f5f667570<br /> Class = 0x6374782d6161612d6665313b313431323831333830393b3332333439363034<br /> Attr-26 = 0x00001fe4000200066769<br /> Attr-26 = 0x00001fe4007b000800000001<br /> Attr-26 = 0x00001fe400680007616161<br /> Attr-26 = 0x00001fe4012d000c6f63732d6c697665<br /> 3GPP-Charging-Gateway-Address = 10.94.77.53<br /> Attr-26 = 0x00001fe40069000800000000<br /> Acct-Multi-Session-Id = '591800F82157F191'<br /> Attr-26 = 0x00001fe40092000800000000<br /> Framed-MTU = 1500<br /> 3GPP-Location-Info = 0x0132f0103520f9c2<br /> 3GPP-SGSN-MCC-MNC = '23001'<br /> 3GPP-Session-Stop-Indicator = 255<br /> Attr-26 = 0x00001fe40003000800000002<br /> Event-Timestamp = 'Oct 23 2014 15:36:57 CEST'<br /> Framed-IP-Address = 10.93.248.122<br /> Attr-26 = 0x00001fe40018000800000004<br /> Acct-Input-Octets = 0<br /> Acct-Output-Octets = 0<br /> Acct-Input-Packets = 0<br /> Acct-Output-Packets = 0<br /> Acct-Session-Time = 1<br /> Acct-Terminate-Cause = User-Request<br /> NAS-Port = 413912<br /> Attr-26 = 0x00002149020331<br /> Attr-26 = 0x00002149090a3237353530343536<br /><br /></p>
<p>It seems that just starent VSA are affected but I can see tha also Attr-26.10415.23 is not decoded to 3GPP-MS-Time-Zone thought it is present in /usr/share/freeradius/dictionary.3gpp</p>
<p>The sample of dictionary.starent:</p>
<p>VENDOR Starent 8164 format=2,2<br /><br />BEGIN-VENDOR Starent<br /><br />ATTRIBUTE SN-VPN-ID 1 integer<br />ATTRIBUTE SN-VPN-Name 2 string<br />ATTRIBUTE SN-Disconnect-Reason 3 integer<br />ATTRIBUTE SN-PPP-Progress-Code 4 integer<br />ATTRIBUTE SN-Primary-DNS-Server 5 ipaddr<br />ATTRIBUTE SN-Secondary-DNS-Server 6 ipaddr<br />ATTRIBUTE SN-Re-CHAP-Interval 7 integer<br />ATTRIBUTE SN-IP-Pool-Name 8 string</p>
<p>Though the attributes are not decoded you can still refere to then in the configuration (i.e. no error is reported) so it looks like the server knows them.</p>
<p>radiusd -XC show no errors, the binary was built from source and a .deb package was created. I can provide more samples if needed.</p>
<p>Thanks for help.</p>
<p>Regards</p>
<p>Ales</p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
</body></html>