Migrating DHCP configuration from v3 to v4

Alan DeKok aland at deployingradius.com
Fri Jun 30 14:20:46 UTC 2023


On Jun 29, 2023, at 2:34 PM, Ľudovít Mikula <ludovit.mikula at mikori.sk> wrote:
> 
> Ok, I think I've got it working now, however I had to comment the message  { } section completely otherwise I was getting this crash no matter whether a variable was used in the message or not):
> 
> freeradius  | Thu Jun 29 18:24:41 2023: Debug : (0)      dhcp_sqlippool - Allocated IP 10.56.18.1
> freeradius  | Thu Jun 29 18:24:41 2023: Debug : (0)      dhcp_sqlippool - Released connection (0)
> freeradius  | FATAL ASSERT src/lib/util/pair.c[2975]: false: CONSISTENCY CHECK FAILED src/lib/util/pair.c[2580]: fr_pair_t "Module-Success-Message" char buffer is not parented by fr_pair_t 0x5639b88c1aa0, instead parented by 0x5639b88a9640 (request_t)
> freeradius  | CAUGHT SIGNAL: Aborted
> freeradius  | /opt/freeradius/lib/libfreeradius-util.so(_fr_exit+0x0)[0x7fd5e3402241]
> freeradius  | /opt/freeradius/lib/libfreeradius-util.so(fr_pair_verify+0x5ca)[0x7fd5e344ec85]

  A test case and/or debugging symbols (with function names and line numbers) would help.

> freeradius  | /opt/freeradius/lib/libfreeradius-util.so(fr_pair_value_bstrdup_buffer_shallow+0xcb)[0x7fd5e344dcc4]
> freeradius  | /opt/freeradius/lib/rlm_sqlippool.so(+0x33e3)[0x7fd5e0dcb3e3]
> freeradius  | /opt/freeradius/lib/rlm_sqlippool.so(+0x3f72)[0x7fd5e0dcbf72]

  TBH, the sqlippool module isn't well tested in v4.  We've more to the Redis-based IP pool module for most uses.

  Alan DeKok.



More information about the Freeradius-Users mailing list