DHCP: ARP issue, FR2.x vs FR 3.x

Alan DeKok aland at deployingradius.com
Fri Jan 13 14:48:45 CET 2012


Fajar A. Nugraha wrote:
> First, there's a build error caused by commit 6021a5e. "Fixing" it is
> simple enough.

  I've pushed a fix, which also fixes the other error.

> The "WARNING: Server dhcp is empty, and will do nothing!" is
> particulary suspicious.

  It's just that there are no *modules* in the server.  Just "unlang".

>  And gdb doesn't reveal much either
> 
> Program received signal SIGSEGV, Segmentation fault.
> 0xf7cb3db1 in ?? () from /lib/i386-linux-gnu/libc.so.6
> (gdb) bt
> #0  0xf7cb3db1 in ?? () from /lib/i386-linux-gnu/libc.so.6
> #1  0xf7cb3a95 in strdup () from /lib/i386-linux-gnu/libc.so.6

  Arg.  "interface" isn't set.  I've fixed that.

> Retried with previous dhcp config (the one I used eariler) still
> display that warning (although this one doesn't segfault), so
> something is probably broken in config parsing code (thus "Server dhcp
> is empty"), and something else related to src_interface (since the
> debug output seems to stop just before that, and the old config which
> doesn't use src_interface loads without segfault).
> 
> ... or it could simply be that my build "fix" is completely incorrect :)

  No.

  Alan DeKok.



More information about the Freeradius-Devel mailing list