]> git.ipfire.org Git - thirdparty/freeradius-server.git/log
thirdparty/freeradius-server.git
11 years agoFix license erroneously updated by commit 23d838445
Alan T. DeKok [Tue, 13 Jan 2015 04:01:12 +0000 (23:01 -0500)] 
Fix license erroneously updated by commit 23d838445

The main LICENSE file and all in-code licenses are GPLv2 or later,
except for rlm_opendirectory.  Apple insisted on GPLv2 for that.

11 years agos/if/of/ in the GPL license
Alan T. DeKok [Tue, 13 Jan 2015 03:51:26 +0000 (22:51 -0500)] 
s/if/of/ in the GPL license

11 years agoDefine "Auth-Type foo" before loading the modules.
Alan T. DeKok [Tue, 13 Jan 2015 03:50:23 +0000 (22:50 -0500)] 
Define "Auth-Type foo" before loading the modules.

Because some modules (e.g. EAP-GTC) may refer to them.
So we need to have the types defined before the module loads.

11 years agoDon't install rlm_test
Alan T. DeKok [Mon, 12 Jan 2015 18:07:34 +0000 (13:07 -0500)] 
Don't install rlm_test

11 years agoLink libfreeradius-server against openssl to that linker can include version of SSLea...
Philippe Wooding [Mon, 12 Jan 2015 11:05:31 +0000 (12:05 +0100)] 
Link libfreeradius-server against openssl to that linker can include version of SSLeay functions to use. Since version.c was moved to libfreeradius-server, the wrong version was being used on RadHat.

11 years agoUpdate ChangeLog
Arran Cudbard-Bell [Mon, 12 Jan 2015 02:20:22 +0000 (09:20 +0700)] 
Update ChangeLog

11 years agoAdd test script for radclient
Arran Cudbard-Bell [Mon, 12 Jan 2015 01:04:04 +0000 (08:04 +0700)] 
Add test script for radclient

11 years agoAdd foreach isolation test
Arran Cudbard-Bell [Sun, 11 Jan 2015 04:04:17 +0000 (11:04 +0700)] 
Add foreach isolation test

Foreach should copy all target attributes, so modifying the list being iterated over shouldn't change how foreach behaves

11 years agoTypo
Arran Cudbard-Bell [Sat, 10 Jan 2015 03:14:43 +0000 (10:14 +0700)] 
Typo

11 years agoFormatting
Arran Cudbard-Bell [Thu, 8 Jan 2015 21:57:15 +0000 (04:57 +0700)] 
Formatting

11 years agobring rlm_pap man page up-to-date 870/head
Matthew Newton [Sat, 10 Jan 2015 02:10:22 +0000 (02:10 +0000)] 
bring rlm_pap man page up-to-date

11 years agoTypos
Alan T. DeKok [Fri, 9 Jan 2015 19:33:25 +0000 (14:33 -0500)] 
Typos

11 years ago<sigh> more weirdness
Alan T. DeKok [Fri, 9 Jan 2015 12:42:42 +0000 (07:42 -0500)] 
<sigh> more weirdness

11 years agoDon't check EV_READ flag. It MUST be a read event
Alan T. DeKok [Wed, 7 Jan 2015 17:20:52 +0000 (12:20 -0500)] 
Don't check EV_READ flag.  It MUST be a read event

11 years agoIf we can't load DHCP, complain. Closes #869
Alan T. DeKok [Tue, 6 Jan 2015 19:07:05 +0000 (14:07 -0500)] 
If we can't load DHCP, complain. Closes #869

11 years agoInclude "test" module in dependencies
Alan T. DeKok [Tue, 6 Jan 2015 15:02:08 +0000 (10:02 -0500)] 
Include "test" module in dependencies

11 years agoUpdate README.rst
Arran Cudbard-Bell [Tue, 6 Jan 2015 03:49:09 +0000 (22:49 -0500)] 
Update README.rst

11 years agoUpdate README.rst
Arran Cudbard-Bell [Tue, 6 Jan 2015 03:45:05 +0000 (22:45 -0500)] 
Update README.rst

11 years agoUnignore all.mk in rlm_test
Arran Cudbard-Bell [Tue, 6 Jan 2015 00:48:58 +0000 (19:48 -0500)] 
Unignore all.mk in rlm_test

11 years agoAdd tests for Module-Failure-Message
Arran Cudbard-Bell [Mon, 5 Jan 2015 21:12:23 +0000 (16:12 -0500)] 
Add tests for Module-Failure-Message

