]> git.ipfire.org Git - thirdparty/freeradius-server.git/log
thirdparty/freeradius-server.git
6 years agoadd rules and simple radiusd man page
Alan T. DeKok [Mon, 19 Aug 2019 21:46:40 +0000 (17:46 -0400)] 
add rules and simple radiusd man page

6 years agoadd '-c' to control whether or not it prints out code blocks
Alan T. DeKok [Sat, 17 Aug 2019 13:57:01 +0000 (09:57 -0400)] 
add '-c' to control whether or not it prints out code blocks

6 years agobetter docs
Alan T. DeKok [Sat, 17 Aug 2019 13:56:41 +0000 (09:56 -0400)] 
better docs

6 years agodon't require antora
Alan T. DeKok [Sat, 17 Aug 2019 13:43:19 +0000 (09:43 -0400)] 
don't require antora

if we're not building "docsite", we don't care if "antora"
is missing.

And "docsite" contains the string "doc", so we don't need to list
them both.

6 years agoReorder
Arran Cudbard-Bell [Sat, 17 Aug 2019 00:56:18 +0000 (20:56 -0400)] 
Reorder

6 years agoFix antora target so it rebuilds config file derived asciidoc sources, and only rebui...
Arran Cudbard-Bell [Sat, 17 Aug 2019 00:53:38 +0000 (20:53 -0400)] 
Fix antora target so it rebuilds config file derived asciidoc sources, and only rebuilds the docsite when something changes

6 years agoTurn on warnings for asciidoctor
Arran Cudbard-Bell [Sat, 17 Aug 2019 00:27:24 +0000 (20:27 -0400)] 
Turn on warnings for asciidoctor

