]>
git.ipfire.org Git - thirdparty/freeradius-server.git/log
Alan T. DeKok [Tue, 19 Mar 2019 17:31:22 +0000 (13:31 -0400)]
added more debugging and sanity checks
Alan T. DeKok [Tue, 19 Mar 2019 17:29:23 +0000 (13:29 -0400)]
added fr_trie_check() routine
which is called after insert, to see if the key we inserted
can be found in the newly-updated trie
Alan T. DeKok [Tue, 19 Mar 2019 17:21:58 +0000 (13:21 -0400)]
simplify lcp
which is much better than the previous 3 versions.
Arran Cudbard-Bell [Tue, 19 Mar 2019 16:30:37 +0000 (23:30 +0700)]
Enable sub func even if we don't have libpcre2
Arran Cudbard-Bell [Tue, 19 Mar 2019 16:09:01 +0000 (23:09 +0700)]
Will finish the non-regex substitution mode later
Arran Cudbard-Bell [Tue, 19 Mar 2019 15:45:44 +0000 (22:45 +0700)]
...and the rest
Arran Cudbard-Bell [Tue, 19 Mar 2019 15:21:46 +0000 (22:21 +0700)]
Which to strlen until it passes...
Arran Cudbard-Bell [Tue, 19 Mar 2019 14:14:31 +0000 (21:14 +0700)]
Apparently not talloced...
Arran Cudbard-Bell [Tue, 19 Mar 2019 13:11:33 +0000 (20:11 +0700)]
Print more things using boxes so we get special chars escaped properly
Alan T. DeKok [Tue, 19 Mar 2019 12:34:04 +0000 (08:34 -0400)]
fix "install include" file rules
Alan T. DeKok [Tue, 19 Mar 2019 12:33:39 +0000 (08:33 -0400)]
print out more of the path name of what we're installing
Alan T. DeKok [Tue, 19 Mar 2019 11:40:35 +0000 (07:40 -0400)]
add missing field
Arran Cudbard-Bell [Tue, 19 Mar 2019 00:37:19 +0000 (08:37 +0800)]
Add 'sub' xlat
Arran Cudbard-Bell [Tue, 19 Mar 2019 00:37:03 +0000 (08:37 +0800)]
Add wrapper for pcre2_substitute
Alan T. DeKok [Tue, 19 Mar 2019 02:12:02 +0000 (22:12 -0400)]
fix install paths for include files
libraries install include/LIB/base.h
protocols install include/PROTO/PROTO.h
Alan T. DeKok [Tue, 19 Mar 2019 01:55:23 +0000 (21:55 -0400)]
fix GNU Make stupidities
The behavior has changed from earlier versions, so we now
have to copy files over manually.
And list the full directory in rules, insteadof $(OUTPUT)
Alan T. DeKok [Tue, 19 Mar 2019 01:40:37 +0000 (21:40 -0400)]
don't put things into the wrong directory
Alan T. DeKok [Tue, 19 Mar 2019 01:23:06 +0000 (21:23 -0400)]
cast to int to quiet the compiler
we still keep the check, on the odd chance there's a memory issue
Alan T. DeKok [Mon, 18 Mar 2019 22:26:48 +0000 (18:26 -0400)]
reconstruct the key after split
for testing purposes
Alan T. DeKok [Mon, 18 Mar 2019 22:24:40 +0000 (18:24 -0400)]
fix write_chunk() some more
so that it takes care of jumping ahead in the key, when depth > 7
and fix the callers so that we don't double-add "depth"
Alan T. DeKok [Sun, 17 Mar 2019 22:55:50 +0000 (18:55 -0400)]
special-case 1-bit reads and writes
Alan T. DeKok [Sun, 17 Mar 2019 22:25:05 +0000 (18:25 -0400)]
added WITH_TRIE_VERIFY flag, so that we can do better verification
Alan T. DeKok [Tue, 19 Mar 2019 01:16:36 +0000 (21:16 -0400)]
move "link protocols" rules to src/lib
as the protocol headers are now includes in src/util/base.h
Alan T. DeKok [Sun, 17 Mar 2019 21:51:08 +0000 (17:51 -0400)]
nope.
SQL tests which pass locally still fail in travis.
Alan T. DeKok [Sun, 17 Mar 2019 20:52:26 +0000 (16:52 -0400)]
don't redefine things
Alan T. DeKok [Sun, 17 Mar 2019 19:50:31 +0000 (15:50 -0400)]
enable path compression, and try to use 16 bits for paths
now that it's fully tested and verified, it should work.
Alan T. DeKok [Sun, 17 Mar 2019 19:49:13 +0000 (15:49 -0400)]
print out the nodes as we add them
Alan T. DeKok [Sun, 17 Mar 2019 16:22:54 +0000 (12:22 -0400)]
add some VERIFY for testing
Alan T. DeKok [Sun, 17 Mar 2019 16:22:00 +0000 (12:22 -0400)]
set child ptr <sigh>
Alan T. DeKok [Sun, 17 Mar 2019 15:49:42 +0000 (11:49 -0400)]
re-add verify functions
Alan T. DeKok [Sun, 17 Mar 2019 15:32:18 +0000 (11:32 -0400)]
move "dump" to state functions keyed off of trie->type
Alan T. DeKok [Sun, 17 Mar 2019 15:12:12 +0000 (11:12 -0400)]
clarify documentation
Alan T. DeKok [Sun, 17 Mar 2019 14:28:18 +0000 (10:28 -0400)]
cleanups and more tests
Alan T. DeKok [Sun, 17 Mar 2019 14:03:45 +0000 (10:03 -0400)]
move "walk" to state functions keyed off of trie->type
Alan T. DeKok [Sun, 17 Mar 2019 01:07:08 +0000 (21:07 -0400)]
add chunk tests
we need a lot more, but this looks good.
Alan T. DeKok [Sun, 17 Mar 2019 00:55:22 +0000 (20:55 -0400)]
force path compression for "trie" tests
Alan T. DeKok [Sun, 17 Mar 2019 00:51:07 +0000 (20:51 -0400)]
some more conditions for testing
Alan T. DeKok [Sun, 17 Mar 2019 00:43:18 +0000 (20:43 -0400)]
add ifdefs
Alan T. DeKok [Sun, 17 Mar 2019 00:35:53 +0000 (20:35 -0400)]
use jlibtool to run the tests
Alan T. DeKok [Sun, 17 Mar 2019 00:25:55 +0000 (20:25 -0400)]
cleanups and clarifications
There still seems to be an issue when paths are longer than
8 bits.
Alan T. DeKok [Sat, 16 Mar 2019 23:52:22 +0000 (19:52 -0400)]
clean up code in preparation for making paths 16 bits
Alan T. DeKok [Sat, 16 Mar 2019 23:03:41 +0000 (19:03 -0400)]
start of attempt to get paths to 16 bits
Alan T. DeKok [Sat, 16 Mar 2019 22:17:58 +0000 (18:17 -0400)]
use "add edge" function
to abstract the notion of adding an edge to a node, so that
we can move from 2^N-way nodes to packed nodes with a small number
of children
Alan T. DeKok [Sat, 16 Mar 2019 21:48:29 +0000 (17:48 -0400)]
whoops... call fr_trie_free(), not talloc_free()
as the trie no longer has each node parented from the previous one.
Alan T. DeKok [Sat, 16 Mar 2019 18:34:58 +0000 (14:34 -0400)]
add "-remove" command
which tries to remove the key, and returns "." if the key wasn't
there.
Alan T. DeKok [Sat, 16 Mar 2019 18:34:42 +0000 (14:34 -0400)]
add SQL states from SQL
Alan T. DeKok [Sat, 16 Mar 2019 18:31:04 +0000 (14:31 -0400)]
print out filename, not directory
Alan T. DeKok [Sat, 16 Mar 2019 17:59:59 +0000 (13:59 -0400)]
just recurse instead of being smart
Alan T. DeKok [Sat, 16 Mar 2019 17:55:39 +0000 (13:55 -0400)]
disable path compression
Alan T. DeKok [Sat, 16 Mar 2019 16:17:24 +0000 (12:17 -0400)]
free path once we're done
Arran Cudbard-Bell [Sat, 16 Mar 2019 15:23:01 +0000 (23:23 +0800)]
Typo
Alan T. DeKok [Sat, 16 Mar 2019 13:40:04 +0000 (09:40 -0400)]
cleanup and reorganize
and try re-enabling path compression...
Arran Cudbard-Bell [Sat, 16 Mar 2019 11:08:20 +0000 (19:08 +0800)]
Update unlang.5 to describe the new regex flags
Arran Cudbard-Bell [Sat, 16 Mar 2019 11:06:06 +0000 (19:06 +0800)]
Make the regex-pcre and regex-pcre2 feature flags distinct
Arran Cudbard-Bell [Sat, 16 Mar 2019 08:48:54 +0000 (16:48 +0800)]
Various fixes
Arran Cudbard-Bell [Sat, 16 Mar 2019 06:26:02 +0000 (14:26 +0800)]
Add luajit package
Arran Cudbard-Bell [Sat, 16 Mar 2019 06:08:28 +0000 (14:08 +0800)]
Support additional regex flags 'g' - global, s - 'single line', u - 'utf', x - 'extended'
Arran Cudbard-Bell [Fri, 15 Mar 2019 07:43:35 +0000 (15:43 +0800)]
Add feature flag for regex-pcre2
Matthew Newton [Fri, 15 Mar 2019 21:08:26 +0000 (21:08 +0000)]
internal function is better
Matthew Newton [Fri, 15 Mar 2019 01:13:57 +0000 (01:13 +0000)]
Add "crossbuild" makefile
Start with
$ make crossbuild.help
The new targets will spin up docker containers (built from the
images in scripts/docker), and then run builds in them. This
should allow quick build tests on lots of different systems before
pushing commits up.
Alan T. DeKok [Fri, 15 Mar 2019 16:23:12 +0000 (12:23 -0400)]
more error messages
Alan T. DeKok [Fri, 15 Mar 2019 16:19:55 +0000 (12:19 -0400)]
remove unused assignment
and comment out path compression again <sigh> It appears that
travis is much different from local tests
Alan T. DeKok [Fri, 15 Mar 2019 15:52:06 +0000 (11:52 -0400)]
implemented final chunk of trie code.
And it all now works
Alan T. DeKok [Fri, 15 Mar 2019 14:59:07 +0000 (10:59 -0400)]
fix get_chunk API
Alan T. DeKok [Fri, 15 Mar 2019 14:56:37 +0000 (10:56 -0400)]
use correct calculation for chunk
Arran Cudbard-Bell [Fri, 15 Mar 2019 02:34:59 +0000 (10:34 +0800)]
Normalise function/variable naming
Arran Cudbard-Bell [Fri, 15 Mar 2019 02:34:39 +0000 (10:34 +0800)]
Remove proxy and CoA methods from rlm_lua
Arran Cudbard-Bell [Fri, 15 Mar 2019 00:58:31 +0000 (08:58 +0800)]
re-enable sql states that previously caused issues
Alan T. DeKok [Fri, 15 Mar 2019 00:49:44 +0000 (20:49 -0400)]
disable path compression until the tests pass
and rearrange code to match
Alan T. DeKok [Fri, 15 Mar 2019 00:47:02 +0000 (20:47 -0400)]
properly case top-level 'ft' to 'user' node
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