]> git.ipfire.org Git - thirdparty/freeradius-server.git/log
thirdparty/freeradius-server.git
6 years agoEAP howto tidy
Terry Burton [Wed, 31 Jul 2019 13:39:37 +0000 (14:39 +0100)] 
EAP howto tidy

802.1x -> 802.1X
Be more specific in the introduction.

6 years agodoc: If the 'BASEDIR' is empty, set to '.'
Jorge Pereira [Wed, 31 Jul 2019 22:54:05 +0000 (19:54 -0300)] 
doc: If the 'BASEDIR' is empty, set to '.'

It's necessary to build 'doc/README.{adoc,html}' with the docinfo
header/footers files.

6 years agodisable test until we can figured out why it's failing
Alan T. DeKok [Thu, 1 Aug 2019 12:53:55 +0000 (08:53 -0400)] 
disable test until we can figured out why it's failing

don't use "return" in the middle of a block

6 years agostop foreach / load-balance on break / return
Alan T. DeKok [Thu, 1 Aug 2019 12:11:17 +0000 (08:11 -0400)] 
stop foreach / load-balance on break / return

6 years agodon't have rules after "return"
Alan T. DeKok [Thu, 1 Aug 2019 11:59:56 +0000 (07:59 -0400)] 
don't have rules after "return"

6 years ago"return" can be in the middle of parallel sections
Alan T. DeKok [Thu, 1 Aug 2019 11:59:35 +0000 (07:59 -0400)] 
"return" can be in the middle of parallel sections

6 years agonotes on break / foreach
Alan T. DeKok [Thu, 1 Aug 2019 11:44:48 +0000 (07:44 -0400)] 
notes on break / foreach

6 years agodocument updated behavior of break
Alan T. DeKok [Thu, 1 Aug 2019 11:41:29 +0000 (07:41 -0400)] 
document updated behavior of break

6 years agoinstall sudo in the centos7 dockerfile to match the others
Matthew Newton [Thu, 1 Aug 2019 08:28:36 +0000 (09:28 +0100)] 
install sudo in the centos7 dockerfile to match the others

6 years agoupdate jenkins dockerfiles
Matthew Newton [Wed, 31 Jul 2019 20:40:47 +0000 (21:40 +0100)] 
update jenkins dockerfiles

6 years agoremove debian7 dockerfiles
Matthew Newton [Wed, 31 Jul 2019 20:24:27 +0000 (21:24 +0100)] 
remove debian7 dockerfiles

6 years agoFix 'BASEDIR' to get the correct path
Jorge Pereira [Wed, 31 Jul 2019 19:42:21 +0000 (16:42 -0300)] 
Fix 'BASEDIR' to get the correct path

6 years agono longer a need for "fail" after break / return
Alan T. DeKok [Wed, 31 Jul 2019 19:28:21 +0000 (15:28 -0400)] 
no longer a need for "fail" after break / return

6 years agoremove unused variable
Alan T. DeKok [Wed, 31 Jul 2019 18:46:03 +0000 (14:46 -0400)] 
remove unused variable

6 years agobuild fixes for travis
Alan T. DeKok [Wed, 31 Jul 2019 18:34:29 +0000 (14:34 -0400)] 
build fixes for travis

6 years agoenforce no rules after "break" or "return"
Alan T. DeKok [Wed, 31 Jul 2019 18:27:13 +0000 (14:27 -0400)] 
enforce no rules after "break" or "return"

6 years agoremove request->username and request->password from the server
Alan T. DeKok [Wed, 31 Jul 2019 18:15:38 +0000 (14:15 -0400)] 
remove request->username and request->password from the server

Finally.

6 years agoremove use of request->password
Alan T. DeKok [Wed, 31 Jul 2019 18:13:31 +0000 (14:13 -0400)] 
remove use of request->password

6 years agoremove reference to LEAP
Alan T. DeKok [Wed, 31 Jul 2019 18:06:02 +0000 (14:06 -0400)] 
remove reference to LEAP

