]>
git.ipfire.org Git - thirdparty/freeradius-server.git/log
Alan T. DeKok [Tue, 9 Jan 2018 15:38:47 +0000 (10:38 -0500)]
re-arrange to make bools next to each other
Alan T. DeKok [Mon, 8 Jan 2018 20:57:57 +0000 (15:57 -0500)]
add :* as an explicit wildcard tag match
Alan T. DeKok [Mon, 8 Jan 2018 20:54:31 +0000 (15:54 -0500)]
clean up code to parse tags
Alan T. DeKok [Mon, 8 Jan 2018 20:35:52 +0000 (15:35 -0500)]
remove support for Merit format tags
which we haven't used for many years
Alan T. DeKok [Mon, 8 Jan 2018 20:33:58 +0000 (15:33 -0500)]
untagged tmpls have TAG_NONE
Alan T. DeKok [Mon, 8 Jan 2018 20:03:27 +0000 (15:03 -0500)]
add ATTR_TAG_MATCH
which sees if attribute A matches tag T
Alan T. DeKok [Mon, 8 Jan 2018 19:24:31 +0000 (14:24 -0500)]
convert complex code to one macro
Alan T. DeKok [Mon, 8 Jan 2018 16:23:03 +0000 (11:23 -0500)]
print ":%d", so it's the same as the rest of the code
Alan T. DeKok [Mon, 8 Jan 2018 16:21:44 +0000 (11:21 -0500)]
0 is OK for untagged attributes
Alan T. DeKok [Mon, 8 Jan 2018 16:05:14 +0000 (11:05 -0500)]
check for TAG_VALID instead of !=TAG_ANY
looking for valid ranges is smarter than checking for different
from a magic value, because there may be LOTS of magic values,
and LOTS of invalid values
Alan T. DeKok [Mon, 8 Jan 2018 16:03:41 +0000 (11:03 -0500)]
check valid rang
we can't just check tag < 32, because TAG_ANY is -128,
instead, we have to check for 0..32
Alan T. DeKok [Mon, 8 Jan 2018 13:21:50 +0000 (08:21 -0500)]
0 is not a valid tag
Alan T. DeKok [Mon, 8 Jan 2018 13:19:33 +0000 (08:19 -0500)]
only print valid tags
Alan T. DeKok [Fri, 5 Jan 2018 17:10:17 +0000 (12:10 -0500)]
no need to double-check the IP and prefix
Alan T. DeKok [Fri, 5 Jan 2018 17:05:54 +0000 (12:05 -0500)]
use fr_trie_match() instead of doing it manually
Alan T. DeKok [Fri, 5 Jan 2018 17:05:34 +0000 (12:05 -0500)]
add fr_trie_match()
which does a match on the exact length of the key
Alan T. DeKok [Fri, 5 Jan 2018 15:36:58 +0000 (10:36 -0500)]
separate v4/v6 clients
Alan T. DeKok [Fri, 5 Jan 2018 15:26:37 +0000 (10:26 -0500)]
ignore old clients if their prefix is too small
fr_trie_lookup() returns the longest prefix match.
Which still might be smaller than the prefix of the client
we're trying to add.
Alan T. DeKok [Fri, 5 Jan 2018 15:21:52 +0000 (10:21 -0500)]
one more try to quiet stupid compiler
it claims a variable / function is unused if it's used
inside of an assertion...
Alan T. DeKok [Fri, 5 Jan 2018 13:58:08 +0000 (08:58 -0500)]
stupid scanner
Alan T. DeKok [Fri, 5 Jan 2018 13:29:05 +0000 (08:29 -0500)]
try to quiet clang scan
Alan T. DeKok [Thu, 4 Jan 2018 21:31:07 +0000 (16:31 -0500)]
set base=0 if bits_used==0
Alan T. DeKok [Thu, 4 Jan 2018 21:11:07 +0000 (16:11 -0500)]
ip addresses are in network byte order
Alan T. DeKok [Thu, 4 Jan 2018 20:55:55 +0000 (15:55 -0500)]
comment out verification until the rest of the tests pass
Alan T. DeKok [Thu, 4 Jan 2018 20:53:49 +0000 (15:53 -0500)]
set output buffer
and add macros for max key bits / bytes
Alan T. DeKok [Thu, 4 Jan 2018 20:46:55 +0000 (15:46 -0500)]
add distinction between UDP and TCP clients
Alan T. DeKok [Thu, 4 Jan 2018 20:42:21 +0000 (15:42 -0500)]
make clients use new trie code.
Alan T. DeKok [Thu, 4 Jan 2018 20:04:57 +0000 (15:04 -0500)]
char const* for printing
Alan T. DeKok [Thu, 4 Jan 2018 20:03:44 +0000 (15:03 -0500)]
typo
Alan T. DeKok [Thu, 4 Jan 2018 19:40:51 +0000 (14:40 -0500)]
compiler issues
Alan T. DeKok [Thu, 4 Jan 2018 18:59:46 +0000 (13:59 -0500)]
c compiler warnings
Alan T. DeKok [Thu, 4 Jan 2018 18:59:37 +0000 (13:59 -0500)]
const issues
Alan T. DeKok [Thu, 4 Jan 2018 18:33:58 +0000 (13:33 -0500)]
check that templates without tags don't have tags
and vice versa
Alan T. DeKok [Thu, 4 Jan 2018 18:26:22 +0000 (13:26 -0500)]
set DEFAULT_SIZE=1 when no path compression
which makes it work... will track things down later.
Alan T. DeKok [Thu, 4 Jan 2018 18:24:36 +0000 (13:24 -0500)]
start of testings without path compression
it currently fails when merging nodes of different size,
so it's commented out
Alan T. DeKok [Thu, 4 Jan 2018 18:24:01 +0000 (13:24 -0500)]
doxygen
Alan T. DeKok [Thu, 4 Jan 2018 18:23:07 +0000 (13:23 -0500)]
format %zd -> %d for int
Alan T. DeKok [Thu, 4 Jan 2018 17:26:04 +0000 (12:26 -0500)]
doxygen
Alan T. DeKok [Thu, 4 Jan 2018 17:24:43 +0000 (12:24 -0500)]
whoops... need this, too
Alan T. DeKok [Thu, 4 Jan 2018 16:52:44 +0000 (11:52 -0500)]
added patricia trie implementation, with tests
Jakob Kramer [Thu, 4 Jan 2018 04:09:29 +0000 (05:09 +0100)]
Format coding-methods.rst correctly
Alan T. DeKok [Mon, 1 Jan 2018 20:02:40 +0000 (15:02 -0500)]
virtual servers cannot be empty
Alan T. DeKok [Mon, 1 Jan 2018 20:00:52 +0000 (15:00 -0500)]
fix erroneous commit
Alan T. DeKok [Mon, 1 Jan 2018 19:30:58 +0000 (14:30 -0500)]
use the same organizational name
Alan T. DeKok [Mon, 1 Jan 2018 19:30:06 +0000 (14:30 -0500)]
typo
Alan T. DeKok [Mon, 1 Jan 2018 15:14:27 +0000 (10:14 -0500)]
added sample intermediate CA configuration
Alan T. DeKok [Mon, 1 Jan 2018 15:03:53 +0000 (10:03 -0500)]
start of provisions for external CA
where the 'ca' we create is an intermediate CA.
Alan T. DeKok [Sun, 31 Dec 2017 16:48:16 +0000 (11:48 -0500)]
add brackets
Alan T. DeKok [Sun, 31 Dec 2017 16:44:27 +0000 (11:44 -0500)]
magic pointers are better than magic (non-const) strings
Alan T. DeKok [Sun, 31 Dec 2017 16:38:25 +0000 (11:38 -0500)]
remove redundant code
Alan T. DeKok [Sun, 31 Dec 2017 16:38:19 +0000 (11:38 -0500)]
hoist checks higher
Alan T. DeKok [Sat, 30 Dec 2017 14:11:56 +0000 (09:11 -0500)]
print all attributes in request / response
not just protocol ones
Alan T. DeKok [Fri, 29 Dec 2017 16:11:19 +0000 (11:11 -0500)]
remove "compile" from processing modules
it's now handled by the main proto_radius
Alan T. DeKok [Fri, 29 Dec 2017 16:10:25 +0000 (11:10 -0500)]
coa also means disconnect
Alan T. DeKok [Fri, 29 Dec 2017 15:15:32 +0000 (10:15 -0500)]
hoist 'compile foo' into proto_radius
which does more sanity checking, and removes a bunch of duplicate
code from the sub-modules
Alan T. DeKok [Fri, 29 Dec 2017 15:03:54 +0000 (10:03 -0500)]
FR_CODE_MAX is 255, so we need 256 entries in arrays...
Alan T. DeKok [Fri, 29 Dec 2017 14:52:50 +0000 (09:52 -0500)]
more sanity checks
- that we're listening for request packets.
- that there is a 'recv foo' section if we're listening for 'foo'
Alan T. DeKok [Fri, 29 Dec 2017 14:47:38 +0000 (09:47 -0500)]
add struct showing request packets
Alan T. DeKok [Thu, 28 Dec 2017 23:34:07 +0000 (18:34 -0500)]
don't print out debug message twice
Alan T. DeKok [Thu, 28 Dec 2017 23:34:00 +0000 (18:34 -0500)]
clarify error message
Alan T. DeKok [Thu, 28 Dec 2017 23:32:44 +0000 (18:32 -0500)]
clarify message
Alan T. DeKok [Thu, 28 Dec 2017 14:33:29 +0000 (09:33 -0500)]
use fr_rand_buffer()
Alan T. DeKok [Thu, 28 Dec 2017 14:28:04 +0000 (09:28 -0500)]
added fr_rand_buffer() to fill a buffer with random bytes
Alan T. DeKok [Wed, 27 Dec 2017 16:09:02 +0000 (11:09 -0500)]
create State for Access-Challenge
before running "send Access-Challenge" section
Arran Cudbard-Bell [Thu, 21 Dec 2017 11:49:57 +0000 (11:49 +0000)]
Don't need these anymore...
Arran Cudbard-Bell [Thu, 21 Dec 2017 11:47:48 +0000 (11:47 +0000)]
Convert fips186 test utility to cutest
Arran Cudbard-Bell [Thu, 21 Dec 2017 11:26:29 +0000 (11:26 +0000)]
Use size macros for milenage buffers
Arran Cudbard-Bell [Thu, 21 Dec 2017 11:25:47 +0000 (11:25 +0000)]
Use TGT_LDFLAGS for libraries that depend on OpenSSL
Arran Cudbard-Bell [Thu, 21 Dec 2017 11:25:06 +0000 (11:25 +0000)]
Duplicitous
Alan T. DeKok [Wed, 20 Dec 2017 13:57:16 +0000 (08:57 -0500)]
print dependencies in the correct order
Arran Cudbard-Bell [Wed, 20 Dec 2017 10:57:04 +0000 (10:57 +0000)]
Simplify eap_tls_gen_eap_aka
Arran Cudbard-Bell [Wed, 20 Dec 2017 10:55:18 +0000 (10:55 +0000)]
Fix fr_sim_crypto_kdf_1_reauth to remove restriction on ID length
Arran Cudbard-Bell [Wed, 20 Dec 2017 00:00:39 +0000 (00:00 +0000)]
Remove old EAP-SIM test vectors
There are unit tests to check the KDFs taken from RFC4186. There are unit tests to check the encoder. There's an integration test which has eapol_test and FreeRADIUS simulate a SIM card and actually attempt authentication, we don't need these test vectors anymore.
Arran Cudbard-Bell [Tue, 19 Dec 2017 23:58:56 +0000 (23:58 +0000)]
Minor formatting
Arran Cudbard-Bell [Tue, 19 Dec 2017 21:03:42 +0000 (21:03 +0000)]
Typo
Matt Rose [Tue, 19 Dec 2017 15:09:05 +0000 (10:09 -0500)]
sid does not have a backports repo
Arran Cudbard-Bell [Tue, 19 Dec 2017 02:52:25 +0000 (02:52 +0000)]
Allocate stack buffers large enough for the maximum AT_IDENTITY length (1016 bytes)
Matthew Newton [Mon, 18 Dec 2017 17:14:18 +0000 (17:14 +0000)]
dockerfiles: ARG before FROM doesn't always work
Matthew Newton [Mon, 18 Dec 2017 13:36:48 +0000 (13:36 +0000)]
dockerfiles - add debian sid, use more args
Arran Cudbard-Bell [Sun, 17 Dec 2017 00:26:55 +0000 (00:26 +0000)]
More documentation
Arran Cudbard-Bell [Sat, 16 Dec 2017 23:40:09 +0000 (23:40 +0000)]
Add reauth function for EAP-AKA'
Arran Cudbard-Bell [Sat, 16 Dec 2017 22:39:40 +0000 (22:39 +0000)]
Use correct reauth id in test
Arran Cudbard-Bell [Sat, 16 Dec 2017 21:54:49 +0000 (21:54 +0000)]
Null terminate zero length octets strings in fr_value_box_snprint
Arran Cudbard-Bell [Sat, 16 Dec 2017 00:46:05 +0000 (00:46 +0000)]
Account for IV in return value of encode_tlv_hdr
Arran Cudbard-Bell [Sat, 16 Dec 2017 00:17:47 +0000 (00:17 +0000)]
Doxygen
Arran Cudbard-Bell [Sat, 16 Dec 2017 00:10:40 +0000 (00:10 +0000)]
Better final return code in EAP-AKA/EAP-SIM
Arran Cudbard-Bell [Fri, 15 Dec 2017 23:51:21 +0000 (23:51 +0000)]
Start plumbing in rlm_sim fast reauthentication
Arran Cudbard-Bell [Fri, 15 Dec 2017 23:50:45 +0000 (23:50 +0000)]
Don't need to set identity in fr_sim_crypto_keys_init_kdf_0_reauth
Arran Cudbard-Bell [Fri, 15 Dec 2017 23:49:59 +0000 (23:49 +0000)]
Remove unused state name function
Arran Cudbard-Bell [Fri, 15 Dec 2017 23:49:38 +0000 (23:49 +0000)]
MAC attribute doesn't need a value
Arran Cudbard-Bell [Fri, 15 Dec 2017 23:38:30 +0000 (23:38 +0000)]
IV needs reserved bytes
Arran Cudbard-Bell [Fri, 15 Dec 2017 21:56:30 +0000 (21:56 +0000)]
...and terminate the buffer
Matthew Newton [Thu, 14 Dec 2017 23:49:02 +0000 (23:49 +0000)]
reorganise/regularise dockerfiles, smaller image, args for compiler ver
Matthew Newton [Thu, 14 Dec 2017 21:43:46 +0000 (21:43 +0000)]
update dockerbuild script
Matthew Newton [Thu, 14 Dec 2017 22:33:32 +0000 (22:33 +0000)]
add "cc" ARG to dockerfiles to set compiler
Arran Cudbard-Bell [Fri, 15 Dec 2017 21:54:34 +0000 (21:54 +0000)]
Zero length octets attributes are a thing
Arran Cudbard-Bell [Fri, 15 Dec 2017 21:22:10 +0000 (21:22 +0000)]
Warn when we discard encrypted attributes
Arran Cudbard-Bell [Fri, 15 Dec 2017 20:29:42 +0000 (20:29 +0000)]
Fix pseudonym case
Arran Cudbard-Bell [Fri, 15 Dec 2017 20:19:54 +0000 (20:19 +0000)]
Add test vectors for EAP-SIM KDF, and start of SIM/AKA reauth KDF
MSK and EMSK differ from test vector
Arran Cudbard-Bell [Fri, 15 Dec 2017 13:13:12 +0000 (13:13 +0000)]
Remove unused internal SIM attributes