From: Alan T. DeKok Date: Thu, 21 May 2026 14:14:26 +0000 (-0500) Subject: add warning for WITH_VERIFY_PTR X-Git-Tag: release_3_2_9~23 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df330a6867b;p=thirdparty%2Ffreeradius-server.git add warning for WITH_VERIFY_PTR so that people know that it kills performance if used in production networks --- diff --git a/src/main/version.c b/src/main/version.c index 172f5d7c8b7..1bdb562349d 100644 --- a/src/main/version.c +++ b/src/main/version.c @@ -637,8 +637,24 @@ void version_print(void) #endif DEBUG2(" "); } + +#ifdef WITH_VERIFY_PTR + WARN(" "); + WARN("#######################################################################"); + WARN("# "); + WARN("# The server was built with the 'WITH_VERIFY_PTR' flag set. This is a"); + WARN("# developer-only build option that DRASTICALLY slows down the server."); + WARN("# If you are using the server in a production environment, you will see"); + WARN("# significantly improved performance (3x-4x) by re-running 'configure'"); + WARN("# with the flag '--disable-developer', and then re-building and"); + WARN("# re-installing the server."); + WARN("# "); + WARN("#######################################################################"); + WARN(" "); +#endif + INFO("FreeRADIUS Version " RADIUSD_VERSION_STRING); - INFO("Copyright (C) 1999-2025 The FreeRADIUS server project and contributors"); + INFO("Copyright (C) 1999-2026 The FreeRADIUS server project and contributors"); INFO("There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A"); INFO("PARTICULAR PURPOSE"); INFO("You may redistribute copies of FreeRADIUS under the terms of the");