]> git.ipfire.org Git - thirdparty/freeradius-server.git/log
thirdparty/freeradius-server.git
11 years agoDo allocate_clear no more than once per second
Alan T. DeKok [Mon, 25 Nov 2013 15:22:41 +0000 (10:22 -0500)] 
Do allocate_clear no more than once per second

To lower the load on the database.

11 years agoPut a separate transaction around allocate_clear
Alan T. DeKok [Mon, 25 Nov 2013 15:19:16 +0000 (10:19 -0500)] 
Put a separate transaction around allocate_clear

to deal with MySQL issues.  It reduces deadlocks

11 years agoDon't need debugging when we open a new TLS socket
Alan T. DeKok [Fri, 22 Nov 2013 15:12:17 +0000 (10:12 -0500)] 
Don't need debugging when we open a new TLS socket

11 years agoDon't worry about threading when doing radiusd -C
Alan T. DeKok [Fri, 22 Nov 2013 14:50:26 +0000 (09:50 -0500)] 
Don't worry about threading when doing radiusd -C

We're not opening sockets or starting threads, so the error
message isn't necessary

11 years agoFix the test. Fixes #480
Alan T. DeKok [Fri, 22 Nov 2013 03:30:05 +0000 (22:30 -0500)] 
Fix the test.  Fixes #480

Returns aren't recursive.
See doc/configuration/configurable_failover.rst

The "Handle accounting packets" line doesn't do "detail2" if
"detail1" succeeds.  However, it DOES do the "redundant" block
immediately following the "group" which contains both "detail1"
and "detail2"

11 years agoAdd return and return-group tests
Arran Cudbard-Bell [Thu, 21 Nov 2013 23:47:52 +0000 (23:47 +0000)] 
Add return and return-group tests

11 years agoUpdate rcradiusd
annanymous2 [Mon, 4 Nov 2013 12:26:54 +0000 (13:26 +0100)] 
Update rcradiusd

Two new Parameters for SuSe init-Script

11 years agolibiodbc2 now needs to be install before libiodbc2-dev
Arran Cudbard-Bell [Thu, 21 Nov 2013 12:41:13 +0000 (12:41 +0000)] 
libiodbc2 now needs to be install before libiodbc2-dev

11 years agoClean up counters when we close the socket
Alan T. DeKok [Thu, 21 Nov 2013 00:16:05 +0000 (19:16 -0500)] 
Clean up counters when we close the socket

11 years agoUse sock context for allocating packets
Alan T. DeKok [Thu, 21 Nov 2013 00:14:31 +0000 (19:14 -0500)] 
Use sock context for allocating packets

So they get free'd correctly when we exit

11 years agocheck_config is now a bool
Alan T. DeKok [Wed, 20 Nov 2013 23:04:29 +0000 (18:04 -0500)] 
check_config is now a bool

11 years agoNote recent changes
Alan T. DeKok [Wed, 20 Nov 2013 14:49:09 +0000 (09:49 -0500)] 
Note recent changes

11 years agoFix typo
Alan T. DeKok [Wed, 20 Nov 2013 04:35:55 +0000 (23:35 -0500)] 
Fix typo

11 years agoRemove rlm_eap from messages. It's no longer in a module
Alan T. DeKok [Mon, 18 Nov 2013 22:05:54 +0000 (17:05 -0500)] 
Remove rlm_eap from messages.  It's no longer in a module

11 years agoProper fix for .gitignore and debian packaging
Arran Cudbard-Bell [Sun, 17 Nov 2013 17:55:25 +0000 (17:55 +0000)] 
Proper fix for .gitignore and debian packaging

11 years agoRemove patches after build
Arran Cudbard-Bell [Sun, 17 Nov 2013 17:04:45 +0000 (17:04 +0000)] 
Remove patches after build

11 years agoDebian fixes
Arran Cudbard-Bell [Sun, 17 Nov 2013 13:26:25 +0000 (13:26 +0000)] 
Debian fixes

11 years agoQuiet static analysis
Arran Cudbard-Bell [Sun, 17 Nov 2013 13:01:16 +0000 (13:01 +0000)] 
Quiet static analysis

11 years agoWe should probably still make a minimal effort not to leak memory
Arran Cudbard-Bell [Sat, 16 Nov 2013 21:32:43 +0000 (21:32 +0000)] 
We should probably still make a minimal effort not to leak memory

