]> git.ipfire.org Git - thirdparty/freeradius-server.git/log
thirdparty/freeradius-server.git
8 years agoadded patricia trie implementation, with tests
Alan T. DeKok [Thu, 4 Jan 2018 16:52:44 +0000 (11:52 -0500)] 
added patricia trie implementation, with tests

8 years agovirtual servers cannot be empty
Alan T. DeKok [Mon, 1 Jan 2018 20:02:40 +0000 (15:02 -0500)] 
virtual servers cannot be empty

8 years agofix erroneous commit
Alan T. DeKok [Mon, 1 Jan 2018 20:00:52 +0000 (15:00 -0500)] 
fix erroneous commit

8 years agouse the same organizational name
Alan T. DeKok [Mon, 1 Jan 2018 19:30:58 +0000 (14:30 -0500)] 
use the same organizational name

8 years agotypo
Alan T. DeKok [Mon, 1 Jan 2018 19:30:06 +0000 (14:30 -0500)] 
typo

8 years agoadded sample intermediate CA configuration
Alan T. DeKok [Mon, 1 Jan 2018 15:14:27 +0000 (10:14 -0500)] 
added sample intermediate CA configuration

8 years agostart of provisions for external CA
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.

8 years agoadd brackets
Alan T. DeKok [Sun, 31 Dec 2017 16:48:16 +0000 (11:48 -0500)] 
add brackets

8 years agomagic pointers are better than magic (non-const) strings
Alan T. DeKok [Sun, 31 Dec 2017 16:44:27 +0000 (11:44 -0500)] 
magic pointers are better than magic (non-const) strings

8 years agoremove redundant code
Alan T. DeKok [Sun, 31 Dec 2017 16:38:25 +0000 (11:38 -0500)] 
remove redundant code

8 years agohoist checks higher
Alan T. DeKok [Sun, 31 Dec 2017 16:38:19 +0000 (11:38 -0500)] 
hoist checks higher

8 years agoprint all attributes in request / response
Alan T. DeKok [Sat, 30 Dec 2017 14:11:56 +0000 (09:11 -0500)] 
print all attributes in request / response

not just protocol ones

8 years agoremove "compile" from processing modules
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

8 years agocoa also means disconnect
Alan T. DeKok [Fri, 29 Dec 2017 16:10:25 +0000 (11:10 -0500)] 
coa also means disconnect

8 years agohoist 'compile foo' into proto_radius
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

8 years agoFR_CODE_MAX is 255, so we need 256 entries in arrays...
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...

8 years agomore sanity checks
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'

8 years agoadd struct showing request packets
Alan T. DeKok [Fri, 29 Dec 2017 14:47:38 +0000 (09:47 -0500)] 
add struct showing request packets

8 years agodon't print out debug message twice
Alan T. DeKok [Thu, 28 Dec 2017 23:34:07 +0000 (18:34 -0500)] 
don't print out debug message twice

8 years agoclarify error message
Alan T. DeKok [Thu, 28 Dec 2017 23:34:00 +0000 (18:34 -0500)] 
clarify error message

8 years agoclarify message
Alan T. DeKok [Thu, 28 Dec 2017 23:32:44 +0000 (18:32 -0500)] 
clarify message

8 years agouse fr_rand_buffer()
Alan T. DeKok [Thu, 28 Dec 2017 14:33:29 +0000 (09:33 -0500)] 
use fr_rand_buffer()

8 years agoadded fr_rand_buffer() to fill a buffer with random bytes
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

8 years agocreate State for Access-Challenge
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

8 years agoDon't need these anymore...
Arran Cudbard-Bell [Thu, 21 Dec 2017 11:49:57 +0000 (11:49 +0000)] 
Don't need these anymore...

8 years agoConvert fips186 test utility to cutest
Arran Cudbard-Bell [Thu, 21 Dec 2017 11:47:48 +0000 (11:47 +0000)] 
Convert fips186 test utility to cutest

8 years agoUse size macros for milenage buffers
Arran Cudbard-Bell [Thu, 21 Dec 2017 11:26:29 +0000 (11:26 +0000)] 
Use size macros for milenage buffers

