freeradius.git
18 years agoFix ownership of /var/log/freeradius/* more efficiently. release_1_0_5
phampson [Tue, 6 Sep 2005 15:08:52 +0000 (15:08 +0000)]
Fix ownership of /var/log/freeradius/* more efficiently.
Thanks to Guido Trotter (Debug BTS #326891)

18 years agoPull from CVS head:
nbk [Sun, 4 Sep 2005 16:54:13 +0000 (16:54 +0000)]
Pull from CVS head:
Don't use vsprintf() anymore, but the replacement for vsnprintf()
in libradius instead.

18 years ago Pull all the changes since 2005-08-25.
nbk [Sun, 4 Sep 2005 16:23:00 +0000 (16:23 +0000)]
Pull all the changes since 2005-08-25.

18 years agoPull 1.55.2.4 changes to src/include/autoconf.h.in into acconfig.h and
phampson [Sat, 3 Sep 2005 05:08:46 +0000 (05:08 +0000)]
Pull 1.55.2.4 changes to src/include/autoconf.h.in into acconfig.h and
regenerate src/include/autoconf.h.in with autoheader2.13

18 years agoPull from CVS head:
nbk [Thu, 1 Sep 2005 16:07:30 +0000 (16:07 +0000)]
Pull from CVS head:
#ifdef HAVE_VSNPRINTF isn't needed, as we have a replacement
in src/lib/snprintf.c

18 years agoPull from CVS head:
nbk [Thu, 1 Sep 2005 15:55:13 +0000 (15:55 +0000)]
Pull from CVS head:
snprintf() and vsnprintf() replacements were not compiled if
the autoconf tests didn't find the functions.

18 years agoPull from CVS head:
nbk [Wed, 31 Aug 2005 12:49:52 +0000 (12:49 +0000)]
Pull from CVS head:
Resize the buffer for the SQL-User-Name, and update the
comments to help people (...) to figure out why there is
no escaping in sql_escape_func().

18 years ago Don't call rad_malloc from sql_error(), it leaks memory
aland [Mon, 29 Aug 2005 17:01:58 +0000 (17:01 +0000)]
Don't call rad_malloc from sql_error(), it leaks memory

18 years ago Check bounds
aland [Mon, 29 Aug 2005 16:19:41 +0000 (16:19 +0000)]
Check bounds

18 years ago Escape more characters
aland [Mon, 29 Aug 2005 16:09:56 +0000 (16:09 +0000)]
Escape more characters

18 years ago Don't add too many attributes.
aland [Fri, 26 Aug 2005 19:17:45 +0000 (19:17 +0000)]
Don't add too many attributes.

18 years ago Pull fix from the head
aland [Fri, 26 Aug 2005 18:02:47 +0000 (18:02 +0000)]
Pull fix from the head

18 years agoPull from CVS head:
nbk [Fri, 26 Aug 2005 12:54:00 +0000 (12:54 +0000)]
Pull from CVS head:
Fix an off-by-one error in the function getthing().

18 years ago Pull fix from the head. This closes bug #271
aland [Fri, 26 Aug 2005 00:37:47 +0000 (00:37 +0000)]
Pull fix from the head.  This closes bug #271

18 years ago Adding everything I found with the command:
nbk [Thu, 25 Aug 2005 16:22:04 +0000 (16:22 +0000)]
Adding everything I found with the command:
$ cvs log -N -S -rrelease_1_0 -d '20050618<20050825'

18 years ago Pull fix from the head
aland [Thu, 25 Aug 2005 00:10:28 +0000 (00:10 +0000)]
Pull fix from the head

18 years agoPull from CVS head:
nbk [Wed, 24 Aug 2005 17:02:04 +0000 (17:02 +0000)]
Pull from CVS head:
nas_table definition
case-insensitives queries
%S instead of NOW()

18 years ago Still warnings, fixing them.
nbk [Wed, 24 Aug 2005 15:38:26 +0000 (15:38 +0000)]
Still warnings, fixing them.

18 years ago Fix compilation warnings with gcc 4.0
nbk [Wed, 24 Aug 2005 14:37:51 +0000 (14:37 +0000)]
Fix compilation warnings with gcc 4.0

Patch from Steven Simon <simon.s@apple.com>

18 years agoPull from CVS head:
nbk [Wed, 24 Aug 2005 14:23:11 +0000 (14:23 +0000)]
Pull from CVS head:
Delete the assertion (reply->value_size < 256) because an
unsigned char is always < 256.

18 years agoPull from CVS head:
nbk [Wed, 24 Aug 2005 10:12:19 +0000 (10:12 +0000)]
Pull from CVS head:
Fix compilation warnings.

18 years ago Use proper name in #ifdef
aland [Tue, 23 Aug 2005 22:44:45 +0000 (22:44 +0000)]
Use proper name in #ifdef

18 years agoPull from CVS head:
nbk [Tue, 23 Aug 2005 15:40:15 +0000 (15:40 +0000)]
Pull from CVS head:
The maximum password length is 128, not 253. (closes: #270)

18 years agoPull from CVS head:
nbk [Tue, 23 Aug 2005 14:13:38 +0000 (14:13 +0000)]
Pull from CVS head:
Use the time left to the next reset if it's inferior to the time
left in the counter. (closes: #190)

18 years agoPull from CVS head:
nbk [Tue, 23 Aug 2005 14:03:54 +0000 (14:03 +0000)]
Pull from CVS head:
Escape the SQL queries.

18 years agoDon't install CVS control files in dialup-admin's docs.
phampson [Tue, 23 Aug 2005 13:39:14 +0000 (13:39 +0000)]
Don't install CVS control files in dialup-admin's docs.

18 years agoPull from CVS head:
nbk [Tue, 23 Aug 2005 10:26:34 +0000 (10:26 +0000)]
Pull from CVS head:
Fix typo and test strftime(3) return value.

18 years agoFix patch for changes in src/modules/rules.mak
phampson [Tue, 23 Aug 2005 07:18:54 +0000 (07:18 +0000)]
Fix patch for changes in src/modules/rules.mak

18 years agoFix patch for regenerated src/modules/rlm_eap/types/rlm_eap_sim/configure
phampson [Tue, 23 Aug 2005 07:18:29 +0000 (07:18 +0000)]
Fix patch for regenerated src/modules/rlm_eap/types/rlm_eap_sim/configure

18 years agoUpdate to patch current configure
phampson [Tue, 23 Aug 2005 07:10:14 +0000 (07:10 +0000)]
Update to patch current configure

18 years agoReturn to use of pg_config, lost while Debian-archive-version was being maintained.
phampson [Tue, 23 Aug 2005 05:53:53 +0000 (05:53 +0000)]
Return to use of pg_config, lost while Debian-archive-version was being maintained.

18 years ago Regenerate from configure.in 1.10.2.4
nbk [Mon, 22 Aug 2005 14:53:52 +0000 (14:53 +0000)]
Regenerate from configure.in 1.10.2.4

18 years agoPull from CVS head:
nbk [Mon, 22 Aug 2005 14:50:46 +0000 (14:50 +0000)]
Pull from CVS head:
Rewrite the autoconf tests for libldap and just give '-lldap'
to the linker. (closes: #73)

18 years agoPull from CVS head:
nbk [Sun, 21 Aug 2005 20:04:26 +0000 (20:04 +0000)]
Pull from CVS head:
Replace sprintf(3) by snprintf(3) to prevent buffer overflows.

18 years agoPull from CVS head:
nbk [Sun, 21 Aug 2005 19:45:04 +0000 (19:45 +0000)]
Pull from CVS head:
Steal patches about ctime_r(3).

18 years agoPull from CVS head:
nbk [Sun, 21 Aug 2005 18:12:42 +0000 (18:12 +0000)]
Pull from CVS head:
Fix an off-by-one error in xlat_copy().

18 years agoPull from CVS head:
nbk [Sun, 21 Aug 2005 09:41:44 +0000 (09:41 +0000)]
Pull from CVS head:
Increase radacct and radpostauth field lengths.

18 years agoPull from CVS head:
nbk [Sat, 20 Aug 2005 15:44:48 +0000 (15:44 +0000)]
Pull from CVS head:
Change postgresql NASPortId field to BIGINT.

18 years agoDebian 1.0.5 release preperation: Remove irrelevant dpatches
phampson [Sat, 20 Aug 2005 14:53:05 +0000 (14:53 +0000)]
Debian 1.0.5 release preperation: Remove irrelevant dpatches

18 years agoUpdate to 1.0.5 version number
phampson [Sat, 20 Aug 2005 14:42:17 +0000 (14:42 +0000)]
Update to 1.0.5 version number

18 years agoPull from CVS head:
nbk [Sat, 20 Aug 2005 00:05:22 +0000 (00:05 +0000)]
Pull from CVS head:
Added index examples if case insensitive usernames are used.

18 years agoPull from CVS head:
nbk [Fri, 19 Aug 2005 23:51:57 +0000 (23:51 +0000)]
Pull from CVS head:
Use 'lower' instead of 'ilike' or 'strcmp'.

18 years ago When finding a realm to proxy to, if all are dead, wake them
aland [Fri, 19 Aug 2005 21:51:25 +0000 (21:51 +0000)]
When finding a realm to proxy to, if all are dead, wake them
if wake_all_if_all_dead is true

18 years ago Note bug fix
aland [Fri, 19 Aug 2005 19:45:38 +0000 (19:45 +0000)]
Note bug fix

18 years ago Pull fix from the head
aland [Fri, 19 Aug 2005 19:43:46 +0000 (19:43 +0000)]
Pull fix from the head

18 years ago Regenerate after changes to aclocal.m4
nbk [Fri, 19 Aug 2005 19:09:32 +0000 (19:09 +0000)]
Regenerate after changes to aclocal.m4

18 years ago Regenerate from configure.in 1.198.2.15
nbk [Fri, 19 Aug 2005 19:00:02 +0000 (19:00 +0000)]
Regenerate from configure.in 1.198.2.15

18 years agoPull from CVS head:
nbk [Fri, 19 Aug 2005 17:29:04 +0000 (17:29 +0000)]
Pull from CVS head:
Try first any user-specified directory, otherwise we may pick up
the wrong version.

18 years ago Update version number, in preparation for 1.0.5
aland [Thu, 18 Aug 2005 17:27:16 +0000 (17:27 +0000)]
Update version number, in preparation for 1.0.5

18 years ago signed int fix
aland [Thu, 18 Aug 2005 17:26:42 +0000 (17:26 +0000)]
signed int fix

18 years agoFinish reenabling SSL-using modules in Debian build
phampson [Thu, 18 Aug 2005 02:05:48 +0000 (02:05 +0000)]
Finish reenabling SSL-using modules in Debian build

18 years agoDisable patches 04 and 05 as they are "stolen from CVS head" and so not
phampson [Wed, 17 Aug 2005 22:49:58 +0000 (22:49 +0000)]
Disable patches 04 and 05 as they are "stolen from CVS head" and so not
applicable to CVS head.

18 years agoPrepare for 1.0.5 release: Build SSL-using modules by default
phampson [Wed, 17 Aug 2005 22:48:00 +0000 (22:48 +0000)]
Prepare for 1.0.5 release: Build SSL-using modules by default

18 years agoPull in patch from Bugzilla to allow rlm_eap_tls to be built dynamically
phampson [Wed, 17 Aug 2005 22:38:45 +0000 (22:38 +0000)]
Pull in patch from Bugzilla to allow rlm_eap_tls to be built dynamically
and still run using Debian's libltdl.

18 years agoFix my name in the dpatches
phampson [Wed, 17 Aug 2005 22:37:46 +0000 (22:37 +0000)]
Fix my name in the dpatches

18 years ago Add support for NT-Password
aland [Wed, 17 Aug 2005 18:54:55 +0000 (18:54 +0000)]
Add support for NT-Password

18 years ago Pull fix from the head
aland [Wed, 17 Aug 2005 17:50:10 +0000 (17:50 +0000)]
Pull fix from the head

18 years ago Delete a line about Exec-Program-Wait which is no longer true.
nbk [Wed, 17 Aug 2005 10:42:49 +0000 (10:42 +0000)]
Delete a line about Exec-Program-Wait which is no longer true.

18 years ago Distinguish between <0 (failure) and >0 (reject)
nbk [Wed, 17 Aug 2005 10:42:32 +0000 (10:42 +0000)]
Distinguish between <0 (failure) and >0 (reject)
in Exec-Program-Wait. (closes: #253)

Based on a patch from Thor Spruyt <thor.spruyt@telenet.be>

18 years ago Pull thread fix from the head
aland [Tue, 16 Aug 2005 21:29:55 +0000 (21:29 +0000)]
Pull thread fix from the head

18 years ago Don't memset too much data. Bug found by Matthias Ruttman
aland [Tue, 16 Aug 2005 21:17:09 +0000 (21:17 +0000)]
Don't memset too much data.   Bug found by Matthias Ruttman

18 years agoPull from CVS head:
nbk [Tue, 16 Aug 2005 20:44:51 +0000 (20:44 +0000)]
Pull from CVS head:
Check the value of realm->striprealm before overwriting the
User-Name with the Stripped-User-Name.

18 years ago Fix for MAC OS X
aland [Tue, 16 Aug 2005 18:27:08 +0000 (18:27 +0000)]
Fix for MAC OS X

18 years ago Latest fixes
aland [Tue, 16 Aug 2005 17:37:40 +0000 (17:37 +0000)]
Latest fixes

18 years ago Actually return if we're not OK.
aland [Tue, 16 Aug 2005 17:36:03 +0000 (17:36 +0000)]
Actually return if we're not OK.

This fixes bug #255

18 years ago #ifdef DARWIN
aland [Tue, 16 Aug 2005 01:03:14 +0000 (01:03 +0000)]
#ifdef DARWIN
do magic to make sem_init work, by using Mach
semaphores

This should fix long-standing bug #91

18 years agoPull from CVS head:
nbk [Fri, 12 Aug 2005 14:41:24 +0000 (14:41 +0000)]
Pull from CVS head:
Install all the regular files under the 'doc' directory.

18 years ago Regenerate from configure.in 1.10.2.3
nbk [Fri, 12 Aug 2005 11:29:53 +0000 (11:29 +0000)]
Regenerate from configure.in 1.10.2.3

18 years agoPull from CVS head:
nbk [Fri, 12 Aug 2005 11:28:05 +0000 (11:28 +0000)]
Pull from CVS head:
Patches stolen from revisions 1.12 and 1.14 to make the options
--with-rlm-ldap-include-dir and --with-rlm-ldap-lib-dir work.

18 years ago Use REG_EXTENDED. This fixes bug #241
aland [Thu, 11 Aug 2005 21:06:38 +0000 (21:06 +0000)]
Use REG_EXTENDED.  This fixes bug #241

18 years ago Clean up the code for opening a proxy socket, so we don't
aland [Wed, 10 Aug 2005 23:22:57 +0000 (23:22 +0000)]
Clean up the code for opening a proxy socket, so we don't
open a proxy socket if there are no external realms,
AND don't use 127.0.0.1 for proxying if there ARE external realms

If we're only listening on 127.0.0.1, use that.
If we're only listening on one external IP, use that.
Otherwise, listen on INADDR_ANY

This fixes some weird corner cases where people don't bind
to INADDR_ANY when listening for packets

18 years ago Don't have a 2-byte over-run read
aland [Wed, 3 Aug 2005 00:11:21 +0000 (00:11 +0000)]
Don't have a 2-byte over-run read

18 years ago Make Expiration work
aland [Mon, 1 Aug 2005 20:58:16 +0000 (20:58 +0000)]
Make Expiration work

18 years agoPull from CVS head:
nbk [Sun, 31 Jul 2005 12:48:01 +0000 (12:48 +0000)]
Pull from CVS head:
When linking, it's $(LDFLAGS) instead of $(CFLAGS).

18 years ago Ports are unsigned int's
aland [Tue, 26 Jul 2005 22:26:43 +0000 (22:26 +0000)]
Ports are unsigned int's

18 years ago Remove the lines "buffer[BUFSIZE] ='\0';", which is an
nbk [Mon, 25 Jul 2005 10:52:22 +0000 (10:52 +0000)]
Remove the lines "buffer[BUFSIZE] ='\0';", which is an
off-by-one error writing beyond the end of the array.
We entrust fgets(3) to append a NUL character in any case.
(closes: #251)

18 years ago Added latest set of changes
nbk [Fri, 15 Jul 2005 09:06:58 +0000 (09:06 +0000)]
Added latest set of changes
- Fix quote removal of the values from a SQL database.
- Reap the zombie process after a command run from "Exec-Program".
- Allow to cancel proxy of accounting with "Proxy-To-Realm := LOCAL".
- Don't copy VSA's to an Access-Reject packet.

18 years agoPull from CVS head:
nbk [Thu, 14 Jul 2005 17:53:36 +0000 (17:53 +0000)]
Pull from CVS head:
Don't copy VSA's to an Access-Reject packet (closes: #207)

18 years ago Don't use struct lrad_ipaddr_t in this version, it exists only
nbk [Mon, 11 Jul 2005 13:47:45 +0000 (13:47 +0000)]
Don't use struct lrad_ipaddr_t in this version, it exists only
in CVS head for now.

18 years agocvs up -kk -j 1.16 -j 1.17 src/modules/rlm_sql/drivers/rlm_sql_mysql/db_mysql.sql
nbk [Mon, 11 Jul 2005 12:27:05 +0000 (12:27 +0000)]
cvs up -kk -j 1.16 -j 1.17 src/modules/rlm_sql/drivers/rlm_sql_mysql/db_mysql.sql
Pull from CVS head:
Don't set DEFAULT '0' for the nas table

18 years agocvs up -kk -j 1.32 -j 1.33 src/main/acct.c
nbk [Sun, 10 Jul 2005 17:00:13 +0000 (17:00 +0000)]
cvs up -kk -j 1.32 -j 1.33 src/main/acct.c
Pull from CVS head:
Allow to cancel proxy of accounting with Proxy-To-Realm := LOCAL

18 years agoDebian release 1.0.4-2 debian_1_0_4_2
phampson [Sat, 2 Jul 2005 05:49:51 +0000 (05:49 +0000)]
Debian release 1.0.4-2

18 years agoDebian 1.0.4-1 import debian_1_0_4_1
phampson [Sat, 2 Jul 2005 05:47:37 +0000 (05:47 +0000)]
Debian 1.0.4-1 import

18 years agoAlso store h323voicequality in SQL. Thanks to Ilia Chipitsine
pnixon [Fri, 1 Jul 2005 14:58:14 +0000 (14:58 +0000)]
Also store h323voicequality in SQL. Thanks to Ilia Chipitsine

18 years ago Catch a "corner" case for reap_children.
aland [Wed, 29 Jun 2005 18:42:23 +0000 (18:42 +0000)]
Catch a "corner" case for reap_children.

In reality, this is probably the only place it should be called from.

18 years agoPull from CVS head:
nbk [Sat, 25 Jun 2005 22:45:35 +0000 (22:45 +0000)]
Pull from CVS head:
Fix quote removal of the value in sql_userparse (closes: #242)

18 years ago Removed errant ^G
aland [Tue, 21 Jun 2005 16:41:03 +0000 (16:41 +0000)]
Removed errant ^G

18 years agoSuggest libmysqlclient12 (4.0) as default mysql client library. release_1_0_4
phampson [Thu, 16 Jun 2005 11:37:59 +0000 (11:37 +0000)]
Suggest libmysqlclient12 (4.0) as default mysql client library.
Thanks to Nicolas Baradakis.

18 years agoStolen from CVS HEAD
phampson [Thu, 16 Jun 2005 09:18:08 +0000 (09:18 +0000)]
Stolen from CVS HEAD

18 years agoPrepare for 1.0.4 release:
phampson [Thu, 16 Jun 2005 04:59:17 +0000 (04:59 +0000)]
Prepare for 1.0.4 release:
 - Regenerate configure from configure.in
 - Update packaging scripts for 1.0.4
 - Slight changes to Debian scripts for post-sarge package changes in sid

18 years agoUpdate configure.in for 1.0.4 release
phampson [Thu, 16 Jun 2005 04:57:28 +0000 (04:57 +0000)]
Update configure.in for 1.0.4 release

18 years ago Add some changes for the 1.0.4
nbk [Sat, 11 Jun 2005 22:46:52 +0000 (22:46 +0000)]
Add some changes for the 1.0.4
- Fix installation problem.
- Increase a buffer size, so radrelay doesn't truncate values.
- Updates in the documentation. Patches from Thor Spruyt.

18 years ago I forgot to update this file with the changes I commited
nbk [Sat, 11 Jun 2005 22:36:22 +0000 (22:36 +0000)]
I forgot to update this file with the changes I commited
between 1.0.2 and 1.0.3.  It's too late now, but I'll write
them for archive...

Also, put the security fixes in 1.0.3 above the other changes.

18 years agoPull from CVS head:
nbk [Sat, 11 Jun 2005 22:20:39 +0000 (22:20 +0000)]
Pull from CVS head:
Updates in the documentation

18 years ago Linking radwho with libtool occurs an error during install
nbk [Thu, 9 Jun 2005 16:35:36 +0000 (16:35 +0000)]
Linking radwho with libtool occurs an error during install
(closes: #240)

18 years ago Delete some needless lines
nbk [Thu, 9 Jun 2005 12:14:07 +0000 (12:14 +0000)]
Delete some needless lines

18 years ago Increase buffer size
aland [Tue, 7 Jun 2005 18:57:40 +0000 (18:57 +0000)]
Increase buffer size

18 years ago Fix installation problem (sigh)
aland [Mon, 6 Jun 2005 17:57:48 +0000 (17:57 +0000)]
Fix installation problem (sigh)

18 years ago Update for 1.0.3 release_1_0_3
aland [Fri, 3 Jun 2005 18:34:18 +0000 (18:34 +0000)]
Update for 1.0.3

18 years ago Bump version to 1.0.3
aland [Fri, 3 Jun 2005 18:25:11 +0000 (18:25 +0000)]
Bump version to 1.0.3