]> git.ipfire.org Git - thirdparty/freeradius-server.git/log
thirdparty/freeradius-server.git
7 years agoUpdate raddb/mods-available/couchbase 2425/head
Jorge Pereira [Fri, 25 Jan 2019 19:08:09 +0000 (17:08 -0200)] 
Update raddb/mods-available/couchbase

7 years agoMerge pull request #2421 from jpereira/doc/changes1
Matthew Newton [Fri, 25 Jan 2019 17:08:48 +0000 (17:08 +0000)] 
Merge pull request #2421 from jpereira/doc/changes1

Some fixes

7 years agoFix RFC section line 2421/head
Jorge Pereira [Fri, 25 Jan 2019 16:59:58 +0000 (14:59 -0200)] 
Fix RFC section line

7 years agoFix memcached hiperlink
Jorge Pereira [Fri, 25 Jan 2019 16:59:30 +0000 (14:59 -0200)] 
Fix memcached hiperlink

7 years agoif the match is successful, only run one replace for RFCs
Alan T. DeKok [Fri, 25 Jan 2019 16:55:22 +0000 (11:55 -0500)] 
if the match is successful, only run one replace for RFCs

7 years agotypo
Alan T. DeKok [Fri, 25 Jan 2019 16:00:57 +0000 (11:00 -0500)] 
typo

7 years agolink to bare RFCs, too
Alan T. DeKok [Fri, 25 Jan 2019 15:35:42 +0000 (10:35 -0500)] 
link to bare RFCs, too

7 years agoMerge pull request #2415 from jpereira/doc/minor1
Alan DeKok [Fri, 25 Jan 2019 15:26:47 +0000 (10:26 -0500)] 
Merge pull request #2415 from jpereira/doc/minor1

Minor changes in raddb/mods-available/{cipher,client}

7 years agoautolink to RFCs
Alan T. DeKok [Fri, 25 Jan 2019 15:25:24 +0000 (10:25 -0500)] 
autolink to RFCs

7 years agoMerge pull request #2414 from jpereira/doc/ident2
Arran Cudbard-Bell [Fri, 25 Jan 2019 14:59:58 +0000 (21:59 +0700)] 
Merge pull request #2414 from jpereira/doc/ident2

Just the identation of scripts/asciidoc/conf2adoc

7 years agoMinor changes in raddb/mods-available/{cipher,client} 2415/head
Jorge Pereira [Fri, 25 Jan 2019 14:58:22 +0000 (12:58 -0200)] 
Minor changes in raddb/mods-available/{cipher,client}

7 years agoJust the identation of scripts/asciidoc/conf2adoc 2414/head
Jorge Pereira [Fri, 25 Jan 2019 14:15:55 +0000 (12:15 -0200)] 
Just the identation of scripts/asciidoc/conf2adoc

7 years agoword smithing and more documentation
Alan T. DeKok [Fri, 25 Jan 2019 14:12:15 +0000 (09:12 -0500)] 
word smithing and more documentation

7 years agoword smithing
Alan T. DeKok [Fri, 25 Jan 2019 13:55:04 +0000 (08:55 -0500)] 
word smithing

7 years agominor word smithing
Alan T. DeKok [Fri, 25 Jan 2019 13:49:41 +0000 (08:49 -0500)] 
minor word smithing

7 years agoDon't need the memset 2413/head
Arran Cudbard-Bell [Fri, 25 Jan 2019 09:03:54 +0000 (16:03 +0700)] 
Don't need the memset

7 years agoTabs to spaces
Arran Cudbard-Bell [Fri, 25 Jan 2019 08:49:47 +0000 (15:49 +0700)] 
Tabs to spaces

7 years agoCorrect function here is HMAC_CTX_cleanup() to free any dynamically allocated buffers
Arran Cudbard-Bell [Fri, 25 Jan 2019 07:51:47 +0000 (14:51 +0700)] 
Correct function here is HMAC_CTX_cleanup() to free any dynamically allocated buffers

