]> git.ipfire.org Git - thirdparty/freeradius-server.git/log
thirdparty/freeradius-server.git
6 years agorlm_sql_oracle: Inform the supported versions
Jorge Pereira [Fri, 9 Aug 2019 19:55:52 +0000 (16:55 -0300)] 
rlm_sql_oracle: Inform the supported versions

6 years agorlm_redis_ippool: Comment typo in config.
Terry Burton [Sat, 10 Aug 2019 17:32:45 +0000 (18:32 +0100)] 
rlm_redis_ippool: Comment typo in config.

6 years agodocument the subrequest keyword
Alan T. DeKok [Sat, 10 Aug 2019 17:58:01 +0000 (13:58 -0400)] 
document the subrequest keyword

6 years agowe can have "detach" inside of an "if" statement, too
Alan T. DeKok [Sat, 10 Aug 2019 17:42:03 +0000 (13:42 -0400)] 
we can have "detach" inside of an "if" statement, too

6 years agofix for new syntax
Alan T. DeKok [Sat, 10 Aug 2019 17:20:03 +0000 (13:20 -0400)] 
fix for new syntax

6 years agopoint to correct file
Alan T. DeKok [Sat, 10 Aug 2019 11:44:31 +0000 (07:44 -0400)] 
point to correct file

6 years agoremove warnings.
Alan T. DeKok [Fri, 9 Aug 2019 20:58:52 +0000 (16:58 -0400)] 
remove warnings.

the whole "operator" section should be in another page,
in the "unlang" section

6 years agodon't create child ctx for $INCLUDE
Alan T. DeKok [Fri, 9 Aug 2019 20:53:22 +0000 (16:53 -0400)] 
don't create child ctx for $INCLUDE

instead, use the current one.  And then check it post-facto
to see if it mucked up the stack depth.

6 years agonote that child is freed on exit
Alan T. DeKok [Fri, 9 Aug 2019 20:51:53 +0000 (16:51 -0400)] 
note that child is freed on exit

