Ethereal-dev: SV: [Ethereal-dev] RADIUS / Implementation of additionalVendorSpecific Attribute

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Anders Broman" <a.broman@xxxxxxxxx>
Date: Wed, 15 Jun 2005 23:26:10 +0200
Hi,
Expanding on my own post the Vendor AVP's of T-Systems Nova International
Is almost the same as:
static const radius_attr_info radius_vendor_wifi_alliance_attrib[] =
{
   {1,  RADIUS_STRING,		"Location-ID", NULL, NULL},
   {2,  RADIUS_STRING,		"Location-Name", NULL, NULL},
   {3,  RADIUS_STRING,		"Logoff-URL", NULL, NULL},
   {4,  RADIUS_STRING,		"Redirection-URL", NULL, NULL},
   {5,  RADIUS_INTEGER4,	"Bandwidth-Min-Up", NULL, NULL},
   {6,  RADIUS_INTEGER4,	"Bandwidth-Min-Down", NULL, NULL},
   {7,  RADIUS_INTEGER4,	"Bandwidth-Max-Up", NULL, NULL},
   {8,  RADIUS_INTEGER4,	"Bandwidth-Max-Down", NULL, NULL},
   {9,  RADIUS_STRING,		"Session-Terminate-Time", NULL, NULL},
   {10, RADIUS_INTEGER4,	"Session-Terminate-End-Of-Day", NULL, NULL},
   {11, RADIUS_STRING,		"Billing-Class-Of-Service", NULL, NULL},
   {0, 0, NULL, NULL, NULL},
};
Do you have any idea if the wifi ones has been expanded and this in actual
fact a copy of the wifi ones?
Brg
Anders

-----Ursprungligt meddelande-----
Från: ethereal-dev-bounces@xxxxxxxxxxxx
[mailto:ethereal-dev-bounces@xxxxxxxxxxxx] För Anders Broman (AL/EAB)
Skickat: den 15 juni 2005 17:37
Till: Ethereal development
Ämne: RE: [Ethereal-dev] RADIUS / Implementation of additionalVendorSpecific
Attributes 

Hi,
The "table" is a structure:

typedef struct _radius_attr_info {
        guint16 attr_type;
        guint16 value_type;
	gchar *str;
	const value_string *vs;
	int *hf;
} radius_attr_info;
Used to print information about the value the first NULL indicates that
there is no "value string" attached to
this AVP, a value string is used to translate a value to a string e.g
Visiting-Provider-Code could
be translated to the "provider string" if the code was known.
The second NULL indicates that there is no Header field (hf) attaced to the
AVP.

Enterprise numbers can be found at:
http://www.iana.org/assignments/enterprise-numbers

2937
  Deutsche Telekom AG

6490
  DeTeMobil Deutsche Telekom MobilNet GmbH
161
  Motorola

If you could send me some traces I could verify the implementation.
Brg
Anders

-----Original Message-----
From: ethereal-dev-bounces@xxxxxxxxxxxx
[mailto:ethereal-dev-bounces@xxxxxxxxxxxx]On Behalf Of Biewald, Manuel
Sent: den 15 juni 2005 15:05
To: 'ethereal-dev@xxxxxxxxxxxx'
Subject: [Ethereal-dev] RADIUS / Implementation of additional
VendorSpecific Attributes 


Hi,

How should I start,

"Vendor ID 3414 belongs to Voice Stream Wireless, Inc.", that's as well true
as T-Mobile US because it is now the same company.
All I know about the subtypes is:
{40,	RADIUS_INTEGER4,	"",	NULL,	NULL},
{41,	RADIUS_INTEGER1,	"Venue-UTC-Offset ",	NULL,	NULL},
{42,	RADIUS_INTEGER4,	"Venue-DST-Flag ",	NULL,	NULL},
{43,	RADIUS_INTEGER,	"Venue-EOD ",	NULL,	NULL},
Remarks:
40, I found these subtype while tracing.
41, length 3 -> Value one octet, don't know if RADIUS_INTEGER1 is possible.
43, no trace, just description from doc.

T-Systems Nova International GmbH 16787, therefore the most subtypes are
from the description I've posted yesterday. Most of your attributes seems
correct, but maybe subtype 9 is a RADIUS_TIMESTAMP (I'm just guessing)

{1,	RADIUS_STRING,	"Location-ID ",	NULL,	NULL},
{2,	RADIUS_STRING,	"Location-Name ",	NULL,	NULL},
{3,	RADIUS_STRING,	"Logoff-URL ",	NULL,	NULL},
{4,	RADIUS_STRING,	"Redirection-URL ",	NULL,	NULL},
{5,		"Bandwidth-Min-Up ",	NULL,	NULL},
{6,		"Bandwidth-Min-Down ",	NULL,	NULL},
{7,		"Bandwidth-Max-Up ",	NULL,	NULL},
{8,		"Bandwidth-Max-Down ",	NULL,	NULL},
{9,	RADIUS_TIMESTAMP,	"Session-Terminate-Time ",	NULL,
NULL},
{10,		"Session-Terminate-End-Of-Day ",	NULL,	NULL},
{11,	RADIUS_STRING,	"Billing-Class-Of-Service ",	NULL,	NULL},
{12,	RADIUS_STRING,	"Service-Name ",	NULL,	NULL},
{13,		"Price-Of-Service ",	NULL,	NULL},
{14,		"Visiting-Provider-Code ",	NULL,	NULL},

What is the meaning of the last two parameters (NULL, NULL)?
After a closer look through the traces I found three more unknown vendor
ID's, 2937, 6490 and 161.
Generally I try to get more information's directly from the vendors.


Thanks for your support,
Regards,
Manuel 

_______________________________________________
Ethereal-dev mailing list
Ethereal-dev@xxxxxxxxxxxx
http://www.ethereal.com/mailman/listinfo/ethereal-dev

_______________________________________________
Ethereal-dev mailing list
Ethereal-dev@xxxxxxxxxxxx
http://www.ethereal.com/mailman/listinfo/ethereal-dev