11 years agoSet operator correctly when calling paircompare from radius_evaluate_map
Arran Cudbard-Bell [Sat, 16 Nov 2013 21:22:03 +0000 (21:22 +0000)] 
Set operator correctly when calling paircompare from radius_evaluate_map

11 years agoCopy vp doesn't copy OP
Arran Cudbard-Bell [Fri, 15 Nov 2013 22:09:36 +0000 (22:09 +0000)] 
Copy vp doesn't copy OP

11 years agoFix invalid operator message priority
Arran Cudbard-Bell [Fri, 15 Nov 2013 17:00:55 +0000 (17:00 +0000)] 
Fix invalid operator message priority

Conflicts:
src/main/valuepair.c

11 years agoFix error message to be clearer
Alan T. DeKok [Fri, 15 Nov 2013 15:43:20 +0000 (10:43 -0500)] 
Fix error message to be clearer

11 years agoProtect the server from people breaking the dictionaries
Alan T. DeKok [Fri, 15 Nov 2013 15:40:52 +0000 (10:40 -0500)] 
Protect the server from people breaking the dictionaries

11 years agoDepend on local files
Alan T. DeKok [Fri, 15 Nov 2013 15:27:16 +0000 (10:27 -0500)] 
Depend on local files

11 years agoUse locally linked version of tests.
Alan T. DeKok [Fri, 15 Nov 2013 14:51:17 +0000 (09:51 -0500)] 
Use locally linked version of tests.

Otherwise they pick up the installed libraries, which may be different

11 years agoChange order of arguments for radius_get_vp to be the same as master
Arran Cudbard-Bell [Fri, 15 Nov 2013 12:15:26 +0000 (12:15 +0000)] 
Change order of arguments for radius_get_vp to be the same as master

11 years agoChange how rlm_date operates. Now takes an attribute ref and infers operation from...
Arran Cudbard-Bell [Fri, 15 Nov 2013 11:48:22 +0000 (11:48 +0000)] 
Change how rlm_date operates. Now takes an attribute ref and infers operation from attribute type.

11 years agoDate formatting module
Artur Malinowski [Tue, 5 Nov 2013 16:37:45 +0000 (16:37 +0000)] 
Date formatting module

11 years agoMake error message more descriptive
Alan T. DeKok [Thu, 14 Nov 2013 15:01:31 +0000 (10:01 -0500)] 
Make error message more descriptive

11 years agoDocument references
Alan T. DeKok [Thu, 14 Nov 2013 14:49:21 +0000 (09:49 -0500)] 
Document references

11 years agoUpdate the conffile parser to treat the fields mapped to PW_TYPE_BOOLEAN as bools
Arran Cudbard-Bell [Thu, 14 Nov 2013 14:41:59 +0000 (14:41 +0000)] 
Update the conffile parser to treat the fields mapped to PW_TYPE_BOOLEAN as bools

11 years agoRely on mods-enabled/expr now that we use it
Alan T. DeKok [Thu, 14 Nov 2013 02:03:14 +0000 (21:03 -0500)] 
Rely on mods-enabled/expr now that we use it

11 years agoMore descriptive error messages for casts
Alan T. DeKok [Wed, 13 Nov 2013 22:05:20 +0000 (17:05 -0500)] 
More descriptive error messages for casts

11 years agoOn error, dump the entire debug log
Alan T. DeKok [Wed, 13 Nov 2013 21:54:36 +0000 (16:54 -0500)] 
On error, dump the entire debug log

11 years agoMore tests
Alan T. DeKok [Wed, 13 Nov 2013 21:50:59 +0000 (16:50 -0500)] 
More tests

11 years agoMore tests
Alan T. DeKok [Wed, 13 Nov 2013 21:43:21 +0000 (16:43 -0500)] 
More tests

11 years agoPrint correct output filename
Alan T. DeKok [Wed, 13 Nov 2013 21:20:19 +0000 (16:20 -0500)] 
Print correct output filename

11 years agoAutomatically find all test files
Alan T. DeKok [Wed, 13 Nov 2013 15:44:28 +0000 (10:44 -0500)] 
Automatically find all test files

11 years agoFormatting
Alan T. DeKok [Wed, 13 Nov 2013 15:34:05 +0000 (10:34 -0500)] 
Formatting

