Pasting class source won't help. You need to ask specific question. I believe that nobody here doesn't have enough time to read 1000 lines just to answer you.

You can find all about POD in FreeRadius FAQ section. create shell script and call it when you need to disconnect someone.

On Fri, Aug 8, 2008 at 8:29 AM, Alexandre J. Correa - Onda Internet <alexandre@ondainternet.com.br> wrote:
Hello !!

Based on 'Pure PHP radius class' (http://developer.sysco.ch/php/) i´m trying to implement "disconnect-packet" like this command:

echo "User-Name := xxxxxx" | radclient -x 111.222.333.444 disconnect <secret>

freeradius recognizes that packet are "disconnect-request" but i think checksum of packet are incorrect, can someone look and try to discover the error ?!

attached class, my changes are commented with //AlexandrE

thanks !!!

--
Sds.

Alexandre Jeronimo Correa

Onda Internet - http://www.ondainternet.com.br
OPinguim Hosting - http://www.opinguim.net

Linux User ID #142329

UNOTEL S/A - http://www.unotel.com.br


.
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html