Radclient , -c flag = radclient.c:492: failed assertion `radclient->reply == NULL'
Hi, Radclient works fine with almost every except when you use the -c flag to specify that multiple copies of the same packet are sent. --- ./radclient -c 10 -x -f user radius1.susx.ac.uk auth xxxxxxx Sending Access-Request of id 205 to 139.184.14.180 port 1812 User-Name = "ac221" User-Password = "xxxx" rad_recv: Access-Accept packet from host 139.184.14.180 port 1812, id=205, length=20 radclient.c:492: failed assertion `radclient->reply == NULL' Was looking forward to doing some crude benchmarking :( Apart from that all seems well and good. Haven't noticed radiusd dieing at random intervals or any other weirdness. Back ticks work for sql xlat like you said, and there is indeed a reference in the attributes documentation. :) Just acquired a copy of THE C PROGRAMMING LANGUAGE Second edition, which I am assured is the best book for learning C. So you might actually see bug fixes some time soon instead of just bug reports ;) -- Arran Cudbard-Bell (ac221@sussex.ac.uk) Authentication Authorisation & Accounting Officer Infrastructure Services | ENG1 FF08 EXT:3900
Arran Cudbard-Bell wrote:
Radclient works fine with almost every except when you use the -c flag to specify that multiple copies of the same packet are sent.
I have a fix I'll be committing tomorrow.
Was looking forward to doing some crude benchmarking :(
Last week it was slower than 1.x. It's now about 20% faster.
Apart from that all seems well and good. Haven't noticed radiusd dieing at random intervals or any other weirdness.
It still needs fixes to properly handle HUP. Other server software I've looked at doesn't really handle HUP. Apache has a master process that forks off child processes. On HUP, all the children exit, and the master forks off new children. In RADIUS, we have state we have to maintain, (request/response packets). So the Apache approach won't work. This makes any solution much more difficult. Alan DeKok. -- http://deployingradius.com - The web site of the book http://deployingradius.com/blog/ - The blog
participants (2)
-
Alan DeKok -
Arran Cudbard-Bell