11 years agoFormatting
Alan T. DeKok [Wed, 13 Nov 2013 15:32:54 +0000 (10:32 -0500)] 
Formatting

11 years agoUpdates for dependencies
Alan T. DeKok [Wed, 13 Nov 2013 15:32:04 +0000 (10:32 -0500)] 
Updates for dependencies

11 years agoOne more test
Alan T. DeKok [Wed, 13 Nov 2013 14:47:29 +0000 (09:47 -0500)] 
One more test

11 years agoTrying out the new test framework
Arran Cudbard-Bell [Tue, 12 Nov 2013 19:14:24 +0000 (19:14 +0000)] 
Trying out the new test framework

It works!

11 years agoSet a lower bound on delay
Alan T. DeKok [Tue, 12 Nov 2013 20:18:53 +0000 (15:18 -0500)] 
Set a lower bound on delay

11 years agoAdd %{Response-Packet-Type} back in
Arran Cudbard-Bell [Tue, 12 Nov 2013 14:46:42 +0000 (14:46 +0000)] 
Add %{Response-Packet-Type} back in

11 years agoKey should be double quoted
Arran Cudbard-Bell [Mon, 11 Nov 2013 17:31:37 +0000 (12:31 -0500)] 
Key should be double quoted

11 years agoRemove base64 encode alloc and decode alloc, they're pointless when we have the macro...
Arran Cudbard-Bell [Mon, 11 Nov 2013 16:02:18 +0000 (16:02 +0000)] 
Remove base64 encode alloc and decode alloc, they're pointless when we have the macros to calculate the required encoded and decoded buffers.

12 years agoOnly put the clone_mutex in the rlm_perl struct if using ITHREADS
Herwin Weststrate [Fri, 8 Nov 2013 18:51:15 +0000 (19:51 +0100)] 
Only put the clone_mutex in the rlm_perl struct if using ITHREADS

All the code concerning clone_mutex has been wrapped in ifdef-blocks. This way we don't have lingering variables around.

12 years agoMore docs
Alan T. DeKok [Thu, 7 Nov 2013 17:52:01 +0000 (09:52 -0800)] 
More docs

12 years agoAdd example of limit section
Alan T. DeKok [Thu, 7 Nov 2013 17:43:22 +0000 (09:43 -0800)] 
Add example of limit section

copied from "default"

12 years agoAdd the efficient IP vendor dictionary
Arran Cudbard-Bell [Wed, 6 Nov 2013 17:37:06 +0000 (17:37 +0000)] 
Add the efficient IP vendor dictionary

Some guy sent over the ACS definitions, so why not...

12 years agoRename gettime to fr_get_time and move into misc.c
Arran Cudbard-Bell [Tue, 5 Nov 2013 12:07:47 +0000 (12:07 +0000)] 
Rename gettime to fr_get_time and move into misc.c

12 years agoUseful to have this
Alan T. DeKok [Tue, 5 Nov 2013 02:19:21 +0000 (18:19 -0800)] 
Useful to have this

12 years agoAs sent via email
Alan T. DeKok [Tue, 5 Nov 2013 02:18:42 +0000 (18:18 -0800)] 
As sent via email

12 years agoAdded elsif test
Alan T. DeKok [Mon, 4 Nov 2013 21:41:48 +0000 (13:41 -0800)] 
Added elsif test

12 years agoStop trying to encode things if the packet is full
Alan T. DeKok [Mon, 4 Nov 2013 16:52:31 +0000 (08:52 -0800)] 
Stop trying to encode things if the packet is full

12 years agoMerge pull request #459 from jlohiser/v3.0.x_rpm_spec_fixes
Arran Cudbard-Bell [Mon, 4 Nov 2013 13:53:24 +0000 (05:53 -0800)] 
Merge pull request #459 from jlohiser/v3.0.x_rpm_spec_fixes

Updates to redhat/freeradius.spec

12 years agoUse .attrs instead of .txt for request/response definitions
Arran Cudbard-Bell [Sun, 3 Nov 2013 19:28:17 +0000 (19:28 +0000)] 
Use .attrs instead of .txt for request/response definitions

12 years agoFormatting
Arran Cudbard-Bell [Thu, 31 Oct 2013 14:57:03 +0000 (14:57 +0000)] 
Formatting