11 years agoRe-arrange internal dictionary
Arran Cudbard-Bell [Mon, 5 Jan 2015 21:11:51 +0000 (16:11 -0500)] 
Re-arrange internal dictionary

11 years agoFix log levels
Arran Cudbard-Bell [Mon, 5 Jan 2015 19:08:08 +0000 (14:08 -0500)] 
Fix log levels

11 years agoRemove extraneous debug message
Alan T. DeKok [Mon, 5 Jan 2015 17:36:22 +0000 (12:36 -0500)] 
Remove extraneous debug message

11 years agoInitialize xlats before reading the config
Alan T. DeKok [Mon, 5 Jan 2015 16:56:22 +0000 (11:56 -0500)] 
Initialize xlats before reading the config

11 years agoDon't unregister if the tree doesn't exist
Alan T. DeKok [Mon, 5 Jan 2015 16:31:22 +0000 (11:31 -0500)] 
Don't unregister if the tree doesn't exist

11 years agoBuild without libpcre for the optional library test in travis
Arran Cudbard-Bell [Mon, 5 Jan 2015 13:32:20 +0000 (08:32 -0500)] 
Build without libpcre for the optional library test in travis

11 years agoRecurse into "if (1)" too, for pass2 compilations
Alan T. DeKok [Mon, 5 Jan 2015 04:38:21 +0000 (23:38 -0500)] 
Recurse into "if (1)" too, for pass2 compilations

11 years agoUpdate ChangeLog
Arran Cudbard-Bell [Mon, 5 Jan 2015 03:29:02 +0000 (22:29 -0500)] 
Update ChangeLog

11 years agoExpose core library versions and features in ${feature.*} and ${version.*}
Arran Cudbard-Bell [Mon, 5 Jan 2015 01:29:43 +0000 (20:29 -0500)] 
Expose core library versions and features in ${feature.*} and ${version.*}

This is mainly needed so that the regex flavour is available for shipped policies, but can also be used for the canonical store of module dependency version numbers.

That in itself isn't useful for the server config, as we'd need some sort of 'pass2' for the config sections, but it is useful for querying via radmin.

11 years agoRename regex tests
Arran Cudbard-Bell [Mon, 5 Jan 2015 01:20:29 +0000 (20:20 -0500)] 
Rename regex tests

11 years agoAlloc main config section before reading config file in case there are any sections...
Arran Cudbard-Bell [Mon, 5 Jan 2015 01:19:25 +0000 (20:19 -0500)] 
Alloc main config section before reading config file in case there are any sections the server needs to add

11 years agoFix debug_enabled functions
Arran Cudbard-Bell [Mon, 5 Jan 2015 01:17:13 +0000 (20:17 -0500)] 
Fix debug_enabled functions

11 years agoFormatting
Arran Cudbard-Bell [Mon, 5 Jan 2015 00:03:45 +0000 (19:03 -0500)] 
Formatting

11 years agoAllow building with PCRE to be explicitly disabled (mostly for travis)
Arran Cudbard-Bell [Sun, 4 Jan 2015 20:32:51 +0000 (15:32 -0500)] 
Allow building with PCRE to be explicitly disabled (mostly for travis)

11 years agoDisable subcaptures the proper way
Arran Cudbard-Bell [Sun, 4 Jan 2015 20:31:57 +0000 (15:31 -0500)] 
Disable subcaptures the proper way

11 years agoTests for unary negation
Alan T. DeKok [Sun, 4 Jan 2015 21:13:07 +0000 (16:13 -0500)] 
Tests for unary negation

11 years agoNote recent changes
Alan T. DeKok [Sun, 4 Jan 2015 21:07:13 +0000 (16:07 -0500)] 
Note recent changes

11 years agoAllow unary negation before parantheses
Alan T. DeKok [Sun, 4 Jan 2015 21:05:37 +0000 (16:05 -0500)] 
Allow unary negation before parantheses

11 years agoUpdate ChangeLog
Arran Cudbard-Bell [Sun, 4 Jan 2015 15:29:08 +0000 (10:29 -0500)] 
Update ChangeLog

11 years agoQuiet coverity
Arran Cudbard-Bell [Sun, 4 Jan 2015 00:43:43 +0000 (19:43 -0500)] 
Quiet coverity

