]> git.ipfire.org Git - thirdparty/freeradius-server.git/log
thirdparty/freeradius-server.git
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

7 years agoAdd RHEXDUMP[1-4] and RHEXDUMP_INLINE[1-4]
Arran Cudbard-Bell [Thu, 25 Jul 2019 05:06:19 +0000 (14:06 +0900)] 
Add RHEXDUMP[1-4] and RHEXDUMP_INLINE[1-4]

7 years agohandle Access-Challenge responses
Alan T. DeKok [Wed, 24 Jul 2019 11:18:50 +0000 (07:18 -0400)] 
handle Access-Challenge responses

only if the parent request is RADIUS, and the parent packet type
is Access-Request

7 years agoadd map documentation
Alan T. DeKok [Wed, 24 Jul 2019 00:21:02 +0000 (20:21 -0400)] 
add map documentation

7 years agoword smithing
Alan T. DeKok [Tue, 23 Jul 2019 23:57:07 +0000 (19:57 -0400)] 
word smithing

7 years agopoint to correct location
Alan T. DeKok [Tue, 23 Jul 2019 20:33:59 +0000 (16:33 -0400)] 
point to correct location

7 years agoMerge pull request #2804 from jpereira/v4/doc4
Alan DeKok [Tue, 23 Jul 2019 20:32:31 +0000 (16:32 -0400)] 
Merge pull request #2804 from jpereira/v4/doc4

Doc updates

7 years agoraddb/radiusd.conf.in: Fix asciidoctor error 2804/head
Jorge Pereira [Tue, 23 Jul 2019 19:53:02 +0000 (16:53 -0300)] 
raddb/radiusd.conf.in: Fix asciidoctor error

7 years agodoc: Fix links from README to README.md
Jorge Pereira [Tue, 23 Jul 2019 18:41:31 +0000 (15:41 -0300)] 
doc: Fix links from README to README.md

7 years agodoc/all.mk: Let's process all *.md
Jorge Pereira [Tue, 23 Jul 2019 18:40:38 +0000 (15:40 -0300)] 
doc/all.mk: Let's process all *.md

7 years agoMerge pull request #2802 from jpereira/v4/doc3
Alan DeKok [Tue, 23 Jul 2019 18:28:23 +0000 (14:28 -0400)] 
Merge pull request #2802 from jpereira/v4/doc3

Doc updates

7 years agoraddb/sites-available: Fix asciidoc warn/errors 2802/head
Jorge Pereira [Tue, 23 Jul 2019 00:08:18 +0000 (21:08 -0300)] 
raddb/sites-available: Fix asciidoc warn/errors

7 years agoraddb/mods-available: Fix asciidoc warn/errors
Jorge Pereira [Tue, 23 Jul 2019 00:07:48 +0000 (21:07 -0300)] 
raddb/mods-available: Fix asciidoc warn/errors

7 years agoadd dockerfiles for Debian 10
Matthew Newton [Tue, 23 Jul 2019 15:18:56 +0000 (16:18 +0100)] 
add dockerfiles for Debian 10

7 years agodoc/unlang/: Fix asciidoc warn/errors
Jorge Pereira [Tue, 23 Jul 2019 02:09:56 +0000 (23:09 -0300)] 
doc/unlang/: Fix asciidoc warn/errors

7 years agodoc: Set ':toc:' over CLI
Jorge Pereira [Tue, 23 Jul 2019 02:25:16 +0000 (23:25 -0300)] 
doc: Set ':toc:' over CLI

7 years agoadd / use "map->child"
Alan T. DeKok [Tue, 23 Jul 2019 14:42:01 +0000 (10:42 -0400)] 
add / use "map->child"

7 years agoRevert "define and allow for TMPL_TYPE_MAP"
Alan T. DeKok [Tue, 23 Jul 2019 14:25:04 +0000 (10:25 -0400)] 
Revert "define and allow for TMPL_TYPE_MAP"

This reverts commit 723d5ecd77ca252829e073964f3d8e492eb20250.

7 years agoadd "disallow_qualifiers" to parsing rules
Alan T. DeKok [Tue, 23 Jul 2019 13:54:37 +0000 (09:54 -0400)] 
add "disallow_qualifiers" to parsing rules

so that we can have groups where the inner attributes aren't
allowed to specify destination lists.  Because these attributes
are grouped, they MUST be placed into the parent group.

7 years agorename to something we can remember
Alan T. DeKok [Tue, 23 Jul 2019 13:46:52 +0000 (09:46 -0400)] 
rename to something we can remember