12 years agoMissed this in previous commits
Alan T. DeKok [Sat, 2 Nov 2013 14:57:52 +0000 (10:57 -0400)] 
Missed this in previous commits

12 years agoClarification
Alan T. DeKok [Sat, 2 Nov 2013 13:52:54 +0000 (09:52 -0400)] 
Clarification

12 years agoMore tests, and updated build rules
Alan T. DeKok [Sat, 2 Nov 2013 13:48:00 +0000 (09:48 -0400)] 
More tests, and updated build rules

12 years agorequire modules to be enabled before running the tests
Alan T. DeKok [Sat, 2 Nov 2013 03:05:56 +0000 (23:05 -0400)] 
require modules to be enabled before running the tests

12 years agoExpose more of what's going on in the test
Alan T. DeKok [Sat, 2 Nov 2013 02:53:01 +0000 (22:53 -0400)] 
Expose more of what's going on in the test

It passed on all of the systems I have access to, but travis claims
it's failing.  So... expose more stuff

12 years agoClean target for keywords
Alan T. DeKok [Sat, 2 Nov 2013 02:52:52 +0000 (22:52 -0400)] 
Clean target for keywords

12 years agoDocumentation would be nice
Alan T. DeKok [Sat, 2 Nov 2013 00:47:32 +0000 (20:47 -0400)] 
Documentation would be nice

12 years agoAdded simple keyword tests
Alan T. DeKok [Sat, 2 Nov 2013 00:37:52 +0000 (20:37 -0400)] 
Added simple keyword tests

This should let us test the functionality of the unlang keywords

We should later add another (similar) directory, which tests
combinations of keywords, fail-over, etc.

12 years agoSimplify pairvalidate
Alan T. DeKok [Sat, 2 Nov 2013 00:28:55 +0000 (20:28 -0400)] 
Simplify pairvalidate

- sort each input list
- walk down both lists in sync
  - if the two attributes are of different types, die
  - if the two attributes don't compare equal, die

  - go to the next attribute in each list
  - if both are NULL, we're done
  - if one is NULL and the other isn't, die

12 years agoComment out tests which depend on timezoine
Alan T. DeKok [Fri, 1 Nov 2013 19:06:31 +0000 (15:06 -0400)] 
Comment out tests which depend on timezoine

12 years agoNote recent changes
Alan T. DeKok [Fri, 1 Nov 2013 18:49:51 +0000 (14:49 -0400)] 
Note recent changes

12 years agoFix dependency ordering
Alan T. DeKok [Fri, 1 Nov 2013 18:42:46 +0000 (14:42 -0400)] 
Fix dependency ordering

12 years agoMoved unit tests to their own directory
Alan T. DeKok [Fri, 1 Nov 2013 18:39:28 +0000 (14:39 -0400)] 
Moved unit tests to their own directory

12 years agoFix output strings for new printing method
Alan T. DeKok [Fri, 1 Nov 2013 18:22:01 +0000 (14:22 -0400)] 
Fix output strings for new printing method

12 years agoMark WiMAX "unknown" DICT_ATTRs as being WiMAX
Alan T. DeKok [Fri, 1 Nov 2013 18:21:22 +0000 (14:21 -0400)] 
Mark WiMAX "unknown" DICT_ATTRs as being WiMAX

12 years agoDecode last fragment of extended attrs properly
Alan T. DeKok [Fri, 1 Nov 2013 18:16:40 +0000 (14:16 -0400)] 
Decode last fragment of extended attrs properly

12 years agoUpdates for changes to default printing
Alan T. DeKok [Fri, 1 Nov 2013 18:08:32 +0000 (14:08 -0400)] 
Updates for changes to default printing

12 years agoAllow reading files from subdirs
Alan T. DeKok [Fri, 1 Nov 2013 18:05:58 +0000 (14:05 -0400)] 
Allow reading files from subdirs

12 years agoAdd to list only if list exists
Alan T. DeKok [Fri, 1 Nov 2013 18:03:39 +0000 (14:03 -0400)] 
Add to list only if list exists

12 years agoIf -i file == -f file, then we treat the filter as after the input
Alan T. DeKok [Fri, 1 Nov 2013 13:24:10 +0000 (09:24 -0400)] 
If -i file == -f file, then we treat the filter as after the input