11 years agoREG_NOSUB is a compile time option only. Likely Closes #868
Arran Cudbard-Bell [Sat, 3 Jan 2015 19:17:58 +0000 (14:17 -0500)] 
REG_NOSUB is a compile time option only. Likely Closes #868

11 years agoHave pcre_exec produce more meaningful errors than negative integers.
Arran Cudbard-Bell [Sat, 3 Jan 2015 19:13:43 +0000 (14:13 -0500)] 
Have pcre_exec produce more meaningful errors than negative integers.

11 years agoPrint errors from regex_exec
Arran Cudbard-Bell [Sat, 3 Jan 2015 19:13:14 +0000 (14:13 -0500)] 
Print errors from regex_exec

11 years agonmatch may be NULL, too. Closes #868
Alan T. DeKok [Sat, 3 Jan 2015 01:22:35 +0000 (20:22 -0500)] 
nmatch may be NULL, too.  Closes #868

11 years agoLast argument to regex_exec() is NULL, not an integer
Alan T. DeKok [Sat, 3 Jan 2015 01:21:49 +0000 (20:21 -0500)] 
Last argument to regex_exec() is NULL, not an integer

11 years agoAllow foreach to operate on lists
Arran Cudbard-Bell [Fri, 2 Jan 2015 23:36:29 +0000 (18:36 -0500)] 
Allow foreach to operate on lists

No extra code here, just removing restrictions. This was made possible a while ago by the tmpl cursor functions.

11 years agoAdd extra debugging to rlm_sqlcounter
Arran Cudbard-Bell [Fri, 2 Jan 2015 23:31:34 +0000 (18:31 -0500)] 
Add extra debugging to rlm_sqlcounter

11 years agoOnly restrict attribute numbers for VSAs when processing unknown attribute strings
Arran Cudbard-Bell [Fri, 2 Jan 2015 19:54:09 +0000 (14:54 -0500)] 
Only restrict attribute numbers for VSAs when processing unknown attribute strings

11 years agoPrint errors when the first character isn't zero
Alan T. DeKok [Fri, 2 Jan 2015 15:38:09 +0000 (10:38 -0500)] 
Print errors when the first character isn't zero

11 years agoAdditional check for RFC attr passed to vsa encoder
Arran Cudbard-Bell [Fri, 2 Jan 2015 05:07:50 +0000 (00:07 -0500)] 
Additional check for RFC attr passed to vsa encoder

11 years agoFormatting
Arran Cudbard-Bell [Fri, 2 Jan 2015 05:07:11 +0000 (00:07 -0500)] 
Formatting

11 years agoAllow error to pass up from dict_unknown_from_substr
Arran Cudbard-Bell [Fri, 2 Jan 2015 05:05:22 +0000 (00:05 -0500)] 
Allow error to pass up from dict_unknown_from_substr

11 years agoAdd some additional xlats to expose attribute name, number and vendor
Arran Cudbard-Bell [Fri, 2 Jan 2015 05:04:54 +0000 (00:04 -0500)] 
Add some additional xlats to expose attribute name, number and vendor

11 years agoCheck vendor name
Arran Cudbard-Bell [Fri, 2 Jan 2015 05:04:00 +0000 (00:04 -0500)] 
Check vendor name

11 years agoRename radius_expand_tmpl to tmpl_expand and make it write the result to a char point...
Arran Cudbard-Bell [Thu, 1 Jan 2015 18:13:27 +0000 (13:13 -0500)] 
Rename radius_expand_tmpl to tmpl_expand and make it write the result to a char pointer instead of value_data

This means it can be used in more places

11 years agoRemove spurious fprintf
Arran Cudbard-Bell [Thu, 1 Jan 2015 17:52:05 +0000 (12:52 -0500)] 
Remove spurious fprintf

11 years agoRecord type of LHS of cf pairs too
Arran Cudbard-Bell [Thu, 1 Jan 2015 16:30:14 +0000 (11:30 -0500)] 
Record type of LHS of cf pairs too

11 years agoUpdate copyright notices
Arran Cudbard-Bell [Wed, 31 Dec 2014 23:04:44 +0000 (18:04 -0500)] 
Update copyright notices

11 years agoUpdate ChangeLog
Arran Cudbard-Bell [Wed, 31 Dec 2014 22:23:29 +0000 (17:23 -0500)] 
Update ChangeLog

