Re: Re: accounting_reply_query (corrected)
Why? Accounting-Response packets are empty.
by RFC - may be; i've not read it.
Which NAS other than your patched PPPd supports this? If the answer is "none", then the patch isn't useful to anyone other than you.
don't know about NAS. but, i saw some radiusd configs, which uses servers ability to send "Accounting-Response" packets using EXEC module. that's why i thought, that "Accounting-Response" can be sent to NASes. and my patch makes it easy. one of them: ... exec kicker { wait = yes program = "/usr/bin/kicker %{User-Name} %{Acct-Status-Type}" input_pairs = request output_pairs = reply packet_type = Accounting-Request } accounting { sql kicker } ...
Alexander S. Holodny wrote:
Why? Accounting-Response packets are empty.
by RFC - may be; i've not read it.
Yes, and no NAS will look at the contents of an Accounting-Response packet.
but, i saw some radiusd configs, which uses servers ability to send "Accounting-Response" packets using EXEC module. that's why i thought, that "Accounting-Response" can be sent to NASes. and my patch makes it easy.
No, the example you quoted runs a separate program that probably kicks the user offline. But it doesn't use the Accounting-Response to do that. It probably uses SNMP, or a Disconnect-Request. Alan DeKok. -- http://deployingradius.com - The web site of the book http://deployingradius.com/blog/ - The blog
participants (2)
-
Alan DeKok -
Alexander S. Holodny