(RADIATOR) RADIUS adding characters to VSA Attribute Response

Jon Coffee jcoffee at ehyperspace.com
Thu Apr 15 10:42:10 CDT 2004


Here is an attached log file.  The only problem I see in this log file are quotes around the string I need to have returned.

Here is what I have added to the end of the dictionary file:

#
# Hyperspace Communications, Inc. VSA
#

VENDORATTR  20085	Opt-In				26	string

Thanks for your help.
Jon



-----Original Message-----
From: Frank Danielson [mailto:fdanielson at csky.com]
Sent: Thursday, April 15, 2004 9:14 AM
To: Jon Coffee; radiator at open.com.au
Subject: RE: (RADIATOR) RADIUS adding characters to VSA Attribute
Response


John-

Huh? This doesn't look like a Radiator trace. How about a trace 4 from
Radiator, your config file, and a snippet from your dictionary showing the
VSA you added.

-Frank

-----Original Message-----
From: Jon Coffee [mailto:jcoffee at ehyperspace.com]
Sent: Thursday, April 15, 2004 10:14 AM
To: radiator at open.com.au
Subject: (RADIATOR) RADIUS adding characters to VSA Attribute Response


Hello,

I am having an issue with a response RADIUS is sending back to my client
regarding a VSA Attribute I have setup.  I need RADIUS to simply respond
with a string = true .  It is sending back a response however with 6
characters before that.  Below is part of a log file with the error:

27.000-(1085136064)-HTTrans-763: adding 8110ACC->14 to rset
27.000-(1085136064)-HTTrans-810: Not adding 8110ACC->14 to wset sslc=4
sendable=0
27.000-(1085136064)-HTTrans-828: calling select(), max_sd == 15 timeout
15.000
28.355-(1085136064)-HTTrans-834: select() returned 1
28.355-(1085136064)-HTTrans-1103: check_hosts( begin )
28.355-(1085136064)-HTTrans-1136: check_hosts( end )
28.355-(1085136064)-HTTrans-901: check_channels( begin )
28.355-(1085136064)-HTTrans-905: check_channels( 8110ACC )
28.355-(1085136064)-HTRadius-236: recv_RADIUS( 26 )
28.355-(1085136064)-HTRadius-237: recv_RADIUS( true )
28.355-(1085136064)-HTRadius-239: recv_RADIUS( 116 )
28.355-(1085136064)-HTRadius-239: recv_RADIUS( 114 )
28.355-(1085136064)-HTRadius-239: recv_RADIUS( 117 )
28.355-(1085136064)-HTRadius-239: recv_RADIUS( 101 )
28.355-(1085136064)-HTRadius-253: recv_from() = 44
28.356-(1085136064)-HTRadius-266: recv packet->code   = 2
28.356-(1085136064)-HTRadius-268: recv packet->id     = 28
28.356-(1085136064)-HTRadius-270: recv packet->length = 44
28.356-(1085136064)-HTRadius-280: RADIUS PASSED
28.356-(1085136064)-HTRadius-290: a.attribute 6
28.356-(1085136064)-HTRadius-291: a.length    6
28.356-(1085136064)-HTRadius-293: a.data[0]   0
28.356-(1085136064)-HTRadius-293: a.data[1]   0
28.356-(1085136064)-HTRadius-293: a.data[2]   0
28.356-(1085136064)-HTRadius-293: a.data[3]   2
28.356-(1085136064)-HTRadius-290: a.attribute 7
28.356-(1085136064)-HTRadius-291: a.length    6
28.356-(1085136064)-HTRadius-293: a.data[0]   0
28.356-(1085136064)-HTRadius-293: a.data[1]   0
28.356-(1085136064)-HTRadius-293: a.data[2]   0
28.356-(1085136064)-HTRadius-293: a.data[3]   1
28.356-(1085136064)-HTRadius-290: a.attribute 26
28.356-(1085136064)-HTRadius-291: a.length    12
28.356-(1085136064)-HTRadius-293: a.data[0]   0
28.356-(1085136064)-HTRadius-293: a.data[1]   0
28.356-(1085136064)-HTRadius-293: a.data[2]   78
28.356-(1085136064)-HTRadius-293: a.data[3]   117
28.356-(1085136064)-HTRadius-293: a.data[4]   26
28.356-(1085136064)-HTRadius-293: a.data[5]   6
28.356-(1085136064)-HTRadius-293: a.data[6]   116
28.356-(1085136064)-HTRadius-293: a.data[7]   114
28.356-(1085136064)-HTRadius-293: a.data[8]   117
28.356-(1085136064)-HTRadius-293: a.data[9]   101
28.356-(1085136064)-HTRadius-206: ours != radius ( true !=  )
28.356-(1085136064)-HTTransSrv-421: RC = -2
28.356-(1085136064)-HTTransSrv-422: AuthStatus = 3
28.356-(1085136064)-Socket-203: CloseSocket ( 15 )
28.356-(1085136064)-HTTransSrv-494: recv_RADIUS

As you can see attribute 26 is only 116, 114, 117, and 101 respectiviley in
that order on the client side.  But the RADIUS server is sending back
0,0,78,117,26,6,116,114,117,and 101 respectiviley in that order.  This error
is effectively stopping my client from setting up a connection. 

Has anyone seen this before, and what should I be doing to fix this issue?

Thanks in advance,
Jonathan Coffee



--
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: logfile
Type: application/octet-stream
Size: 1626 bytes
Desc: logfile
URL: <http://www.open.com.au/pipermail/radiator/attachments/20040415/68eba715/attachment.obj>


More information about the radiator mailing list