13-Nov-02 at 10:11, Simon White ([EMAIL PROTECTED]) wrote :
> I have FreeRADIUS working, with MySQL db and even have tested with a USR
> Netserver NAS and it works fine on default port 1812 (which I can set
> the NAS to authenticate to)... so I have got somewhere. However there
> are two issues I'd like feedback on, if anyone can help. 
> 
> 1) Core dumping on port 1645 with debugging on
> 
> -- First of all the version etc
> FreeRADIUS Version 0.7.1, for host i686-pc-linux-gnu
> gcc-2.96-81
> glibc-2.2.4-24
> kernel-2.4.18 hand rolled
> /usr/sbin/mysqld  Ver 3.23.49a
> 
> -- Now the lines in my config file that I think make a difference
> radiusd.conf
> port = 1645  # also tried port = 0 and changed /etc/services
> 
> Now if I start radiusd, it will state "Ready to serve requests" and then
> soon after (1-30 seconds) dump core with a segfault. I haven't tried
> this with all flags, etc, but with debugging (-xx) on, it dumps core
> unless I leave it on port 1812. This isn't handy for testing. I'm
> testing it now without debugging and I will get back to you.

More on this:

FREERadius has not stayed stable all day for me. It has
segfaulted/dumped core several times, sometimes while attempting to
authenticate to my test RAS, sometimes when just launched

Wed Nov 13 15:56:24 2002 : Info: Listening on IP address 194.204.200.53,
ports 1645/udp and 1646/udp.
Wed Nov 13 15:56:24 2002 : Info: Ready to process requests.
Wed Nov 13 15:56:25 2002 : Error: MASTER: exit on signal (11)
Wed Nov 13 15:57:27 2002 : Info: Listening on IP address 194.204.200.53,
ports 1645/udp and 1646/udp.

(no attempt to authenticate)

Wed Nov 13 15:57:27 2002 : Info: Ready to process requests.
Wed Nov 13 16:01:27 2002 : Error: MASTER: exit on signal (11)

(no parameters changed, attempt to auth)

Wed Nov 13 16:11:37 2002 : Info: Listening on IP address 194.204.200.53,
ports 1645/udp and 1646/udp.
Wed Nov 13 16:11:37 2002 : Info: Ready to process requests.
Wed Nov 13 16:11:38 2002 : Error: MASTER: exit on signal (11)

(and again)

At other times it has worked, it will account properly and mysql works
fine. I can't get it to stay stable in debug (-xx or -X) mode so I can't
tell if something is causing this. What is wrong? Sometimes it will work
fine and authenticate me a few times...

> 2) Accounting not working
> 
> I'm still not sure on this, since I haven't quite got around to full
> testing - my NAS doesn't have an option to set the port for accounting
> so I assumed (perhaps incorrectly) that it uses authport+1 as FreeRADIUS
> does. However with many tests on port 1812 I didn't seem to get any
> accounting, I haven't figured out yet if the packets that came from the
> NAS were on the right port (I am still working on this) but to help me
> speed things up right now I'd appreciate if anyone has a script handy
> that can generate accounting packets for me.

Out of interest... this does work now, but only with port 1646...

-- 
|-Simon White, Internet Services Manager, Certified Check Point CCSA.
|-MTDS  Internet, Security, Anti-Virus, Linux and Hosting Solutions.
|-MTDS  14, rue du 16 novembre, Agdal, Rabat, Morocco.
|-MTDS  tel +212.3.767.4861 - fax +212.3.767.4863

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

Reply via email to