[rbak-nsp] clear subscriber via radius client application
Daniel Derksen
dderksen at redback.com
Mon Sep 29 12:03:17 EDT 2008
Marcin,
both options are available. You can send a disconnect
via Radius CoA just like you do on the mikrotik, or you
can send the new attributes (.e.g http forwarding policy)
via CoA. In latter case the session is not disconnected.
To accept CoA messages, pls enable the server as CoA server:
radius coa server <IP> encrypted-key <KEY> port <UDP-PORT>
If it doesn't work, feel free to unicast me the output of
debug aaa rad-packet
debug aaa rad-coa
debug aaa rad-attr
Cheers,
-Daniel
> -----Original Message-----
> From: redback-nsp-bounces at puck.nether.net
> [mailto:redback-nsp-bounces at puck.nether.net] On Behalf Of
> Marcin Kuczera
> Sent: Monday, September 29, 2008 5:43 PM
> To: redback-nsp at puck.nether.net
> Subject: [rbak-nsp] clear subscriber via radius client application
>
> hello,
>
> using MikroTik as PPPoE concentrator, it is possible to clear session
> remotely using this syntax:
>
> echo "User-Name='.$login.'" | /usr/local/bin/radclient -r 2
> $nasipaddress:1700 disconnect
>
>
> well, I tried that with redBack, but it's not responding.
>
> Is there a method to activate this function ?
> Or any other remote method other than expect/perl scripting ?
>
> What I want to do is to provide such functionality:
> 1. system is informed that subsriber didn't pay
> 2. radius receives an update, to modify subsribers profile to
> unpaid or
> unpaid warning.
> 3. immediate session clear, after reconnection subscriber gets http
> redirect.
> 4. once paid, the system will automatically change
> profile/clear session.
> 4a. for unpaid warning, subscriber click's "unblock" and change/clear
> action is done immediatelly.
>
> Or maybe it is possible to reload subscriber profile without clear ?
>
> Regards,
> Marcin
>
> _______________________________________________
> redback-nsp mailing list
> redback-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/redback-nsp
>
More information about the redback-nsp
mailing list