]> git.ipfire.org Git - thirdparty/freeradius-server.git/log
thirdparty/freeradius-server.git
6 years agonote which time standard we produce
Alan T. DeKok [Wed, 21 Aug 2019 11:44:26 +0000 (07:44 -0400)] 
note which time standard we produce

6 years agoAdd time zone qualifiers
Alan T. DeKok [Wed, 21 Aug 2019 11:42:14 +0000 (07:42 -0400)] 
Add time zone qualifiers

6 years agocall value_box_snprint() to print type date
Alan T. DeKok [Wed, 21 Aug 2019 11:41:34 +0000 (07:41 -0400)] 
call value_box_snprint() to print type date

as the way to do so is now complex

6 years agoone more "remove date"
Alan T. DeKok [Tue, 20 Aug 2019 23:32:45 +0000 (19:32 -0400)] 
one more "remove date"

6 years agoRename predefined to built-in
Arran Cudbard-Bell [Tue, 20 Aug 2019 23:05:34 +0000 (19:05 -0400)] 
Rename predefined to built-in

6 years agodoc: Add some missing predefined xlat's functions (#2908)
Jorge Pereira [Tue, 20 Aug 2019 23:00:54 +0000 (20:00 -0300)] 
doc: Add some missing predefined xlat's functions (#2908)

