Re: Accounting Packets with zero session length
I got this message when I define Simultaneous-use=1 in Freeradius 0.8 and the user connect still connected and connect again in the same radius The radius allow him to connect twice how can I block the users to connect twice? Sorry for my english Frederico On Tue, 2003-07-15 at 08:35, Rob Hartzenberg wrote: > Hi again, > > > > > > > > > > Tue Jul 15 10:28:49 2003 : Error: rlm_sql: Stop packet with zero session > > > length. (user '[EMAIL PROTECTED]', nas '155.239.xx.xxx') > > > > > > > > > Any ideas on how to get around this? > > > > change > > #define CISCO_ACCOUNTING_HACK > > to > > #undef CISCO_ACCOUNTING_HACK > > > > in src/modules/rlm_sql/conf.h > > > > If you grep for it in rlm_sql.c you will see that this thing is > > responsible for dropping them. > > > > Oliver. > > The question that comes to mind now, is that surely this only occurs on the > actual logging of the packet to the sql db. > Will dropping this in rlm_sql affect the radutmp file at all? > > basically, I need to decide if this is what is causing the "stale" users > syndrome or not. > > -TIA > -Rob > > > > > - > List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html -- Frederico Terra Boechat [EMAIL PROTECTED] Administrador de Redes Mar Internet Provider www.mar.com.br - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: Accounting Packets with zero session length
Hi again, > > > > > > Tue Jul 15 10:28:49 2003 : Error: rlm_sql: Stop packet with zero session > > length. (user '[EMAIL PROTECTED]', nas '155.239.xx.xxx') > > > > > > Any ideas on how to get around this? > > change > #define CISCO_ACCOUNTING_HACK > to > #undef CISCO_ACCOUNTING_HACK > > in src/modules/rlm_sql/conf.h > > If you grep for it in rlm_sql.c you will see that this thing is > responsible for dropping them. > > Oliver. The question that comes to mind now, is that surely this only occurs on the actual logging of the packet to the sql db. Will dropping this in rlm_sql affect the radutmp file at all? basically, I need to decide if this is what is causing the "stale" users syndrome or not. -TIA -Rob - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: Accounting Packets with zero session length
On Tue, Jul 15, 2003 at 11:30:04AM +0200, Rob Hartzenberg wrote: > Hi List, > > I seem to be getting alot of accounting packets with zero session length. > The FreeRadius server seems to discard these instead of taking them into > account. > The problem here, is that it then appears as if the user has never logged > off. > > > Tue Jul 15 10:28:49 2003 : Error: rlm_sql: Stop packet with zero session > length. (user '[EMAIL PROTECTED]', nas '155.239.xx.xxx') > > > Any ideas on how to get around this? change #define CISCO_ACCOUNTING_HACK to #undef CISCO_ACCOUNTING_HACK in src/modules/rlm_sql/conf.h If you grep for it in rlm_sql.c you will see that this thing is responsible for dropping them. Oliver. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html