7 years agoUse realloc instead of duping the entire buffer in xlat_base64_decode
Arran Cudbard-Bell [Fri, 25 Jan 2019 06:59:20 +0000 (13:59 +0700)] 
Use realloc instead of duping the entire buffer in xlat_base64_decode

Pass along the taint. i.e. if the input was tained, the output is tainted too.

7 years agoStyle fixes and updates for cipher
Arran Cudbard-Bell [Fri, 25 Jan 2019 06:28:01 +0000 (13:28 +0700)] 
Style fixes and updates for cipher

7 years agoNo newline needed
Arran Cudbard-Bell [Fri, 25 Jan 2019 06:10:14 +0000 (13:10 +0700)] 
No newline needed

7 years agoFix OpenSSL version number checks
Arran Cudbard-Bell [Fri, 25 Jan 2019 06:07:03 +0000 (13:07 +0700)] 
Fix OpenSSL version number checks

TLS 1.3 is only enabled in 1.1.1 apparently.

another

7 years agoMerge pull request #2379 from pwdng/xlats
Arran Cudbard-Bell [Fri, 25 Jan 2019 06:33:29 +0000 (13:33 +0700)] 
Merge pull request #2379 from pwdng/xlats

More xlat conversions to use to async API.

7 years agoMerge pull request #2389 from jpereira/fix/truncated1
Arran Cudbard-Bell [Fri, 25 Jan 2019 06:32:15 +0000 (13:32 +0700)] 
Merge pull request #2389 from jpereira/fix/truncated1

Fix truncated string

7 years agoMerge pull request #2410 from jpereira/doc/ma-cipher2
Alan DeKok [Fri, 25 Jan 2019 02:03:29 +0000 (21:03 -0500)] 
Merge pull request #2410 from jpereira/doc/ma-cipher2

Minor fix in raddb/mods-available/cipher

7 years agoMerge pull request #2409 from jpereira/doc/ma-client
Alan DeKok [Fri, 25 Jan 2019 02:03:09 +0000 (21:03 -0500)] 
Merge pull request #2409 from jpereira/doc/ma-client

Update raddb/mods-available/client

7 years agoMerge pull request #2407 from jpereira/doc/organization1
Alan DeKok [Fri, 25 Jan 2019 02:02:21 +0000 (21:02 -0500)] 
Merge pull request #2407 from jpereira/doc/organization1

Minor reorganization

7 years agoMerge pull request #2406 from jpereira/doc/ma-cache_tls1
Alan DeKok [Fri, 25 Jan 2019 02:01:34 +0000 (21:01 -0500)] 
Merge pull request #2406 from jpereira/doc/ma-cache_tls1

Update raddb/mods-available/cache_tls

7 years agoMinor fix in raddb/mods-available/cipher 2410/head
Jorge Pereira [Fri, 25 Jan 2019 01:29:52 +0000 (23:29 -0200)] 
Minor fix in raddb/mods-available/cipher

7 years agoUpdate raddb/mods-available/client 2409/head
Jorge Pereira [Fri, 25 Jan 2019 01:27:14 +0000 (23:27 -0200)] 
Update raddb/mods-available/client

7 years agoMerge pull request #2408 from jpereira/doc/ma-cipher
Arran Cudbard-Bell [Fri, 25 Jan 2019 01:02:04 +0000 (08:02 +0700)] 
Merge pull request #2408 from jpereira/doc/ma-cipher

Update raddb/mods-available/cipher

7 years agoUpdate raddb/mods-available/cipher 2408/head
Jorge Pereira [Fri, 25 Jan 2019 00:46:32 +0000 (22:46 -0200)] 
Update raddb/mods-available/cipher

7 years agoMinor reorganization 2407/head
Jorge Pereira [Thu, 24 Jan 2019 23:29:56 +0000 (21:29 -0200)] 
Minor reorganization

7 years agoUpdate raddb/mods-available/cache_tls 2406/head
Jorge Pereira [Thu, 24 Jan 2019 23:27:52 +0000 (21:27 -0200)] 
Update raddb/mods-available/cache_tls

