freeradius.git
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

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

19 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

19 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

19 years ago Note EAP-Fail fixes
aland [Fri, 3 Jun 2005 17:15:11 +0000 (17:15 +0000)]
Note EAP-Fail fixes

19 years ago Pull patch from the head
aland [Fri, 3 Jun 2005 17:13:58 +0000 (17:13 +0000)]
Pull patch from the head

19 years ago Pull fix from revision 1.30 from the head
aland [Fri, 3 Jun 2005 17:10:17 +0000 (17:10 +0000)]
Pull fix from revision 1.30 from the head

19 years ago We're at 1.0.3
aland [Thu, 2 Jun 2005 18:36:36 +0000 (18:36 +0000)]
We're at 1.0.3

19 years ago Updated prior to 1.0.3
aland [Tue, 31 May 2005 17:44:54 +0000 (17:44 +0000)]
Updated prior to 1.0.3

19 years ago Pull fix from the head
aland [Tue, 31 May 2005 17:36:20 +0000 (17:36 +0000)]
Pull fix from the head

19 years agoPull from CVS head:
nbk [Mon, 23 May 2005 09:35:09 +0000 (09:35 +0000)]
Pull from CVS head:
Manually applied diff -r1.26 -r1.28
  - sleep more time than rlm_detail to acquire the detail file lock
  - re-arrange the states in the loop() function to not duplicate
    accounting packets (closes: #206)

19 years agoPull from CVS head:
nbk [Sun, 22 May 2005 18:16:56 +0000 (18:16 +0000)]
Pull from CVS head:
Get all the fixes from revisions 1.23 to 1.29
  - don't change strvalue only
  - missing "proxy" and "proxy_reply" cases
  - incorrect offset calculations in regex
  - missing pairfree()
  - cosmetic changes

19 years agoPull from CVS head:
nbk [Fri, 20 May 2005 09:13:32 +0000 (09:13 +0000)]
Pull from CVS head:
sql_userparse() function in revision 1.81 catch a SEGV when
rlm_sql gets 'NULL' value from request (closes: #224)

19 years ago Pull revision 1.3 from the HEAD
nbk [Thu, 19 May 2005 18:27:57 +0000 (18:27 +0000)]
Pull revision 1.3 from the HEAD

19 years ago Pull diff -r1.131 -r1.132 from the HEAD
nbk [Wed, 18 May 2005 13:22:18 +0000 (13:22 +0000)]
Pull diff -r1.131 -r1.132 from the HEAD

19 years ago Pull diff -r1.142 -r1.143 from the HEAD
nbk [Wed, 18 May 2005 12:34:36 +0000 (12:34 +0000)]
Pull diff -r1.142 -r1.143 from the HEAD

19 years ago It's a shell script, not an exe
aland [Thu, 12 May 2005 22:24:07 +0000 (22:24 +0000)]
It's a shell script, not an exe

19 years ago radzap isn't a binary
aland [Thu, 12 May 2005 22:22:26 +0000 (22:22 +0000)]
radzap isn't a binary

19 years ago one-character typo fix
aland [Thu, 21 Apr 2005 22:06:06 +0000 (22:06 +0000)]
one-character typo fix

19 years ago Note fixes for exec
aland [Mon, 11 Apr 2005 23:46:02 +0000 (23:46 +0000)]
Note fixes for exec

19 years ago Pull minimal fix for executing external programs from the head
aland [Mon, 11 Apr 2005 23:45:21 +0000 (23:45 +0000)]
Pull minimal fix for executing external programs from the head

19 years ago Note radwho/radzap changes
aland [Mon, 11 Apr 2005 23:31:10 +0000 (23:31 +0000)]
Note radwho/radzap changes

19 years ago Pull fixes to radwho & radzap (including docs) from the CVS head
aland [Mon, 11 Apr 2005 23:29:48 +0000 (23:29 +0000)]
Pull fixes to radwho & radzap (including docs) from the CVS head

19 years ago Stop if we encounter an error.
aland [Mon, 11 Apr 2005 21:19:38 +0000 (21:19 +0000)]
Stop if we encounter an error.

Back-port r1.54

19 years ago 'exit 1' to 'exit $?', which is better
aland [Mon, 11 Apr 2005 21:18:27 +0000 (21:18 +0000)]
'exit 1' to 'exit $?', which is better

19 years agoPull From CVS Head:
phampson [Fri, 18 Mar 2005 15:06:37 +0000 (15:06 +0000)]
Pull From CVS Head:
Fix inversion of test, so the mutex is initialised once instead of nunce.
Thanks to Manuel Menal (via Debian Bug #300219)

19 years agoPull from CVS HEAD:
phampson [Thu, 17 Mar 2005 13:52:43 +0000 (13:52 +0000)]
Pull from CVS HEAD:
Allow checkrad to be called successfully with ports > 9999999 without
trashing memory.
 Spotted and initial patch by Eddie Stassen

19 years agoSync changes from HEAD
pnixon [Tue, 8 Mar 2005 16:38:19 +0000 (16:38 +0000)]
Sync changes from HEAD

19 years agoActually include the dictionary.. Idiot..
pnixon [Tue, 8 Mar 2005 16:35:45 +0000 (16:35 +0000)]
Actually include the dictionary.. Idiot..

19 years agofix syntax error
pnixon [Tue, 8 Mar 2005 16:34:19 +0000 (16:34 +0000)]
fix syntax error

19 years agoNew hashes added %RAD_REQUEST_PROXY (filled with vps from request->proxy->vps )
bjordanov [Tue, 8 Mar 2005 09:30:16 +0000 (09:30 +0000)]
New hashes added %RAD_REQUEST_PROXY (filled with vps from request->proxy->vps )
and %RAD_REQUEST_PROXY_REPLY ( filled with vps from request->proxy_reply->vps)
%RAD_REQUEST_PROXY is read-only, %RAD_REQUEST_PROXY_REPLY is read-write
(closes: #215)

19 years agoWhen defined USE_ITHREADS and called perl_xlat an perl interpetator is not
bjordanov [Mon, 7 Mar 2005 11:52:06 +0000 (11:52 +0000)]
When defined USE_ITHREADS and called perl_xlat an perl interpetator is not
released on exit so after few requests the thread pool will not contain a free
interpetators. (closes: #179)

19 years agoFixes problem with SIGHUP, multiple instances,
bjordanov [Mon, 7 Mar 2005 11:19:21 +0000 (11:19 +0000)]
Fixes problem with SIGHUP, multiple instances,
ithreads pool and locking problem. (closes: #111)

19 years ago"Usable", not "useable".
phampson [Sat, 5 Mar 2005 04:02:50 +0000 (04:02 +0000)]
"Usable", not "useable".

19 years agoCorrect section header for section 8, not sectoin 1
phampson [Sat, 5 Mar 2005 04:00:39 +0000 (04:00 +0000)]
Correct section header for section 8, not sectoin 1

19 years ago"Usable", not "useable"
phampson [Sat, 5 Mar 2005 03:59:14 +0000 (03:59 +0000)]
"Usable", not "useable"

19 years agoNew dictionay thanks to Zydrunas Sablinskas
pnixon [Fri, 4 Mar 2005 14:50:09 +0000 (14:50 +0000)]
New dictionay thanks to Zydrunas Sablinskas

19 years agoNew dictionay thanks to Zydrunas Sablinskas
pnixon [Fri, 4 Mar 2005 14:49:08 +0000 (14:49 +0000)]
New dictionay thanks to Zydrunas Sablinskas

19 years agoAdd a dictionary from Epygi (http://www.epygi.com) hardware
kkalev [Fri, 4 Mar 2005 14:30:24 +0000 (14:30 +0000)]
Add a dictionary from Epygi (epygi.com) hardware

19 years ago chown radius.log, if we've written to it as root.root, before
aland [Thu, 3 Mar 2005 20:32:57 +0000 (20:32 +0000)]
chown radius.log, if we've written to it as root.root, before
we switch users.

This fixes bug #210

19 years ago Remember CPPFLAGS, too.
aland [Thu, 3 Mar 2005 20:13:19 +0000 (20:13 +0000)]
Remember CPPFLAGS, too.

This should close bug #201

19 years ago close outfd outside of the loop, not while we're trying to lock
aland [Thu, 3 Mar 2005 20:02:17 +0000 (20:02 +0000)]
close outfd outside of the loop, not while we're trying to lock
it.

Patch from Igor K, bug #130

19 years ago Updated for changes
aland [Thu, 3 Mar 2005 02:23:33 +0000 (02:23 +0000)]
Updated for changes

19 years ago Re-enable '-i ipaddr' and '-p port'.
aland [Wed, 2 Mar 2005 23:18:42 +0000 (23:18 +0000)]
Re-enable '-i ipaddr' and '-p port'.

If they're used, then they over-ride everything in radiusd.conf

19 years agoLog somewhat more verbose error messages when the sql_command binary is not found...
kkalev [Wed, 2 Mar 2005 13:20:40 +0000 (13:20 +0000)]
Log somewhat more verbose error messages when the sql_command binary is not found in the bin scripts

19 years agoInfo about FreeRADIUS on SUSE
pnixon [Tue, 1 Mar 2005 16:15:57 +0000 (16:15 +0000)]
Info about FreeRADIUS on SUSE

19 years agoSync with cvs HEAD
pnixon [Tue, 1 Mar 2005 14:33:00 +0000 (14:33 +0000)]
Sync with cvs HEAD

19 years agoYou can integrate NovellĀ® eDirectoryTM 8.7.1 or later with FreeRADIUS 1.0.2 onwards...
pnixon [Tue, 1 Mar 2005 14:03:56 +0000 (14:03 +0000)]
You can integrate NovellĀ® eDirectoryTM 8.7.1 or later with FreeRADIUS 1.0.2 onwards to allow wireless authentication for eDirectory users.

19 years agonew PAM config in upcomming SUSE 9.3Pro
pnixon [Tue, 1 Mar 2005 12:52:43 +0000 (12:52 +0000)]
new PAM config in upcomming SUSE 9.3Pro

19 years agoSync with HEAD
pnixon [Tue, 1 Mar 2005 12:11:39 +0000 (12:11 +0000)]
Sync with HEAD

19 years agoMajor cleanups to bring in sync with SUSE 9.2 Professional and to run as user radiusd...
pnixon [Tue, 1 Mar 2005 12:07:49 +0000 (12:07 +0000)]
Major cleanups to bring in sync with SUSE 9.2 Professional and to run as user radiusd instead of root

19 years ago More/better error messages.
aland [Tue, 1 Mar 2005 01:47:39 +0000 (01:47 +0000)]
More/better error messages.

Don't allow quoted strings as conf-section names.

19 years ago When $INCLUDE'ing files, cf_item_add may be called with a list
aland [Mon, 28 Feb 2005 23:54:13 +0000 (23:54 +0000)]
When $INCLUDE'ing files, cf_item_add may be called with a list
of items.  If so, add all children to the parent trees.

We don't have to touch the child trees, because they aren't changed.

19 years ago When reading files in a directory, be a little more restrictive.
aland [Mon, 28 Feb 2005 22:47:17 +0000 (22:47 +0000)]
When reading files in a directory, be a little more restrictive.

We allow alpha-numeric, '.' and '_'.  Anything else is ignored.

19 years ago Moved copy_string && copy_var from exec.c to util.c, as public
aland [Mon, 28 Feb 2005 22:32:13 +0000 (22:32 +0000)]
Moved copy_string && copy_var from exec.c to util.c, as public
functions, so that others may use them.

(mostly) copied "split into argv" code from exec.c into xlat_config,
to avoid injection attacks.  i.e. "split into argv, and then xlat",
rather than "xlat, and then split into argv".

This also allows the use of "." in section/pair names.

19 years ago Use rbtrees for CONF_SECTIONS, with hacks to make instance names
aland [Mon, 28 Feb 2005 19:50:47 +0000 (19:50 +0000)]
Use rbtrees for CONF_SECTIONS, with hacks to make instance names
work...

19 years ago Minor fix to xlat config
aland [Mon, 28 Feb 2005 19:49:25 +0000 (19:49 +0000)]
Minor fix to xlat config

19 years ago Put CONF_PAIRs into an rbtree. This doesn't make much difference
aland [Mon, 28 Feb 2005 18:45:31 +0000 (18:45 +0000)]
Put CONF_PAIRs into an rbtree.  This doesn't make much difference
for most systems, but for large ones, it can help.

This also means that more memory is being used in the server,
but not a whole lot.

Next, putting sections into an rbtree.

19 years ago Allow %{config: section[name2][item]}
aland [Mon, 28 Feb 2005 18:24:29 +0000 (18:24 +0000)]
Allow %{config: section[name2][item]}

19 years agoAdd the safe-characters directive in mssql.conf also
kkalev [Mon, 28 Feb 2005 12:02:53 +0000 (12:02 +0000)]
Add the safe-characters directive in mssql.conf also

19 years agoDon't set DEFAULT '0' for the nas table
kkalev [Fri, 25 Feb 2005 23:51:11 +0000 (23:51 +0000)]
Don't set DEFAULT '0' for the nas table