]>
git.ipfire.org Git - thirdparty/freeradius-server.git/log
Alan T. DeKok [Fri, 15 Mar 2019 00:17:28 +0000 (20:17 -0400)]
typo
Alan T. DeKok [Fri, 15 Mar 2019 00:12:08 +0000 (20:12 -0400)]
typo
Alan T. DeKok [Fri, 15 Mar 2019 00:08:11 +0000 (20:08 -0400)]
rearrange code
Alan T. DeKok [Fri, 15 Mar 2019 00:03:35 +0000 (20:03 -0400)]
move "remove" to state tables keyed off of trie->type
Alan T. DeKok [Thu, 14 Mar 2019 23:54:01 +0000 (19:54 -0400)]
move "insert" to state tables keyed off of trie->type
Alan T. DeKok [Thu, 14 Mar 2019 23:46:56 +0000 (19:46 -0400)]
more fr_strerror_printf()
Alan T. DeKok [Thu, 14 Mar 2019 23:45:38 +0000 (19:45 -0400)]
print out error message from trie
Alan T. DeKok [Thu, 14 Mar 2019 23:42:21 +0000 (19:42 -0400)]
rearrange
Alan T. DeKok [Thu, 14 Mar 2019 23:38:30 +0000 (19:38 -0400)]
move to state tables keyed off of trie->type
Which makes the code rather a lot easier to understand
Alan T. DeKok [Thu, 14 Mar 2019 22:59:12 +0000 (18:59 -0400)]
rewrite
to be simpler, cleaner, and more extensible
Alan DeKok [Thu, 14 Mar 2019 20:23:10 +0000 (16:23 -0400)]
Merge pull request #2572 from jpereira/v4/lua2
rlm_lua: Call fr_lua_rcode_register() once
Jorge Pereira [Thu, 14 Mar 2019 19:40:42 +0000 (16:40 -0300)]
rlm_lua: Call fr_lua_rcode_table_register() once
Jorge Pereira [Thu, 14 Mar 2019 19:27:32 +0000 (16:27 -0300)]
rlm_lua: Clean up
Arran Cudbard-Bell [Thu, 14 Mar 2019 12:02:05 +0000 (20:02 +0800)]
Doxygen
Arran Cudbard-Bell [Thu, 14 Mar 2019 07:43:27 +0000 (15:43 +0800)]
Add magic LuaJIT linking flags if we're building on macOS
Without this luaL_newstate just returns NULL
Arran Cudbard-Bell [Thu, 14 Mar 2019 07:42:21 +0000 (15:42 +0800)]
Use the correct logging macro in lua configure.ac
Arran Cudbard-Bell [Thu, 14 Mar 2019 07:05:41 +0000 (15:05 +0800)]
Fixup logging in rlm_lua
Arran Cudbard-Bell [Thu, 14 Mar 2019 05:38:49 +0000 (13:38 +0800)]
More range checks in rlm_lua_marshall
Jorge Pereira [Thu, 14 Mar 2019 02:20:18 +0000 (23:20 -0300)]
rlm_lua: Add capability to return
Jorge Pereira [Thu, 14 Mar 2019 02:17:02 +0000 (23:17 -0300)]
rlm_lua: Add new tests
Alan T. DeKok [Wed, 13 Mar 2019 20:45:36 +0000 (16:45 -0400)]
make the tries binary until such time as we fix them
Arran Cudbard-Bell [Thu, 14 Mar 2019 00:46:42 +0000 (08:46 +0800)]
Consistent name
Arran Cudbard-Bell [Wed, 13 Mar 2019 11:54:45 +0000 (19:54 +0800)]
Fix HTTP 2.0 checks
Arran Cudbard-Bell [Wed, 13 Mar 2019 08:57:05 +0000 (16:57 +0800)]
Don't skip first char
Arran Cudbard-Bell [Wed, 13 Mar 2019 08:55:15 +0000 (16:55 +0800)]
Fix hexdump printing for headers
Arran Cudbard-Bell [Wed, 13 Mar 2019 08:42:17 +0000 (16:42 +0800)]
Set da
Arran Cudbard-Bell [Wed, 13 Mar 2019 08:38:47 +0000 (16:38 +0800)]
Use standard attribute parsing functions in rlm_rest
Arran Cudbard-Bell [Wed, 13 Mar 2019 08:34:38 +0000 (16:34 +0800)]
Tweak docs
Arran Cudbard-Bell [Wed, 13 Mar 2019 04:33:26 +0000 (12:33 +0800)]
Don't crash if lua_init failed
Arran Cudbard-Bell [Tue, 12 Mar 2019 12:04:58 +0000 (20:04 +0800)]
Use master branch
Arran Cudbard-Bell [Tue, 12 Mar 2019 08:09:46 +0000 (16:09 +0800)]
Deal with missing newline
Arran Cudbard-Bell [Tue, 12 Mar 2019 07:57:46 +0000 (15:57 +0800)]
Add devcflags and ldflags last so they don't much with autoconf
Arran Cudbard-Bell [Tue, 12 Mar 2019 07:41:55 +0000 (15:41 +0800)]
...apparently not
Arran Cudbard-Bell [Tue, 12 Mar 2019 07:19:11 +0000 (15:19 +0800)]
See if this fixes normal redis tests
Arran Cudbard-Bell [Tue, 12 Mar 2019 06:39:17 +0000 (14:39 +0800)]
Fix cluster reset
Arran Cudbard-Bell [Tue, 12 Mar 2019 06:39:05 +0000 (14:39 +0800)]
Any tests which checks for error output has to touch the receipt file itself if it finds what it expected
Arran Cudbard-Bell [Tue, 12 Mar 2019 04:41:03 +0000 (12:41 +0800)]
Use the same reset script for ippool and normal redis tests
Arran Cudbard-Bell [Tue, 12 Mar 2019 02:51:24 +0000 (10:51 +0800)]
No longer used
Arran Cudbard-Bell [Tue, 12 Mar 2019 02:10:24 +0000 (10:10 +0800)]
Alloc tp_ctx from the autofree ctx
Arran Cudbard-Bell [Tue, 12 Mar 2019 01:35:40 +0000 (09:35 +0800)]
Assert if dl_loader struct isn't initialised and initialist the dl_loader struct in unit_test_attribute Closes #2568
Alan T. DeKok [Mon, 11 Mar 2019 21:59:52 +0000 (17:59 -0400)]
remove output file on error
Alan T. DeKok [Mon, 11 Mar 2019 21:46:17 +0000 (17:46 -0400)]
more use $(OUTPUT)
Alan T. DeKok [Mon, 11 Mar 2019 21:18:53 +0000 (17:18 -0400)]
one last typo?
Alan T. DeKok [Mon, 11 Mar 2019 20:42:03 +0000 (16:42 -0400)]
typos
Alan T. DeKok [Mon, 11 Mar 2019 20:40:45 +0000 (16:40 -0400)]
more $(BUILD_DIR)/tests/keywords to $(OUTPUT)
Alan T. DeKok [Mon, 11 Mar 2019 20:02:39 +0000 (16:02 -0400)]
move to new template
Alan T. DeKok [Mon, 11 Mar 2019 19:53:06 +0000 (15:53 -0400)]
more simplifications
Alan T. DeKok [Mon, 11 Mar 2019 19:52:39 +0000 (15:52 -0400)]
reset more re-used names
Alan T. DeKok [Mon, 11 Mar 2019 19:52:26 +0000 (15:52 -0400)]
move to new template
Alan T. DeKok [Mon, 11 Mar 2019 19:39:24 +0000 (15:39 -0400)]
move to new test template
Alan T. DeKok [Mon, 11 Mar 2019 19:36:55 +0000 (15:36 -0400)]
this file doesn't exist
Alan T. DeKok [Mon, 11 Mar 2019 19:31:08 +0000 (15:31 -0400)]
make sure that the file isn't empty
otherwise Make will re-run the rules on every build
Alan T. DeKok [Mon, 11 Mar 2019 19:09:45 +0000 (15:09 -0400)]
reorganize and clean up
so that the definitions come from templates as much as possible,
instead of re-doing everything
Alan T. DeKok [Sun, 10 Mar 2019 15:24:38 +0000 (11:24 -0400)]
formatting
Jorge Pereira [Sat, 9 Mar 2019 20:19:15 +0000 (17:19 -0300)]
rlm_lua: Print the version
Arran Cudbard-Bell [Mon, 11 Mar 2019 11:40:32 +0000 (19:40 +0800)]
Fix test target
Arran Cudbard-Bell [Mon, 11 Mar 2019 11:34:09 +0000 (19:34 +0800)]
Fix circular dependency which causes the tests to always run
Arran Cudbard-Bell [Mon, 11 Mar 2019 10:36:28 +0000 (18:36 +0800)]
Manually touch receipt file if the test is meant to error
Arran Cudbard-Bell [Mon, 11 Mar 2019 10:00:31 +0000 (18:00 +0800)]
More test fixups
Arran Cudbard-Bell [Mon, 11 Mar 2019 08:40:54 +0000 (16:40 +0800)]
Fix whitespace
Arran Cudbard-Bell [Mon, 11 Mar 2019 08:08:06 +0000 (16:08 +0800)]
Change rcode to ret
Arran Cudbard-Bell [Mon, 11 Mar 2019 07:46:18 +0000 (15:46 +0800)]
Use EXIT_WITH_FAILURE macros in more utilities
Arran Cudbard-Bell [Fri, 8 Mar 2019 20:10:52 +0000 (17:10 -0300)]
tests: Add '-r' (receipt_file) option in unit tools
Jorge Pereira [Fri, 8 Mar 2019 16:33:17 +0000 (13:33 -0300)]
tests: Fix missing '&' in src/tests/map/count-error
Jorge Pereira [Fri, 8 Mar 2019 19:23:19 +0000 (16:23 -0300)]
tests: Add missed 'clean.tests.' target
Jorge Pereira [Fri, 8 Mar 2019 19:24:36 +0000 (16:24 -0300)]
tests: Fix clean.tests.modules target
ff
Jorge Pereira [Fri, 8 Mar 2019 19:45:43 +0000 (16:45 -0300)]
misc.c: Add new fr_file_touch/fr_file_unlink
Jorge Pereira [Fri, 8 Mar 2019 19:20:30 +0000 (16:20 -0300)]
Add missed 'clean.tests' target
Arran Cudbard-Bell [Mon, 11 Mar 2019 07:12:45 +0000 (15:12 +0800)]
Use lua_tonumber for floats and lua_tointeger for integers
Arran Cudbard-Bell [Mon, 11 Mar 2019 07:12:30 +0000 (15:12 +0800)]
Formatting
Arran Cudbard-Bell [Mon, 11 Mar 2019 07:11:58 +0000 (15:11 +0800)]
Fix log level typedef
Arran Cudbard-Bell [Mon, 11 Mar 2019 07:02:44 +0000 (15:02 +0800)]
Add example invocations back
Arran Cudbard-Bell [Mon, 11 Mar 2019 03:36:23 +0000 (11:36 +0800)]
do_lua doesn't access global instance data
Arran Cudbard-Bell [Mon, 11 Mar 2019 03:32:22 +0000 (11:32 +0800)]
Remove key/mutex from rlm_lua
The original code was pre-thread-instances. This is like vestigial.
Alan DeKok [Sun, 10 Mar 2019 15:21:05 +0000 (11:21 -0400)]
Merge pull request #2564 from jpereira/v4/rlm_lua-update
rlm_lua: Update the sample src/modules/rlm_lua/example.lua
Nathan Ward [Sat, 9 Mar 2019 02:27:54 +0000 (15:27 +1300)]
Let PgPool detect the stored procedure as needing a write transaction.
- Add an SQL comment, and documentation for the same, which triggers PgPool to not load balance this to a read-only server, and instead send it to a write server. As noted, this does not have any negative effect if PgPool is not in use, so it is useful to have here to avoid problems caused by someone starting to used this procedure when they've got a working PgPool/PostgreSQL installation already.
Signed-off-by: Nathan Ward <nward@searchlight.nz>
Nathan Ward [Sat, 9 Mar 2019 02:27:34 +0000 (15:27 +1300)]
Fix the NULL comparison.
Signed-off-by: Nathan Ward <nward@searchlight.nz>
Jorge Pereira [Sat, 9 Mar 2019 20:28:07 +0000 (17:28 -0300)]
rlm_lua: Update the sample src/modules/rlm_lua/example.lua
Alan T. DeKok [Sat, 9 Mar 2019 13:52:02 +0000 (08:52 -0500)]
use lua_tointeger()
which is more likely what we want. That returns ptrdiff_t,
which is likely OK
Alan T. DeKok [Sat, 9 Mar 2019 13:44:27 +0000 (08:44 -0500)]
use correct type
Alan T. DeKok [Sat, 9 Mar 2019 13:42:53 +0000 (08:42 -0500)]
stupid doxygen nonsense
Matthew Newton [Fri, 8 Mar 2019 22:15:02 +0000 (22:15 +0000)]
jlibtool: special case linking against rlm_ libraries
They don't start with "lib"...
Arran Cudbard-Bell [Fri, 8 Mar 2019 10:16:37 +0000 (18:16 +0800)]
Return 0 if internal dict not loaded in fr_dict_attr_by_name_substr
Arran Cudbard-Bell [Fri, 8 Mar 2019 05:50:14 +0000 (13:50 +0800)]
Both args can be NULL
Arran Cudbard-Bell [Fri, 8 Mar 2019 05:49:55 +0000 (13:49 +0800)]
Typo
Arran Cudbard-Bell [Fri, 8 Mar 2019 05:46:57 +0000 (13:46 +0800)]
Try with just the ippool tests
Arran Cudbard-Bell [Fri, 8 Mar 2019 03:26:28 +0000 (11:26 +0800)]
Use the cast functions in the lua unmarshalling code
Arran Cudbard-Bell [Fri, 8 Mar 2019 03:24:42 +0000 (11:24 +0800)]
Add fr_value_box_bstrndup_shallow
Fix other shallow functions to use a void return type
Arran Cudbard-Bell [Fri, 8 Mar 2019 02:50:07 +0000 (10:50 +0800)]
Use the fancy error marker macro to point to where the field lookups fail
Arran Cudbard-Bell [Fri, 8 Mar 2019 02:32:47 +0000 (10:32 +0800)]
Return with error code if internal dictionaries are not available
Arran Cudbard-Bell [Fri, 8 Mar 2019 02:31:53 +0000 (10:31 +0800)]
Fix flm_lua_get_field
Arran Cudbard-Bell [Fri, 8 Mar 2019 01:18:27 +0000 (09:18 +0800)]
Use CRYPTO_memcmp in more places in the sim library
Arran Cudbard-Bell [Fri, 8 Mar 2019 00:47:16 +0000 (08:47 +0800)]
Remove trigger_exec_free() call. We don't use triggers here
Arran Cudbard-Bell [Fri, 8 Mar 2019 00:46:59 +0000 (08:46 +0800)]
Update ippool help text
Arran Cudbard-Bell [Thu, 7 Mar 2019 13:32:17 +0000 (21:32 +0800)]
Move set inside of cluster setup loop in case it takes a while for the cluster to come up
Arran Cudbard-Bell [Thu, 7 Mar 2019 09:43:36 +0000 (17:43 +0800)]
Reduce amount of debug output when waiting for the cluster to come up
Arran Cudbard-Bell [Thu, 7 Mar 2019 08:27:06 +0000 (16:27 +0800)]
Use talloc_get_type_abort_const in redis xlat functions
Arran Cudbard-Bell [Thu, 7 Mar 2019 08:22:25 +0000 (16:22 +0800)]
Fix update where no range identifier is specified when the addresses where added
Arran Cudbard-Bell [Thu, 7 Mar 2019 08:18:54 +0000 (16:18 +0800)]
Don't free the reply if we're skipping over the element, redisReplyFree walks over structures recursively freeing all elements
Arran Cudbard-Bell [Thu, 7 Mar 2019 07:37:16 +0000 (15:37 +0800)]
Enable the Redis and Redis IP Pool tests