]>
git.ipfire.org Git - thirdparty/freeradius-server.git/log
Arran Cudbard-Bell [Mon, 2 Dec 2013 18:39:38 +0000 (18:39 +0000)]
Add power operator to expr
Who needs left shift when you can do %{expr:(%{Acct-Output-Gigawords} * (2 ^ 32)) + %{Acct-Input-Octets}}}. Ok bad example, but i'm sure someone will find it useful.
Arran Cudbard-Bell [Sun, 1 Dec 2013 21:37:50 +0000 (16:37 -0500)]
radusergroup needs a primary key too, else PgAdmin (rightly) refuses to work with it
Arran Cudbard-Bell [Sun, 1 Dec 2013 21:19:03 +0000 (21:19 +0000)]
Temporary fix for SQL counter module
Really need nested expansion of config items to do this properly
Alan T. DeKok [Sun, 1 Dec 2013 13:57:38 +0000 (08:57 -0500)]
Typo
Arran Cudbard-Bell [Sat, 30 Nov 2013 22:51:24 +0000 (17:51 -0500)]
Update ChangeLog
Arran Cudbard-Bell [Sat, 30 Nov 2013 22:36:24 +0000 (22:36 +0000)]
Initialise TLS *ONCE* in main, don't reinitialise it every time a new ctx is created.
Late initialisation was causing the PostgreSQL driver to fail with rlm_sql_postgresql: Connection failed: could not create SSL context: SSL error code
336236705
Arran Cudbard-Bell [Sat, 30 Nov 2013 22:04:23 +0000 (22:04 +0000)]
Allow arbitrary connection parameters to be listed in radius_db in the PostgreSQL driver, this allows things like open SSL to be disabled/enabled.
Arran Cudbard-Bell [Sat, 30 Nov 2013 11:47:46 +0000 (06:47 -0500)]
Note more changes
Arran Cudbard-Bell [Fri, 29 Nov 2013 22:23:46 +0000 (22:23 +0000)]
Add SSL support to the MySQL driver, and document driver specific options.
Arran Cudbard-Bell [Fri, 29 Nov 2013 20:53:31 +0000 (20:53 +0000)]
LDAP_OPT_DEBUG_LEVEL only appears to work if set in the global context
Arran Cudbard-Bell [Fri, 29 Nov 2013 20:53:08 +0000 (20:53 +0000)]
Initialise TLS context last, after setting all the TLS options, else they're not respected...
Alan T. DeKok [Fri, 29 Nov 2013 15:08:31 +0000 (10:08 -0500)]
Note recent changes
Arran Cudbard-Bell [Thu, 28 Nov 2013 13:08:42 +0000 (13:08 +0000)]
Move some useful functions into misc.c
Arran Cudbard-Bell [Thu, 28 Nov 2013 13:25:48 +0000 (13:25 +0000)]
Do compile time checks of literal map values
Alan T. DeKok [Wed, 27 Nov 2013 16:25:49 +0000 (11:25 -0500)]
Files have CR at EOF
Alan T. DeKok [Wed, 27 Nov 2013 16:25:27 +0000 (11:25 -0500)]
Abstract module dependencies
So that we link the raddb config and the module.la before
running the tests
Alan T. DeKok [Wed, 27 Nov 2013 16:06:42 +0000 (11:06 -0500)]
Ensure that the raddb directory is set up before running tests
Alan T. DeKok [Wed, 27 Nov 2013 14:32:36 +0000 (09:32 -0500)]
Use different context for input and output REQUESTs
Arran Cudbard-Bell [Wed, 27 Nov 2013 13:47:25 +0000 (13:47 +0000)]
Fix typo
Arran Cudbard-Bell [Wed, 27 Nov 2013 13:40:41 +0000 (13:40 +0000)]
Always respect control:Response-Packet-Type if it's present, no matter what the request type was.
This allows:
accounting {
update {
control:Response-Packet-Type := Accounting-Response
}
handled
}
If you want to short circuit accounting. This is consistent with authentication behaviour.
Conflicts:
src/main/process.c
Arran Cudbard-Bell [Wed, 27 Nov 2013 12:25:03 +0000 (12:25 +0000)]
Should be case insensitive comparison
Arran Cudbard-Bell [Wed, 27 Nov 2013 11:16:55 +0000 (06:16 -0500)]
Add example to access_attribute
Alan T. DeKok [Wed, 27 Nov 2013 04:02:12 +0000 (23:02 -0500)]
Added "status" to the init script
Arran Cudbard-Bell [Tue, 26 Nov 2013 17:30:14 +0000 (12:30 -0500)]
Add note about access attribute 'false' value
Arran Cudbard-Bell [Tue, 26 Nov 2013 17:16:33 +0000 (17:16 +0000)]
Process attribute maps if we just have a generic attribute set
Arran Cudbard-Bell [Tue, 26 Nov 2013 17:16:11 +0000 (17:16 +0000)]
Use the map functions to parse VALUE_PAIR string tuples
Arran Cudbard-Bell [Tue, 26 Nov 2013 16:37:25 +0000 (16:37 +0000)]
Formatting
Arran Cudbard-Bell [Tue, 26 Nov 2013 16:37:15 +0000 (16:37 +0000)]
attribute with value 'false' always negates result of LDAP access_check
Alan T. DeKok [Tue, 26 Nov 2013 16:08:18 +0000 (11:08 -0500)]
Run tests only when doing "make test"
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