7 years agoadd documentation for keyed load-balance
Alan T. DeKok [Tue, 23 Jul 2019 12:54:17 +0000 (08:54 -0400)] 
add documentation for keyed load-balance

7 years agoMerge pull request #2795 from jpereira/v4/fix-xlat_explode
Alan DeKok [Tue, 23 Jul 2019 14:43:47 +0000 (10:43 -0400)] 
Merge pull request #2795 from jpereira/v4/fix-xlat_explode

Fix the %{explode:&ref <delim>} xlat function

7 years agoMerge pull request #2789 from jpereira/v4/checks1
Alan DeKok [Tue, 23 Jul 2019 14:43:31 +0000 (10:43 -0400)] 
Merge pull request #2789 from jpereira/v4/checks1

src/lib/server/cf_util.c: Check if 'CONF_ITEM' is valid

7 years agofix data types. Fixes #2803
Alan T. DeKok [Tue, 23 Jul 2019 12:40:25 +0000 (08:40 -0400)] 
fix data types.  Fixes #2803

7 years agoword smithing
Alan T. DeKok [Tue, 23 Jul 2019 02:10:09 +0000 (22:10 -0400)] 
word smithing

7 years agoCleanup LD_PRELOAD handles properly
Arran Cudbard-Bell [Tue, 23 Jul 2019 02:34:20 +0000 (11:34 +0900)] 
Cleanup LD_PRELOAD handles properly

7 years agoRevert "quiet compiler for now"
Arran Cudbard-Bell [Tue, 23 Jul 2019 01:47:12 +0000 (10:47 +0900)] 
Revert "quiet compiler for now"

Not sure why this was removed, but it is necessary to dlclose any opened handles to prevent msan producing lots of spurious output on exit, which isn't fun for anyone.

I'm sure there's a better solution.

7 years agoRemove "tainted" macros
Arran Cudbard-Bell [Tue, 23 Jul 2019 01:42:24 +0000 (10:42 +0900)] 
Remove "tainted" macros

It's not clear what type is being "tainted" here, and we are not adding tainted variants for every single static initialiser.

7 years agoMerge pull request #2801 from jpereira/v4/doc3
Alan DeKok [Mon, 22 Jul 2019 19:56:59 +0000 (15:56 -0400)] 
Merge pull request #2801 from jpereira/v4/doc3

doc/all.mk: Be able to disable/enable verbose output

7 years agodoc/all.mk: Be able to disable/enable verbose output 2801/head
Jorge Pereira [Mon, 22 Jul 2019 19:49:54 +0000 (16:49 -0300)] 
doc/all.mk: Be able to disable/enable verbose output

7 years agoMerge pull request #2800 from jpereira/v4/doc2
Alan DeKok [Mon, 22 Jul 2019 19:01:03 +0000 (15:01 -0400)] 
Merge pull request #2800 from jpereira/v4/doc2

xlat_predefined: Add missing %{sha...} and %{blake...}

7 years agouse correct logic for tests
Alan T. DeKok [Mon, 22 Jul 2019 19:00:40 +0000 (15:00 -0400)] 
use correct logic for tests

7 years agonotes for the future
Alan T. DeKok [Mon, 22 Jul 2019 19:00:28 +0000 (15:00 -0400)] 
notes for the future

7 years agoxlat_predefined: Add missing %{sha...} and %{blake...} 2800/head
Jorge Pereira [Mon, 22 Jul 2019 17:40:09 +0000 (14:40 -0300)] 
xlat_predefined: Add missing %{sha...} and %{blake...}

7 years agotighten parsing rules
Alan T. DeKok [Mon, 22 Jul 2019 17:27:06 +0000 (13:27 -0400)] 
tighten parsing rules

sub-groups with operators are only allowed in "update" sections,
and not in "map" sections

7 years agohacks to allow operators inside of grouped sections
Alan T. DeKok [Mon, 22 Jul 2019 17:11:04 +0000 (13:11 -0400)] 
hacks to allow operators inside of grouped sections

we should really switch the parser to using a local parse struct
like templates

7 years agosimpler method of skipping strings
Alan T. DeKok [Mon, 22 Jul 2019 17:00:05 +0000 (13:00 -0400)] 
simpler method of skipping strings

7 years agoparse sub-maps
Alan T. DeKok [Mon, 22 Jul 2019 16:21:51 +0000 (12:21 -0400)] 
parse sub-maps

7 years agoword smithing and updates
Alan T. DeKok [Mon, 22 Jul 2019 16:18:45 +0000 (12:18 -0400)] 
word smithing and updates