6 years agoremove use of request->username and request->password
Alan T. DeKok [Wed, 31 Jul 2019 18:05:31 +0000 (14:05 -0400)] 
remove use of request->username and request->password

6 years agoremove use of request->username
Alan T. DeKok [Wed, 31 Jul 2019 17:00:45 +0000 (13:00 -0400)] 
remove use of request->username

* document new behavior
* update the default configuration to match the old behavior

Moving hard-coded things to configurable things is a good idea.

6 years agoremove use of request->username and request->password
Alan T. DeKok [Wed, 31 Jul 2019 17:47:22 +0000 (13:47 -0400)] 
remove use of request->username and request->password

6 years agoremove LEAP from the server.
Alan T. DeKok [Wed, 31 Jul 2019 17:37:31 +0000 (13:37 -0400)] 
remove LEAP from the server.

No one should be using it.

6 years agomove to template for key
Alan T. DeKok [Wed, 31 Jul 2019 17:29:07 +0000 (13:29 -0400)] 
move to template for key

and get rid of request->username

6 years agoremove use of request->username and request->password
Alan T. DeKok [Wed, 31 Jul 2019 17:17:37 +0000 (13:17 -0400)] 
remove use of request->username and request->password

6 years agoRevert "remove use of request->username"
Alan T. DeKok [Wed, 31 Jul 2019 17:17:08 +0000 (13:17 -0400)] 
Revert "remove use of request->username"

This reverts commit 89852b7e7add77ee4b1ed7a1a4fe3e6f6f67871c.

Nope.  There's a lot more work to do

6 years agoremove use of request->username
Alan T. DeKok [Wed, 31 Jul 2019 17:00:45 +0000 (13:00 -0400)] 
remove use of request->username

* document new behavior
* update the default configuration to match the old behavior

Moving hard-coded things to configurable things is a good idea.

6 years agoremove use of request->username and request->password
Alan T. DeKok [Wed, 31 Jul 2019 16:51:34 +0000 (12:51 -0400)] 
remove use of request->username and request->password

6 years agoremove use of request->username and request->password
Alan T. DeKok [Wed, 31 Jul 2019 16:48:14 +0000 (12:48 -0400)] 
remove use of request->username and request->password

6 years agoremove use of request->username and request->password
Alan T. DeKok [Wed, 31 Jul 2019 16:46:22 +0000 (12:46 -0400)] 
remove use of request->username and request->password

6 years agoremove use of request->username and request->password
Alan T. DeKok [Wed, 31 Jul 2019 16:41:39 +0000 (12:41 -0400)] 
remove use of request->username and request->password

7 years agodoc: Define {basedir} dynamically
Jorge Pereira [Tue, 30 Jul 2019 21:32:59 +0000 (18:32 -0300)] 
doc: Define {basedir} dynamically

It's necessary to set up the HTML links correctly
in order to avoid hard-coded paths.

7 years agodoc: Fix the extension to *.adoc
Jorge Pereira [Tue, 30 Jul 2019 18:28:23 +0000 (15:28 -0300)] 
doc: Fix the extension to *.adoc

7 years agouse ``` instead of ....
Alan T. DeKok [Tue, 30 Jul 2019 19:07:35 +0000 (15:07 -0400)] 
use ``` instead of ....

7 years agouse ```
Alan T. DeKok [Tue, 30 Jul 2019 19:02:57 +0000 (15:02 -0400)] 
use ```

7 years agoremove duplicate
Alan T. DeKok [Tue, 30 Jul 2019 19:00:54 +0000 (15:00 -0400)] 
remove duplicate

7 years agoMerge pull request #2824 from jpereira/v4/doc-header-footer
Alan DeKok [Tue, 30 Jul 2019 18:59:11 +0000 (14:59 -0400)] 
Merge pull request #2824 from jpereira/v4/doc-header-footer

doc: Add header/footer for all docs using the Asciidoctor docinfo.

