freeradius.git
16 years ago Add a Makefile to dialup_admin to make the installation easier.
nbk [Sun, 12 Aug 2007 18:00:34 +0000 (18:00 +0000)]
Add a Makefile to dialup_admin to make the installation easier.
Now you can type "make install DIALUP_PREFIX=/path/of/your/choice"
and your local copy will work without editing a decade of files.

Based on the Makefile in the source package of the Debian archive,
with edits to not try to copy CVS directories. (so it works on CVS
snapshots, too)

16 years ago Added targets to verify the certificates
aland [Sun, 12 Aug 2007 14:15:18 +0000 (14:15 +0000)]
Added targets to verify the certificates

16 years ago Corrected typo
aland [Thu, 9 Aug 2007 13:01:52 +0000 (13:01 +0000)]
Corrected typo

16 years ago Add Apple stuff
aland [Sun, 5 Aug 2007 23:38:44 +0000 (23:38 +0000)]
Add Apple stuff

16 years ago We no longer have acconfig.h
aland [Sun, 5 Aug 2007 23:37:31 +0000 (23:37 +0000)]
We no longer have acconfig.h

16 years ago Set self->request to NULL before exiting
aland [Fri, 3 Aug 2007 20:36:56 +0000 (20:36 +0000)]
Set self->request to NULL before exiting

16 years ago Patch was for 1.1.4, which has vp->strvalue. We now use
aland [Fri, 3 Aug 2007 20:16:38 +0000 (20:16 +0000)]
Patch was for 1.1.4, which has vp->strvalue.  We now use
vp->vp_strvalue.

16 years ago Whoops... forgot semi-colon
aland [Fri, 3 Aug 2007 19:53:40 +0000 (19:53 +0000)]
Whoops... forgot semi-colon

16 years ago Catch corner cases
aland [Fri, 3 Aug 2007 19:51:49 +0000 (19:51 +0000)]
Catch corner cases

16 years ago Define DARWIN
aland [Fri, 3 Aug 2007 19:12:42 +0000 (19:12 +0000)]
Define DARWIN

16 years ago OpenDirectory support from Apple Inc. Their patch has it in
aland [Fri, 3 Aug 2007 19:04:35 +0000 (19:04 +0000)]
OpenDirectory support from Apple Inc.  Their patch has it in
rlm_mschap.c.  We've placed it in a separate file to keep
license and copyright issues clear.

16 years ago Mash operators so that the "detail" module (among others)
aland [Wed, 1 Aug 2007 15:45:34 +0000 (15:45 +0000)]
Mash operators so that the "detail" module (among others)
gets '=' rather than ':=', etc.

16 years ago Allow !~ to work, too
aland [Tue, 31 Jul 2007 13:30:10 +0000 (13:30 +0000)]
Allow !~ to work, too

16 years ago Fix the read_groups directive.
nbk [Fri, 27 Jul 2007 09:55:13 +0000 (09:55 +0000)]
Fix the read_groups directive.

16 years ago Removed link to outdated documentation
aland [Thu, 26 Jul 2007 20:58:49 +0000 (20:58 +0000)]
Removed link to outdated documentation

16 years agoMore performant indexes
pnixon [Thu, 26 Jul 2007 06:49:52 +0000 (06:49 +0000)]
More performant indexes

16 years agoRe-order query. Makes no real difference, but makes it easier to understand, and...
pnixon [Thu, 26 Jul 2007 06:48:36 +0000 (06:48 +0000)]
Re-order query. Makes no real difference, but makes it easier to understand, and may possibly help out th Postgres query planner a little

16 years agoRemove needless spaces in the queries
pnixon [Wed, 25 Jul 2007 23:39:45 +0000 (23:39 +0000)]
Remove needless spaces in the queries