11 years agoRemove cf_template_copy and replace with cf_section_dup
Arran Cudbard-Bell [Wed, 31 Dec 2014 18:52:45 +0000 (13:52 -0500)] 
Remove cf_template_copy and replace with cf_section_dup

Has side effect of fixing infinite loop that caused the server to hang when processing templates with nested sections

11 years agoAdd simple cycle detection to cf_item_add
Arran Cudbard-Bell [Wed, 31 Dec 2014 18:51:54 +0000 (13:51 -0500)] 
Add  simple cycle detection to cf_item_add

11 years agoRemove unused code
Arran Cudbard-Bell [Wed, 31 Dec 2014 18:51:28 +0000 (13:51 -0500)] 
Remove unused code

11 years agoDoxygen
Arran Cudbard-Bell [Wed, 31 Dec 2014 16:29:28 +0000 (11:29 -0500)] 
Doxygen

11 years agoTypo
Arran Cudbard-Bell [Wed, 31 Dec 2014 16:28:28 +0000 (11:28 -0500)] 
Typo

11 years agoPerform implicit conversion from unknown attribute format to known attributes in...
Arran Cudbard-Bell [Wed, 31 Dec 2014 16:25:51 +0000 (11:25 -0500)] 
Perform implicit conversion from unknown attribute format to known attributes in conditions and update sections

e.g. Attr-1 is treated the same as User-Name

11 years agorename cf_itemto*
Arran Cudbard-Bell [Wed, 31 Dec 2014 15:15:12 +0000 (10:15 -0500)] 
rename cf_itemto*

11 years agoSometimes we don't need to generate ephemeral RSA keys
Alan T. DeKok [Wed, 31 Dec 2014 13:25:46 +0000 (08:25 -0500)] 
Sometimes we don't need to generate ephemeral RSA keys

11 years agoCoverity CID #1261369
Arran Cudbard-Bell [Wed, 31 Dec 2014 01:41:32 +0000 (20:41 -0500)] 
Coverity CID #1261369

11 years agoBuild without TLS
Arran Cudbard-Bell [Tue, 30 Dec 2014 21:51:28 +0000 (16:51 -0500)] 
Build without TLS

11 years agoDoxygen
Arran Cudbard-Bell [Tue, 30 Dec 2014 21:49:37 +0000 (16:49 -0500)] 
Doxygen

11 years agoAllow coa_server in client stanzas to be a section as well as a pair
Arran Cudbard-Bell [Mon, 29 Dec 2014 17:41:59 +0000 (12:41 -0500)] 
Allow coa_server in client stanzas to be a section as well as a pair

When used as a section it defines a new home_server with fields inherited from the client.  This can be used to turn all clients into CoA home servers.

11 years agoAdd event_loop_started global, and remove realms initialized
Arran Cudbard-Bell [Tue, 30 Dec 2014 03:12:41 +0000 (22:12 -0500)] 
Add event_loop_started global, and remove realms initialized

It's fine for modules to add additional home servers or realms when dynamic mode isn't enabled as long as the workers haven't started processing requests

11 years agoFormatting
Arran Cudbard-Bell [Tue, 30 Dec 2014 17:05:27 +0000 (12:05 -0500)] 
Formatting

11 years agoMake it possible to add home_servers without names
Arran Cudbard-Bell [Tue, 30 Dec 2014 03:02:07 +0000 (22:02 -0500)] 
Make it possible to add home_servers without names

They function like normal home servers but can't be added to pools

11 years agoAutomatically determine the default port based on protocol (for home_servers)
Arran Cudbard-Bell [Tue, 30 Dec 2014 02:54:31 +0000 (21:54 -0500)] 
Automatically determine the default port based on protocol (for home_servers)

11 years agohome server free should verify pointer with talloc_get_type_abort
Arran Cudbard-Bell [Mon, 29 Dec 2014 22:52:51 +0000 (17:52 -0500)] 
home server free should verify pointer with talloc_get_type_abort

11 years agoFix cf_pair_find_next so it works correctly with a NULL pair and a NULL attr
Arran Cudbard-Bell [Mon, 29 Dec 2014 22:52:07 +0000 (17:52 -0500)] 
Fix cf_pair_find_next so it works correctly with a NULL pair and a NULL attr

11 years agoDuplicate the pair's filename and line number too in cf_pair_dup
Arran Cudbard-Bell [Tue, 30 Dec 2014 20:39:14 +0000 (15:39 -0500)] 
Duplicate the pair's filename and line number too in cf_pair_dup