7 years agoMerge pull request #2820 from jpereira/v4/convert-upgrade
Alan DeKok [Tue, 30 Jul 2019 18:59:03 +0000 (14:59 -0400)] 
Merge pull request #2820 from jpereira/v4/convert-upgrade

doc: Convert doc/upgrade/*.md to doc/upgrade/*.adoc

7 years agoMerge pull request #2819 from jpereira/v4/doc-unlang1
Alan DeKok [Tue, 30 Jul 2019 18:58:44 +0000 (14:58 -0400)] 
Merge pull request #2819 from jpereira/v4/doc-unlang1

doc: Fix doc/unlang/home.adoc '=' levels

7 years agoMerge pull request #2818 from jpereira/v4/convert-source
Alan DeKok [Tue, 30 Jul 2019 18:58:24 +0000 (14:58 -0400)] 
Merge pull request #2818 from jpereira/v4/convert-source

doc: Convert doc/source/*.md to doc/source/*.adoc

7 years agodoc: Add header/footer for all docs using the Asciidoctor docinfo. 2824/head
Jorge Pereira [Mon, 29 Jul 2019 23:51:19 +0000 (20:51 -0300)] 
doc: Add header/footer for all docs using the Asciidoctor docinfo.

7 years agodoc: Fix doc/unlang/home.adoc '=' levels 2819/head
Jorge Pereira [Tue, 30 Jul 2019 01:25:56 +0000 (22:25 -0300)] 
doc: Fix doc/unlang/home.adoc '=' levels

7 years agodoc: Convert doc/upgrade/*.md to doc/upgrade/*.adoc 2820/head
Jorge Pereira [Tue, 30 Jul 2019 01:47:04 +0000 (22:47 -0300)] 
doc: Convert doc/upgrade/*.md to doc/upgrade/*.adoc

7 years agodoc: Convert doc/source/*.md to doc/source/*.adoc 2818/head
Jorge Pereira [Tue, 30 Jul 2019 17:31:21 +0000 (14:31 -0300)] 
doc: Convert doc/source/*.md to doc/source/*.adoc

7 years agouse proper types
Alan T. DeKok [Tue, 30 Jul 2019 13:39:26 +0000 (09:39 -0400)] 
use proper types

7 years agoallow "uint16" etc. qualifiers for "date" types
Alan T. DeKok [Tue, 30 Jul 2019 13:15:46 +0000 (09:15 -0400)] 
allow "uint16" etc. qualifiers for "date" types

so that we can encode them with different sizes

7 years agoadd "ipv4addr" for IPv4 address
Alan T. DeKok [Tue, 30 Jul 2019 12:57:01 +0000 (08:57 -0400)] 
add "ipv4addr" for IPv4 address

to mirror ipv6addr

7 years agoadd header
Alan T. DeKok [Mon, 29 Jul 2019 23:13:21 +0000 (19:13 -0400)] 
add header

7 years agoSplit and reorganise some internal ttributes
Arran Cudbard-Bell [Tue, 30 Jul 2019 08:23:47 +0000 (17:23 +0900)] 
Split and reorganise some internal ttributes

7 years agomore docs for `foo`
Alan T. DeKok [Mon, 29 Jul 2019 18:50:33 +0000 (14:50 -0400)] 
more docs for `foo`

7 years agomore documentation
Alan T. DeKok [Mon, 29 Jul 2019 18:26:44 +0000 (14:26 -0400)] 
more documentation

7 years agowe no longer have data type 'evs'
Alan T. DeKok [Mon, 29 Jul 2019 18:05:18 +0000 (14:05 -0400)] 
we no longer have data type 'evs'

7 years agotests and better error messages for integers
Alan T. DeKok [Mon, 29 Jul 2019 18:04:38 +0000 (14:04 -0400)] 
tests and better error messages for integers

so that we catch negative values for unsigned data types, and
print a useful error message

7 years agofilter ONLY the files we want for making indexes
Alan T. DeKok [Mon, 29 Jul 2019 18:02:09 +0000 (14:02 -0400)] 
filter ONLY the files we want for making indexes

so that HTML_FILES doesn't contain any adoc files

7 years agofix error messages
Alan T. DeKok [Mon, 29 Jul 2019 17:36:24 +0000 (13:36 -0400)] 
fix error messages

use "..." instead of "-", so that the user doesn't get confused
with negative numbers

use PRId64 for signed numbers, so that we don't get the numbers
printed as unsigned, with the high bit set

7 years agoremove the "evs" data type
Alan T. DeKok [Mon, 29 Jul 2019 15:20:34 +0000 (11:20 -0400)] 
remove the "evs" data type

and replace it with VSA, plus a few checks

7 years agolower bounds a bit
Alan T. DeKok [Mon, 29 Jul 2019 13:04:25 +0000 (09:04 -0400)] 
lower bounds a bit

7 years agoRemove request->username from opendirectory
Arran Cudbard-Bell [Mon, 29 Jul 2019 13:36:35 +0000 (22:36 +0900)] 
Remove request->username from opendirectory

7 years agoRemove request->username from proto_radius_auth
Arran Cudbard-Bell [Mon, 29 Jul 2019 13:32:43 +0000 (22:32 +0900)] 
Remove request->username from proto_radius_auth

7 years agoRemove request->username from rlm_eap
Arran Cudbard-Bell [Mon, 29 Jul 2019 13:28:59 +0000 (22:28 +0900)] 
Remove request->username from rlm_eap

7 years agoRemove request->username from rlm_chap
Arran Cudbard-Bell [Mon, 29 Jul 2019 13:25:09 +0000 (22:25 +0900)] 
Remove request->username from rlm_chap

7 years agoRemove request->username from rlm_unix
Arran Cudbard-Bell [Mon, 29 Jul 2019 13:20:48 +0000 (22:20 +0900)] 
Remove request->username from rlm_unix

7 years agoDoxygen
Arran Cudbard-Bell [Mon, 29 Jul 2019 13:04:48 +0000 (22:04 +0900)] 
Doxygen

7 years agoDon't compare nonnull argument to null
Arran Cudbard-Bell [Mon, 29 Jul 2019 12:43:44 +0000 (21:43 +0900)] 
Don't compare nonnull argument to null

7 years agoclean up and simplify rules
Alan T. DeKok [Mon, 29 Jul 2019 12:52:29 +0000 (08:52 -0400)] 
clean up and simplify rules

print out each file we link, and only print things out if
we link a file

7 years agowarn in debug mode if there may be a proxy loop
Alan T. DeKok [Mon, 29 Jul 2019 01:09:42 +0000 (21:09 -0400)] 
warn in debug mode if there may be a proxy loop

7 years agoMerge pull request #2814 from jpereira/v4/doc-introduction2
Alan DeKok [Mon, 29 Jul 2019 12:43:44 +0000 (08:43 -0400)] 
Merge pull request #2814 from jpereira/v4/doc-introduction2

doc/introduction/: Convert to *.adoc

7 years agoMerge pull request #2816 from jpereira/v4/doc-upgrade
Alan DeKok [Mon, 29 Jul 2019 12:42:02 +0000 (08:42 -0400)] 
Merge pull request #2816 from jpereira/v4/doc-upgrade

Update doc/upgrade/

7 years agoMerge pull request #2815 from jpereira/v4/doc-makefile
Alan DeKok [Mon, 29 Jul 2019 12:41:40 +0000 (08:41 -0400)] 
Merge pull request #2815 from jpereira/v4/doc-makefile

doc/all.mk: Automatic index.html from {home,README}.html (adoc2html)

7 years agoMove password normalisation into utility functions, and call those from rlm_chap
Arran Cudbard-Bell [Mon, 29 Jul 2019 12:38:29 +0000 (21:38 +0900)] 
Move password normalisation into utility functions, and call those from rlm_chap

This allows Password-With-Header to be used with rlm_chap, and in future, other modules, without calling rlm_pap first.

7 years agoRemove request->password from rlm_pap
Arran Cudbard-Bell [Mon, 29 Jul 2019 04:50:39 +0000 (13:50 +0900)] 
Remove request->password from rlm_pap

7 years agoRevert "this blows up when proxying EAP"
Arran Cudbard-Bell [Mon, 29 Jul 2019 03:08:27 +0000 (12:08 +0900)] 
Revert "this blows up when proxying EAP"

This reverts commit 8fa87dbe91bc21a6a991691d6e7378e76dd58856.

7 years agoMerge pull request #2817 from PaulosV/postgresql-queries-ipv6-fix
Alan DeKok [Sun, 28 Jul 2019 22:47:30 +0000 (18:47 -0400)] 
Merge pull request #2817 from PaulosV/postgresql-queries-ipv6-fix

Fix FramedInterfaceId type in postgresql/queries.conf

7 years agoFix FramedInterfaceId type in postgresql/queries.conf 2817/head
Pavel Valach [Sun, 28 Jul 2019 20:42:00 +0000 (22:42 +0200)] 
Fix FramedInterfaceId type in postgresql/queries.conf

This is an addendum to commit fb15efe88b1f06fed89fc7225cd24ceea52dbbbf,
which fixed the PostgreSQL schema file to include the correct
FramedInterfaceId type, but did not modify the queries which were
still casting all the instances to inet. That caused the following
error to show up:

rlm_sql_postgresql: Status: PGRES_FATAL_ERROR
rlm_sql_postgresql: 22P02: INVALID TEXT REPRESENTATION
(2) sql: rlm_sql_postgresql: ERROR:  invalid input syntax for type inet: "168:9a03:e9a9:56fa"

7 years agodon't move if the src list is empty
Alan T. DeKok [Sun, 28 Jul 2019 16:04:55 +0000 (12:04 -0400)] 
don't move if the src list is empty

7 years agoUpdate doc/upgrade/ 2816/head
Jorge Pereira [Fri, 26 Jul 2019 00:38:37 +0000 (21:38 -0300)] 
Update doc/upgrade/

7 years agodoc/all.mk: Automatic index.html from {home,README}.html (adoc2html) 2815/head
Jorge Pereira [Fri, 26 Jul 2019 19:20:45 +0000 (16:20 -0300)] 
doc/all.mk: Automatic index.html from {home,README}.html (adoc2html)

7 years agodoc/introduction/: Convert to *.adoc 2814/head
Jorge Pereira [Fri, 26 Jul 2019 19:17:58 +0000 (16:17 -0300)] 
doc/introduction/: Convert to *.adoc

7 years agothis blows up when proxying EAP
Alan T. DeKok [Fri, 26 Jul 2019 19:13:33 +0000 (15:13 -0400)] 
this blows up when proxying EAP

this patch should be reverted when the underlying issue is
found and fixed

7 years agosanity check request->data, too
Alan T. DeKok [Fri, 26 Jul 2019 19:06:58 +0000 (15:06 -0400)] 
sanity check request->data, too

7 years agochallenge returns "ok". And print out what we're doing
Alan T. DeKok [Fri, 26 Jul 2019 18:34:19 +0000 (14:34 -0400)] 
challenge returns "ok".  And print out what we're doing

7 years agoconst-qualify things which don't modify the list
Alan T. DeKok [Fri, 26 Jul 2019 18:14:17 +0000 (14:14 -0400)] 
const-qualify things which don't modify the list

7 years agoRHS can be NULL if there's a child
Alan T. DeKok [Fri, 26 Jul 2019 15:08:21 +0000 (11:08 -0400)] 
RHS can be NULL if there's a child

7 years agoMerge pull request #2810 from jpereira/v4/doc-upgrade
Alan DeKok [Fri, 26 Jul 2019 18:49:18 +0000 (14:49 -0400)] 
Merge pull request #2810 from jpereira/v4/doc-upgrade

Update doc/introduction/

7 years agoMerge pull request #2812 from jpereira/v4/doc-source
Alan DeKok [Fri, 26 Jul 2019 18:46:35 +0000 (14:46 -0400)] 
Merge pull request #2812 from jpereira/v4/doc-source

Update doc/source/

7 years agoMerge pull request #2813 from jpereira/v4/doc-howto
Alan DeKok [Fri, 26 Jul 2019 18:46:13 +0000 (14:46 -0400)] 
Merge pull request #2813 from jpereira/v4/doc-howto

Update doc/howto/

7 years agoMerge pull request #2811 from jpereira/v4/doc-title
Alan DeKok [Fri, 26 Jul 2019 18:45:42 +0000 (14:45 -0400)] 
Merge pull request #2811 from jpereira/v4/doc-title

doc: The title should be '='

7 years agodoc: The title should be '=' 2811/head
Jorge Pereira [Fri, 26 Jul 2019 00:53:18 +0000 (21:53 -0300)] 
doc: The title should be '='

7 years agoUpdate doc/howto/ 2813/head
Jorge Pereira [Fri, 26 Jul 2019 02:41:03 +0000 (23:41 -0300)] 
Update doc/howto/

7 years agoUpdate doc/source/ 2812/head
Jorge Pereira [Fri, 26 Jul 2019 02:39:41 +0000 (23:39 -0300)] 
Update doc/source/

7 years agoUpdate doc/introduction/ 2810/head
Jorge Pereira [Tue, 23 Jul 2019 23:41:34 +0000 (20:41 -0300)] 
Update doc/introduction/

7 years agoMerge pull request #2806 from jpereira/v4/doc6
Alan DeKok [Fri, 26 Jul 2019 14:51:29 +0000 (10:51 -0400)] 
Merge pull request #2806 from jpereira/v4/doc6

doc/all.mk: Fix the wildcard to get all *.md

7 years agodoc/all.mk: Create a soft-link between README.html -> index.html 2806/head
Jorge Pereira [Wed, 24 Jul 2019 22:33:43 +0000 (19:33 -0300)] 
doc/all.mk: Create a soft-link between README.html -> index.html

7 years agodoc/all.mk: Fix the wildcard to get all *.md
Jorge Pereira [Tue, 23 Jul 2019 23:43:07 +0000 (20:43 -0300)] 
doc/all.mk: Fix the wildcard to get all *.md

7 years agoTypo (#2808)
Terry Burton [Fri, 26 Jul 2019 09:46:41 +0000 (10:46 +0100)] 
Typo (#2808)

7 years agomake TLS 1.2 the minimum supported version.
Alan T. DeKok [Thu, 25 Jul 2019 22:22:13 +0000 (18:22 -0400)] 
make TLS 1.2 the minimum supported version.

As per https://tools.ietf.org/html/draft-ietf-tls-oldversions-deprecate-05

7 years agocopy over blank Message-Authenticator if necessary
Alan T. DeKok [Thu, 25 Jul 2019 22:15:01 +0000 (18:15 -0400)] 
copy over blank Message-Authenticator if necessary

7 years agolots more documentation for "update" statements
Alan T. DeKok [Thu, 25 Jul 2019 13:00:00 +0000 (09:00 -0400)] 
lots more documentation for "update" statements

7 years agoadd place-holders for documentation we don't yet have
Alan T. DeKok [Thu, 25 Jul 2019 12:59:41 +0000 (08:59 -0400)] 
add place-holders for documentation we don't yet have

7 years agodelete Proxy-State before adding VPs to the reply
Alan T. DeKok [Wed, 24 Jul 2019 18:35:36 +0000 (14:35 -0400)] 
delete Proxy-State before adding VPs to the reply

so our reply doesn't have the wrong Proxy-State attributes