Thank you for your answers. I've solved my problem, but now i have another one. Does anybody know, can freeradius server recieve CoA requests (using port 3799 or 1700) according to the rfc 3576? And how can i configure it if it does?
M K wrote:http://www.cisco.com/en/US/docs/ios/12_2sb/isg/coa/guide/isgcaapb.html#wp1009738
Hello all!
I have freeradius 2.1.3 installed on my FreeBSD 7.1 OS. And i have cisco 7201 with ISG module. When i try to send CoA (Change of authorization) account-logon request like this
/bin/echo "User-Name='cisco',User-Password='cisco',cisco-avpair='subscriber:command=account-logon',Cisco-Account-Info='S172.16.xx.xx'" | /usr/local/bin/radclient -x 172.16.yy.yy coa secret
The following example is a typical Service Active profile:
Service = Framed
Cisco: Account-Info = "S12.1.1.2
Cisco: Service-Info = "Ncoa_service"
Cisco: Command-Code = "0bservice_coa"
where 0b is symbol with 0xb code.
i.e.
#define IP "192.168.10.50"
int c = 0xb;
printf("Cisco-Command-Code = '%cP1024x512_SERVICE'\n",c);
printf("Cisco-Account-Info = S%s\n", ip);
--
With best regards, Evgeniy Kozhuhovskiy
Leader, Services team
Minsk State Phone Network, RUE Beltelecom.