7 years agostill HP as far as the dictionary is concerned
Matthew Newton [Thu, 24 Jan 2019 20:18:14 +0000 (20:18 +0000)] 
still HP as far as the dictionary is concerned

7 years agoneeds openssl >= 1.1.0
Matthew Newton [Thu, 24 Jan 2019 19:50:29 +0000 (19:50 +0000)] 
needs openssl >= 1.1.0

7 years agodisable ecc chain by default, and add warnings why
Matthew Newton [Thu, 24 Jan 2019 18:05:43 +0000 (18:05 +0000)] 
disable ecc chain by default, and add warnings why

7 years agodebug client cipher list
Matthew Newton [Thu, 24 Jan 2019 17:50:42 +0000 (17:50 +0000)] 
debug client cipher list

7 years agoupdate URL
Matthew Newton [Thu, 24 Jan 2019 17:50:25 +0000 (17:50 +0000)] 
update URL

7 years agominor word smithing
Alan T. DeKok [Thu, 24 Jan 2019 17:38:10 +0000 (12:38 -0500)] 
minor word smithing

7 years agominor word smithing and updates for v4
Alan T. DeKok [Thu, 24 Jan 2019 17:36:53 +0000 (12:36 -0500)] 
minor word smithing and updates for v4

7 years agoMerge pull request #2405 from jpereira/doc/ma-cache_eap1
Alan DeKok [Thu, 24 Jan 2019 17:30:01 +0000 (12:30 -0500)] 
Merge pull request #2405 from jpereira/doc/ma-cache_eap1

Update raddb/mods-available/cache_eap

7 years agoMerge pull request #2404 from jpereira/doc/ma-cache1
Alan DeKok [Thu, 24 Jan 2019 17:29:53 +0000 (12:29 -0500)] 
Merge pull request #2404 from jpereira/doc/ma-cache1

Update raddb/mods-available/cache

7 years agoUpdate raddb/mods-available/cache_eap 2405/head
Jorge Pereira [Thu, 24 Jan 2019 17:02:41 +0000 (15:02 -0200)] 
Update raddb/mods-available/cache_eap

7 years agoUpdate raddb/mods-available/cache 2404/head
Jorge Pereira [Thu, 24 Jan 2019 16:55:43 +0000 (14:55 -0200)] 
Update raddb/mods-available/cache

7 years agoMerge pull request #2403 from jpereira/doc/ma-attr_filter1
Alan DeKok [Thu, 24 Jan 2019 15:41:42 +0000 (10:41 -0500)] 
Merge pull request #2403 from jpereira/doc/ma-attr_filter1

Update raddb/mods-available/attr_filter

7 years agoUpdate raddb/mods-available/attr_filter 2403/head
Jorge Pereira [Thu, 24 Jan 2019 15:20:05 +0000 (13:20 -0200)] 
Update raddb/mods-available/attr_filter

7 years agoMerge pull request #2402 from jpereira/doc/clients1
Alan DeKok [Thu, 24 Jan 2019 14:53:15 +0000 (09:53 -0500)] 
Merge pull request #2402 from jpereira/doc/clients1

Minor reorganization in raddb/clients.conf

7 years agoMinor reorganization in raddb/clients.conf 2402/head
Jorge Pereira [Thu, 24 Jan 2019 14:45:15 +0000 (12:45 -0200)] 
Minor reorganization in raddb/clients.conf

7 years agoMove more enum values inline
Arran Cudbard-Bell [Thu, 24 Jan 2019 13:44:18 +0000 (20:44 +0700)] 
Move more enum values inline

7 years agoUpdate dictionary.hp
Arran Cudbard-Bell [Thu, 24 Jan 2019 13:42:00 +0000 (20:42 +0700)] 
Update dictionary.hp

7 years agoMerge pull request #2401 from xvybihal/patch-1
Alan DeKok [Thu, 24 Jan 2019 12:55:55 +0000 (07:55 -0500)] 
Merge pull request #2401 from xvybihal/patch-1