6 years agodoc: Convert doc/howto/*.md to doc/howto/*.adoc
Jorge Pereira [Thu, 8 Aug 2019 17:58:05 +0000 (14:58 -0300)] 
doc: Convert doc/howto/*.md to doc/howto/*.adoc

6 years agodoc: Rename doc/howto/*.md to doc/howto/*.adoc
Jorge Pereira [Wed, 31 Jul 2019 20:19:59 +0000 (17:19 -0300)] 
doc: Rename doc/howto/*.md to doc/howto/*.adoc

6 years agotypo
Alan T. DeKok [Fri, 9 Aug 2019 18:54:18 +0000 (14:54 -0400)] 
typo

6 years agocheck for TTY and debug level early
Alan T. DeKok [Fri, 9 Aug 2019 18:35:01 +0000 (14:35 -0400)] 
check for TTY and debug level early

so that we don't erroneously add log prefixes, and then later
stop using them.

It's more important that debug output look OK, than the much rarer
case of non-debug output sometimes looking off

6 years agoadded documentation for parallel keyword
Alan T. DeKok [Fri, 9 Aug 2019 17:27:58 +0000 (13:27 -0400)] 
added documentation for parallel keyword

6 years agosimplify use of unwind
Alan T. DeKok [Fri, 9 Aug 2019 16:38:15 +0000 (12:38 -0400)] 
simplify use of unwind

now that we have BEGIN/END markers on the stack

6 years agonotes on more sanity checking
Alan T. DeKok [Fri, 9 Aug 2019 16:36:25 +0000 (12:36 -0400)] 
notes on more sanity checking

6 years agoupdate the stack with BEGIN / END markings
Alan T. DeKok [Fri, 9 Aug 2019 15:37:58 +0000 (11:37 -0400)] 
update the stack with BEGIN / END markings

so that we can tell auto-pushed attrs as separate from manual
BEGIN / END commands

and fix "unwind" so that it unwinds only to the parent nesting

6 years agomove struct member number into stack frame
Alan T. DeKok [Fri, 9 Aug 2019 15:24:10 +0000 (11:24 -0400)] 
move struct member number into stack frame

to allow for nested structs

6 years agozero out the stack frame on push
Alan T. DeKok [Fri, 9 Aug 2019 15:21:08 +0000 (11:21 -0400)] 
zero out the stack frame on push

6 years agomake the stack a structure
Alan T. DeKok [Fri, 9 Aug 2019 15:18:03 +0000 (11:18 -0400)] 
make the stack a structure

in preparation for nested 'struct', and for better handling
of manual vs automatic BEGIN / END things

6 years agobetter debug messages so that we see when / why it's not replying
Alan T. DeKok [Fri, 9 Aug 2019 14:41:44 +0000 (10:41 -0400)] 
better debug messages so that we see when / why it's not replying

6 years agodefault is NOOP, not NOTFOUND
Alan T. DeKok [Fri, 9 Aug 2019 14:41:31 +0000 (10:41 -0400)] 
default is NOOP, not NOTFOUND

6 years agoword smithing
Alan T. DeKok [Fri, 9 Aug 2019 01:20:41 +0000 (21:20 -0400)] 
word smithing

6 years agoremove test attributes
Alan T. DeKok [Fri, 9 Aug 2019 00:39:28 +0000 (20:39 -0400)] 
remove test attributes

6 years agoclean up and finalize use of ctx->stack
Alan T. DeKok [Thu, 8 Aug 2019 23:17:26 +0000 (19:17 -0400)] 
clean up and finalize use of ctx->stack

so that "previous_attr" becomes "relative_attr".

We also add a dict_ctx_push() function which pushes attributes
onto ctx->stack.

And dict_ctx_unwind() for unwinding the stack multiple frames
when necessary.

There are likely edge cases which aren't handled well.  The code
sometimes does an *implicit* push of struct/tlv.  And other times
an *explicit* push / pop.  The differences are not tracked, which
makes it more difficult to automatically determine what to do.

6 years agoremove erroneous debug message
Alan T. DeKok [Thu, 8 Aug 2019 20:59:35 +0000 (16:59 -0400)] 
remove erroneous debug message

6 years agoclean up process_attribute()
Alan T. DeKok [Thu, 8 Aug 2019 18:40:35 +0000 (14:40 -0400)] 
clean up process_attribute()

to better handle structs and the new stack

6 years agoget rid of "parent" and block_tlv stuff
Alan T. DeKok [Thu, 8 Aug 2019 18:00:43 +0000 (14:00 -0400)] 
get rid of "parent" and block_tlv stuff

And just use a global stack instead

6 years agoremove "block_vendor"
Alan T. DeKok [Thu, 8 Aug 2019 17:44:34 +0000 (13:44 -0400)] 
remove "block_vendor"

and replace with a stack of attributes

6 years agoremove unused "vendor" field
Alan T. DeKok [Thu, 8 Aug 2019 17:43:30 +0000 (13:43 -0400)] 
remove unused "vendor" field

6 years agouse macros to simplify / standardize logic
Alan T. DeKok [Thu, 8 Aug 2019 17:26:46 +0000 (13:26 -0400)] 
use macros to simplify / standardize logic

6 years agouse "." instead of BEGIN/END-TLV
Alan T. DeKok [Thu, 8 Aug 2019 16:56:01 +0000 (12:56 -0400)] 
use "." instead of BEGIN/END-TLV

6 years agomove data type examples to the "data type" page
Alan T. DeKok [Thu, 8 Aug 2019 13:46:31 +0000 (09:46 -0400)] 
move data type examples to the "data type" page

6 years agoadd parsing for STRUCT as sub-structures
Alan T. DeKok [Thu, 8 Aug 2019 13:43:33 +0000 (09:43 -0400)] 
add parsing for STRUCT as sub-structures

which uses the key field.  Note that this does not yet work
because we don't have parent/child relationships in the
dict_from_file_ctx_t structure.

6 years agodisallow uint64 key fields, and update sanity checks
Alan T. DeKok [Thu, 8 Aug 2019 13:41:40 +0000 (09:41 -0400)] 
disallow uint64 key fields, and update sanity checks

6 years agouse macro for common code
Alan T. DeKok [Thu, 8 Aug 2019 13:04:48 +0000 (09:04 -0400)] 
use macro for common code

6 years agodoc: some tweaks
Jorge Pereira [Wed, 7 Aug 2019 21:54:06 +0000 (18:54 -0300)] 
doc: some tweaks

6 years agobuild fixes
Alan T. DeKok [Wed, 7 Aug 2019 19:57:18 +0000 (15:57 -0400)] 
build fixes

6 years agomore build fixes
Alan T. DeKok [Wed, 7 Aug 2019 19:36:40 +0000 (15:36 -0400)] 
more build fixes

6 years agoremove unused variables. And check unknown / raw flags
Alan T. DeKok [Wed, 7 Aug 2019 19:21:33 +0000 (15:21 -0400)] 
remove unused variables.  And check unknown / raw flags

6 years agoadd dict_attr_flags_valid()
Alan T. DeKok [Wed, 7 Aug 2019 18:51:43 +0000 (14:51 -0400)] 
add dict_attr_flags_valid()

which validates the flags against each other.  Possibly also
against a parent attribute.  And, against the given data type.

6 years agoadd "key" flag for integer attributes
Alan T. DeKok [Wed, 7 Aug 2019 16:52:21 +0000 (12:52 -0400)] 
add "key" flag for integer attributes

in preparation for allowing nested structs, decoded with a key

6 years agoflag 'long' can only be used with data type "extended"
Alan T. DeKok [Wed, 7 Aug 2019 16:47:42 +0000 (12:47 -0400)] 
flag 'long' can only be used with data type "extended"

and print it when debugging, too

6 years agoadd "filter" keyword
Alan T. DeKok [Wed, 7 Aug 2019 14:42:25 +0000 (10:42 -0400)] 
add "filter" keyword

and document it.  And add tests for it.  And note changes in
the "upgrade" documentation

6 years agoMerge pull request #2861 from xvybihal/patch-1
Matthew Newton [Wed, 7 Aug 2019 09:08:51 +0000 (10:08 +0100)] 
Merge pull request #2861 from xvybihal/patch-1

Update server.cnf (subjectAltName)

6 years agoUpdate server.cnf 2861/head
Josef Vybíhal [Wed, 7 Aug 2019 08:35:13 +0000 (10:35 +0200)] 
Update server.cnf

Move subjectAltName to cerrect place.

6 years agoword smithing
Alan T. DeKok [Tue, 6 Aug 2019 20:34:59 +0000 (16:34 -0400)] 
word smithing

6 years agofix typos
Alan T. DeKok [Tue, 6 Aug 2019 20:31:18 +0000 (16:31 -0400)] 
fix typos

6 years agomove the main INSTALL file
Alan T. DeKok [Tue, 6 Aug 2019 20:26:49 +0000 (16:26 -0400)] 
move the main INSTALL file

update text and cross-links

6 years agotravis: enable cache for 'apt' (#2860)
Jorge Pereira [Tue, 6 Aug 2019 17:44:39 +0000 (14:44 -0300)] 
travis: enable cache for 'apt' (#2860)

6 years agoFix typo in formatting
Arran Cudbard-Bell [Tue, 6 Aug 2019 17:17:01 +0000 (13:17 -0400)] 
Fix typo in formatting

6 years agoAdd tag support to decoding in rlm_rest
Arran Cudbard-Bell [Tue, 6 Aug 2019 16:12:31 +0000 (12:12 -0400)] 
Add tag support to decoding in rlm_rest

6 years agoclean up and organize the documentation
Alan T. DeKok [Tue, 6 Aug 2019 14:44:04 +0000 (10:44 -0400)] 
clean up and organize the documentation

6 years agoFix the Oracle support (#2856)
Jorge Pereira [Tue, 6 Aug 2019 13:54:24 +0000 (10:54 -0300)] 
Fix the Oracle support (#2856)

6 years agodoc: Add 'favicon'
Jorge Pereira [Mon, 5 Aug 2019 19:48:56 +0000 (16:48 -0300)] 
doc: Add 'favicon'

6 years agomove script to external file, were it can be cached
Alan T. DeKok [Mon, 5 Aug 2019 19:06:42 +0000 (15:06 -0400)] 
move script to external file, were it can be cached

6 years agochange focus color on ToC
Alan T. DeKok [Mon, 5 Aug 2019 19:01:34 +0000 (15:01 -0400)] 
change focus color on ToC

and background to match the rest of the text.

It's distracting to have the text change color, so changing
the background color seems useful

6 years agoremove unused background images
Alan T. DeKok [Mon, 5 Aug 2019 12:34:35 +0000 (08:34 -0400)] 
remove unused background images

we still may need to style lists

6 years agouse same colors as the rest 0x4576b5
Alan T. DeKok [Mon, 5 Aug 2019 00:06:24 +0000 (20:06 -0400)] 
use same colors as the rest  0x4576b5

6 years agofix pandoc links
Alan T. DeKok [Sun, 4 Aug 2019 18:04:03 +0000 (14:04 -0400)] 
fix pandoc links

markdown links to "foo/" are blindly converted to "foo/.adoc",
which is stupid.  Just leave the link as "foo/"

6 years agodoc: simplify 'html' target
Jorge Pereira [Mon, 5 Aug 2019 19:22:22 +0000 (16:22 -0300)] 
doc: simplify 'html' target

6 years agotravis: enable the option 'retries' for apt-get
Jorge Pereira [Mon, 5 Aug 2019 14:40:41 +0000 (11:40 -0300)] 
travis: enable the option 'retries' for apt-get

It will enable capability to retry during network issue.

6 years agoadded new Lancom VSAs
Pascal Penners [Mon, 5 Aug 2019 10:21:02 +0000 (12:21 +0200)] 
added new Lancom VSAs

6 years agofixes and standardization
Alan T. DeKok [Sun, 4 Aug 2019 15:02:36 +0000 (11:02 -0400)] 
fixes and standardization

.Example instead of *Example*

Use "[source,unlang] ---" for code blocks instead of ``

6 years agosource files for freeradius.doc
Alan T. DeKok [Sun, 4 Aug 2019 14:33:07 +0000 (10:33 -0400)] 
source files for freeradius.doc

From https://github.com/asciidoctor/asciidoctor-stylesheet-factory/
"github" theme, commit c9737bdd

Notes:

* build-stylesheet.sh should use "cssshrink" instead of hard-coded
  path to "./npm ..."

* $pre-font-size seems to be ignored, and "pre code" blocks
  end up with "font-size: inherit" instead of the font size we
  want.  This issue means that the output css style has to be
  edited manually

* colors for h2, h3 changed to the NR theme

* table font sizes are no longer tiny

* code blocks are grey not back.

* in-line code blocks don't have a border around them

6 years agoadd FreeRADIUS css files.
Alan T. DeKok [Sun, 4 Aug 2019 14:28:51 +0000 (10:28 -0400)] 
add FreeRADIUS css files.

From https://github.com/asciidoctor/asciidoctor-stylesheet-factory/
"github" theme.  With some minor changes.

6 years agoSwitch to talloc_bstrndup
Arran Cudbard-Bell [Sat, 3 Aug 2019 18:26:09 +0000 (14:26 -0400)] 
Switch to talloc_bstrndup

6 years agoset raddb_dir from FREERADIUS_CONFIG_DIR. Fixes #2213
Alan T. DeKok [Sat, 3 Aug 2019 16:37:34 +0000 (12:37 -0400)] 
set raddb_dir from FREERADIUS_CONFIG_DIR.  Fixes #2213

6 years agoforbid duplicate policies. Fixes #2738
Alan T. DeKok [Sat, 3 Aug 2019 13:24:29 +0000 (09:24 -0400)] 
forbid duplicate policies.  Fixes #2738

6 years agoFix string termination in opendir code
Arran Cudbard-Bell [Sat, 3 Aug 2019 04:44:08 +0000 (00:44 -0400)] 
Fix string termination in opendir code

6 years agoFix doc/unlang/string_double.adoc
Jorge Pereira [Fri, 2 Aug 2019 20:12:15 +0000 (17:12 -0300)] 
Fix doc/unlang/string_double.adoc

6 years agoinstall asciidoctor, pandoc, and build all docs
Alan T. DeKok [Fri, 2 Aug 2019 19:17:00 +0000 (15:17 -0400)] 
install asciidoctor, pandoc, and build all docs

not just doxygen

6 years agoadd "all.doc" and "tests.doc" targets
Jorge Pereira [Fri, 2 Aug 2019 19:16:12 +0000 (15:16 -0400)] 
add "all.doc" and "tests.doc" targets

and use the new doxygen definitions

6 years agoAdd configure checks for doxygen and graphviz
Jorge Pereira [Fri, 2 Aug 2019 19:15:17 +0000 (15:15 -0400)] 
Add configure checks for doxygen and graphviz

6 years agoword smithing
Alan T. DeKok [Fri, 2 Aug 2019 19:04:56 +0000 (15:04 -0400)] 
word smithing

6 years agoQuoting rules and data types don't really belong to the same category so shouldn...
Arran Cudbard-Bell [Fri, 2 Aug 2019 17:47:18 +0000 (13:47 -0400)] 
Quoting rules and data types don't really belong to the same category so shouldn't share a prefix

Add docs for double quoted strings

6 years agodocker: build on the latest available packages
Matthew Newton [Fri, 2 Aug 2019 16:56:07 +0000 (17:56 +0100)] 
docker: build on the latest available packages

6 years agoshould now get correct libssl version in jenkins dockerfile
Matthew Newton [Fri, 2 Aug 2019 13:44:28 +0000 (14:44 +0100)] 
should now get correct libssl version in jenkins dockerfile

6 years agotidy centos6 dockerfiles
Matthew Newton [Thu, 1 Aug 2019 22:05:09 +0000 (23:05 +0100)] 
tidy centos6 dockerfiles

6 years agoRevert "remove centos6 Dockerfiles"
Matthew Newton [Thu, 1 Aug 2019 22:04:09 +0000 (23:04 +0100)] 
Revert "remove centos6 Dockerfiles"

This reverts commit ba39099dc4a40e23321c8a8bd7062ebfc942f637.

We need it for the time being to build FR3. It's still the case that
FR4 is not supported on CentOS 6.

6 years agomove ignore "*.adoc" to doc/raddb
Alan T. DeKok [Thu, 1 Aug 2019 21:04:19 +0000 (17:04 -0400)] 
move ignore "*.adoc" to doc/raddb

we want the default to be *not* commiting the auto-generated
adoc files.

6 years agoadd version / git commit. Fixes #2831
Alan T. DeKok [Thu, 1 Aug 2019 21:01:26 +0000 (17:01 -0400)] 
add version / git commit.  Fixes #2831

6 years agodocs: Add missing single-letter expansions.
Terry Burton [Thu, 1 Aug 2019 16:45:22 +0000 (17:45 +0100)] 
docs: Add missing single-letter expansions.

6 years agoformatting
Alan T. DeKok [Thu, 1 Aug 2019 16:33:46 +0000 (12:33 -0400)] 
formatting

6 years agotypo and cross-link
Alan T. DeKok [Thu, 1 Aug 2019 16:18:57 +0000 (12:18 -0400)] 
typo and cross-link

6 years agodocs: Consistency
Terry Burton [Wed, 31 Jul 2019 19:40:56 +0000 (20:40 +0100)] 
docs: Consistency

Examples at end.

6 years agodocs: Modules can have named instances
Terry Burton [Wed, 31 Jul 2019 19:37:50 +0000 (20:37 +0100)] 
docs: Modules can have named instances

6 years agodocs: Definitions and formatting
Terry Burton [Wed, 31 Jul 2019 19:37:24 +0000 (20:37 +0100)] 
docs: Definitions and formatting

Provide the permissible assignment operators are link to where they are
defined.

6 years agodocs: Use descriptions
Terry Burton [Wed, 31 Jul 2019 19:35:44 +0000 (20:35 +0100)] 
docs: Use descriptions

6 years agodocs: Clearer examples
Terry Burton [Wed, 31 Jul 2019 19:35:20 +0000 (20:35 +0100)] 
docs: Clearer examples

The previous use of attribute "Filter-Id" may confuse the reader given
that the next section refers to "filtering" operators.
Give an example of clobbering an attribute.

6 years agodocs: Typos
Terry Burton [Wed, 31 Jul 2019 19:33:39 +0000 (20:33 +0100)] 
docs: Typos

6 years agodocs: Incorrect example.
Terry Burton [Wed, 31 Jul 2019 18:30:50 +0000 (19:30 +0100)] 
docs: Incorrect example.

6 years agodocs: Typos and formatting
Terry Burton [Wed, 31 Jul 2019 17:53:08 +0000 (18:53 +0100)] 
docs: Typos and formatting

6 years agodocs: Fix definition
Terry Burton [Wed, 31 Jul 2019 17:52:56 +0000 (18:52 +0100)] 
docs: Fix definition

6 years agodocs: Typo
Terry Burton [Wed, 31 Jul 2019 17:51:25 +0000 (18:51 +0100)] 
docs: Typo

6 years agodocs: Typo
Terry Burton [Wed, 31 Jul 2019 17:03:51 +0000 (18:03 +0100)] 
docs: Typo

6 years agodocs: Clarity
Terry Burton [Wed, 31 Jul 2019 17:03:34 +0000 (18:03 +0100)] 
docs: Clarity

6 years agoAscend howto: Fix markdown formatting.
Terry Burton [Wed, 31 Jul 2019 14:56:23 +0000 (15:56 +0100)] 
Ascend howto: Fix markdown formatting.

6 years agoEAP howto
Terry Burton [Wed, 31 Jul 2019 13:41:45 +0000 (14:41 +0100)] 
EAP howto

Definitions to include wired 802.1X.

6 years agoEAP howto
Terry Burton [Wed, 31 Jul 2019 13:40:12 +0000 (14:40 +0100)] 
EAP howto

Standard for EAPoW