On Fri, Sep 03, 2004 at 08:54:42AM -0500, Dave Weis wrote:
> 
> On Fri, 3 Sep 2004, Kostas Zorbadelos wrote:
> >OK, it seems bugs.freeradius.org is experiencing problems.
> >I submit the bug here with the corresponding debugging outputs. When
> >the problems are restored, I will submit it in bugs also...
> >Short Description:
> >Freeradius crashes upon oracle errors in accounting queries
> >Way to reproduce:
> >Run radiusd -X and from a shell
> >for ((i=0;$i<30; i=$i+1)); do radclient -d ~/freeradius/BUILD/etc/raddb/ 
> >-f testacct localhost acct testing123; sleep 2; done
> >testacct file:
> >User-Name = kzorbatest
> >Acct-Session-Id = 123456789009876543211234567890ABCDEFGHI
> >NAS-IP-Address = 62.103.3.155
> >Acct-Status-Type = Start
> >(very big Acct-Session-Id will cause oracle error (ORA-01401: inserted
> >value too large for column)
> 
> That is because the session ID column is declared as a 32 character 
> varchar. You are putting 39 characters into it. If the spec defines a 
> maximum length of 32 characters, then you have too long of a session ID, 
> or the column isn't large enough.
> 
> dave
>

Yes, I know. I caused the oracle error on purpose to cause the crash.

Kostas
 
> -- 
> Dave Weis
> [EMAIL PROTECTED]
> http://www.internetsolver.com/
> 
> 
> - 
> List info/subscribe/unsubscribe? See 
> http://www.freeradius.org/list/users.html
> 

-- 
  Kostas Zorbadelos
  Systems Developer, Otenet SA 
  mailto: [EMAIL PROTECTED]
  
  Out there in the darkness, out there in the night
  out there in the starlight, one soul burns brighter
  than a thousand suns.


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

Reply via email to