Coa and Disconnect Message

2005-08-05 Thread gennaro amelio
You are right, i ' m agree with you.
Thanks a lot, Alan.
Gennaro
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: Coa and Disconnect Message

2005-08-05 Thread Alan DeKok
gennaro amelio <[EMAIL PROTECTED]> wrote:
> To use sqlcounter & disconnect is probably more flexible because a prepaid
> user can buy more time and so the session 's length can dinamically change.
> What do you think?

  Sure, but that's not using disconnect.  That's Change of
Authorization.  And if the user buys more time, all you really need is
a RADIUS client to send a CoA packet to the NAS.  The RADIUS server
doesn't really have to be involved.

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


Coa and Disconnect Message

2005-08-04 Thread gennaro amelio
>I have *no* idea why you would want both sqlcounter & disconnect
>messages.

To use sqlcounter & disconnect is probably more flexible because a prepaid user can buy more time and so the session 's length can dinamically change. What do you think?
Thanks in advance
Gennaro


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

Re: Coa and Disconnect Message

2005-08-04 Thread Alan DeKok
gennaro amelio <[EMAIL PROTECTED]> wrote:
> So Alan, FreeRadius can' t send Disconnect Message?

  No.  99% of the time disconnect messages are useless, and the wrong
thing to do.

> Then i think that the better solution is use rlm_sqlcounter and an external
> apllication that control the session time and send Disconnect message.
> You are agree with me?

  No.

  If you use sqlcounter, the module will control session time, and the
NAS will automatically disconnect the user.

  The ONLY purpose for the disconnect message packets is to fix a
mistake.  i.e.  You accidentally gave someone unlimited service,
they've been on for 2 weeks, and you want to disconnect them.

  For normal operations, the Session-Timeout attribute is all you
need.

  I have *no* idea why you would want both sqlcounter & disconnect
messages.

  Alan DeKok.

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


Coa and Disconnect Message

2005-08-04 Thread gennaro amelio
So Alan, FreeRadius can' t send Disconnect Message?
Then i think that the better solution is use rlm_sqlcounter and an
external apllication that control the session time and send Disconnect
message.
You are agree with me?
Thanks
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: Coa and Disconnect Message

2005-08-03 Thread Alan DeKok
gennaro amelio <[EMAIL PROTECTED]> wrote:
> Can i use Freeradius to do a prepaid-billing system??

  Yes.

> Freeradius supports CoA and Disconnect Mesage?

  radclient can send those packets, but FreeRADIUS doesn't listen for
them.

  Alan DeKok.

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


Coa and Disconnect Message

2005-08-03 Thread gennaro amelio
hi all,
i' am an italian student and i' m a newbie with freeradius.
So sorry if i ask stupid things...
Can i use Freeradius to do a prepaid-billing system??
Freeradius supports CoA and Disconnect Mesage?
Thanks

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