8 years agoUse TGT_LDFLAGS for libraries that depend on OpenSSL
Arran Cudbard-Bell [Thu, 21 Dec 2017 11:25:47 +0000 (11:25 +0000)] 
Use TGT_LDFLAGS for libraries that depend on OpenSSL

8 years agoDuplicitous
Arran Cudbard-Bell [Thu, 21 Dec 2017 11:25:06 +0000 (11:25 +0000)] 
Duplicitous

8 years agoprint dependencies in the correct order
Alan T. DeKok [Wed, 20 Dec 2017 13:57:16 +0000 (08:57 -0500)] 
print dependencies in the correct order

8 years agoSimplify eap_tls_gen_eap_aka
Arran Cudbard-Bell [Wed, 20 Dec 2017 10:57:04 +0000 (10:57 +0000)] 
Simplify eap_tls_gen_eap_aka

8 years agoFix fr_sim_crypto_kdf_1_reauth to remove restriction on ID length
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

8 years agoRemove old EAP-SIM test vectors
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.

8 years agoMinor formatting
Arran Cudbard-Bell [Tue, 19 Dec 2017 23:58:56 +0000 (23:58 +0000)] 
Minor formatting

8 years agoTypo
Arran Cudbard-Bell [Tue, 19 Dec 2017 21:03:42 +0000 (21:03 +0000)] 
Typo

8 years agosid does not have a backports repo
Matt Rose [Tue, 19 Dec 2017 15:09:05 +0000 (10:09 -0500)] 
sid does not have a backports repo

8 years agoAllocate stack buffers large enough for the maximum AT_IDENTITY length (1016 bytes)
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)

8 years agodockerfiles: ARG before FROM doesn't always work
Matthew Newton [Mon, 18 Dec 2017 17:14:18 +0000 (17:14 +0000)] 
dockerfiles: ARG before FROM doesn't always work

8 years agodockerfiles - add debian sid, use more args
Matthew Newton [Mon, 18 Dec 2017 13:36:48 +0000 (13:36 +0000)] 
dockerfiles - add debian sid, use more args

8 years agoMore documentation
Arran Cudbard-Bell [Sun, 17 Dec 2017 00:26:55 +0000 (00:26 +0000)] 
More documentation

8 years agoAdd reauth function for EAP-AKA'
Arran Cudbard-Bell [Sat, 16 Dec 2017 23:40:09 +0000 (23:40 +0000)] 
Add reauth function for EAP-AKA'

8 years agoUse correct reauth id in test
Arran Cudbard-Bell [Sat, 16 Dec 2017 22:39:40 +0000 (22:39 +0000)] 
Use correct reauth id in test

8 years agoNull terminate zero length octets strings in fr_value_box_snprint
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

8 years agoAccount for IV in return value of encode_tlv_hdr
Arran Cudbard-Bell [Sat, 16 Dec 2017 00:46:05 +0000 (00:46 +0000)] 
Account for IV in return value of encode_tlv_hdr

8 years agoDoxygen
Arran Cudbard-Bell [Sat, 16 Dec 2017 00:17:47 +0000 (00:17 +0000)] 
Doxygen

8 years agoBetter final return code in EAP-AKA/EAP-SIM
Arran Cudbard-Bell [Sat, 16 Dec 2017 00:10:40 +0000 (00:10 +0000)] 
Better final return code in EAP-AKA/EAP-SIM

8 years agoStart plumbing in rlm_sim fast reauthentication
Arran Cudbard-Bell [Fri, 15 Dec 2017 23:51:21 +0000 (23:51 +0000)] 
Start plumbing in rlm_sim fast reauthentication

8 years agoDon't need to set identity in fr_sim_crypto_keys_init_kdf_0_reauth
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

8 years agoRemove unused state name function
Arran Cudbard-Bell [Fri, 15 Dec 2017 23:49:59 +0000 (23:49 +0000)] 
Remove unused state name function

8 years agoMAC attribute doesn't need a value
Arran Cudbard-Bell [Fri, 15 Dec 2017 23:49:38 +0000 (23:49 +0000)] 
MAC attribute doesn't need a value

8 years agoIV needs reserved bytes
Arran Cudbard-Bell [Fri, 15 Dec 2017 23:38:30 +0000 (23:38 +0000)] 
IV needs reserved bytes

