FreeRADIUS - no service!

Alan Buxey A.L.M.Buxey at lboro.ac.uk
Wed Dec 15 13:21:38 CET 2010


Hi,
> Alan, please, clarify some things:
> 
> 1) >in the accounting {} sectin of your server, instead of just calling SQL,
> >wrapper it:
> 
>   >     if (Acct-Session-Time != 0) {
>    >            sql
>     >   }
>      >  else {
>       >         ok
>        >}
> 
> Where can I put this wrapper, sql.conf or in some source file and
> after that the server must be recompiled ?

read what I wrote again - pay particular attention to the bit straight 
after the 1) part    place it in the accounting {} section where SQL is called
in your virtual server

> 2) > tcmdpump of your DB connection, and in the other, run radiusd -X
> 
> So I need to run two terminal windows with these command running on it
> during the problem? Tcpdump... you mean tcpdump traffic with a source
> of RADIUS and a destionaton of Oracle DB ?

yes and yes

> 3)  >you are sending a packet with same details - constraint violation.
> What do you mean?

databases, particularly relational ones, have unique keys in each index entry
so that they can be linked/searched/operated on. if you try inserting a new entry
with the same key as an existing entry, then its doomed to failure.

> p.s. Yes, you are right RADIUS client is Cisco PDSN.

yes, we have cisco kit and it spews out such packets too

alan



More information about the Freeradius-Users mailing list