Version 2.1.4 has been released
This version comes 3 months after 2.1.3, which is a bit more of a delay than we would like. However, it includes a number of minor bug fixes, and some interesting new features. The best new feature is one that has been needed for a long time. The (easy) ability to see debugging output from a "live" server. You can now do this via the "raddebug" command. FreeRADIUS 2.1.4 Thu Dec 25 17:40:00 CEST 2008; , urgency=medium Feature improvements * Permit multiple "-e" in radmin. * Add support for originating CoA-Request and Disconnect-Request. See raddb/sites-available/originate-coa. * Added "lifetime" and "max_queries" to raddb/sql.conf. This helps address the problem of hung SQL sockets. * Allow packets to be injected via radmin. See "inject help" in radmin. * Answer VMPS reconfirmation request. Patch from Hermann Lauer. * Sample logrotate script in scripts/logrotate.freeradius * Add configurable poll interval for "detail" listeners * New "raddebug" command. This prints debugging information from a running server. See "man raddebug. * Add "require_message_authenticator" configuration to home_server configuration. This makes the server add Message-Authenticator to all outgoing Access-Request packets. * Added smsotp module, as contributed by Siemens. * Enabled the administration socket in the default install. See raddb/sites-available/control-socket, and "man radmin" * Handle duplicate clients, such as with replicated or load-balanced SQL servers and "readclients = yes" Bug fixes * Clean up control sockets when they are closed, so that we don't leak memory. * Define SUN_LEN for systems that don't have it. * Correct some boundary conditions in the conditional checker ("if") in "unlang". Bug noted by Arran Cudbard-Bell. * Work around minor building issues in gmake. This should only have affected developers. * Change how we manage unprivileged user/group, so that we do not create control sockets owned by root. * Fixed more minor issues found by Coverity. * Allow raddb/certs/bootstrap to run when there is no "make" command installed. * In radiusd.conf, run_dir depends on the name of the program, and isn't hard-coded to "..../radiusd" * Check for EOF in more places in the "detail" file reader. * Added Freeswitch dictionary. * Chop ethernet frames in VMPS, rather than droppping packets. * Fix EAP-TLS bug. Patch from Arnaud Ebalard * Don't lose string for regex-compares in the "users" file. * Expose more functions in rlm_sql to rlm_sqlippool, which helps on systems where RTLD_GLOBAL is off. * Fix typos in MySQL schemas for ippools. * Remove macro that was causing build issues on some platforms. * Fixed issues with dead home servers. Bug noted by Chris Moules. * Fixed "access after free" with some dynamic clients.
Am 10.03.2009 um 13:17 schrieb Alan DeKok:
This version comes 3 months after 2.1.3, which is a bit more of a delay than we would like. However, it includes a number of minor bug fixes, and some interesting new features.
The best new feature is one that has been needed for a long time. The (easy) ability to see debugging output from a "live" server. You can now do this via the "raddebug" command.
FreeRADIUS 2.1.4 Thu Dec 25 17:40:00 CEST 2008; , urgency=medium
Just a nitpick: the date above is probaly the one of 2.1.3 (around three months ago) and not the date of today.
[...] Have a nice day! Nicolas Goutte extragroup GmbH - Karlsruhe Waldstr. 49 76133 Karlsruhe Germany Geschäftsführer: Stephan Mönninghoff, Hans Martin Kern, Tilman Haerdle Registergericht: Amtsgericht Münster / HRB: 5624 Steuer Nr.: 337/5903/0421 / UstID: DE 204607841
Hi, I couldn't reach bug.freeradius.org, so I'm reporting this here. There is a typo in src/freeradius.devel/rad_assert.h: #elsif !defined(FR_SCAN_BUILD) should be #elif !defined(FR_SCAN_BUILD) HTH -John Alan DeKok wrote:
This version comes 3 months after 2.1.3, which is a bit more of a delay than we would like. However, it includes a number of minor bug fixes, and some interesting new features.
The best new feature is one that has been needed for a long time. The (easy) ability to see debugging output from a "live" server. You can now do this via the "raddebug" command.
FreeRADIUS 2.1.4 Thu Dec 25 17:40:00 CEST 2008; , urgency=medium Feature improvements * Permit multiple "-e" in radmin. * Add support for originating CoA-Request and Disconnect-Request. See raddb/sites-available/originate-coa. * Added "lifetime" and "max_queries" to raddb/sql.conf. This helps address the problem of hung SQL sockets. * Allow packets to be injected via radmin. See "inject help" in radmin. * Answer VMPS reconfirmation request. Patch from Hermann Lauer. * Sample logrotate script in scripts/logrotate.freeradius * Add configurable poll interval for "detail" listeners * New "raddebug" command. This prints debugging information from a running server. See "man raddebug. * Add "require_message_authenticator" configuration to home_server configuration. This makes the server add Message-Authenticator to all outgoing Access-Request packets. * Added smsotp module, as contributed by Siemens. * Enabled the administration socket in the default install. See raddb/sites-available/control-socket, and "man radmin" * Handle duplicate clients, such as with replicated or load-balanced SQL servers and "readclients = yes"
Bug fixes * Clean up control sockets when they are closed, so that we don't leak memory. * Define SUN_LEN for systems that don't have it. * Correct some boundary conditions in the conditional checker ("if") in "unlang". Bug noted by Arran Cudbard-Bell. * Work around minor building issues in gmake. This should only have affected developers. * Change how we manage unprivileged user/group, so that we do not create control sockets owned by root. * Fixed more minor issues found by Coverity. * Allow raddb/certs/bootstrap to run when there is no "make" command installed. * In radiusd.conf, run_dir depends on the name of the program, and isn't hard-coded to "..../radiusd" * Check for EOF in more places in the "detail" file reader. * Added Freeswitch dictionary. * Chop ethernet frames in VMPS, rather than droppping packets. * Fix EAP-TLS bug. Patch from Arnaud Ebalard * Don't lose string for regex-compares in the "users" file. * Expose more functions in rlm_sql to rlm_sqlippool, which helps on systems where RTLD_GLOBAL is off. * Fix typos in MySQL schemas for ippools. * Remove macro that was causing build issues on some platforms. * Fixed issues with dead home servers. Bug noted by Chris Moules. * Fixed "access after free" with some dynamic clients. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Am Dienstag, 10. März 2009 16:32:32 schrieb John Center:
Hi,
I couldn't reach bug.freeradius.org, so I'm reporting this here. There is a typo in src/freeradius.devel/rad_assert.h:
#elsif !defined(FR_SCAN_BUILD)
should be
#elif !defined(FR_SCAN_BUILD)
HTH
-John
Alan DeKok wrote:
This version comes 3 months after 2.1.3, which is a bit more of a delay than we would like. However, it includes a number of minor bug fixes, and some interesting new features.
The best new feature is one that has been needed for a long time. The (easy) ability to see debugging output from a "live" server. You can now do this via the "raddebug" command.
FreeRADIUS 2.1.4 Thu Dec 25 17:40:00 CEST 2008; , urgency=medium Feature improvements * Permit multiple "-e" in radmin. * Add support for originating CoA-Request and Disconnect-Request. See raddb/sites-available/originate-coa. * Added "lifetime" and "max_queries" to raddb/sql.conf. This helps address the problem of hung SQL sockets. * Allow packets to be injected via radmin. See "inject help" in radmin. * Answer VMPS reconfirmation request. Patch from Hermann Lauer. * Sample logrotate script in scripts/logrotate.freeradius * Add configurable poll interval for "detail" listeners * New "raddebug" command. This prints debugging information from a running server. See "man raddebug. * Add "require_message_authenticator" configuration to home_server configuration. This makes the server add Message-Authenticator to all outgoing Access-Request packets. * Added smsotp module, as contributed by Siemens. * Enabled the administration socket in the default install. See raddb/sites-available/control-socket, and "man radmin" * Handle duplicate clients, such as with replicated or load-balanced SQL servers and "readclients = yes"
Bug fixes * Clean up control sockets when they are closed, so that we don't leak memory. * Define SUN_LEN for systems that don't have it. * Correct some boundary conditions in the conditional checker ("if") in "unlang". Bug noted by Arran Cudbard-Bell. * Work around minor building issues in gmake. This should only have affected developers. * Change how we manage unprivileged user/group, so that we do not create control sockets owned by root. * Fixed more minor issues found by Coverity. * Allow raddb/certs/bootstrap to run when there is no "make" command installed. * In radiusd.conf, run_dir depends on the name of the program, and isn't hard-coded to "..../radiusd" * Check for EOF in more places in the "detail" file reader. * Added Freeswitch dictionary. * Chop ethernet frames in VMPS, rather than droppping packets. * Fix EAP-TLS bug. Patch from Arnaud Ebalard * Don't lose string for regex-compares in the "users" file. * Expose more functions in rlm_sql to rlm_sqlippool, which helps on systems where RTLD_GLOBAL is off. * Fix typos in MySQL schemas for ippools. * Remove macro that was causing build issues on some platforms. * Fixed issues with dead home servers. Bug noted by Chris Moules. * Fixed "access after free" with some dynamic clients. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
hi, I reported a bug in the create-users.pl create users script. Since bugs.freeradius.org was not reachable I reported the bug here in the list. But the solution is not included in the new version. Greetings, -- Dr. Michael Schwartzkopff MultiNET Services GmbH Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany Tel: +49 - 89 - 45 69 11 0 Fax: +49 - 89 - 45 69 11 21 mob: +49 - 174 - 343 28 75 mail: misch@multinet.de web: www.multinet.de Sitz der Gesellschaft: 85630 Grasbrunn Registergericht: Amtsgericht München HRB 114375 Geschäftsführer: Günter Jurgeneit, Hubert Martens --- PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B Skype: misch42
Michael Schwartzkopff wrote:
I reported a bug in the create-users.pl create users script. Since bugs.freeradius.org was not reachable I reported the bug here in the list.
But the solution is not included in the new version.
That fix is pending based on other changes to create-users.pl. Alan DeKok.
Alan DeKok wrote:
This version comes 3 months after 2.1.3, which is a bit more of a delay than we would like. However, it includes a number of minor bug fixes, and some interesting new features.
Thank you Alan and everyone else for the new release, your community efforts are very much appreciated. I noticed a couple of small problems in building the new release. There was an incorrect #elif in radassert.h which causes the compile to fail (it was a typo #elsif). The Makefile in etc/raddb contained a dangling reference otp.conf which is no longer present. I've included a patch for these two problems. I also noticed the patch for the the unixODBC type changes was not in the 2.1.4 release. I've attached this patch as well. -- John Dennis <jdennis@redhat.com> Looking to carve out IT costs? www.redhat.com/carveoutcosts/
John Dennis wrote:
I noticed a couple of small problems in building the new release. There was an incorrect #elif in radassert.h which causes the compile to fail (it was a typo #elsif). The Makefile in etc/raddb contained a dangling reference otp.conf which is no longer present. I've included a patch for these two problems.
Arg.
I also noticed the patch for the the unixODBC type changes was not in the 2.1.4 release. I've attached this patch as well.
I'll re-spin 2.1.4, unless there are objections. Alan DeKok.
Hi,
I'll re-spin 2.1.4, unless there are objections.
for reference, i did the old classic 'rm -rf src/modules/rlm_smsotp' and 'make install' then worked (it was the install part failing with that message, not the main make process). it built. it runs fine (after blowing away the old radiusd.sock file which was owned by root from previous version)..so far a few hundred accepts. alan
hi, thanks for the rad_assert pointers etc. still coming a cropper on another part of the build process: gmake[6]: Entering directory `/usr/src/freeradius-server-2.1.4/src/modules/rlm_smsotp' gmake[7]: Entering directory `/usr/src/freeradius-server-2.1.4/src/modules/rlm_smsotp' gmake[7]: *** No rule to make target `install-smsotp'. Stop. gmake[7]: Leaving directory `/usr/src/freeradius-server-2.1.4/src/modules/rlm_smsotp' suggest that some of us are called in (like cattle? ;-) ) when the release is about to go live so that we can do such quick testing. its a pain when a release has to be pulled rapidly due to certain small issues - like 2.1.2 was alan
A.L.M.Buxey@lboro.ac.uk wrote:
thanks for the rad_assert pointers etc. still coming a cropper on another part of the build process:
Arg. I don't usually build with experimental modules, so I didn't catch that.
suggest that some of us are called in (like cattle? ;-) ) when the release is about to go live so that we can do such quick testing. its a pain when a release has to be pulled rapidly due to certain small issues - like 2.1.2 was
I'm re-spinning 2.1.4. Sorry. It's about time we have a formal testing process. I have some hosted machines with spare cycles. I'll install CruiseControl... Alan DeKok.
Alan DeKok wrote:
It's about time we have a formal testing process. I have some hosted machines with spare cycles.
I'll install CruiseControl...
Nope. After a quick review of "continuous integration" systems: - few integrate with git - most integrate with other build systems (Ant, etc.), and not "make" - most require enormous amounts of additional packages - or language-specific packages (ruby, python) - that then have build errors... - the online versions are very slow - the documentation is horrible - it can do X! We do X! - How can *I* do X? It's not documented... anywhere - it integrates with git! - where? What do I edit? - Errr... that's not documented anywhere - including the sample configuration files I think it's easier just to write a few shell scripts && a cron job, to do daily builds. Alan DeKok.
Alan DeKok wrote:
Alan DeKok wrote:
It's about time we have a formal testing process. I have some hosted machines with spare cycles.
I'll install CruiseControl...
Nope.
After a quick review of "continuous integration" systems:
.....
I think it's easier just to write a few shell scripts && a cron job, to do daily builds.
Suggest the following (similar to what samba does). When you are ready to release, you simply "snapshot" a rc1. (downloadable source.tar.gz), with suitable "not for production" warnings. Everyone then tries to install it on their production server immediately (because they LOVE the new features). You then get some very good testing for a week. If their are no complaints you release a production version. Cheers, -- Johan Meiring Cape PC Services CC Tel: (021) 883-8271 Fax: (021) 886-7782
Dear Alan You might consider to take a look on the mysql module on freeradius 2.1.4. I have tried with Debian Lenny + mysql , error: mysql module not found. Same machine with 2.1.3, no such issue. Thanks ----- Original Message ---- From: Johan Meiring <jmeiring@pcservices.co.za> To: FreeRadius users mailing list <freeradius-users@lists.freeradius.org> Cc: A.L.M.Buxey@lboro.ac.uk Sent: Thursday, March 12, 2009 2:58:28 PM Subject: Re: Version 2.1.4 has been released Alan DeKok wrote:
Alan DeKok wrote:
It's about time we have a formal testing process. I have some hosted machines with spare cycles.
I'll install CruiseControl...
Nope.
After a quick review of "continuous integration" systems:
.....
I think it's easier just to write a few shell scripts && a cron job, to do daily builds.
Suggest the following (similar to what samba does). When you are ready to release, you simply "snapshot" a rc1. (downloadable source.tar.gz), with suitable "not for production" warnings. Everyone then tries to install it on their production server immediately (because they LOVE the new features). You then get some very good testing for a week. If their are no complaints you release a production version. Cheers, -- Johan Meiring Cape PC Services CC Tel: (021) 883-8271 Fax: (021) 886-7782 - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
piston wrote:
You might consider to take a look on the mysql module on freeradius 2.1.4.
I have tried with Debian Lenny + mysql , error: mysql module not found. Same machine with 2.1.3, no such issue.
Is it so difficult to provide more information? Like... configure logs, build logs, etc. Saying "it doesn't work" is nearly a complete waste of time. Alan DeKok.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 A.L.M.Buxey@lboro.ac.uk wrote:
hi,
thanks for the rad_assert pointers etc. still coming a cropper on another part of the build process:
gmake[6]: Entering directory `/usr/src/freeradius-server-2.1.4/src/modules/rlm_smsotp' gmake[7]: Entering directory `/usr/src/freeradius-server-2.1.4/src/modules/rlm_smsotp' gmake[7]: *** No rule to make target `install-smsotp'. Stop. gmake[7]: Leaving directory `/usr/src/freeradius-server-2.1.4/src/modules/rlm_smsotp'
suggest that some of us are called in (like cattle? ;-) ) when the release is about to go live so that we can do such quick testing. its a pain when a release has to be pulled rapidly due to certain small issues - like 2.1.2 was
Seconded. Just stick it up on dev a couple of days before it goes live. Were all running interesting enough configurations to give it a good run through. Arran - -- Arran Cudbard-Bell (A.Cudbard-Bell@sussex.ac.uk), Authentication, Authorisation and Accounting Officer, Infrastructure Services (IT Services), E1-1-08, Engineering 1, University Of Sussex, Brighton, BN1 9QT DDI+FAX: +44 1273 873900 | INT: 3900 GPG: 86FF A285 1AA1 EE40 D228 7C2E 71A9 25BB 1E68 54A2 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkm2ks0ACgkQcaklux5oVKJXsQCdHTNB+4HZONg2Ql41HjOvc1FE vy8AnjV0ccAU7D0ifgE6fen13kCv97rZ =6ABM -----END PGP SIGNATURE-----
Hi, Is CPPFLAGS used? I see it defined in Make.inc, but I don't see it actually used. I've been adding it to CFLAGS to make sure it gets included. Thanks. -John Alan DeKok wrote:
This version comes 3 months after 2.1.3, which is a bit more of a delay than we would like. However, it includes a number of minor bug fixes, and some interesting new features.
The best new feature is one that has been needed for a long time. The (easy) ability to see debugging output from a "live" server. You can now do this via the "raddebug" command.
FreeRADIUS 2.1.4 Thu Dec 25 17:40:00 CEST 2008; , urgency=medium Feature improvements * Permit multiple "-e" in radmin. * Add support for originating CoA-Request and Disconnect-Request. See raddb/sites-available/originate-coa. * Added "lifetime" and "max_queries" to raddb/sql.conf. This helps address the problem of hung SQL sockets. * Allow packets to be injected via radmin. See "inject help" in radmin. * Answer VMPS reconfirmation request. Patch from Hermann Lauer. * Sample logrotate script in scripts/logrotate.freeradius * Add configurable poll interval for "detail" listeners * New "raddebug" command. This prints debugging information from a running server. See "man raddebug. * Add "require_message_authenticator" configuration to home_server configuration. This makes the server add Message-Authenticator to all outgoing Access-Request packets. * Added smsotp module, as contributed by Siemens. * Enabled the administration socket in the default install. See raddb/sites-available/control-socket, and "man radmin" * Handle duplicate clients, such as with replicated or load-balanced SQL servers and "readclients = yes"
Bug fixes * Clean up control sockets when they are closed, so that we don't leak memory. * Define SUN_LEN for systems that don't have it. * Correct some boundary conditions in the conditional checker ("if") in "unlang". Bug noted by Arran Cudbard-Bell. * Work around minor building issues in gmake. This should only have affected developers. * Change how we manage unprivileged user/group, so that we do not create control sockets owned by root. * Fixed more minor issues found by Coverity. * Allow raddb/certs/bootstrap to run when there is no "make" command installed. * In radiusd.conf, run_dir depends on the name of the program, and isn't hard-coded to "..../radiusd" * Check for EOF in more places in the "detail" file reader. * Added Freeswitch dictionary. * Chop ethernet frames in VMPS, rather than droppping packets. * Fix EAP-TLS bug. Patch from Arnaud Ebalard * Don't lose string for regex-compares in the "users" file. * Expose more functions in rlm_sql to rlm_sqlippool, which helps on systems where RTLD_GLOBAL is off. * Fix typos in MySQL schemas for ippools. * Remove macro that was causing build issues on some platforms. * Fixed issues with dead home servers. Bug noted by Chris Moules. * Fixed "access after free" with some dynamic clients. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Hi Alan, Another thing I noticed, if you set WITH_VMPS=no, it isn't consistent: "listen.c", line 1795: undefined symbol: RAD_LISTEN_VQP cc: acomp failed for listen.c gmake[4]: *** [listen.lo] Error 1 This code is not surrounded with #defines: if (this->type == RAD_LISTEN_VQP) { sock = this->data; if (server_ipaddr.af == AF_UNSPEC) { server_ipaddr = sock->ipaddr; } port = sock->port + 1; break; } HTH -John Alan DeKok wrote:
This version comes 3 months after 2.1.3, which is a bit more of a delay than we would like. However, it includes a number of minor bug fixes, and some interesting new features.
The best new feature is one that has been needed for a long time. The (easy) ability to see debugging output from a "live" server. You can now do this via the "raddebug" command.
FreeRADIUS 2.1.4 Thu Dec 25 17:40:00 CEST 2008; , urgency=medium Feature improvements * Permit multiple "-e" in radmin. * Add support for originating CoA-Request and Disconnect-Request. See raddb/sites-available/originate-coa. * Added "lifetime" and "max_queries" to raddb/sql.conf. This helps address the problem of hung SQL sockets. * Allow packets to be injected via radmin. See "inject help" in radmin. * Answer VMPS reconfirmation request. Patch from Hermann Lauer. * Sample logrotate script in scripts/logrotate.freeradius * Add configurable poll interval for "detail" listeners * New "raddebug" command. This prints debugging information from a running server. See "man raddebug. * Add "require_message_authenticator" configuration to home_server configuration. This makes the server add Message-Authenticator to all outgoing Access-Request packets. * Added smsotp module, as contributed by Siemens. * Enabled the administration socket in the default install. See raddb/sites-available/control-socket, and "man radmin" * Handle duplicate clients, such as with replicated or load-balanced SQL servers and "readclients = yes"
Bug fixes * Clean up control sockets when they are closed, so that we don't leak memory. * Define SUN_LEN for systems that don't have it. * Correct some boundary conditions in the conditional checker ("if") in "unlang". Bug noted by Arran Cudbard-Bell. * Work around minor building issues in gmake. This should only have affected developers. * Change how we manage unprivileged user/group, so that we do not create control sockets owned by root. * Fixed more minor issues found by Coverity. * Allow raddb/certs/bootstrap to run when there is no "make" command installed. * In radiusd.conf, run_dir depends on the name of the program, and isn't hard-coded to "..../radiusd" * Check for EOF in more places in the "detail" file reader. * Added Freeswitch dictionary. * Chop ethernet frames in VMPS, rather than droppping packets. * Fix EAP-TLS bug. Patch from Arnaud Ebalard * Don't lose string for regex-compares in the "users" file. * Expose more functions in rlm_sql to rlm_sqlippool, which helps on systems where RTLD_GLOBAL is off. * Fix typos in MySQL schemas for ippools. * Remove macro that was causing build issues on some platforms. * Fixed issues with dead home servers. Bug noted by Chris Moules. * Fixed "access after free" with some dynamic clients. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
John Center wrote:
Hi Alan,
Another thing I noticed, if you set WITH_VMPS=no, it isn't consistent:
"listen.c", line 1795: undefined symbol: RAD_LISTEN_VQP cc: acomp failed for listen.c gmake[4]: *** [listen.lo] Error 1
OK. I'll fix that. It shouldn't affect anything else, though. Alan DeKok.
Hi, 2009/3/10 Alan DeKok aland@deployingradius.com
The best new feature is one that has been needed for a long time. The (easy) ability to see debugging output from a "live" server. You can now do this via the "raddebug" command.
Brilliant feature - however I needed to mod the shell script. Path to radmin was set to "/Users/alandekok/git/2_1_x.git.freeradius.org/src/main/". Hardly the end of the world, but thought I'd mention it. Thanks for your (and the rest of the development teams) continued efforts.
Rupert Finnigan wrote:
Brilliant feature - however I needed to mod the shell script. Path to radmin was set to "/Users/alandekok/git/2_1_x.git.freeradius.org/src/main/ <http://2_1_x.git.freeradius.org/src/main/>". Hardly the end of the world, but thought I'd mention it.
Damn it... that makes the feature a lot less useful, if people have to fix that before using it. Alan DeKok.
Hi Alan, Compiling for 64-bit Solaris 10 (SPARC) using Sun Studio 12, see the following warnings (with appropriate lines): "ttls.c", line 78: warning: integer overflow detected: op "<<" if ((length & (1 << 31)) != 0) { "ttls.c", line 217: warning: integer overflow detected: op "<<" if ((length & (1 << 31)) != 0) { "ttls.c", line 509: warning: integer overflow detected: op "<<" length |= (1 << 31); "client.c", line 206: warning: initializer does not fit or is out of range: -1 uint32_t mask = ~0; "radwho.c", line 314: warning: initializer does not fit or is out of range: -1 uint32_t nas_port = ~0; "mainconfig.c", line 167: warning: initializer does not fit or is out of range: -1 { "file", PW_TYPE_STRING_PTR, -1, &mainconfig.log_file, "${logdir}/radius.log" }, "mainconfig.c", line 168: warning: initializer does not fit or is out of range: -1 { "requests", PW_TYPE_STRING_PTR, -1, &request_log_file, NULL }, "mainconfig.c", line 175: warning: initializer does not fit or is out of range: -1 { "log_file", PW_TYPE_STRING_PTR, -1, &mainconfig.log_file, NULL }, "mainconfig.c", line 176: warning: initializer does not fit or is out of range: -1 { "log_destination", PW_TYPE_STRING_PTR, -1, &radlog_dest, NULL }, "mainconfig.c", line 184: warning: initializer does not fit or is out of range: -1 { "auth", PW_TYPE_BOOLEAN, -1, &mainconfig.log_auth, "no" }, "mainconfig.c", line 235: warning: initializer does not fit or is out of range: -1 { "log_auth", PW_TYPE_BOOLEAN, -1, &mainconfig.log_auth, NULL }, Are these anything to be concerned about? Thanks. -John
John Center wrote:
Hi Alan,
Compiling for 64-bit Solaris 10 (SPARC) using Sun Studio 12, see the following warnings (with appropriate lines):
"ttls.c", line 78: warning: integer overflow detected: op "<<" if ((length & (1 << 31)) != 0) {
Hmm... un-typed numbers are "int", but that should still work.
"client.c", line 206: warning: initializer does not fit or is out of range: -1 uint32_t mask = ~0;
Dumb compiler. It should Just Do the Right Thing.
"mainconfig.c", line 167: warning: initializer does not fit or is out of range: -1 { "file", PW_TYPE_STRING_PTR, -1, &mainconfig.log_file, "${logdir}/radius.log" },
That can be ignored. It's nothing to be concerned about. Alan DeKok.
I saw that there is a new tar file for the new release so I downloaded it and tried to build it, alas it won't build because the new tar file is schizophrenic with multiple identities. The tar file is named 2.1.4. The tar root directory is named 2.1.4. But the file freeradius-server-2.1.4/VERSION declares 2.1.5. This mismatch between the name of the archive and the VERSION file causes build failures (aside from thwarting the expectations of RPM based build and it's spec file it seems to confuse libtool when it names libraries resulting in missing libraries). I noticed there was no freeradius-server-2.1.5.tar.bz2 file in the download area. It looks like what was to have been the contents of 2.1.5 got rolled up as a 2.1.4 distribution. -- John Dennis <jdennis@redhat.com> Looking to carve out IT costs? www.redhat.com/carveoutcosts/
John Dennis wrote:
I saw that there is a new tar file for the new release so I downloaded it and tried to build it, alas it won't build because the new tar file is schizophrenic with multiple identities.
I was trying to fix things...
The tar file is named 2.1.4. The tar root directory is named 2.1.4. But the file freeradius-server-2.1.4/VERSION declares 2.1.5.
I'll fix that and re-spin it later today as 2.1.4. Next time, we can try it without the back & forth. Alan DeKok.
participants (10)
-
A.L.M.Buxey@lboro.ac.uk -
Alan DeKok -
Arran Cudbard-Bell -
Johan Meiring -
John Center -
John Dennis -
Michael Schwartzkopff -
Nicolas Goutte -
piston -
Rupert Finnigan