User-Name = "bob",
User-Password = "bob"

Filter-Id == "boo"

12 years agoAdded filter file support
Alan T. DeKok [Thu, 31 Oct 2013 17:45:14 +0000 (13:45 -0400)] 
Added filter file support

So that it checks the output against a filter file

12 years agoSplit out IP qualified client attributes into 'getclient' xlat
Arran Cudbard-Bell [Thu, 31 Oct 2013 14:53:34 +0000 (14:53 +0000)] 
Split out IP qualified client attributes into 'getclient' xlat

12 years agoIf groups or profiles return notfound, that should *not* set the overall code to...
Arran Cudbard-Bell [Thu, 31 Oct 2013 11:59:34 +0000 (11:59 +0000)] 
If groups or profiles return notfound, that should *not* set the overall code to notfound.

12 years agoSupport retrieving client information for clients other than the one associated with...
Arran Cudbard-Bell [Tue, 29 Oct 2013 18:16:14 +0000 (18:16 +0000)] 
Support retrieving client information for clients other than the one associated with the request

12 years agoFix typo
Alan T. DeKok [Thu, 31 Oct 2013 03:54:45 +0000 (23:54 -0400)] 
Fix typo

12 years agoFix build issues
Alan T. DeKok [Thu, 31 Oct 2013 03:10:31 +0000 (20:10 -0700)] 
Fix build issues

12 years agoRemove unused variable
Alan T. DeKok [Thu, 31 Oct 2013 01:36:15 +0000 (21:36 -0400)] 
Remove unused variable

12 years agoDon't install unittest
Alan T. DeKok [Wed, 30 Oct 2013 23:59:56 +0000 (19:59 -0400)] 
Don't install unittest

12 years agoIf installdir is "", don't install the program
Alan T. DeKok [Wed, 30 Oct 2013 23:59:47 +0000 (19:59 -0400)] 
If installdir is "", don't install the program

12 years agoBetter handler for --mode=execute
Alan T. DeKok [Wed, 30 Oct 2013 23:11:33 +0000 (19:11 -0400)] 
Better handler for --mode=execute

Everything after the "--mode=execute" are treated as options to the
command to be execute, and not jlibtool arguments, or arguments
that jlibtool gets excited about.

12 years agoAdded preliminary unit test program
Alan T. DeKok [Wed, 30 Oct 2013 23:00:15 +0000 (19:00 -0400)] 
Added preliminary unit test program

Which thinks it's "radiusd".  But, it never opens any sockets.
All it does is read a "packet" from a file, and dump the "reply"
to another file.

12 years agoPrint out name on end of loading server, too
Alan T. DeKok [Wed, 30 Oct 2013 22:53:56 +0000 (18:53 -0400)] 
Print out name on end of loading server, too

12 years agomemset structs to zero
Alan T. DeKok [Wed, 30 Oct 2013 15:23:15 +0000 (11:23 -0400)] 
memset structs to zero

12 years agoNo results mean we didn't succeed.
Alan T. DeKok [Tue, 29 Oct 2013 21:08:49 +0000 (17:08 -0400)] 
No results mean we didn't succeed.

Versus returning "empty string", which makes alternation fail.

Fixes #460

12 years agoMissed PAD macro
Arran Cudbard-Bell [Tue, 29 Oct 2013 17:10:00 +0000 (17:10 +0000)] 
Missed PAD macro

12 years agoProper fix for calculating encoded session-key length
Arran Cudbard-Bell [Tue, 29 Oct 2013 16:53:41 +0000 (16:53 +0000)] 
Proper fix for calculating encoded session-key length

12 years agoTypo
Alan T. DeKok [Tue, 29 Oct 2013 12:21:58 +0000 (08:21 -0400)] 
Typo

12 years agoPrint the start of a Foreach block, too
Alan T. DeKok [Tue, 29 Oct 2013 12:15:14 +0000 (08:15 -0400)] 
Print the start of a Foreach block, too

12 years agoCopy only one VP
Alan T. DeKok [Tue, 29 Oct 2013 12:12:56 +0000 (08:12 -0400)] 
Copy only one VP

12 years agoIncrease size of LEAP session key buffer
Alan T. DeKok [Tue, 29 Oct 2013 11:36:48 +0000 (07:36 -0400)] 
Increase size of LEAP session key buffer