6 years agoWe should build the current branch instead of hardcode 'master' (#2902)
Jorge Pereira [Fri, 16 Aug 2019 23:10:50 +0000 (20:10 -0300)] 
We should build the current branch instead of hardcode 'master' (#2902)

6 years agotypo
Alan T. DeKok [Fri, 16 Aug 2019 20:30:33 +0000 (16:30 -0400)] 
typo

6 years agodoc: Typo
Jorge Pereira [Fri, 16 Aug 2019 16:41:56 +0000 (13:41 -0300)] 
doc: Typo

6 years agoadd Event-Timestamp. Helps with #2887
Alan T. DeKok [Fri, 16 Aug 2019 20:02:56 +0000 (16:02 -0400)] 
add Event-Timestamp.  Helps with #2887

packets should have timestamps.  If they don't, use the servers
idea of "now"

6 years ago%l is a decimal number. Helps with #2887
Alan T. DeKok [Fri, 16 Aug 2019 19:59:02 +0000 (15:59 -0400)] 
%l is a decimal number.  Helps with #2887

6 years agomake old-style html work again
Alan T. DeKok [Fri, 16 Aug 2019 19:44:36 +0000 (15:44 -0400)] 
make old-style html work again

6 years agoAdd 'docsite' target (#2900)
Jorge Pereira [Fri, 16 Aug 2019 17:54:20 +0000 (14:54 -0300)] 
Add 'docsite' target (#2900)

* doc: clean up unused variable

* doc: Add 'docsite' target

6 years agoAdd Cassandra SQL driver to be built by Jenkis (#2898)
Jorge Pereira [Fri, 16 Aug 2019 16:43:28 +0000 (13:43 -0300)] 
Add Cassandra SQL driver to be built by Jenkis (#2898)

* Add Cassandra SQL driver to be built by Jenkis

* rlm_sql_cassandra: Some functions were deprecated in lib 2.9

6 years agoadd a bare-bones file telling people where to look
Alan T. DeKok [Fri, 16 Aug 2019 15:54:06 +0000 (11:54 -0400)] 
add a bare-bones file telling people where to look

Otherwise the poor users will be wandering around the documentation
directories for years, cursing our names.

6 years agoignore output html files
Alan T. DeKok [Fri, 16 Aug 2019 15:27:33 +0000 (11:27 -0400)] 
ignore output html files

6 years agoset better column widths
Alan T. DeKok [Fri, 16 Aug 2019 15:21:38 +0000 (11:21 -0400)] 
set better column widths

6 years agoDon't use uppercase for section names
Alan T. DeKok [Fri, 16 Aug 2019 15:08:59 +0000 (11:08 -0400)] 
Don't use uppercase for section names

6 years agomore fix the docs
Alan T. DeKok [Fri, 16 Aug 2019 14:56:59 +0000 (10:56 -0400)] 
more fix the docs

perl -p -i -e 's/`\+(.*?)\+`/`$1`/g' $(find . -name "*.adoc" -print)

6 years agonow that we suppress stupid warnings, fix the docs
Alan T. DeKok [Fri, 16 Aug 2019 14:56:02 +0000 (10:56 -0400)] 
now that we suppress stupid warnings, fix the docs

perl -p -i -e 's/`\+\%{(.*?)}\+`/`%{$1}`/g' $(find . -name "*.adoc" -print)

6 years agosuppress warnings
Alan T. DeKok [Fri, 16 Aug 2019 14:53:18 +0000 (10:53 -0400)] 
suppress warnings

6 years agoDon't use a source block for output
Arran Cudbard-Bell [Fri, 16 Aug 2019 13:44:14 +0000 (09:44 -0400)] 
Don't use a source block for output

6 years agoMake the title for howto consistent with the TOC
Arran Cudbard-Bell [Fri, 16 Aug 2019 13:43:56 +0000 (09:43 -0400)] 
Make the title for howto consistent with the TOC

6 years agoAdd more content to regex.adoc and fix the example syntax
Arran Cudbard-Bell [Fri, 16 Aug 2019 13:43:43 +0000 (09:43 -0400)] 
Add more content to regex.adoc and fix the example syntax

6 years agoSee if we can install antora for travis tests
Arran Cudbard-Bell [Fri, 16 Aug 2019 13:35:47 +0000 (09:35 -0400)] 
See if we can install antora for travis tests

6 years agore-add deleted files
Alan T. DeKok [Fri, 16 Aug 2019 13:26:15 +0000 (09:26 -0400)] 
re-add deleted files

6 years agore-add this so that "make html" works
Alan T. DeKok [Fri, 16 Aug 2019 13:07:22 +0000 (09:07 -0400)] 
re-add this so that "make html" works

6 years agoFixup documentation for regular expressions
Arran Cudbard-Bell [Fri, 16 Aug 2019 02:23:36 +0000 (22:23 -0400)] 
Fixup documentation for regular expressions

6 years agoTypo
Arran Cudbard-Bell [Fri, 16 Aug 2019 00:58:30 +0000 (20:58 -0400)] 
Typo

6 years agoFixup Asciidoc attribute complaints
Arran Cudbard-Bell [Fri, 16 Aug 2019 00:57:47 +0000 (20:57 -0400)] 
Fixup Asciidoc attribute complaints

6 years agoAdd title back in
Arran Cudbard-Bell [Fri, 16 Aug 2019 00:21:41 +0000 (20:21 -0400)] 
Add title back in

6 years ago*sigh*
Arran Cudbard-Bell [Fri, 16 Aug 2019 00:19:08 +0000 (20:19 -0400)] 
*sigh*

6 years agoFix link
Arran Cudbard-Bell [Fri, 16 Aug 2019 00:18:51 +0000 (20:18 -0400)] 
Fix link

6 years agoFixup howto documentation module
Arran Cudbard-Bell [Fri, 16 Aug 2019 00:15:02 +0000 (20:15 -0400)] 
Fixup howto documentation module

6 years agoRemove duplicated schema files
Arran Cudbard-Bell [Thu, 15 Aug 2019 23:54:04 +0000 (19:54 -0400)] 
Remove duplicated schema files

6 years agoFixup upgrading documentation module
Arran Cudbard-Bell [Thu, 15 Aug 2019 23:53:20 +0000 (19:53 -0400)] 
Fixup upgrading documentation module

6 years agoFixup the 'developers' documentation module
Arran Cudbard-Bell [Thu, 15 Aug 2019 23:44:19 +0000 (19:44 -0400)] 
Fixup the 'developers' documentation module

6 years agoRemove reundant .gitignore file
Arran Cudbard-Bell [Thu, 15 Aug 2019 23:35:58 +0000 (19:35 -0400)] 
Remove reundant .gitignore file

6 years agoMove schemas back to doc/
Arran Cudbard-Bell [Thu, 15 Aug 2019 23:35:46 +0000 (19:35 -0400)] 
Move schemas back to doc/

6 years ago...and more
Arran Cudbard-Bell [Thu, 15 Aug 2019 22:51:33 +0000 (18:51 -0400)] 
...and more

6 years agoFix link
Arran Cudbard-Bell [Thu, 15 Aug 2019 22:40:54 +0000 (18:40 -0400)] 
Fix link

6 years agoMinor tweaks
Arran Cudbard-Bell [Thu, 15 Aug 2019 22:34:35 +0000 (18:34 -0400)] 
Minor tweaks

6 years agoNavigation and link fixes for the unlang documentation module
Arran Cudbard-Bell [Thu, 15 Aug 2019 22:32:08 +0000 (18:32 -0400)] 
Navigation and link fixes for the unlang documentation module

6 years agoStart of navigation system
Arran Cudbard-Bell [Thu, 15 Aug 2019 20:56:49 +0000 (16:56 -0400)] 
Start of navigation system

6 years agoTop level should be "The FreeRADIUS project"
Arran Cudbard-Bell [Thu, 15 Aug 2019 20:20:15 +0000 (16:20 -0400)] 
Top level should be "The FreeRADIUS project"

6 years agoJust use the local repo for now
Arran Cudbard-Bell [Thu, 15 Aug 2019 20:18:49 +0000 (16:18 -0400)] 
Just use the local repo for now

6 years agoRemove duplicated footer
Arran Cudbard-Bell [Thu, 15 Aug 2019 20:18:40 +0000 (16:18 -0400)] 
Remove duplicated footer

6 years agoRemove unused .gitignore files
Arran Cudbard-Bell [Thu, 15 Aug 2019 20:01:54 +0000 (16:01 -0400)] 
Remove unused .gitignore files

6 years agoAdd antora Metadata
Arran Cudbard-Bell [Thu, 15 Aug 2019 19:56:14 +0000 (15:56 -0400)] 
Add antora Metadata

6 years agoDescribe doc/antora and doc/doxygen
Arran Cudbard-Bell [Thu, 15 Aug 2019 19:55:59 +0000 (15:55 -0400)] 
Describe doc/antora and doc/doxygen

6 years agoReorganise .adoc files and other documentation resources
Arran Cudbard-Bell [Thu, 15 Aug 2019 19:52:02 +0000 (15:52 -0400)] 
Reorganise .adoc files and other documentation resources

6 years agoMove doxygen files
Arran Cudbard-Bell [Thu, 15 Aug 2019 19:49:07 +0000 (15:49 -0400)] 
Move doxygen files

6 years agoFixup some documentation references
Arran Cudbard-Bell [Thu, 15 Aug 2019 19:47:22 +0000 (15:47 -0400)] 
Fixup some documentation references

6 years agoadd FALL-THROUGH
Alan T. DeKok [Thu, 15 Aug 2019 19:17:17 +0000 (15:17 -0400)] 
add FALL-THROUGH

6 years agomove "dict" into ctx->stack
Alan T. DeKok [Thu, 15 Aug 2019 18:58:05 +0000 (14:58 -0400)] 
move "dict" into ctx->stack

so we can recursively call ourselves to load other protocol
dictionaries

6 years agoadd support for FR_TYPE_GROUP
Alan T. DeKok [Thu, 15 Aug 2019 18:11:31 +0000 (14:11 -0400)] 
add support for FR_TYPE_GROUP

which points to dict/attr reference

the references are allowed if:

* they don't exist, in which case they point to the current
  dictionary
* they do exist, and are attributes in the current dictionary

next step: add "group_fixups" so that we can fixup the dictionary
and FR_TYPE_GROUP attributes in dict_finalise()

6 years agoremove memcpy, strlcpy, and limitations on key/value length
Alan T. DeKok [Thu, 15 Aug 2019 17:26:55 +0000 (13:26 -0400)] 
remove memcpy, strlcpy, and limitations on key/value length

for parsing flags

6 years agoFix build issues in rlm_sql_cassandra closes #2897
Arran Cudbard-Bell [Thu, 15 Aug 2019 18:34:01 +0000 (14:34 -0400)] 
Fix build issues in rlm_sql_cassandra closes #2897

6 years agomove more checks to flags_valid
Alan T. DeKok [Thu, 15 Aug 2019 14:24:17 +0000 (10:24 -0400)] 
move more checks to flags_valid

which now does most of the checking of flags, types, parents,
and parent->types.

6 years agouse substructs
Alan T. DeKok [Thu, 15 Aug 2019 14:12:11 +0000 (10:12 -0400)] 
use substructs

It's not *entirely* clear if these are correct, but they should
be close.  We're not going to read 400 pages of 3GPP specs to
figure out a few bytes.

6 years agosimplify / add consistency checks
Alan T. DeKok [Thu, 15 Aug 2019 14:08:01 +0000 (10:08 -0400)] 
simplify / add consistency checks

6 years agomore consistency
Alan T. DeKok [Thu, 15 Aug 2019 12:55:20 +0000 (08:55 -0400)] 
more consistency

6 years agoCleanup stray reference to evs type
Terry Burton [Thu, 15 Aug 2019 13:56:06 +0000 (14:56 +0100)] 
Cleanup stray reference to evs type

Related to c43d2b1aa3f9a4e29cc8b3b1b432d5622b26c58d.

6 years agocleanups and consistency pass
Alan T. DeKok [Thu, 15 Aug 2019 12:46:13 +0000 (08:46 -0400)] 
cleanups and consistency pass

6 years agodoc: Rename README.adoc to index.adoc (#2892)
Jorge Pereira [Thu, 15 Aug 2019 03:55:58 +0000 (00:55 -0300)] 
doc: Rename README.adoc to index.adoc (#2892)

* doc: Rename README.adoc to index.adoc

* doc: Update references from README.adoc to index.adoc

6 years agodoc: Fix section title from markdown to asciidoc (#2895)
Jorge Pereira [Thu, 15 Aug 2019 03:55:40 +0000 (00:55 -0300)] 
doc: Fix section title from markdown to asciidoc (#2895)

6 years agodoc: Fix the topic level0 for Unlang docs (#2894)
Jorge Pereira [Thu, 15 Aug 2019 02:39:31 +0000 (23:39 -0300)] 
doc: Fix the topic level0 for Unlang docs (#2894)

6 years agoFix typos in doc/unlang/xlat*.adoc (#2893)
Jorge Pereira [Thu, 15 Aug 2019 00:45:26 +0000 (21:45 -0300)] 
Fix typos in doc/unlang/xlat*.adoc (#2893)

6 years agoReduce fixup pool size
Arran Cudbard-Bell [Thu, 15 Aug 2019 00:33:55 +0000 (20:33 -0400)] 
Reduce fixup pool size

6 years agoRevert "fr_dict_finalise() should not free things it didn't allocate"
Arran Cudbard-Bell [Wed, 14 Aug 2019 23:30:53 +0000 (19:30 -0400)] 
Revert "fr_dict_finalise() should not free things it didn't allocate"

This reverts commit 08f86bb070e4ecd0d080318d09c8d9d395b48067.

6 years agoRevert "we don't really need a fixup pool"
Arran Cudbard-Bell [Wed, 14 Aug 2019 23:30:46 +0000 (19:30 -0400)] 
Revert "we don't really need a fixup pool"

This reverts commit bd4d6996b37a7c23bf61bf376115bcf6ce94bbbc.

6 years agoSign and formatting fixes
Arran Cudbard-Bell [Wed, 14 Aug 2019 23:29:45 +0000 (19:29 -0400)] 
Sign and formatting fixes

6 years agoNot needed
Arran Cudbard-Bell [Wed, 14 Aug 2019 23:03:14 +0000 (19:03 -0400)] 
Not needed

This should be part of the reference docs.

6 years agoDocument -1 length value for fr_table_num_by_substr
Arran Cudbard-Bell [Wed, 14 Aug 2019 22:47:42 +0000 (18:47 -0400)] 
Document -1 length value for fr_table_num_by_substr

6 years agoname_len should be ssize_t to allow for -1 Closes #2891
Arran Cudbard-Bell [Wed, 14 Aug 2019 22:43:28 +0000 (18:43 -0400)] 
name_len should be ssize_t to allow for -1 Closes #2891

6 years agofr_dict_finalise() should not free things it didn't allocate
Alan T. DeKok [Wed, 14 Aug 2019 22:05:50 +0000 (18:05 -0400)] 
fr_dict_finalise() should not free things it didn't allocate

the caller will free the fixup_pool

6 years agoAdd longest prefix function for ordered tables too
Arran Cudbard-Bell [Wed, 14 Aug 2019 22:01:53 +0000 (18:01 -0400)] 
Add longest prefix function for ordered tables too

6 years agos/fr_table_t/fr_table_sorted_t/g
Arran Cudbard-Bell [Wed, 14 Aug 2019 21:30:16 +0000 (17:30 -0400)] 
s/fr_table_t/fr_table_sorted_t/g

6 years agoEfficient table lookups, phase 2
Arran Cudbard-Bell [Wed, 14 Aug 2019 21:28:44 +0000 (17:28 -0400)] 
Efficient table lookups, phase 2

6 years agouse standard quotation marks. Fixes #2888
Alan T. DeKok [Wed, 14 Aug 2019 19:56:46 +0000 (15:56 -0400)] 
use standard quotation marks.  Fixes #2888

6 years agoFix wrong include of 'string.h'
Jorge Pereira [Wed, 14 Aug 2019 19:25:51 +0000 (16:25 -0300)] 
Fix wrong include of 'string.h'

6 years agoint2str fix
Alan T. DeKok [Wed, 14 Aug 2019 18:48:20 +0000 (14:48 -0400)] 
int2str fix

6 years agowe don't really need a fixup pool
Alan T. DeKok [Wed, 14 Aug 2019 18:43:17 +0000 (14:43 -0400)] 
we don't really need a fixup pool

the fixups are few and far between.

6 years agotrack filename and line in read ctx
Alan T. DeKok [Wed, 14 Aug 2019 18:35:50 +0000 (14:35 -0400)] 
track filename and line in read ctx

so that we can print out better errors for enum fixups

6 years agomore checks when parsing flag fields
Alan T. DeKok [Wed, 14 Aug 2019 18:08:01 +0000 (14:08 -0400)] 
more checks when parsing flag fields

the errors are also produced elsewhere, but more descriptive errors
are possible here.

6 years agoenforce flags / types baed on parent attribute
Alan T. DeKok [Wed, 14 Aug 2019 16:35:30 +0000 (12:35 -0400)] 
enforce flags / types baed on parent attribute

6 years agofix / clarify error messages
Alan T. DeKok [Wed, 14 Aug 2019 16:33:52 +0000 (12:33 -0400)] 
fix / clarify error messages

6 years agoset "type_size" for PROTOCOLs
Alan T. DeKok [Wed, 14 Aug 2019 16:28:59 +0000 (12:28 -0400)] 
set "type_size" for PROTOCOLs

6 years agoremove attribute references.
Alan T. DeKok [Wed, 14 Aug 2019 12:20:15 +0000 (08:20 -0400)] 
remove attribute references.

Unused, and we will end up doing it a different way

6 years agoEfficient table lookups, phase 1
Arran Cudbard-Bell [Tue, 13 Aug 2019 18:28:54 +0000 (14:28 -0400)] 
Efficient table lookups, phase 1

6 years agodoc: Convert doc/raddb/certs/README.adoc from markdown to asciidoc (#2884)
Jorge Pereira [Wed, 14 Aug 2019 16:33:10 +0000 (13:33 -0300)] 
doc: Convert doc/raddb/certs/README.adoc from markdown to asciidoc (#2884)

6 years agofix .md to .adoc link here, too
Alan T. DeKok [Wed, 14 Aug 2019 02:33:36 +0000 (22:33 -0400)] 
fix .md to .adoc link here, too

6 years agodoc: Fix references from *.md to *.adoc links (#2885)
Jorge Pereira [Tue, 13 Aug 2019 23:34:29 +0000 (20:34 -0300)] 
doc: Fix references from *.md to *.adoc links (#2885)

6 years agoshut up compiler
Alan T. DeKok [Tue, 13 Aug 2019 21:40:36 +0000 (17:40 -0400)] 
shut up compiler

6 years agoallow sibling STRUCT definitions, one after the other.
Alan T. DeKok [Tue, 13 Aug 2019 20:59:00 +0000 (16:59 -0400)] 
allow sibling STRUCT definitions, one after the other.

In which case we unwind the stack until we find the correct
parent.

6 years agoallow octets[n] in previous MEMBERs, too
Alan T. DeKok [Tue, 13 Aug 2019 20:58:14 +0000 (16:58 -0400)] 
allow octets[n] in previous MEMBERs, too

6 years agoallow fixed-size "octet" fields in structs
Alan T. DeKok [Tue, 13 Aug 2019 20:50:17 +0000 (16:50 -0400)] 
allow fixed-size "octet" fields in structs

6 years agoencode structs, and add tests for them
Alan T. DeKok [Tue, 13 Aug 2019 19:56:03 +0000 (15:56 -0400)] 
encode structs, and add tests for them

6 years agoallow RFC attributes to be of type "struct"
Alan T. DeKok [Tue, 13 Aug 2019 19:54:07 +0000 (15:54 -0400)] 
allow RFC attributes to be of type "struct"