Decoding Access Request Parameters
Ratnesh Sinha
ratnesh at 6dtech.co.in
Tue Dec 27 15:34:29 CET 2011
Hi,
I am using FREERADIUS v.2.1.12
I am getting the following attributes in Access Request from Radius Client:
ATTRIBUTE User-Name 1 string
ATTRIBUTE User-Password 2 string
ATTRIBUTE NAS-IP 4 ipaddr
ATTRIBUTE NAS-Port 5 integer
ATTRIBUTE Service-Type 6 integer
ATTRIBUTE Prepaid-acct-Capability 91 octets
ATTRIBUTE Prepaid-Acct-Quota 90 octets
ATTRIBUTE Session-Termination-Capability 88 integer
ATTRIBUTE Calling-Station-ID 31 string
ATTRIBUTE Correlation-Id 44 string
I am getting the following printed on the radius server console:
rad_recv: Access-Request packet from host 127.0.0.1 port 47213, id=2,
length=195
User-Name = "testuser"
Vendor-Specific = 0x0001869f010a7465737475736572
Vendor-Specific = 0x0001869f020a77656c636f6d6531
Vendor-Specific = 0x0001869f04067f000001
Vendor-Specific = 0x0001869f0506000011d7
Vendor-Specific = 0x0001869f060600000008
Vendor-Specific = 0x0001869f5b071234567890
Vendor-Specific = 0x0001869f580600000001
Vendor-Specific = 0x0001869f1f0c39383830323136313434
Vendor-Specific = 0x0001869f2c0c31323334353637383930
User-Password = "welcome1"
Message-Authenticator = 0x728dfb62b5b0ff17703c64ac1b97d6da
Pl. help me out how to get these attributes in my C program rlm module.
Regards,
Ratnesh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20111227/88a5707e/attachment.html>
More information about the Freeradius-Users
mailing list