16 years agoSwitch nasipaddress and pool_key to match other queries (and hopefully give the postg...
pnixon [Wed, 25 Jul 2007 23:32:12 +0000 (23:32 +0000)]
Switch nasipaddress and pool_key to match other queries (and hopefully give the postgresql index optimizser less work)

16 years agoLowercase everything to avoid incompatibility issues with MySQL on Windows
pnixon [Mon, 23 Jul 2007 14:34:26 +0000 (14:34 +0000)]
Lowercase everything to avoid incompatibility issues with MySQL on Windows

16 years agoAdd defaults
pnixon [Mon, 23 Jul 2007 10:19:48 +0000 (10:19 +0000)]
Add defaults

16 years agoFix capitalisation of NASIPAddress so that MySQL on windows works
pnixon [Mon, 23 Jul 2007 10:17:30 +0000 (10:17 +0000)]
Fix capitalisation of NASIPAddress so that MySQL on windows works

16 years ago Terrible hack to make "./configure --config-cache" work again.
nbk [Sat, 21 Jul 2007 13:42:39 +0000 (13:42 +0000)]
Terrible hack to make "./configure --config-cache" work again.

16 years ago As posted to the list
aland [Sat, 21 Jul 2007 10:09:04 +0000 (10:09 +0000)]
As posted to the list

16 years agofix unterminated quoted string
pnixon [Fri, 20 Jul 2007 16:36:26 +0000 (16:36 +0000)]
fix unterminated quoted string

16 years agoMore variable replacement fixes
pnixon [Fri, 20 Jul 2007 16:25:43 +0000 (16:25 +0000)]
More variable replacement fixes

16 years agoUpdate to new variable replacement syntax
pnixon [Fri, 20 Jul 2007 16:23:37 +0000 (16:23 +0000)]
Update to new variable replacement syntax

16 years ago When there is nonsense in the database, we may stop fetching the
nbk [Fri, 20 Jul 2007 15:42:56 +0000 (15:42 +0000)]
When there is nonsense in the database, we may stop fetching the
rows before reaching the last result of a multiple results set.
Therefore we need to fetch the possibly pending results from the
function sql_finish_select_query().

Problem spotted by Jean Deram <jderam@nordnet.fr>

16 years ago Didn't add this earlier
aland [Fri, 20 Jul 2007 13:28:14 +0000 (13:28 +0000)]
Didn't add this earlier

16 years ago More cleanups
aland [Fri, 20 Jul 2007 13:08:03 +0000 (13:08 +0000)]
More cleanups

16 years ago File moved...
aland [Fri, 20 Jul 2007 12:57:43 +0000 (12:57 +0000)]
File moved...

16 years ago Moved file
aland [Fri, 20 Jul 2007 12:56:32 +0000 (12:56 +0000)]
Moved file

16 years ago Moved the NAS table to another schema file
aland [Fri, 20 Jul 2007 12:54:34 +0000 (12:54 +0000)]
Moved the NAS table to another schema file

16 years ago Remove the dictionary tables. They're not used
aland [Fri, 20 Jul 2007 12:52:45 +0000 (12:52 +0000)]
Remove the dictionary tables.  They're not used

16 years ago Move the ippool schema to its own files
aland [Fri, 20 Jul 2007 12:51:07 +0000 (12:51 +0000)]
Move the ippool schema to its own files

16 years ago Create directories. "cp -R" isn't portable.
aland [Fri, 20 Jul 2007 11:29:42 +0000 (11:29 +0000)]
Create directories. "cp -R" isn't portable.

16 years ago Use the new method to grab files
aland [Fri, 20 Jul 2007 11:23:00 +0000 (11:23 +0000)]
Use the new method to grab files

16 years ago Moved more files
aland [Fri, 20 Jul 2007 11:17:33 +0000 (11:17 +0000)]
Moved more files

16 years ago Moved schema files to sql/$(db)
aland [Fri, 20 Jul 2007 11:15:21 +0000 (11:15 +0000)]
Moved schema files to sql/$(db)

16 years ago Moved $(db)-dialup.conf to $(db)/dialup.conf.
aland [Fri, 20 Jul 2007 11:10:22 +0000 (11:10 +0000)]
Moved $(db)-dialup.conf to $(db)/dialup.conf.

16 years agoMove sqlcounter config files into dialect specific subdirs
pnixon [Thu, 19 Jul 2007 23:32:46 +0000 (23:32 +0000)]
Move sqlcounter config files into dialect specific subdirs

16 years ago Regenerate from configure.in using aclocal 1.10
nbk [Thu, 19 Jul 2007 21:31:03 +0000 (21:31 +0000)]
Regenerate from configure.in using aclocal 1.10

16 years agoMove sqlcounter config into sql/mysql-sqlcounter.conf and sql/postgresql-sqlcounter...
pnixon [Tue, 17 Jul 2007 20:42:34 +0000 (20:42 +0000)]
Move sqlcounter config into sql/mysql-sqlcounter.conf and sql/postgresql-sqlcounter.conf

16 years agoadd call to sql_set_user in sqlippool_command also
pnixon [Tue, 17 Jul 2007 18:49:08 +0000 (18:49 +0000)]
add call to sql_set_user in sqlippool_command also

16 years ago Regenerate from configure.in
nbk [Tue, 17 Jul 2007 14:47:59 +0000 (14:47 +0000)]
Regenerate from configure.in

16 years ago Add with/without openssl option to configure. This is useful for
nbk [Tue, 17 Jul 2007 14:41:19 +0000 (14:41 +0000)]
Add with/without openssl option to configure. This is useful for
the downstream distributions of FreeRADIUS.

Based on a patch from Mark Hymers <mhy@debian.org>

16 years agoMake %{SQL-User-Name} work in rlm_sqlippool
pnixon [Tue, 17 Jul 2007 13:02:25 +0000 (13:02 +0000)]
Make %{SQL-User-Name} work in rlm_sqlippool

16 years ago Reverted last two commits
aland [Tue, 17 Jul 2007 10:19:37 +0000 (10:19 +0000)]
Reverted last two commits

16 years agoNo need to insert id into an auto increment field
pnixon [Tue, 17 Jul 2007 08:35:33 +0000 (08:35 +0000)]
No need to insert id into an auto increment field

16 years ago Added "keyed-balance", which allows load balancing based
aland [Mon, 16 Jul 2007 14:37:15 +0000 (14:37 +0000)]
Added "keyed-balance", which allows load balancing based
on anything the administrator cares to think about.

16 years ago Delete radeapclient, too. Fixes bug #446
aland [Mon, 16 Jul 2007 08:53:47 +0000 (08:53 +0000)]
Delete radeapclient, too.  Fixes bug #446

16 years ago Added --with-snmp-include-dir
aland [Sun, 15 Jul 2007 19:27:28 +0000 (19:27 +0000)]
Added --with-snmp-include-dir

16 years ago Regenerate from configure.in
nbk [Sun, 15 Jul 2007 12:22:45 +0000 (12:22 +0000)]
Regenerate from configure.in

16 years ago Fix test for -lk5crypto.
nbk [Sun, 15 Jul 2007 12:13:45 +0000 (12:13 +0000)]
Fix test for -lk5crypto.
Thanks to Stephen Gran <sgran@debian.org>

16 years agoAdd radippool table
pnixon [Fri, 13 Jul 2007 22:06:46 +0000 (22:06 +0000)]
Add radippool table

16 years agoDon't calculate Acct-Delay-Time out of Start|Stop-Time AND still log it to database.
pnixon [Fri, 13 Jul 2007 20:59:39 +0000 (20:59 +0000)]
Don't calculate Acct-Delay-Time out of Start|Stop-Time AND still log it to database.

16 years agochange now() back to %S as its more accurate when you run funky things like radrelay
pnixon [Fri, 13 Jul 2007 19:32:05 +0000 (19:32 +0000)]
change now() back to %S as its more accurate when you run funky things like radrelay

16 years agoGet rid of old style %P in one of the examples
pnixon [Fri, 13 Jul 2007 16:25:06 +0000 (16:25 +0000)]
Get rid of old style %P in one of the examples

16 years agoAdd XAscendSessionSvrKey column to radacct
pnixon [Fri, 13 Jul 2007 15:56:48 +0000 (15:56 +0000)]
Add XAscendSessionSvrKey column to radacct

16 years agoStore X-Ascend-Session-Svr-Key in DB
pnixon [Fri, 13 Jul 2007 15:54:43 +0000 (15:54 +0000)]
Store X-Ascend-Session-Svr-Key in DB

16 years ago Fix for use_tunneled_reply
aland [Fri, 13 Jul 2007 09:38:13 +0000 (09:38 +0000)]
Fix for use_tunneled_reply

16 years ago Port fix for use_tunneled_reply from 1.1.x
aland [Fri, 13 Jul 2007 09:35:01 +0000 (09:35 +0000)]
Port fix for use_tunneled_reply from 1.1.x

16 years agoAdd nasipaddress check so we dont clear IPs from other NAS by default
pnixon [Fri, 13 Jul 2007 07:07:19 +0000 (07:07 +0000)]
Add nasipaddress check so we dont clear IPs from other NAS by default

16 years agoreorder the file and update comments
pnixon [Fri, 13 Jul 2007 07:05:12 +0000 (07:05 +0000)]
reorder the file and update comments

16 years agospelling fix
pnixon [Wed, 11 Jul 2007 19:37:00 +0000 (19:37 +0000)]
spelling fix

16 years agoMajor cleanup and rewrite of the comments to make things easier to understand
pnixon [Wed, 11 Jul 2007 19:07:04 +0000 (19:07 +0000)]
Major cleanup and rewrite of the comments to make things easier to understand

16 years agoFix the NAS on/off queries. There is no username and framed-ip-address in them. These...
pnixon [Wed, 11 Jul 2007 18:31:48 +0000 (18:31 +0000)]
Fix the NAS on/off queries. There is no username and framed-ip-address in them. These never worked. Thanks to Hugh Messenger for the find.

16 years agoUpdate to support BIGINT
pnixon [Tue, 10 Jul 2007 07:26:15 +0000 (07:26 +0000)]
Update to support BIGINT

16 years agoIt was overkill using BIGINT for AcctStartDelay and AcctStopDelay. Changed back to...
pnixon [Tue, 10 Jul 2007 07:23:44 +0000 (07:23 +0000)]
It was overkill using BIGINT for AcctStartDelay and AcctStopDelay. Changed back to int.

16 years agoUpdate Oracle schema to use the Oracle equivalent of BIGINT "NUMERIC(19)"
pnixon [Tue, 10 Jul 2007 07:20:28 +0000 (07:20 +0000)]
Update Oracle schema to use the Oracle equivalent of BIGINT "NUMERIC(19)"

16 years agoFixes thanks to Arran Cudbard-Bell
pnixon [Sun, 8 Jul 2007 12:34:42 +0000 (12:34 +0000)]
Fixes thanks to Arran Cudbard-Bell

16 years ago Try to link with libperl, using the command-line flags given
aland [Fri, 6 Jul 2007 12:25:46 +0000 (12:25 +0000)]
Try to link with libperl, using the command-line flags given
by "perl -MExtUtils::Embed -e ldopts".  If this doesn't work,
your Perl installation is broken.

16 years ago Skip checking return code when the "else" wasn't taken.
aland [Fri, 6 Jul 2007 10:22:26 +0000 (10:22 +0000)]
Skip checking return code when the "else" wasn't taken.

"update" sections change the return code ONLY if something went
wrong

16 years ago Notes on Auth-Type, and instructions to NOT put unlang stuff
aland [Fri, 6 Jul 2007 08:38:56 +0000 (08:38 +0000)]
Notes on Auth-Type, and instructions to NOT put unlang stuff
into the "authenticate" section.

16 years ago Don't permit "ok = 1", etc. in sections. They're only allowed
aland [Thu, 5 Jul 2007 15:01:21 +0000 (15:01 +0000)]
Don't permit "ok = 1", etc. in sections.  They're only allowed
in groups where the name is a module

16 years ago if, else, elsif don't change the module return code
aland [Thu, 5 Jul 2007 14:10:24 +0000 (14:10 +0000)]
if, else, elsif don't change the module return code

16 years ago Use new cf_log_err function
aland [Thu, 5 Jul 2007 09:46:36 +0000 (09:46 +0000)]
Use new cf_log_err function

16 years ago Removed strtok. It doesn't matter *too* much, because it's only
aland [Thu, 5 Jul 2007 08:52:50 +0000 (08:52 +0000)]
Removed strtok.  It doesn't matter *too* much, because it's only
called when the server starts, and is single threaded.

This addresses bug #468

16 years ago Don't just blindly print out the server pool definition,
aland [Thu, 5 Jul 2007 08:43:56 +0000 (08:43 +0000)]
Don't just blindly print out the server pool definition,
it may be referenced twice.

This fixes bug #467

16 years ago Removed use of cf_section_value_find(). We now do better
aland [Thu, 5 Jul 2007 08:34:51 +0000 (08:34 +0000)]
Removed use of cf_section_value_find().  We now do better
parsing of the config.

This also fixes bug #466

16 years ago Updated
aland [Wed, 4 Jul 2007 13:46:27 +0000 (13:46 +0000)]
Updated

16 years ago Added $-INCLUDE, which will include the file only if it exists
aland [Wed, 4 Jul 2007 05:54:17 +0000 (05:54 +0000)]
Added $-INCLUDE, which will include the file only if it exists

16 years ago Double-check use of if/elsif. If they're not in a server{}
aland [Wed, 4 Jul 2007 05:49:28 +0000 (05:49 +0000)]
Double-check use of if/elsif.  If they're not in a server{}
section, then don't allow them to be used.  Note we've now got
to fix the vmps sanity checking code, too, as everything is
supposed to be in a server{} section

16 years ago Added and documented "virtual_server" config for PEAP and TTLS.
aland [Tue, 3 Jul 2007 05:48:43 +0000 (05:48 +0000)]
Added and documented "virtual_server" config for PEAP and TTLS.
This lets the administrator control which virtual server
processes the tunneled request.

16 years ago Copy inst->xlat_name from module name
aland [Mon, 2 Jul 2007 22:08:39 +0000 (22:08 +0000)]
Copy inst->xlat_name from module name

Set xlat name to inst->xlat_name, and don't set it for "mschap".
If the user doesn't configure "mschap", then lots of other
things will break.

Don't free inst->xlat_name, as we're no longer strdup'ing it.

16 years ago allow '-' in filenames, too
aland [Mon, 2 Jul 2007 21:48:21 +0000 (21:48 +0000)]
allow '-' in filenames, too

16 years ago Added module return codes to conditions in unlang
aland [Mon, 2 Jul 2007 10:01:36 +0000 (10:01 +0000)]
Added module return codes to conditions in unlang

16 years ago We don't set the ephemeral RSA keys option, so it isn't included
aland [Mon, 2 Jul 2007 07:48:11 +0000 (07:48 +0000)]
We don't set the ephemeral RSA keys option, so it isn't included
in the SSL negotiation, so we don't need this code.

16 years ago Proxy sockets don't have servers
aland [Sat, 30 Jun 2007 15:11:18 +0000 (15:11 +0000)]
Proxy sockets don't have servers

16 years ago More radlog -> cf_log_err
aland [Fri, 29 Jun 2007 12:29:30 +0000 (12:29 +0000)]
More radlog -> cf_log_err

16 years ago Insert things into the name2 tree, even if name2 is NULL
aland [Fri, 29 Jun 2007 10:59:01 +0000 (10:59 +0000)]
Insert things into the name2 tree, even if name2 is NULL

16 years ago Sample inner tunnel server. Untested.
aland [Fri, 29 Jun 2007 10:06:37 +0000 (10:06 +0000)]
Sample inner tunnel server.  Untested.

16 years ago Move Status-Server to accounting section, not session
aland [Fri, 29 Jun 2007 10:05:00 +0000 (10:05 +0000)]
Move Status-Server to accounting section, not session

16 years ago We now have a default "server {}" section
aland [Fri, 29 Jun 2007 09:58:57 +0000 (09:58 +0000)]
We now have a default "server {}" section

16 years ago Pass CONF_SECTION to listen_init(), for better error messages
aland [Fri, 29 Jun 2007 09:42:10 +0000 (09:42 +0000)]
Pass CONF_SECTION to listen_init(), for better error messages

16 years ago Set default port for VMPS
aland [Fri, 29 Jun 2007 09:39:46 +0000 (09:39 +0000)]
Set default port for VMPS

16 years ago Server sections don't require a name
aland [Fri, 29 Jun 2007 09:39:06 +0000 (09:39 +0000)]
Server sections don't require a name

16 years ago Don't free server, it's taken from the config structures
aland [Fri, 29 Jun 2007 09:32:18 +0000 (09:32 +0000)]
Don't free server, it's taken from the config structures

16 years ago Move "authorize", etc. into a default server{} block.
aland [Fri, 29 Jun 2007 09:31:04 +0000 (09:31 +0000)]
Move "authorize", etc. into a default server{} block.

16 years ago Parse error, rather than assert
aland [Fri, 29 Jun 2007 09:25:48 +0000 (09:25 +0000)]
Parse error, rather than assert