Add attribute number 14 (HPE-Port-MA-Port-Mode)

7 years agoAdd attribute number 14 (HPE-Port-MA-Port-Mode) 2401/head
Josef Vybíhal [Thu, 24 Jan 2019 11:30:10 +0000 (12:30 +0100)] 
Add attribute number 14 (HPE-Port-MA-Port-Mode)

        <Attribute profile="in out" type="Unsigned32" name="HPE-Port-MA-Port-Mode" id="14">
          <ValidValues>
            <ValidValue enumOrdinal="0" value="User-Based"/>
            <ValidValue enumOrdinal="1" value="Port-Based"/>
          </ValidValues>
        </Attribute>

7 years agoword smithing and minor reformatting
Alan T. DeKok [Thu, 24 Jan 2019 03:00:24 +0000 (22:00 -0500)] 
word smithing and minor reformatting

7 years agoword smithing and minor reorganization
Alan T. DeKok [Thu, 24 Jan 2019 02:48:27 +0000 (21:48 -0500)] 
word smithing and minor reorganization

7 years agoMerge pull request #2399 from jpereira/doc/ma-delay
Alan DeKok [Thu, 24 Jan 2019 02:50:48 +0000 (21:50 -0500)] 
Merge pull request #2399 from jpereira/doc/ma-delay

Update raddb/mods-available/delay

7 years agoMerge pull request #2400 from jpereira/doc/ma-always
Alan DeKok [Thu, 24 Jan 2019 02:29:47 +0000 (21:29 -0500)] 
Merge pull request #2400 from jpereira/doc/ma-always

Update raddb/mods-available/always

7 years agoUpdate raddb/mods-available/always 2400/head
Jorge Pereira [Wed, 23 Jan 2019 23:30:03 +0000 (21:30 -0200)] 
Update raddb/mods-available/always

7 years agoUpdate raddb/mods-available/delay 2399/head
Jorge Pereira [Wed, 23 Jan 2019 22:20:54 +0000 (20:20 -0200)] 
Update raddb/mods-available/delay

7 years agocall pthread destructors for the main thread.
Alan T. DeKok [Wed, 23 Jan 2019 18:56:33 +0000 (13:56 -0500)] 
call pthread destructors for the main thread.

An alternative would be to run all of the tests under a child
thread, and then join it.  If the various compilers like this
patch, then it's fine for now.

7 years agoadd "clean.asciidoc" rule. Fixes #2398
Alan T. DeKok [Wed, 23 Jan 2019 18:00:50 +0000 (13:00 -0500)] 
add "clean.asciidoc" rule.  Fixes #2398

and make "clean" depend on it, so "clean" removes asciidoc, too

7 years agoother targets are "clean.FOO", not "clean_FOO"
Alan T. DeKok [Wed, 23 Jan 2019 17:59:25 +0000 (12:59 -0500)] 
other targets are "clean.FOO", not "clean_FOO"

7 years agoRevert "call pthread destructors for the main thread."
Alan T. DeKok [Wed, 23 Jan 2019 17:26:30 +0000 (12:26 -0500)] 
Revert "call pthread destructors for the main thread."

This reverts commit a8f586f740cac52438943fdd1d6ac323f91f3e1f.

apparently this breaks many things...

7 years agoMerge pull request #2397 from jpereira/doc1
Alan DeKok [Wed, 23 Jan 2019 17:27:46 +0000 (12:27 -0500)] 
Merge pull request #2397 from jpereira/doc1

Add ./asciidoc/ to .gitignore

7 years agoAdd ./asciidoc/ to .gitignore 2397/head
Jorge Pereira [Wed, 23 Jan 2019 17:21:16 +0000 (15:21 -0200)] 
Add ./asciidoc/ to .gitignore

7 years agomore openssl version checks
Matthew Newton [Wed, 23 Jan 2019 16:57:11 +0000 (16:57 +0000)] 
more openssl version checks

7 years agocall pthread destructors for the main thread.
Alan T. DeKok [Wed, 23 Jan 2019 16:45:44 +0000 (11:45 -0500)] 
call pthread destructors for the main thread.