11 years agoAdd cf_section_dup, doesn't currently dup data, but could do in future...
Arran Cudbard-Bell [Tue, 30 Dec 2014 20:39:37 +0000 (15:39 -0500)] 
Add cf_section_dup, doesn't currently dup data, but could do in future...

11 years agoTidy client_add
Arran Cudbard-Bell [Mon, 29 Dec 2014 17:36:02 +0000 (12:36 -0500)] 
Tidy client_add

11 years agoCompiler warnings
Alan T. DeKok [Sat, 27 Dec 2014 14:31:32 +0000 (09:31 -0500)] 
Compiler warnings

11 years agomodule test framework works for multiple modules
Alan T. DeKok [Thu, 25 Dec 2014 16:10:35 +0000 (11:10 -0500)] 
module test framework works for multiple modules

11 years agoAdd xlat "poke" to change config of running modules
Alan T. DeKok [Thu, 25 Dec 2014 16:09:21 +0000 (11:09 -0500)] 
Add xlat "poke" to change config of running modules

11 years agoFix more types in realms.c
Arran Cudbard-Bell [Wed, 24 Dec 2014 15:00:51 +0000 (10:00 -0500)] 
Fix more types in realms.c

11 years agoUneeded
Arran Cudbard-Bell [Mon, 22 Dec 2014 22:56:36 +0000 (17:56 -0500)] 
Uneeded

11 years agoSplit out add and alloc functions for home servers
Arran Cudbard-Bell [Mon, 22 Dec 2014 22:52:12 +0000 (17:52 -0500)] 
Split out add and alloc functions for home servers

11 years agoFormatting
Arran Cudbard-Bell [Mon, 22 Dec 2014 22:37:02 +0000 (17:37 -0500)] 
Formatting

11 years agoAdditional cf_ functions
Arran Cudbard-Bell [Mon, 22 Dec 2014 22:36:54 +0000 (17:36 -0500)] 
Additional cf_ functions

11 years agoFix master_listen prototype
Arran Cudbard-Bell [Mon, 22 Dec 2014 22:36:36 +0000 (17:36 -0500)] 
Fix master_listen prototype

11 years agoclang and gcc use different pragmas to turn off warnings about unknown pragmas *gunshot*
Arran Cudbard-Bell [Mon, 22 Dec 2014 22:07:04 +0000 (17:07 -0500)] 
clang and gcc use different pragmas to turn off warnings about unknown pragmas *gunshot*

11 years agoGCC fixes
Arran Cudbard-Bell [Mon, 22 Dec 2014 21:58:14 +0000 (17:58 -0400)] 
GCC fixes

11 years agoredundant redeclaration
Arran Cudbard-Bell [Mon, 22 Dec 2014 21:30:58 +0000 (16:30 -0500)] 
redundant redeclaration

11 years agoTurn on super pedantic warnings in CLANG
Arran Cudbard-Bell [Mon, 22 Dec 2014 21:20:17 +0000 (16:20 -0500)] 
Turn on super pedantic warnings in CLANG

11 years agoINFO on unknown clients, and rate-limit them
Alan T. DeKok [Mon, 22 Dec 2014 20:22:41 +0000 (15:22 -0500)] 
INFO on unknown clients, and rate-limit them

11 years agoClarify which tests we're running
Alan T. DeKok [Mon, 22 Dec 2014 20:16:59 +0000 (15:16 -0500)] 
Clarify which tests we're running

11 years agoMore tests
Alan T. DeKok [Mon, 22 Dec 2014 20:11:28 +0000 (15:11 -0500)] 
More tests

11 years agoAdded sample tests for the "users" file
Alan T. DeKok [Mon, 22 Dec 2014 20:02:03 +0000 (15:02 -0500)] 
Added sample tests for the "users" file

11 years agoUse home_type_t instead of "int"
Alan T. DeKok [Mon, 22 Dec 2014 17:36:40 +0000 (12:36 -0500)] 
Use home_type_t instead of "int"

11 years agoEnsure framework includes drivers, too
Alan T. DeKok [Mon, 22 Dec 2014 17:06:15 +0000 (12:06 -0500)] 
Ensure framework includes drivers, too

11 years agoFramework to do module-specific tests
Alan T. DeKok [Mon, 22 Dec 2014 16:40:20 +0000 (11:40 -0500)] 
Framework to do module-specific tests

With examples and documentation