]>
git.ipfire.org Git - thirdparty/freeradius-server.git/log
Alan T. DeKok [Thu, 4 Jan 2018 16:52:44 +0000 (11:52 -0500)]
added patricia trie implementation, with tests
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
Arran Cudbard-Bell [Fri, 15 Dec 2017 12:55:23 +0000 (12:55 +0000)]
Bump clang other docker images to clang 5.0
Arran Cudbard-Bell [Fri, 15 Dec 2017 12:36:59 +0000 (12:36 +0000)]
Bump trusty to clang 5.0
Arran Cudbard-Bell [Fri, 15 Dec 2017 12:34:27 +0000 (12:34 +0000)]
Fix various compiler clang scan warnings
Arran Cudbard-Bell [Thu, 14 Dec 2017 22:21:42 +0000 (22:21 +0000)]
Silently discard encrypted attributes if we're sending them too early
Arran Cudbard-Bell [Thu, 14 Dec 2017 21:06:39 +0000 (21:06 +0000)]
Functions don't need to write anywhere
Arran Cudbard-Bell [Thu, 14 Dec 2017 21:00:54 +0000 (21:00 +0000)]
talloc_ctx can be NULL
Arran Cudbard-Bell [Thu, 14 Dec 2017 20:30:22 +0000 (20:30 +0000)]
Bump xenial's clang version to 5.0
Arran Cudbard-Bell [Thu, 14 Dec 2017 19:39:11 +0000 (19:39 +0000)]
Revert "patch libkqueue in dockerfile for centos6"
This reverts commit
047df3289e347ff2e21a3997247d7736e80819ca .
Matthew Newton [Thu, 14 Dec 2017 19:33:24 +0000 (19:33 +0000)]
patch libkqueue in dockerfile for centos6
Arran Cudbard-Bell [Thu, 14 Dec 2017 18:56:57 +0000 (18:56 +0000)]
We now use trusty (not precise), and may as well bump clang to v5.0
Arran Cudbard-Bell [Thu, 14 Dec 2017 18:40:42 +0000 (18:40 +0000)]
data can be null
Arran Cudbard-Bell [Thu, 14 Dec 2017 18:37:10 +0000 (18:37 +0000)]
Revert "'out' can't be NULL either..."
This reverts commit
dbcabeb1116cf15ec8418eae834837226e684ed8 .
Arran Cudbard-Bell [Thu, 14 Dec 2017 18:35:02 +0000 (18:35 +0000)]
Revert "require that CONF_PARSER entries put their data somewhere"
This reverts commit
d40748b6c7572e79b50f988f096dfaa117ab3bd5 .
Alan T. DeKok [Thu, 14 Dec 2017 18:14:44 +0000 (13:14 -0500)]
require that CONF_PARSER entries put their data somewhere
Alan T. DeKok [Thu, 14 Dec 2017 18:10:15 +0000 (13:10 -0500)]
check for NULL in tls_global_version_check()
Arran Cudbard-Bell [Thu, 14 Dec 2017 13:01:48 +0000 (13:01 +0000)]
Toggle whether we send protected success messages
Alan T. DeKok [Thu, 14 Dec 2017 14:00:42 +0000 (09:00 -0500)]
set nonnull for parameters here, too
Alan T. DeKok [Thu, 14 Dec 2017 14:00:32 +0000 (09:00 -0500)]
'out' can't be NULL either...
Arran Cudbard-Bell [Wed, 13 Dec 2017 22:40:36 +0000 (22:40 +0000)]
How about we free the reply *AFTER* copying its contents
Arran Cudbard-Bell [Wed, 13 Dec 2017 21:39:15 +0000 (21:39 +0000)]
Use the correct width field accessors
Arran Cudbard-Bell [Wed, 13 Dec 2017 21:19:12 +0000 (21:19 +0000)]
Arran Cudbard-Bell [Wed, 13 Dec 2017 21:17:09 +0000 (21:17 +0000)]
Arran Cudbard-Bell [Wed, 13 Dec 2017 21:16:21 +0000 (21:16 +0000)]
Arran Cudbard-Bell [Wed, 13 Dec 2017 21:14:46 +0000 (21:14 +0000)]
Arran Cudbard-Bell [Wed, 13 Dec 2017 21:13:54 +0000 (21:13 +0000)]
Alan T. DeKok [Wed, 13 Dec 2017 21:16:52 +0000 (16:16 -0500)]
Alan T. DeKok [Wed, 13 Dec 2017 21:15:50 +0000 (16:15 -0500)]
close file on return. CID #
1185992
Arran Cudbard-Bell [Wed, 13 Dec 2017 19:51:41 +0000 (19:51 +0000)]
Fixup protected success/failure notifications
Arran Cudbard-Bell [Wed, 13 Dec 2017 17:55:39 +0000 (17:55 +0000)]
Minor fixes
Arran Cudbard-Bell [Tue, 12 Dec 2017 22:23:11 +0000 (22:23 +0000)]
Need lynx
Arran Cudbard-Bell [Tue, 12 Dec 2017 22:08:05 +0000 (22:08 +0000)]
Tab not space
Arran Cudbard-Bell [Tue, 12 Dec 2017 22:00:09 +0000 (22:00 +0000)]
...and now travis doesn't run clang scan at all
Arran Cudbard-Bell [Tue, 12 Dec 2017 21:50:29 +0000 (21:50 +0000)]
Emit more clang scan information
Arran Cudbard-Bell [Tue, 12 Dec 2017 21:15:30 +0000 (21:15 +0000)]
Only pair rules need to have a destination
Arran Cudbard-Bell [Tue, 12 Dec 2017 20:28:38 +0000 (20:28 +0000)]
More clang scan fixes
Arran Cudbard-Bell [Tue, 12 Dec 2017 19:56:05 +0000 (19:56 +0000)]
Various fixes for clan scan
Seems to have been caused by a Travis upgrade to llvm 5.0
Arran Cudbard-Bell [Tue, 12 Dec 2017 19:39:59 +0000 (19:39 +0000)]
Apply prefix check for non-debug builds to quiet clang scan
Arran Cudbard-Bell [Tue, 12 Dec 2017 18:46:22 +0000 (18:46 +0000)]
Plumb in OPc generation
Arran Cudbard-Bell [Tue, 12 Dec 2017 17:32:32 +0000 (17:32 +0000)]
Add (op, ki)->opc derivation
Matthew Newton [Tue, 12 Dec 2017 13:39:18 +0000 (13:39 +0000)]
bomb out immediately rather than silently fail
if we can't generate passwords.mk, we're stuffed anyway