An alternative would be to run all of the tests under a child
thread, and then join it.  If the various compilers like this
patch, then it's fine for now.

7 years agouse the correct directory
Alan T. DeKok [Wed, 23 Jan 2019 16:03:21 +0000 (11:03 -0500)] 
use the correct directory

7 years agoRevert "reset != free"
Alan T. DeKok [Wed, 23 Jan 2019 15:24:21 +0000 (10:24 -0500)] 
Revert "reset != free"

This reverts commit d849460d342e887061833cf90c9257f0346ad667.

7 years agoreset != free
Alan T. DeKok [Wed, 23 Jan 2019 13:59:33 +0000 (08:59 -0500)] 
reset != free

7 years agofixes for old OpenSSL
Alan T. DeKok [Wed, 23 Jan 2019 13:34:12 +0000 (08:34 -0500)] 
fixes for old OpenSSL

move macros to where they belong, and include common missing
header

7 years agoOnly send a single session ticket if the sesison cache is enabled, and no session...
Arran Cudbard-Bell [Wed, 23 Jan 2019 13:22:29 +0000 (20:22 +0700)] 
Only send a single session ticket if the sesison cache is enabled, and no session tickets if its not

7 years agoInclude versioning header explicitly?
Arran Cudbard-Bell [Wed, 23 Jan 2019 07:59:57 +0000 (14:59 +0700)] 
Include versioning header explicitly?

7 years agoFix more OpenSSL versioning issues
Arran Cudbard-Bell [Wed, 23 Jan 2019 07:50:48 +0000 (14:50 +0700)] 
Fix more OpenSSL versioning issues

7 years agoCatch session_tickets being sent after the handshake. Don't error out, try and continue.
Arran Cudbard-Bell [Wed, 23 Jan 2019 06:08:15 +0000 (13:08 +0700)] 
Catch session_tickets being sent after the handshake.  Don't error out, try and continue.

7 years agoFix tls_log_io_error to return 0/-1
Arran Cudbard-Bell [Wed, 23 Jan 2019 05:37:09 +0000 (12:37 +0700)] 
Fix tls_log_io_error to return 0/-1

7 years agoNote on old OpenSSL versions
Arran Cudbard-Bell [Wed, 23 Jan 2019 05:15:35 +0000 (12:15 +0700)] 
Note on old OpenSSL versions

7 years agoTypo
Arran Cudbard-Bell [Mon, 21 Jan 2019 14:43:04 +0000 (21:43 +0700)] 
Typo

Formatting

Fixup missing.c/missing.h and other TLS header includes

7 years agojust use "html" target instead of "asciidoc-html"
Alan T. DeKok [Mon, 21 Jan 2019 21:12:28 +0000 (16:12 -0500)] 
just use "html" target instead of "asciidoc-html"

7 years agothe expiry time should NOT be NULL
Alan T. DeKok [Sat, 12 Jan 2019 15:35:09 +0000 (10:35 -0500)] 
the expiry time should NOT be NULL

change the schema to set a default value of zero.

Change the queries to set it to 0 on clear.

Leave the allocate_find with checking for NULL, as people might
have old schemas around.

7 years agoremove redundant config missed in the last commit
Alan T. DeKok [Sat, 12 Jan 2019 15:31:25 +0000 (10:31 -0500)] 
remove redundant config missed in the last commit

7 years agoDump raw records from the TLS code at debug level 3
Arran Cudbard-Bell [Mon, 21 Jan 2019 11:47:31 +0000 (18:47 +0700)] 
Dump raw records from the TLS code at debug level 3

Very useful when debugging obscure TLS issues *sigh*

7 years agoMissed curly brace
Arran Cudbard-Bell [Sun, 20 Jan 2019 16:45:29 +0000 (23:45 +0700)] 
Missed curly brace

7 years agoMinor fixups
Arran Cudbard-Bell [Sun, 20 Jan 2019 16:03:26 +0000 (23:03 +0700)] 
Minor fixups

