]>
git.ipfire.org Git - thirdparty/freeradius-server.git/log
Alan T. DeKok [Sat, 19 Oct 2019 21:13:21 +0000 (17:13 -0400)]
make label comparison case insensitive
Alan T. DeKok [Sat, 19 Oct 2019 21:02:31 +0000 (17:02 -0400)]
be a little more careful about parsing flags
Alan T. DeKok [Sat, 19 Oct 2019 18:30:45 +0000 (14:30 -0400)]
look at contents, not at pointer
Arran Cudbard-Bell [Sat, 19 Oct 2019 16:51:49 +0000 (12:51 -0400)]
Fix logic bug in table_sorted_value_by_longest_prefix which sent the search in the wrong direction if needle was a substring of a haystack entry
Alan T. DeKok [Sat, 19 Oct 2019 15:51:51 +0000 (11:51 -0400)]
add DNS label compression.
It's a little brute-force right now, but it seems to work.
Alan T. DeKok [Sat, 19 Oct 2019 15:26:40 +0000 (11:26 -0400)]
skip leading whitespace
Arran Cudbard-Bell [Sat, 19 Oct 2019 15:20:19 +0000 (11:20 -0400)]
Add command to explicitly clear the data buffer
This can be useful when tracking down non-deterministic issues
Alan T. DeKok [Sat, 19 Oct 2019 14:52:29 +0000 (10:52 -0400)]
encode '.' or empty string as 0x00
Alan T. DeKok [Sat, 19 Oct 2019 13:52:38 +0000 (09:52 -0400)]
fix length checks
Alan T. DeKok [Sat, 19 Oct 2019 13:42:43 +0000 (09:42 -0400)]
typo
Alan T. DeKok [Sat, 19 Oct 2019 13:33:36 +0000 (09:33 -0400)]
add function which encodes value box to DNS label
with tests!
Alan T. DeKok [Sat, 19 Oct 2019 12:59:38 +0000 (08:59 -0400)]
<sigh> typos
Alan T. DeKok [Sat, 19 Oct 2019 12:48:08 +0000 (08:48 -0400)]
build this, too
Alan T. DeKok [Sat, 19 Oct 2019 12:31:39 +0000 (08:31 -0400)]
typo
Alan T. DeKok [Sat, 19 Oct 2019 12:23:48 +0000 (08:23 -0400)]
add and use encrypt / encode flags for SIM / AKA and DHCPv6
Alan T. DeKok [Sat, 19 Oct 2019 12:11:25 +0000 (08:11 -0400)]
create src/include/protocol/base.h which defines known protocols
Arran Cudbard-Bell [Sat, 19 Oct 2019 02:45:04 +0000 (22:45 -0400)]
"no " can now return mismatch instead of command error
Arran Cudbard-Bell [Sat, 19 Oct 2019 02:41:09 +0000 (22:41 -0400)]
Print the mismatching command
Arran Cudbard-Bell [Sat, 19 Oct 2019 02:37:51 +0000 (22:37 -0400)]
Add match-regex
Also works with negation prefix
Arran Cudbard-Bell [Sat, 19 Oct 2019 02:36:58 +0000 (22:36 -0400)]
Always need to provide match_data for rege_exec in pcre2
Arran Cudbard-Bell [Sat, 19 Oct 2019 02:02:39 +0000 (22:02 -0400)]
Typo
Arran Cudbard-Bell [Sat, 19 Oct 2019 01:44:25 +0000 (21:44 -0400)]
Add command to write out the data buffer
Arran Cudbard-Bell [Sat, 19 Oct 2019 01:29:20 +0000 (21:29 -0400)]
Don't trash the data buffer on mismatch
- Allow all return codes to request that the error stack be dumped into the data buffer
- Keep track of how many tests returned 'OK'
- Have comments and blank links return 'NOOP'
- Add command to write the number of completed tests to the data buffer
Arran Cudbard-Bell [Fri, 18 Oct 2019 21:46:49 +0000 (17:46 -0400)]
Remove redundant vars
Arran Cudbard-Bell [Fri, 18 Oct 2019 18:41:25 +0000 (14:41 -0400)]
Add 'match' and 'no match' remove 'data' and 'fail'
Alan T. DeKok [Fri, 18 Oct 2019 18:51:36 +0000 (14:51 -0400)]
move subtype checks to dict->subtype_table
which (mostly) makes them more protocol agnostic
Alan T. DeKok [Fri, 18 Oct 2019 16:55:38 +0000 (12:55 -0400)]
rename "encrypt" to "subtype"
in preparation for making it a little more generic
Alan T. DeKok [Fri, 18 Oct 2019 14:36:23 +0000 (10:36 -0400)]
simpler way to track backslashes
avoid repeated strlen.
and increment line number.
Alan DeKok [Fri, 18 Oct 2019 13:18:55 +0000 (09:18 -0400)]
Merge pull request #3055 from jpereira/v4/test1
Let' be able to buffer multiple lines with a backslash
Jorge Pereira [Fri, 18 Oct 2019 02:58:07 +0000 (23:58 -0300)]
Let' be able to buffer multiple lines with a backslash
Jorge Pereira [Fri, 18 Oct 2019 02:59:01 +0000 (23:59 -0300)]
Pretty good to organize long entries with a backslash
Alan T. DeKok [Fri, 18 Oct 2019 11:10:18 +0000 (07:10 -0400)]
let's use unique names
and update process STRUCT so that it adds the struct name to
the global namespace. This lets us check for duplicate names,
and also address the struct by name.
Alan T. DeKok [Thu, 17 Oct 2019 23:59:10 +0000 (19:59 -0400)]
swap the order of fields in a STRUCT definition
VALUE attr name value
means "define NAME with VALUE for ATTR"
STRUCT name attr value
means "define NAME struct when ATTR has VALUE"
Alan T. DeKok [Thu, 17 Oct 2019 21:58:01 +0000 (17:58 -0400)]
remove Client-ID tests. Client-Id is "struct" not "octets"
Alan T. DeKok [Thu, 17 Oct 2019 21:56:42 +0000 (17:56 -0400)]
print names of types, not numerical value
Alan T. DeKok [Thu, 17 Oct 2019 21:51:48 +0000 (17:51 -0400)]
NUL terminate the result only if we should do it
Alan T. DeKok [Thu, 17 Oct 2019 20:48:27 +0000 (16:48 -0400)]
allow naked STRUCT, as is done with dictionary.rfc6355
Alan T. DeKok [Thu, 17 Oct 2019 20:36:10 +0000 (16:36 -0400)]
typo
Alan T. DeKok [Thu, 17 Oct 2019 20:03:18 +0000 (16:03 -0400)]
more decode of structs for RFC 3315
Alan T. DeKok [Thu, 17 Oct 2019 19:41:06 +0000 (15:41 -0400)]
use keyed sub-structs
Jorge Pereira [Thu, 17 Oct 2019 18:10:48 +0000 (15:10 -0300)]
Add dhcpv6 dictionary.rfc6355 (#3054)
Arran Cudbard-Bell [Thu, 17 Oct 2019 13:05:30 +0000 (09:05 -0400)]
Update libfreeradius4 with latest library names
Arran Cudbard-Bell [Thu, 17 Oct 2019 12:55:50 +0000 (08:55 -0400)]
Accidentally comitted
Arran Cudbard-Bell [Thu, 17 Oct 2019 12:50:26 +0000 (08:50 -0400)]
Minor formatting fixes
mostly to kick jenkins
Arran Cudbard-Bell [Wed, 16 Oct 2019 19:27:35 +0000 (15:27 -0400)]
Print the destination list when printing parsed attributes
Arran Cudbard-Bell [Wed, 16 Oct 2019 19:27:18 +0000 (15:27 -0400)]
Set value to be the nested value array/field when the attribute is an object
Arran Cudbard-Bell [Wed, 16 Oct 2019 19:26:28 +0000 (15:26 -0400)]
Make it clear what attributes we're setting
Arran Cudbard-Bell [Wed, 16 Oct 2019 19:26:15 +0000 (15:26 -0400)]
Skip xlat expansions unless the string being expanded contains '%'
Alan DeKok [Tue, 15 Oct 2019 12:17:59 +0000 (08:17 -0400)]
Merge pull request #3049 from jpereira/v4/typo1
The 'RADIUSD_BIN' should be global
Jorge Pereira [Tue, 15 Oct 2019 01:29:45 +0000 (22:29 -0300)]
The 'RADIUSD_BIN' should be global
Alan T. DeKok [Tue, 15 Oct 2019 00:36:16 +0000 (20:36 -0400)]
fix names for AKA'
Alan T. DeKok [Mon, 14 Oct 2019 17:40:27 +0000 (13:40 -0400)]
Revert "Revert "use consistent names""
This reverts commit
2d4f98866a5390ca7630912b9eb61bf252865c03 .
one last try.
Alan T. DeKok [Mon, 14 Oct 2019 17:19:06 +0000 (13:19 -0400)]
set default_eap_type in methods-enabled file
It's not quite normal, but it is fine.
Alan T. DeKok [Mon, 14 Oct 2019 17:16:59 +0000 (13:16 -0400)]
move this, too
Alan T. DeKok [Mon, 14 Oct 2019 16:50:54 +0000 (12:50 -0400)]
Revert "use consistent names"
This reverts commit
9cf8cfcfc3e4d08a34e8590df098ce2d431308d1 .
Nope. Source code uses aka_prime, so we should use that, too
Alan T. DeKok [Mon, 14 Oct 2019 16:50:12 +0000 (12:50 -0400)]
use consistent names
Alan T. DeKok [Mon, 14 Oct 2019 16:23:06 +0000 (12:23 -0400)]
remove old dependency rules
Alan T. DeKok [Mon, 14 Oct 2019 15:19:13 +0000 (11:19 -0400)]
move method tests to their own directory structure
to avoid stupid linking / enabling issues, and methods
interfering with each other.
Alan T. DeKok [Mon, 14 Oct 2019 14:33:04 +0000 (10:33 -0400)]
test depends on the output files
Alan T. DeKok [Mon, 14 Oct 2019 14:32:38 +0000 (10:32 -0400)]
dictionaries are in `fr_dict_t *`, not `fr_dict_t
Arran Cudbard-Bell [Mon, 14 Oct 2019 03:08:12 +0000 (22:08 -0500)]
Fix NULL instance name in rlm_eap startup warnings
Arran Cudbard-Bell [Mon, 14 Oct 2019 03:04:58 +0000 (22:04 -0500)]
set -e interferes with failure?
Arran Cudbard-Bell [Mon, 14 Oct 2019 02:08:04 +0000 (21:08 -0500)]
No way to fix this currently
Arran Cudbard-Bell [Sat, 12 Oct 2019 15:16:32 +0000 (10:16 -0500)]
Make namespace resolution failure a fatal error
Alan T. DeKok [Sat, 12 Oct 2019 13:40:19 +0000 (09:40 -0400)]
manually start / stop radiusd
Alan DeKok [Sat, 12 Oct 2019 13:30:51 +0000 (09:30 -0400)]
Merge pull request #3043 from jpereira/v4/test4
Fix typo
Jorge Pereira [Sat, 12 Oct 2019 13:13:33 +0000 (10:13 -0300)]
Fix typo
Alan T. DeKok [Sat, 12 Oct 2019 12:30:48 +0000 (08:30 -0400)]
show errors, not logs of "freeing module"
Alan T. DeKok [Sat, 12 Oct 2019 12:26:07 +0000 (08:26 -0400)]
stop immediately if radiusd fails to start
Alan T. DeKok [Sat, 12 Oct 2019 12:22:06 +0000 (08:22 -0400)]
erroneously committed
Alan T. DeKok [Fri, 11 Oct 2019 22:23:51 +0000 (18:23 -0400)]
make sure that these directories always exist
Alan T. DeKok [Fri, 11 Oct 2019 21:54:11 +0000 (17:54 -0400)]
try to automagically enable tests
Alan T. DeKok [Fri, 11 Oct 2019 21:44:35 +0000 (17:44 -0400)]
output directories aren't phony
Alan T. DeKok [Fri, 11 Oct 2019 20:44:36 +0000 (16:44 -0400)]
add dependencies on enabling the modules
Alan T. DeKok [Fri, 11 Oct 2019 19:27:21 +0000 (15:27 -0400)]
Revert "Revert "if we dereference it as a group, it has to be defined as a group""
This reverts commit
a9a5673db02bda73b72ca25ed5f1ebe95205299d .
and we need this.
Alan T. DeKok [Fri, 11 Oct 2019 18:51:25 +0000 (14:51 -0400)]
Revert "if we dereference it as a group, it has to be defined as a group"
This reverts commit
1469c414c666850bfacbf39b284f4ccd74f049fc .
Arran Cudbard-Bell [Fri, 11 Oct 2019 18:32:34 +0000 (13:32 -0500)]
Remove redundant check that also breaks subrequests used to call submodules
Arran Cudbard-Bell [Fri, 11 Oct 2019 18:26:20 +0000 (13:26 -0500)]
Comment
Arran Cudbard-Bell [Fri, 11 Oct 2019 18:11:24 +0000 (13:11 -0500)]
Test server needs to run in foreground mode and log to stdout
Arran Cudbard-Bell [Fri, 11 Oct 2019 18:08:57 +0000 (13:08 -0500)]
Now we have frequently firing events in the main loop, don't print "Waking up" at DEBUG 1
Alan T. DeKok [Fri, 11 Oct 2019 18:03:49 +0000 (14:03 -0400)]
remove erroneously committed structs
Alan T. DeKok [Fri, 11 Oct 2019 17:56:29 +0000 (13:56 -0400)]
if we dereference it as a group, it has to be defined as a group
Arran Cudbard-Bell [Fri, 11 Oct 2019 17:45:14 +0000 (12:45 -0500)]
Whitespace
Arran Cudbard-Bell [Fri, 11 Oct 2019 17:43:47 +0000 (12:43 -0500)]
Fix log message
Alan T. DeKok [Fri, 11 Oct 2019 17:38:04 +0000 (13:38 -0400)]
clean up makefile
print out the commands that failed, and fail if we fail running
eapol_test
Alan T. DeKok [Fri, 11 Oct 2019 17:30:30 +0000 (13:30 -0400)]
add --silent to jlibtool
and don't print out "running radius". We don't really care unless
something goes wrong. This makes the tests easier to understand.
Alan T. DeKok [Fri, 11 Oct 2019 17:28:01 +0000 (13:28 -0400)]
clean up makefile
formatting, and print out commands that should be run when a
test fails
Alan T. DeKok [Fri, 11 Oct 2019 16:24:31 +0000 (12:24 -0400)]
new airespace dictionaries. Ported from v3
Alan T. DeKok [Fri, 11 Oct 2019 14:27:40 +0000 (10:27 -0400)]
add "fail" command
for tests where we know the expected output, but which don't yet
work. It's better to have known failures than results which are
commented out
Alan T. DeKok [Thu, 10 Oct 2019 18:06:16 +0000 (14:06 -0400)]
remove unnecessary wrapper function
Alan T. DeKok [Thu, 10 Oct 2019 17:58:22 +0000 (13:58 -0400)]
use unlang ops table instead of compile table
Alan DeKok [Fri, 11 Oct 2019 16:31:36 +0000 (12:31 -0400)]
Merge pull request #3037 from jpereira/v4/test-eap
Move eap test to boiler.mk scheme
Jorge Pereira [Fri, 11 Oct 2019 01:19:04 +0000 (22:19 -0300)]
Add 'ignored list' to EAP test suite
Jorge Pereira [Fri, 11 Oct 2019 01:18:26 +0000 (22:18 -0300)]
Enable 'test.eap' to the 'make test' pipeline
Jorge Pereira [Wed, 9 Oct 2019 18:26:51 +0000 (15:26 -0300)]
Move EAP test to boiler.mk scheme
Pretty simple, less code and reuse the same mechanism
to start/stop the radiusd service.
Jorge Pereira [Thu, 10 Oct 2019 23:15:28 +0000 (20:15 -0300)]
Mute the 'openssl' warnings complaining about the missing openssl.cnf (#3041)
Alan T. DeKok [Thu, 10 Oct 2019 17:14:58 +0000 (13:14 -0400)]
various fixes to allow tests to pass
empty sections are now allowed. Interpreter functions now
have to check for empty sections
Alan T. DeKok [Thu, 10 Oct 2019 17:01:45 +0000 (13:01 -0400)]
typos - names were reversed
Alan T. DeKok [Thu, 10 Oct 2019 17:01:36 +0000 (13:01 -0400)]
set name / debug_name
Alan T. DeKok [Thu, 10 Oct 2019 17:01:00 +0000 (13:01 -0400)]
use mod_type for empty keywords if they're not a group