Hi all, I need to store packets with "Acct-Status-Type := Stop" only in db 'radacct', rest of the packets needs to be ignored. How to proceed. Plz give suggestion. Note: am using freeradius1.1.6 version. Regards, Ramesh.
I need to store packets with "Acct-Status-Type := Stop" only in db 'radacct', rest of the packets needs to be ignored. How to proceed. Plz give suggestion.
Note: am using freeradius1.1.6 version.
In sql.conf leave only accounting_stop_query_alt and comment out the others. You are aware that this will disable Simultaneous-Use? Ivan Kalik Kalik Informatika ISP
You are aware that this will disable Simultaneous-Use? could you explain me more.
At present am using Accounting_stop query and Accounting_stop_alt query for storing stop packets. My routers will be sending packets types of Acct-Status0Type = Start, Stop, Checkpoint, Accounting-On, Accounting-Off, Tunnel-Start, Tunnel-Stop, Tunnel-Reject, Tunnel-Link-Start, Tunnel-Link-Stop, Tunnel-Link-Reject, Failed. However i need to store only the category of "Acct-Status-Type == Stop" packets. Regards, Ramesh.
I need to store packets with "Acct-Status-Type := Stop" only in db 'radacct', rest of the packets needs to be ignored. How to proceed. Plz give >suggestion.>>Note: am using freeradius1.1.6 version.> In sql.conf leave only accounting_stop_query_alt and comment out the others. You are aware that this will disable Simultaneous-Use?
Ivan KalikKalik Informatika ISP- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html On Tue, Feb 3, 2009 at 5:17 PM, ramesh p <rock786143@gmail.com> wrote:
Hi all,
I need to store packets with "Acct-Status-Type := Stop" only in db 'radacct', rest of the packets needs to be ignored. How to proceed. Plz give suggestion.
Note: am using freeradius1.1.6 version.
Regards, Ramesh.
You are aware that this will disable Simultaneous-Use? could you explain me more.
If you don't record Start packets you won't be able to detect double (or multiple) logins by the same user. Potentially, one user can pay you and reveal his user/pass to everybody and all of them will be able to connect to your network as they please. If Simultaneous-Use is working only one at the time can connect - they can still share user details but they won't be able to connect in the same time.
My routers will be sending packets types of Acct-Status0Type = Start, Stop, Checkpoint, Accounting-On, Accounting-Off, Tunnel-Start, Tunnel-Stop, Tunnel-Reject, Tunnel-Link-Start, Tunnel-Link-Stop, Tunnel-Link-Reject, Failed.
There should be Interim-Update on that list as well. Freeradius processes Start, Stop, Update, On and Off by default.
However i need to store only the category of "Acct-Status-Type == Stop" packets.
You have done that already:
At present am using Accounting_stop query and Accounting_stop_alt query for storing stop packets.
Ivan Kalik Kalik Informatika ISP
whats the difference between Accounting stop and AcctStatusType=stop? Accounting stop and AcctStatusType=tunnel-stop.... I need only stop packets. I'm not going to store accounting start packets. If i send accounting stop packets and AcctStatusType=tunnel-stop am receiving it as AcctStatusType=Stop only. why? any reason? my questions are: 1. I need to store/log only Accounting stop packets with AcctStatusType = Stop. If i get a packet of AcctStatusType="Start,Checkpoint,Accounting-On,Accounting-Off,Tunnel-Start,Tunnel-Stop,Tunnel-Reject,Tunnel-Link-Start, Tunnel-Link-Stop, Tunnel-Link-Reject, Failed" need to ignore them and not to be stored in db. for this i commented out all the queries(start,update,on,off) except accounting_stop_query and accounting_stop_query_alt. Will this satisfies my requirement? Plz help me. On Tue, Feb 3, 2009 at 9:29 PM, <tnt@kalik.net> wrote:
You are aware that this will disable Simultaneous-Use? could you explain me more.
If you don't record Start packets you won't be able to detect double (or multiple) logins by the same user. Potentially, one user can pay you and reveal his user/pass to everybody and all of them will be able to connect to your network as they please. If Simultaneous-Use is working only one at the time can connect - they can still share user details but they won't be able to connect in the same time.
My routers will be sending packets types of Acct-Status0Type = Start, Stop, Checkpoint, Accounting-On, Accounting-Off, Tunnel-Start, Tunnel-Stop, Tunnel-Reject, Tunnel-Link-Start, Tunnel-Link-Stop, Tunnel-Link-Reject, Failed.
There should be Interim-Update on that list as well. Freeradius processes Start, Stop, Update, On and Off by default.
However i need to store only the category of "Acct-Status-Type == Stop" packets.
You have done that already:
At present am using Accounting_stop query and Accounting_stop_alt query for storing stop packets.
Ivan Kalik Kalik Informatika ISP
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
whats the difference between Accounting stop and AcctStatusType=stop?
It's the same thing.
Accounting stop and AcctStatusType=tunnel-stop....
Big. One is for accounting user sessions and the other for tunnel (which carries user sessions) sessions.
If i send accounting stop packets and AcctStatusType=tunnel-stop am receiving it as AcctStatusType=Stop only. why? any reason?
You NAS dictionaries are broken. Stop is coded as 2, while Tunnel-Stop is coded as 10. Freeradius will decode attribute correctly. Your NAS is encoding it wrongly. It's not sending Tunnel-Stop, but Stop instead. Ivan Kalik Kalik Informatika ISP
Thanks alot. On Tue, Feb 3, 2009 at 9:29 PM, <tnt@kalik.net> wrote:
You are aware that this will disable Simultaneous-Use? could you explain me more.
If you don't record Start packets you won't be able to detect double (or multiple) logins by the same user. Potentially, one user can pay you and reveal his user/pass to everybody and all of them will be able to connect to your network as they please. If Simultaneous-Use is working only one at the time can connect - they can still share user details but they won't be able to connect in the same time.
My routers will be sending packets types of Acct-Status0Type = Start, Stop, Checkpoint, Accounting-On, Accounting-Off, Tunnel-Start, Tunnel-Stop, Tunnel-Reject, Tunnel-Link-Start, Tunnel-Link-Stop, Tunnel-Link-Reject, Failed.
There should be Interim-Update on that list as well. Freeradius processes Start, Stop, Update, On and Off by default.
However i need to store only the category of "Acct-Status-Type == Stop" packets.
You have done that already:
At present am using Accounting_stop query and Accounting_stop_alt query for storing stop packets.
Ivan Kalik Kalik Informatika ISP
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
participants (2)
-
ramesh p -
tnt@kalik.net