(RADIATOR) "Phantom" attribute

Claudio Lapidus clapidus at gmail.com
Tue Apr 18 17:55:11 CDT 2006


Hello all

We´re getting an error message in an instance that handles RadSec
traffic. It references an invalid value for an attribute not present
in the incoming packet. This is a trace 5 showing the problem (BTW,
code for trace 5 is missing in ServerRADSEC.pm, we borrowed it from
Radius.pm for this test):

Tue Apr 18 18:55:45 2006: DEBUG: Packet dump:
*** Received request from RadSec 10.71.7.21:36603 ....
Code:       Accounting-Request
Identifier: 3
Authentic:  <211>L<152><136>b>b<i<188>g<179>6<206><139><181>
Attributes:
        User-Name = "ascend_bug_test"
        Service-Type = Framed-User
        NAS-IP-Address = x.x.x.12
        NAS-Identifier = "x.x.x.1"
        NAS-Port = 89
        NAS-Port-Type = Async
        Acct-Session-Id = "003F2884"
        Acct-Status-Type = Stop
        Called-Station-Id = "40041111"
        Calling-Station-Id = "1145088520"
        Framed-IP-Address = x.x.x.116
        Acct-Delay-Time = 0
        Acct-Session-Time = 280
        Acct-Input-Octets = 71492
        Acct-Output-Octets = 139526
        Class = "<128><199><128><128>"
        Framed-Protocol = PPP
        Acct-Authentic = RADIUS
        Acct-Terminate-Cause = Lost-Carrier
        cisco-avpair = "disc-cause-ext=Local Hangup"
        cisco-avpair = "connect-progress=LAN Ses Up"
        Acct-Input-Packets = 668
        Acct-Output-Packets = 598
        Cisco-NAS-Port = "Async28"
        Connect-Info = "28000/28800 V90/V42bis/LAPM (52000/28800)"
        Class = "<128><199><128><128>"
        Timestamp = 1145397250
        Proxy-State = OSC-Extended-Id=3

Packet length = 370
04 03 01 72 d3 4c 98 88 62 3e 62 3c 69 bc 67 b3
36 ce 8b b5 01 11 61 73 63 65 6e 64 5f 62 75 67
5f 74 65 73 74 06 06 00 00 00 02 04 06 c8 2b 98
0c 20 0e 32 30 33 2e 36 33 2e 31 35 34 2e 31 05
06 00 00 00 59 3d 06 00 00 00 00 2c 0a 30 30 33
46 32 38 38 34 28 06 00 00 00 02 1e 0a 34 30 30
34 31 31 31 31 1f 0c 31 31 34 35 30 38 38 35 32
30 08 06 c8 2b 4b 74 29 06 00 00 00 00 2e 06 00
00 01 18 2a 06 00 01 17 44 2b 06 00 02 21 06 19
16 3c 31 32 38 3e 3c 31 39 39 3e 3c 31 32 38 3e
3c 31 32 38 3e 07 06 00 00 00 01 2d 06 00 00 00
01 31 06 00 00 00 02 1a 23 00 00 00 09 01 1d 64
69 73 63 2d 63 61 75 73 65 2d 65 78 74 3d 4c 6f
63 61 6c 20 48 61 6e 67 75 70 1a 23 00 00 00 09
01 1d 63 6f 6e 6e 65 63 74 2d 70 72 6f 67 72 65
73 73 3d 4c 41 4e 20 53 65 73 20 55 70 2f 06 00
00 02 9c 30 06 00 00 02 56 1a 0f 00 00 00 09 02
09 41 73 79 6e 63 32 38 4d 2b 32 38 30 30 30 2f
32 38 38 30 30 20 56 39 30 2f 56 34 32 62 69 73
2f 4c 41 50 4d 20 28 35 32 30 30 30 2f 32 38 38
30 30 29 19 16 3c 31 32 38 3e 3c 31 39 39 3e 3c
31 32 38 3e 3c 31 32 38 3e 67 06 44 45 60 02 21
13 4f 53 43 2d 45 78 74 65 6e 64 65 64 2d 49 64
3d 33

Tue Apr 18 18:55:45 2006: DEBUG: Handling request with Handler
'Acct-Status-Type=Stop'
Tue Apr 18 18:55:45 2006: ERR: There is no value named  for attribute
Ascend-Disconnect-Cause. Using 0.

You'll note that it is referencing an absent Ascend-Disconnect-Cause
attribute. Also, I think I'm seeing two spaces between 'named' and
'for' in the error text, suggesting to me an empty string in that
place.

best regards
cl.

--
Archive at http://www.open.com.au/archives/radiator/
Announcements on radiator-announce at open.com.au
To unsubscribe, email 'majordomo at open.com.au' with
'unsubscribe radiator' in the body of the message.


More information about the radiator mailing list