]>
git.ipfire.org Git - thirdparty/freeradius-server.git/log
Alan T. DeKok [Tue, 26 Nov 2013 16:03:11 +0000 (11:03 -0500)]
Ensure that "break" can only occur in "foreach" sections
Alan T. DeKok [Tue, 26 Nov 2013 16:02:34 +0000 (11:02 -0500)]
Ensure we only grab one error message
Alan T. DeKok [Tue, 26 Nov 2013 15:47:04 +0000 (10:47 -0500)]
Make "break" jump out of the "foreach" loop
and add a test to that effect!
Alan T. DeKok [Tue, 26 Nov 2013 15:30:52 +0000 (10:30 -0500)]
Print input VPs to the log
Alan T. DeKok [Tue, 26 Nov 2013 14:54:49 +0000 (09:54 -0500)]
Simple tests for parse errors
Alan T. DeKok [Tue, 26 Nov 2013 13:52:20 +0000 (08:52 -0500)]
From extreme
Alan T. DeKok [Mon, 25 Nov 2013 20:37:57 +0000 (15:37 -0500)]
Ensure a one-way check
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.
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
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
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
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"
Arran Cudbard-Bell [Thu, 21 Nov 2013 23:47:52 +0000 (23:47 +0000)]
Add return and return-group tests
annanymous2 [Mon, 4 Nov 2013 12:26:54 +0000 (13:26 +0100)]
Update rcradiusd
Two new Parameters for SuSe init-Script
Arran Cudbard-Bell [Thu, 21 Nov 2013 12:41:13 +0000 (12:41 +0000)]
libiodbc2 now needs to be install before libiodbc2-dev
Alan T. DeKok [Thu, 21 Nov 2013 00:16:05 +0000 (19:16 -0500)]
Clean up counters when we close the socket
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
Alan T. DeKok [Wed, 20 Nov 2013 23:04:29 +0000 (18:04 -0500)]
check_config is now a bool
Alan T. DeKok [Wed, 20 Nov 2013 14:49:09 +0000 (09:49 -0500)]
Note recent changes
Alan T. DeKok [Wed, 20 Nov 2013 04:35:55 +0000 (23:35 -0500)]
Fix typo
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
Arran Cudbard-Bell [Sun, 17 Nov 2013 17:55:25 +0000 (17:55 +0000)]
Proper fix for .gitignore and debian packaging
Arran Cudbard-Bell [Sun, 17 Nov 2013 17:04:45 +0000 (17:04 +0000)]
Remove patches after build
Arran Cudbard-Bell [Sun, 17 Nov 2013 13:26:25 +0000 (13:26 +0000)]
Debian fixes
Arran Cudbard-Bell [Sun, 17 Nov 2013 13:01:16 +0000 (13:01 +0000)]
Quiet static analysis
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
Arran Cudbard-Bell [Sat, 16 Nov 2013 21:22:03 +0000 (21:22 +0000)]
Set operator correctly when calling paircompare from radius_evaluate_map
Arran Cudbard-Bell [Fri, 15 Nov 2013 22:09:36 +0000 (22:09 +0000)]
Copy vp doesn't copy OP
Arran Cudbard-Bell [Fri, 15 Nov 2013 17:00:55 +0000 (17:00 +0000)]
Fix invalid operator message priority
Conflicts:
src/main/valuepair.c
Alan T. DeKok [Fri, 15 Nov 2013 15:43:20 +0000 (10:43 -0500)]
Fix error message to be clearer
Alan T. DeKok [Fri, 15 Nov 2013 15:40:52 +0000 (10:40 -0500)]
Protect the server from people breaking the dictionaries
Alan T. DeKok [Fri, 15 Nov 2013 15:27:16 +0000 (10:27 -0500)]
Depend on local files
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
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
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.
Artur Malinowski [Tue, 5 Nov 2013 16:37:45 +0000 (16:37 +0000)]
Date formatting module
Alan T. DeKok [Thu, 14 Nov 2013 15:01:31 +0000 (10:01 -0500)]
Make error message more descriptive
Alan T. DeKok [Thu, 14 Nov 2013 14:49:21 +0000 (09:49 -0500)]
Document references
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
Alan T. DeKok [Thu, 14 Nov 2013 02:03:14 +0000 (21:03 -0500)]
Rely on mods-enabled/expr now that we use it
Alan T. DeKok [Wed, 13 Nov 2013 22:05:20 +0000 (17:05 -0500)]
More descriptive error messages for casts
Alan T. DeKok [Wed, 13 Nov 2013 21:54:36 +0000 (16:54 -0500)]
On error, dump the entire debug log
Alan T. DeKok [Wed, 13 Nov 2013 21:50:59 +0000 (16:50 -0500)]
More tests
Alan T. DeKok [Wed, 13 Nov 2013 21:43:21 +0000 (16:43 -0500)]
More tests
Alan T. DeKok [Wed, 13 Nov 2013 21:20:19 +0000 (16:20 -0500)]
Print correct output filename
Alan T. DeKok [Wed, 13 Nov 2013 15:44:28 +0000 (10:44 -0500)]
Automatically find all test files
Alan T. DeKok [Wed, 13 Nov 2013 15:34:05 +0000 (10:34 -0500)]
Formatting
Alan T. DeKok [Wed, 13 Nov 2013 15:32:54 +0000 (10:32 -0500)]
Formatting
Alan T. DeKok [Wed, 13 Nov 2013 15:32:04 +0000 (10:32 -0500)]
Updates for dependencies
Alan T. DeKok [Wed, 13 Nov 2013 14:47:29 +0000 (09:47 -0500)]
One more test
Arran Cudbard-Bell [Tue, 12 Nov 2013 19:14:24 +0000 (19:14 +0000)]
Trying out the new test framework
It works!
Alan T. DeKok [Tue, 12 Nov 2013 20:18:53 +0000 (15:18 -0500)]
Set a lower bound on delay
Arran Cudbard-Bell [Tue, 12 Nov 2013 14:46:42 +0000 (14:46 +0000)]
Add %{Response-Packet-Type} back in
Arran Cudbard-Bell [Mon, 11 Nov 2013 17:31:37 +0000 (12:31 -0500)]
Key should be double quoted
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.
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.
Alan T. DeKok [Thu, 7 Nov 2013 17:52:01 +0000 (09:52 -0800)]
More docs
Alan T. DeKok [Thu, 7 Nov 2013 17:43:22 +0000 (09:43 -0800)]
Add example of limit section
copied from "default"
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...
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
Alan T. DeKok [Tue, 5 Nov 2013 02:19:21 +0000 (18:19 -0800)]
Useful to have this
Alan T. DeKok [Tue, 5 Nov 2013 02:18:42 +0000 (18:18 -0800)]
As sent via email
Alan T. DeKok [Mon, 4 Nov 2013 21:41:48 +0000 (13:41 -0800)]
Added elsif test
Alan T. DeKok [Mon, 4 Nov 2013 16:52:31 +0000 (08:52 -0800)]
Stop trying to encode things if the packet is full
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
Arran Cudbard-Bell [Sun, 3 Nov 2013 19:28:17 +0000 (19:28 +0000)]
Use .attrs instead of .txt for request/response definitions
Arran Cudbard-Bell [Thu, 31 Oct 2013 14:57:03 +0000 (14:57 +0000)]
Formatting
Alan T. DeKok [Sat, 2 Nov 2013 14:57:52 +0000 (10:57 -0400)]
Missed this in previous commits
Alan T. DeKok [Sat, 2 Nov 2013 13:52:54 +0000 (09:52 -0400)]
Clarification
Alan T. DeKok [Sat, 2 Nov 2013 13:48:00 +0000 (09:48 -0400)]
More tests, and updated build rules
Alan T. DeKok [Sat, 2 Nov 2013 03:05:56 +0000 (23:05 -0400)]
require modules to be enabled before running the tests
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
Alan T. DeKok [Sat, 2 Nov 2013 02:52:52 +0000 (22:52 -0400)]
Clean target for keywords
Alan T. DeKok [Sat, 2 Nov 2013 00:47:32 +0000 (20:47 -0400)]
Documentation would be nice
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.
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
Alan T. DeKok [Fri, 1 Nov 2013 19:06:31 +0000 (15:06 -0400)]
Comment out tests which depend on timezoine
Alan T. DeKok [Fri, 1 Nov 2013 18:49:51 +0000 (14:49 -0400)]
Note recent changes
Alan T. DeKok [Fri, 1 Nov 2013 18:42:46 +0000 (14:42 -0400)]
Fix dependency ordering
Alan T. DeKok [Fri, 1 Nov 2013 18:39:28 +0000 (14:39 -0400)]
Moved unit tests to their own directory
Alan T. DeKok [Fri, 1 Nov 2013 18:22:01 +0000 (14:22 -0400)]
Fix output strings for new printing method
Alan T. DeKok [Fri, 1 Nov 2013 18:21:22 +0000 (14:21 -0400)]
Mark WiMAX "unknown" DICT_ATTRs as being WiMAX
Alan T. DeKok [Fri, 1 Nov 2013 18:16:40 +0000 (14:16 -0400)]
Decode last fragment of extended attrs properly
Alan T. DeKok [Fri, 1 Nov 2013 18:08:32 +0000 (14:08 -0400)]
Updates for changes to default printing
Alan T. DeKok [Fri, 1 Nov 2013 18:05:58 +0000 (14:05 -0400)]
Allow reading files from subdirs
Alan T. DeKok [Fri, 1 Nov 2013 18:03:39 +0000 (14:03 -0400)]
Add to list only if list exists
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"
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
Arran Cudbard-Bell [Thu, 31 Oct 2013 14:53:34 +0000 (14:53 +0000)]
Split out IP qualified client attributes into 'getclient' xlat
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.
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
Alan T. DeKok [Thu, 31 Oct 2013 03:54:45 +0000 (23:54 -0400)]
Fix typo
Alan T. DeKok [Thu, 31 Oct 2013 03:10:31 +0000 (20:10 -0700)]
Fix build issues
Alan T. DeKok [Thu, 31 Oct 2013 01:36:15 +0000 (21:36 -0400)]
Remove unused variable
Alan T. DeKok [Wed, 30 Oct 2013 23:59:56 +0000 (19:59 -0400)]
Don't install unittest
Alan T. DeKok [Wed, 30 Oct 2013 23:59:47 +0000 (19:59 -0400)]
If installdir is "", don't install the program
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.
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.
Alan T. DeKok [Wed, 30 Oct 2013 22:53:56 +0000 (18:53 -0400)]
Print out name on end of loading server, too
Alan T. DeKok [Wed, 30 Oct 2013 15:23:15 +0000 (11:23 -0400)]
memset structs to zero