8 years ago...and terminate the buffer
Arran Cudbard-Bell [Fri, 15 Dec 2017 21:56:30 +0000 (21:56 +0000)] 
...and terminate the buffer

8 years agoreorganise/regularise dockerfiles, smaller image, args for compiler ver
Matthew Newton [Thu, 14 Dec 2017 23:49:02 +0000 (23:49 +0000)] 
reorganise/regularise dockerfiles, smaller image, args for compiler ver

8 years agoupdate dockerbuild script
Matthew Newton [Thu, 14 Dec 2017 21:43:46 +0000 (21:43 +0000)] 
update dockerbuild script

8 years agoadd "cc" ARG to dockerfiles to set compiler
Matthew Newton [Thu, 14 Dec 2017 22:33:32 +0000 (22:33 +0000)] 
add "cc" ARG to dockerfiles to set compiler

8 years agoZero length octets attributes are a thing
Arran Cudbard-Bell [Fri, 15 Dec 2017 21:54:34 +0000 (21:54 +0000)] 
Zero length octets attributes are a thing

8 years agoWarn when we discard encrypted attributes
Arran Cudbard-Bell [Fri, 15 Dec 2017 21:22:10 +0000 (21:22 +0000)] 
Warn when we discard encrypted attributes

8 years agoFix pseudonym case
Arran Cudbard-Bell [Fri, 15 Dec 2017 20:29:42 +0000 (20:29 +0000)] 
Fix pseudonym case

8 years agoAdd test vectors for EAP-SIM KDF, and start of SIM/AKA reauth KDF
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

8 years agoRemove unused internal SIM attributes
Arran Cudbard-Bell [Fri, 15 Dec 2017 13:13:12 +0000 (13:13 +0000)] 
Remove unused internal SIM attributes

8 years agoBump clang other docker images to clang 5.0
Arran Cudbard-Bell [Fri, 15 Dec 2017 12:55:23 +0000 (12:55 +0000)] 
Bump clang other docker images to clang 5.0

8 years agoBump trusty to clang 5.0
Arran Cudbard-Bell [Fri, 15 Dec 2017 12:36:59 +0000 (12:36 +0000)] 
Bump trusty to clang 5.0

8 years agoFix various compiler clang scan warnings
Arran Cudbard-Bell [Fri, 15 Dec 2017 12:34:27 +0000 (12:34 +0000)] 
Fix various compiler clang scan warnings

8 years agoSilently discard encrypted attributes if we're sending them too early
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

8 years agoFunctions don't need to write anywhere
Arran Cudbard-Bell [Thu, 14 Dec 2017 21:06:39 +0000 (21:06 +0000)] 
Functions don't need to write anywhere

8 years agotalloc_ctx can be NULL
Arran Cudbard-Bell [Thu, 14 Dec 2017 21:00:54 +0000 (21:00 +0000)] 
talloc_ctx can be NULL

8 years agoBump xenial's clang version to 5.0
Arran Cudbard-Bell [Thu, 14 Dec 2017 20:30:22 +0000 (20:30 +0000)] 
Bump xenial's clang version to 5.0

8 years agoRevert "patch libkqueue in dockerfile for centos6"
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.

8 years agopatch libkqueue in dockerfile for centos6
Matthew Newton [Thu, 14 Dec 2017 19:33:24 +0000 (19:33 +0000)] 
patch libkqueue in dockerfile for centos6

8 years agoWe now use trusty (not precise), and may as well bump clang to v5.0
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

8 years agodata can be null
Arran Cudbard-Bell [Thu, 14 Dec 2017 18:40:42 +0000 (18:40 +0000)] 
data can be null

8 years agoRevert "'out' can't be NULL either..."
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.

8 years agoRevert "require that CONF_PARSER entries put their data somewhere"
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.

8 years agorequire that CONF_PARSER entries put their data somewhere
Alan T. DeKok [Thu, 14 Dec 2017 18:14:44 +0000 (13:14 -0500)] 
require that CONF_PARSER entries put their data somewhere

8 years agocheck for NULL in tls_global_version_check()
Alan T. DeKok [Thu, 14 Dec 2017 18:10:15 +0000 (13:10 -0500)] 
check for NULL in tls_global_version_check()

8 years agoToggle whether we send protected success messages
Arran Cudbard-Bell [Thu, 14 Dec 2017 13:01:48 +0000 (13:01 +0000)] 
Toggle whether we send protected success messages

