[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Radiusplugin-users] Passing values by using type 192-223
From: |
Frank Ho |
Subject: |
[Radiusplugin-users] Passing values by using type 192-223 |
Date: |
Fri, 27 Apr 2012 08:53:09 +0800 |
Hi there,
I'm just wondering can I pass values from Radius server to the
openvpn radius plugin by using type values 192-223 which are defined
in RFC2865 as reserved for experimental use?
What I'm trying to do is define the AVPs like this on the radius server:
ATTRIBUTE myattr200 200 integer
ATTRIBUTE myattr201 201 integer
and when the server offers the Access Accept message, I can see
those two AVPs are carried in the message body (by using tcpdump).
What I don't know is how to pass those values to the on-connect
script. I tried to invoke the vsascript.pl but I don't know why, those
self-defined attributes never show up in the log:
---------------VSAScript----------------------
Action: Client connect
Reykeying: No
Username: test
Commonname: test
Callingstationid: 20.20.20.20
Untrustedport: 51030
FramedIP: 172.30.30.6
---------------VSAScript----------------------
Fri Apr 27 07:48:18 2012 RADIUS-PLUGIN:FIFO already exist.VSAScript: buflen: 106
VSAScript: Attribute Number : 101
VSAScript: Attribute Length : 12
VSAScript: Attribute Value : test
VSAScript: Attribute Number : 102
VSAScript: Attribute Length : 12
VSAScript: Attribute Value : test
VSAScript: Attribute Number : 103
VSAScript: Attribute Length : 12
VSAScript: Attribute Value : 172.30.30.6
VSAScript: Attribute Number : 104
VSAScript: Attribute Length : 13
VSAScript: Attribute Value : 20.20.20.20
VSAScript: Attribute Number : 105
VSAScript: Attribute Length : 5
VSAScript: Attribute Value : 51044
---------------VSAScript----------------------
When I look at the $buflen length which is 106, I can tell there's
something left behind definitely. According to the vsascript.pl at
least I shall get a message "VSAScript: Undefined Attribute Value
......", but when I look into the log file, there is none.
Can anyone give me a hand or hint on this ?
Thanks.
Best Regards
Frank
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Radiusplugin-users] Passing values by using type 192-223,
Frank Ho <=