segv on proxying from cvs 9/25?
In listener.c listen_init() calls rl_init() rl_init loops mainconfig.list mainconfig.list is generally 0x0 at that point, since mainconfig.c:1045 looks like this ----------------------- if (listen_init(buffer, &listener) < 0) { exit(1); } if (!listener) { radlog(L_ERR|L_CONS, "Server is not configured to listen on any ports. Exiting."); exit(1); } listen_free(&mainconfig.listen); mainconfig.listen = listener; ----------------------- later...... proxy.c:536 request->proxy_listener->send segv
Joe Maimon <jmaimon@ttec.com> wrote:
In listener.c listen_init() calls rl_init()
rl_init loops mainconfig.list
mainconfig.list is generally 0x0 at that point, since
Ok. We need a separate "rl_proxy_init" function, which can hold that code from rl_init. I'm in the process of revisiting the request list stuff, and should have something this week. Alan DeKok.
Alan DeKok wrote:
Joe Maimon <jmaimon@ttec.com> wrote:
In listener.c listen_init() calls rl_init()
rl_init loops mainconfig.list
mainconfig.list is generally 0x0 at that point, since
Ok. We need a separate "rl_proxy_init" function, which can hold that code from rl_init.
I'm in the process of revisiting the request list stuff, and should have something this week.
Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/devel.html
I guess I can run like I am working it around now, surrounding the call to rl_init() with a temporary assignment to mainconfig.listen Thanks, Joe
participants (2)
-
Alan DeKok -
Joe Maimon