8 years agoset nonnull for parameters here, too
Alan T. DeKok [Thu, 14 Dec 2017 14:00:42 +0000 (09:00 -0500)] 
set nonnull for parameters here, too

8 years ago'out' can't be NULL either...
Alan T. DeKok [Thu, 14 Dec 2017 14:00:32 +0000 (09:00 -0500)] 
'out' can't be NULL either...

8 years agoHow about we free the reply *AFTER* copying its contents
Arran Cudbard-Bell [Wed, 13 Dec 2017 22:40:36 +0000 (22:40 +0000)] 
How about we free the reply *AFTER* copying its contents

8 years agoUse the correct width field accessors
Arran Cudbard-Bell [Wed, 13 Dec 2017 21:39:15 +0000 (21:39 +0000)] 
Use the correct width field accessors

8 years agoCID 1185992
Arran Cudbard-Bell [Wed, 13 Dec 2017 21:19:12 +0000 (21:19 +0000)] 
CID 1185992

8 years agoCID 1426106
Arran Cudbard-Bell [Wed, 13 Dec 2017 21:17:09 +0000 (21:17 +0000)] 
CID 1426106

8 years agoCID 1426107
Arran Cudbard-Bell [Wed, 13 Dec 2017 21:16:21 +0000 (21:16 +0000)] 
CID 1426107

8 years agoCID 1426108
Arran Cudbard-Bell [Wed, 13 Dec 2017 21:14:46 +0000 (21:14 +0000)] 
CID 1426108

8 years agoCID 1426105, CID 1426104
Arran Cudbard-Bell [Wed, 13 Dec 2017 21:13:54 +0000 (21:13 +0000)] 
CID 1426105, CID 1426104

8 years agostrlcpy(). CID #1426109
Alan T. DeKok [Wed, 13 Dec 2017 21:16:52 +0000 (16:16 -0500)] 
strlcpy().  CID #1426109

8 years agoclose file on return. CID #1185992
Alan T. DeKok [Wed, 13 Dec 2017 21:15:50 +0000 (16:15 -0500)] 
close file on return.  CID #1185992

8 years agoFixup protected success/failure notifications
Arran Cudbard-Bell [Wed, 13 Dec 2017 19:51:41 +0000 (19:51 +0000)] 
Fixup protected success/failure notifications

8 years agoMinor fixes
Arran Cudbard-Bell [Wed, 13 Dec 2017 17:55:39 +0000 (17:55 +0000)] 
Minor fixes

8 years agoNeed lynx
Arran Cudbard-Bell [Tue, 12 Dec 2017 22:23:11 +0000 (22:23 +0000)] 
Need lynx

8 years agoTab not space
Arran Cudbard-Bell [Tue, 12 Dec 2017 22:08:05 +0000 (22:08 +0000)] 
Tab not space

8 years ago...and now travis doesn't run clang scan at all
Arran Cudbard-Bell [Tue, 12 Dec 2017 22:00:09 +0000 (22:00 +0000)] 
...and now travis doesn't run clang scan at all

8 years agoEmit more clang scan information
Arran Cudbard-Bell [Tue, 12 Dec 2017 21:50:29 +0000 (21:50 +0000)] 
Emit more clang scan information

8 years agoOnly pair rules need to have a destination
Arran Cudbard-Bell [Tue, 12 Dec 2017 21:15:30 +0000 (21:15 +0000)] 
Only pair rules need to have a destination

8 years agoMore clang scan fixes
Arran Cudbard-Bell [Tue, 12 Dec 2017 20:28:38 +0000 (20:28 +0000)] 
More clang scan fixes

8 years agoVarious fixes for clan scan
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

8 years agoApply prefix check for non-debug builds to quiet clang scan
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

8 years agoPlumb in OPc generation
Arran Cudbard-Bell [Tue, 12 Dec 2017 18:46:22 +0000 (18:46 +0000)] 
Plumb in OPc generation

8 years agoAdd (op, ki)->opc derivation
Arran Cudbard-Bell [Tue, 12 Dec 2017 17:32:32 +0000 (17:32 +0000)] 
Add (op, ki)->opc derivation

8 years agobomb out immediately rather than silently fail
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