6 years agodoc: Fix the links to the asciidoc format (#2901)
Jorge Pereira [Tue, 20 Aug 2019 22:59:24 +0000 (19:59 -0300)] 
doc: Fix the links to the asciidoc format (#2901)

6 years agowe shouldn't be casting DATE to anything else
Alan T. DeKok [Tue, 20 Aug 2019 21:31:53 +0000 (17:31 -0400)] 
we shouldn't be casting DATE to anything else

6 years agotype 'date' is no longer a 32-bit integer
Alan T. DeKok [Tue, 20 Aug 2019 19:45:18 +0000 (15:45 -0400)] 
type 'date' is no longer a 32-bit integer

6 years agorespect time precision when casting to uint32 / uint64
Alan T. DeKok [Tue, 20 Aug 2019 19:10:14 +0000 (15:10 -0400)] 
respect time precision when casting to uint32 / uint64

6 years agoRevert "pass fr_dict_attr_t to fr_value_box_to_network()"
Alan T. DeKok [Tue, 20 Aug 2019 18:42:06 +0000 (14:42 -0400)] 
Revert "pass fr_dict_attr_t to fr_value_box_to_network()"

This reverts commit e2be98d40355649a94d656b7018abe540f36101f.

set dst->enumv in from_network().  And then use it in to_network()
and the same for to_str and from_str

6 years agotypo
Alan T. DeKok [Tue, 20 Aug 2019 18:35:13 +0000 (14:35 -0400)] 
typo

6 years agouse cast instead of manual coersion
Alan T. DeKok [Tue, 20 Aug 2019 18:33:39 +0000 (14:33 -0400)] 
use cast instead of manual coersion

We probably have to fix the various modules, too

6 years ago255, not 256 for 8-bit max
Alan T. DeKok [Tue, 20 Aug 2019 18:32:10 +0000 (14:32 -0400)] 
255, not 256 for 8-bit max

6 years agodoc: Add 'raddb' nav bar content
Jorge Pereira [Tue, 20 Aug 2019 17:58:49 +0000 (14:58 -0300)] 
doc: Add 'raddb' nav bar content

It add "The raddb configuration directory" new option to the tree list.

6 years agotypo
Alan T. DeKok [Tue, 20 Aug 2019 18:00:59 +0000 (14:00 -0400)] 
typo

6 years agohelps to have RADIUS tests which mirror data_types.txt
Alan T. DeKok [Tue, 20 Aug 2019 17:47:12 +0000 (13:47 -0400)] 
helps to have RADIUS tests which mirror data_types.txt

6 years agomake vb_date / vp_date into fr_time_t
Alan T. DeKok [Tue, 20 Aug 2019 17:30:02 +0000 (13:30 -0400)] 
make vb_date / vp_date into fr_time_t

the tests pass, so everything is OK, right?

6 years agoremove unused definitions
Alan T. DeKok [Tue, 20 Aug 2019 17:07:17 +0000 (13:07 -0400)] 
remove unused definitions

6 years agoAcct-Session-Time is uint32, not date data type.
Alan T. DeKok [Tue, 20 Aug 2019 17:06:27 +0000 (13:06 -0400)] 
Acct-Session-Time is uint32, not date data type.

6 years agowe can't dereference a 64-bit int as a 32-bit one
Alan T. DeKok [Tue, 20 Aug 2019 16:53:19 +0000 (12:53 -0400)] 
we can't dereference a 64-bit int as a 32-bit one

6 years agoadd files deleted in earlier commit
Alan T. DeKok [Tue, 20 Aug 2019 16:48:04 +0000 (12:48 -0400)] 
add files deleted in earlier commit

6 years agoadd tests for dates
Alan T. DeKok [Tue, 20 Aug 2019 16:39:23 +0000 (12:39 -0400)] 
add tests for dates

before we start mangling the date functions

6 years agodon't use quotation marks for dates
Alan T. DeKok [Tue, 20 Aug 2019 16:33:12 +0000 (12:33 -0400)] 
don't use quotation marks for dates

6 years agopass fr_dict_attr_t to fr_value_box_to_network()
Alan T. DeKok [Tue, 20 Aug 2019 16:01:23 +0000 (12:01 -0400)] 
pass fr_dict_attr_t to fr_value_box_to_network()

in preparation for variable-sized dates on the network

6 years agoset the size of the parent structure
Alan T. DeKok [Tue, 20 Aug 2019 14:57:53 +0000 (10:57 -0400)] 
set the size of the parent structure

Which is only the size of the header, and does not include
any TLVs or sub-structures

6 years agoremove unused types
Alan T. DeKok [Tue, 20 Aug 2019 14:25:49 +0000 (10:25 -0400)] 
remove unused types

6 years agoallow bare dictionary name
Alan T. DeKok [Tue, 20 Aug 2019 13:58:16 +0000 (09:58 -0400)] 
allow bare dictionary name

6 years agoadd AUTHOR line
Alan T. DeKok [Tue, 20 Aug 2019 13:40:46 +0000 (09:40 -0400)] 
add AUTHOR line

6 years agodoc: Add 'INSTALL' to howto/ section (#2904)
Jorge Pereira [Tue, 20 Aug 2019 14:23:15 +0000 (11:23 -0300)] 
doc: Add 'INSTALL' to howto/ section (#2904)

6 years agomove radclient to adoc
Alan T. DeKok [Tue, 20 Aug 2019 13:35:04 +0000 (09:35 -0400)] 
move radclient to adoc

added build rules for ".1" man pages.

fixed the install rule to use ${FILE} instead of $(MAN_FILES)
which means the install rule is for one file, not all of them

6 years agotypos
Alan T. DeKok [Tue, 20 Aug 2019 13:34:39 +0000 (09:34 -0400)] 
typos

6 years agofix for new formatting and new call methods. Helps with #2901
Alan T. DeKok [Tue, 20 Aug 2019 13:06:47 +0000 (09:06 -0400)] 
fix for new formatting and new call methods.  Helps with #2901

Tho we should likely just delete a good chunk of this file,
and point instead to the doxygen definitions for the module
init, instantiate. etc. functions

6 years agoupdate install. Helps with #2901
Alan T. DeKok [Tue, 20 Aug 2019 12:59:02 +0000 (08:59 -0400)] 
update install.  Helps with #2901

6 years agouse double quotes. Helps with #2901
Alan T. DeKok [Tue, 20 Aug 2019 12:54:51 +0000 (08:54 -0400)] 
use double quotes.  Helps with #2901

6 years agodo "group" fixups for forward references to other dictionaries
Alan T. DeKok [Mon, 19 Aug 2019 22:23:50 +0000 (18:23 -0400)] 
do "group" fixups for forward references to other dictionaries

the basics seem to work.  But the reference counts for these
auto-loaded dictionaries should be checked.  We may need to add
code to deal with that, *or* delete the code that is currently
mangling the reference counts.

More testing will let us know

6 years agomove radiusd.8 to doc/man/radiusd.adoc
Alan T. DeKok [Mon, 19 Aug 2019 22:20:13 +0000 (18:20 -0400)] 
move radiusd.8 to doc/man/radiusd.adoc

now that we have rules to create the "radiusd.8" file from
"radiusd.adoc", along with rules to install the "radiusd.8" file

6 years agostrip trailing '/' off of directories
Alan T. DeKok [Mon, 19 Aug 2019 22:17:34 +0000 (18:17 -0400)] 
strip trailing '/' off of directories

Because GNU Make works on strings.  So "foo/" is NOT the same
as "foo", even though they both point to the same directory.

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