7 years agoMove eap-fast PRF functions into the EAP-FAST module
Arran Cudbard-Bell [Sun, 20 Jan 2019 14:43:22 +0000 (21:43 +0700)] 
Move eap-fast PRF functions into the EAP-FAST module

Many other cleanups

7 years agoAdd missing OpenSSL functions
Arran Cudbard-Bell [Sun, 20 Jan 2019 14:42:43 +0000 (21:42 +0700)] 
Add missing OpenSSL functions

7 years agoImplement PRF and Session-ID changes as required by draft-ietf-emu-eap-tls13-03
Arran Cudbard-Bell [Sun, 20 Jan 2019 12:50:52 +0000 (19:50 +0700)] 
Implement PRF and Session-ID changes as required by draft-ietf-emu-eap-tls13-03

wpa_supplicant/hostapd already does this for TLS 1.3 which is why we saw mismatches.

This gets EAP-TLS working with TLS 1.3, but EAP-TTLS still fails with a decryption error.

7 years agoReset SSL * if we send an alert
Arran Cudbard-Bell [Sun, 20 Jan 2019 10:05:52 +0000 (17:05 +0700)] 
Reset SSL * if we send an alert

This resets the TLS state machine, which may allow OpenSSL to process a new TLS session

7 years agoUse SSL_is_init_finished instead of checking the last handshake_type
Arran Cudbard-Bell [Sun, 20 Jan 2019 09:59:03 +0000 (16:59 +0700)] 
Use SSL_is_init_finished instead of checking the last handshake_type

This fixes some compatibility issues with TLS 1.3.  We still disagree on MPPE keys with eapol_test though...

7 years agoUse other, less weird macros for testing content_type
Arran Cudbard-Bell [Sun, 20 Jan 2019 09:58:10 +0000 (16:58 +0700)] 
Use other, less weird macros for testing content_type

7 years agoMake the TLS alert record generate code less crappy...
Arran Cudbard-Bell [Sun, 20 Jan 2019 09:56:56 +0000 (16:56 +0700)] 
Make the TLS alert record generate code less crappy...

Alert fixup

7 years agoMinor debugging and formatting
Arran Cudbard-Bell [Sun, 20 Jan 2019 08:06:44 +0000 (15:06 +0700)] 
Minor debugging and formatting

7 years agoAllow eapol_test to build where OpenSSL functions are deprecated
Arran Cudbard-Bell [Sun, 20 Jan 2019 07:25:33 +0000 (14:25 +0700)] 
Allow eapol_test to build where OpenSSL functions are deprecated

7 years agoAllow eapol_test build dir to be overriden in case we want to use the same copy of...
Arran Cudbard-Bell [Sun, 20 Jan 2019 07:21:41 +0000 (14:21 +0700)] 
Allow eapol_test build dir to be overriden in case we want to use the same copy of the src multiple times

7 years agoUse the British spelling
Arran Cudbard-Bell [Wed, 16 Jan 2019 08:23:34 +0000 (15:23 +0700)] 
Use the British spelling

7 years agoTypo
Arran Cudbard-Bell [Wed, 16 Jan 2019 08:19:23 +0000 (15:19 +0700)] 
Typo

7 years agoFix truncated string 2389/head
Jorge Pereira [Tue, 15 Jan 2019 18:14:14 +0000 (16:14 -0200)] 
Fix truncated string

7 years agoUnclear if/how the TLS1_RT_CRYPTO* macros are actually used
Arran Cudbard-Bell [Tue, 15 Jan 2019 09:42:47 +0000 (16:42 +0700)] 
Unclear if/how the TLS1_RT_CRYPTO* macros are actually used

7 years agoCheck for more handhsake macros
Arran Cudbard-Bell [Tue, 15 Jan 2019 09:40:05 +0000 (16:40 +0700)] 
Check for more handhsake macros

7 years agoToo soon!
Arran Cudbard-Bell [Tue, 15 Jan 2019 09:08:06 +0000 (16:08 +0700)] 
Too soon!