Re: Possible FreeBSD Jail problem, or other bug in/with FreeRADIUS 2.0.0-pre2

2007-10-01 Thread Alan DeKok
Scott Lambert wrote: Is this something you are willing to add to the codebase or should the FreeBSD port track this patch, and the one for radclient.c? I've added it to CVS. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: Possible FreeBSD Jail problem, or other bug in/with FreeRADIUS 2.0.0-pre2

2007-09-24 Thread Alan DeKok
Scott Lambert wrote: Could the server do the bind calls for the listen sockets and check to see if the bound IP is the same as the one specified in the bind call and if not, update the server to use the bound IP rather than the configured IP at least in the case of listen { ipaddr = * }.

Re: Possible FreeBSD Jail problem, or other bug in/with FreeRADIUS 2.0.0-pre2

2007-09-24 Thread Scott Lambert
On Mon, Sep 24, 2007 at 03:57:36PM +0200, Alan DeKok wrote: Scott Lambert wrote: Could the server do the bind calls for the listen sockets and check to see if the bound IP is the same as the one specified in the bind call and if not, update the server to use the bound IP rather than the

Re: Possible FreeBSD Jail problem, or other bug in/with FreeRADIUS 2.0.0-pre2

2007-09-22 Thread Scott Lambert
On Sat, Sep 22, 2007 at 04:59:25AM +0200, Alan DeKok wrote: Scott Lambert wrote: I've been expecting that there would be a similar chunk of code in the server that I could go find if you thought I was on the right track. Unfortunately, there isn't. Okay, I'm not going crazy then...

Re: Possible FreeBSD Jail problem, or other bug in/with FreeRADIUS 2.0.0-pre2

2007-09-21 Thread Scott Lambert
I just wanted to ping the list just in case my last message had been caught in a spam filter or otherwise missed. I'm not trying to be pushy, just don't want to get into a situation where everyone is waiting on a response from everyone else. Just want to make sure I'm the only one waiting. :-)

Re: Possible FreeBSD Jail problem, or other bug in/with FreeRADIUS 2.0.0-pre2

2007-09-21 Thread Alan DeKok
Scott Lambert wrote: If I need to look deeper into the problem on my own, I will be happy to do so. If I have, once again, picked on a piece of the code that has no bearing in my issue, please don't be afraid to tell me I am being stupid. I don't think I have any issues doing that... ...

Re: Possible FreeBSD Jail problem, or other bug in/with FreeRADIUS 2.0.0-pre2

2007-09-21 Thread Scott Lambert
On Fri, Sep 21, 2007 at 05:02:43PM +0200, Alan DeKok wrote: Scott Lambert wrote: If I need to look deeper into the problem on my own, I will be happy to do so. If I have, once again, picked on a piece of the code that has no bearing in my issue, please don't be afraid to tell me I am being

Re: Possible FreeBSD Jail problem, or other bug in/with FreeRADIUS 2.0.0-pre2

2007-09-21 Thread Alan DeKok
Scott Lambert wrote: I've been expecting that there would be a similar chunk of code in the server that I could go find if you thought I was on the right track. Unfortunately, there isn't. I would not expect that code in radclient.c could fix radiusd. I've been wrong before. It won't.

Re: Possible FreeBSD Jail problem, or other bug in/with FreeRADIUS 2.0.0-pre2

2007-09-18 Thread Alan DeKok
Scott Lambert wrote: lrad_packet_list_socket_add() is called with a pointer to the radius request packet list structure and the socket file descriptor of the socket which has been created with the call to socket() and bound to an IP and port by bind() during the prior call to lrad_socket().

Re: Possible FreeBSD Jail problem, or other bug in/with FreeRADIUS 2.0.0-pre2

2007-09-18 Thread Scott Lambert
On Tue, Sep 18, 2007 at 09:54:33AM +0200, Alan DeKok wrote: Scott Lambert wrote: lrad_packet_list_socket_add() is called with a pointer to the radius request packet list structure and the socket file descriptor of the socket which has been created with the call to socket() and bound to an

Re: Possible FreeBSD Jail problem, or other bug in/with FreeRADIUS 2.0.0-pre2

2007-09-16 Thread Alan DeKok
Scott Lambert wrote: I've added some debug prints to lrad_packet_list_socket_add and changed up the printfs in lrad_packet_list_find_byreply. I don't know that they will help. But, just in case The problem is this: In jailed client: radclient: main:

Re: Possible FreeBSD Jail problem, or other bug in/with FreeRADIUS 2.0.0-pre2

2007-09-14 Thread Scott Lambert
On Thu, Sep 13, 2007 at 07:37:14AM +0200, Alan DeKok wrote: Scott Lambert wrote: I've been instrumenting the heck out of anything I thought might be useful. My coding skills are very rusty, but here's what I've come up with. src/lib/packet.c:lrad_packet_cmp() likes the response

Re: Possible FreeBSD Jail problem, or other bug in/with FreeRADIUS 2.0.0-pre2

2007-09-12 Thread Scott Lambert
On Mon, Sep 03, 2007 at 10:52:27AM +0200, Alan DeKok wrote: Scott Lambert wrote: I decided to simplify and try just using radclient from the new server and leaving the FreeRADIUS daemon out of it. That also gets replies but radclient throws them out because it doesn't think it sent the

Re: Possible FreeBSD Jail problem, or other bug in/with FreeRADIUS 2.0.0-pre2

2007-09-12 Thread Alan DeKok
Scott Lambert wrote: I've been instrumenting the heck out of anything I thought might be useful. My coding skills are very rusty, but here's what I've come up with. src/lib/packet.c:lrad_packet_cmp() likes the response packet. src/lib/packet.c:lrad_packet_find_by_reply() seems to be

Re: Possible FreeBSD Jail problem, or other bug in/with FreeRADIUS 2.0.0-pre2

2007-09-03 Thread Alan DeKok
Scott Lambert wrote: I decided to simplify and try just using radclient from the new server and leaving the FreeRADIUS daemon out of it. That also gets replies but radclient throws them out because it doesn't think it sent the request. Ok. Both the server and radclient now use the same