]>
git.ipfire.org Git - thirdparty/freeradius-server.git/log
Terry Burton [Tue, 13 Aug 2019 17:18:10 +0000 (18:18 +0100)]
Oracle schema.conf: Typo
Terry Burton [Tue, 13 Aug 2019 23:23:26 +0000 (00:23 +0100)]
MSSQL queries.conf: Use Event-Timestamp rather than %S
Terry Burton [Tue, 13 Aug 2019 15:04:54 +0000 (16:04 +0100)]
MSSQL queries.conf: Add a post-auth logging query
MSSQL accepts SQL timestamps to millisecond precision.
Don't log the CHAP password hex string, just a moniker.
Terry Burton [Tue, 13 Aug 2019 23:22:22 +0000 (00:22 +0100)]
MSSQL queries.conf: Typo
Column name not matching schema.
Terry Burton [Tue, 13 Aug 2019 14:28:07 +0000 (15:28 +0100)]
MSSQL schema.conf: Invalid syntax.
Fix CREATE TABLE lines with invalid syntax.
The defaults that were provided in these lines are applied subsequent ALTER
TABLE statements.
Terry Burton [Tue, 13 Aug 2019 20:38:31 +0000 (21:38 +0100)]
SQLite queries.conf: Use %l as default for missing Event-Timestamp
Terry Burton [Tue, 13 Aug 2019 20:35:43 +0000 (21:35 +0100)]
SQLite queries.conf: Fix acctsessiontime calculation for accounting-on/off
acctstarttime is already in epoch format.
Terry Burton [Tue, 13 Aug 2019 19:37:31 +0000 (20:37 +0100)]
SQLite query.conf: Increase post-auth logging precision
Switch to microsecond precision on timestamps.
Terry Burton [Tue, 13 Aug 2019 20:48:22 +0000 (21:48 +0100)]
MySQL queries.conf: Use %l as default for missing Event-Timestamp.
Terry Burton [Tue, 13 Aug 2019 15:55:09 +0000 (16:55 +0100)]
MySQL schema.conf: Enable fractional timestamps for post-auth logging
All vendor-supported versions of MySQL (since 5.6.4) support a fractional
precision timestamp data type for an additional cost of three bytes per datum.
We enable this for the post-auth table.
Terry Burton [Tue, 13 Aug 2019 15:45:38 +0000 (16:45 +0100)]
MySQL queries.conf: Increase post-auth logging precision
MySQL can support microsecond precision on timestamps. When it isn't supported
the fractional part is simply discarded.
Terry Burton [Tue, 13 Aug 2019 21:00:09 +0000 (22:00 +0100)]
PostgreSQL queries.conf: Use %l as default for missing Event-Timestamp
Terry Burton [Tue, 13 Aug 2019 20:52:29 +0000 (21:52 +0100)]
PostgreSQL queries.conf: Use Event-Timestamp rather than %S
Use the provided Event-Timestamp to close accounting records
when receiving an Accounting-On/Off request.
Terry Burton [Tue, 13 Aug 2019 14:43:43 +0000 (15:43 +0100)]
PostgreSQL queries.conf: Increase post-auth logging precision
PostgreSQL supports microsecond precision on timestamps.
Don't use NOW() since the queries can be replayed from a file.
Jorge Pereira [Thu, 22 Aug 2019 21:51:27 +0000 (18:51 -0300)]
doc: Add sanity checks for verify if the xlat's is documented
Arran Cudbard-Bell [Thu, 22 Aug 2019 19:54:06 +0000 (15:54 -0400)]
Add tables that can hold pointers
Arran Cudbard-Bell [Thu, 22 Aug 2019 02:53:20 +0000 (22:53 -0400)]
Minor naming fixups
Alan T. DeKok [Thu, 22 Aug 2019 19:44:54 +0000 (15:44 -0400)]
filter out test / example / whatever modules
Jorge Pereira [Thu, 22 Aug 2019 19:02:33 +0000 (16:02 -0300)]
Ignore doc/doxygen/html directory
Jorge Pereira [Tue, 20 Aug 2019 23:43:46 +0000 (20:43 -0300)]
Add some documentation for missing xlat's functions.
for the below modules:
rlm_dhcpv4
rlm_eap
rlm_json
rlm_ldap
rlm_yubikey
Alan T. DeKok [Thu, 22 Aug 2019 17:54:20 +0000 (13:54 -0400)]
make sure that the heading starts on a new line
Alan T. DeKok [Thu, 22 Aug 2019 17:30:43 +0000 (13:30 -0400)]
Rename heading to be clearer
perl -p -i -e 's/## Default instance/## Configuration Settings/' raddb/mods-available/*
Alan T. DeKok [Thu, 22 Aug 2019 17:27:09 +0000 (13:27 -0400)]
this is a link, not a config item
Alan T. DeKok [Thu, 22 Aug 2019 17:25:31 +0000 (13:25 -0400)]
print module config at the end of the file
instead of in-line, which can get confusing
The behavior can be toggle via `-t`, which is nice
Alan T. DeKok [Thu, 22 Aug 2019 17:15:08 +0000 (13:15 -0400)]
cleanups
Alan T. DeKok [Thu, 22 Aug 2019 17:06:55 +0000 (13:06 -0400)]
don't refer to documentation which may move
Alan T. DeKok [Thu, 22 Aug 2019 17:00:36 +0000 (13:00 -0400)]
regenerate
Alan T. DeKok [Thu, 22 Aug 2019 17:02:56 +0000 (13:02 -0400)]
typo here, too
Alan T. DeKok [Thu, 22 Aug 2019 17:02:32 +0000 (13:02 -0400)]
use the correct name
Alan T. DeKok [Thu, 22 Aug 2019 16:59:10 +0000 (12:59 -0400)]
typo
Alan T. DeKok [Thu, 22 Aug 2019 16:56:45 +0000 (12:56 -0400)]
no one uses this, and it's non-standard
Alan T. DeKok [Thu, 22 Aug 2019 16:09:46 +0000 (12:09 -0400)]
need this, too
Alan T. DeKok [Thu, 22 Aug 2019 15:08:55 +0000 (11:08 -0400)]
clarifications and cleanups
Alan T. DeKok [Thu, 22 Aug 2019 14:54:51 +0000 (10:54 -0400)]
add an "all module" list
and a script to generate it.
Alan T. DeKok [Thu, 22 Aug 2019 14:54:06 +0000 (10:54 -0400)]
fix help text
Alan T. DeKok [Thu, 22 Aug 2019 14:53:45 +0000 (10:53 -0400)]
word smithing
Nicolas C [Thu, 22 Aug 2019 13:16:20 +0000 (15:16 +0200)]
Allow parsing of 'float64' in configuration files (#2913)
This small patch adds support of type 'float64' in configuration file.
Rationale: precision of float32 is not always sufficient, even for what would seem to be very simple numbers.
For example: "88.005" when printed with the default precision shows "88.004997".
Jorge Pereira [Thu, 22 Aug 2019 01:45:51 +0000 (22:45 -0300)]
Merge rlm_attr_filter.5 with raddb/mods-available/attr_filter
The 'man/man5/rlm_attr_filter.5' is not necessary anymore.
Jorge Pereira [Thu, 22 Aug 2019 01:17:25 +0000 (22:17 -0300)]
Merge rlm_pap.5 with raddb/mods-available/pap
The 'man/man5/rlm_pap.5' is not necessary anymore.
Jorge Pereira [Thu, 22 Aug 2019 00:14:52 +0000 (21:14 -0300)]
Merge rlm_always.5 with raddb/mods-available/always
The 'man/man5/rlm_always.5' is not necessary anymore.
nchaigne [Thu, 22 Aug 2019 08:16:34 +0000 (10:16 +0200)]
Allow parsing of 'float64' in configuration files
This small patch adds support of type 'float64' in configuration file.
Rationale: precision of float32 is not always sufficient, even for what would seem to be very simple numbers.
For example: "88.005" when printed with the default precision shows "88.004997".
Arran Cudbard-Bell [Thu, 22 Aug 2019 00:29:28 +0000 (20:29 -0400)]
Reorganise dictionary code into separate files
Alan T. DeKok [Thu, 22 Aug 2019 00:02:50 +0000 (20:02 -0400)]
cleanups and additions
Alan T. DeKok [Thu, 22 Aug 2019 00:02:45 +0000 (20:02 -0400)]
typo
Alan T. DeKok [Thu, 22 Aug 2019 00:02:32 +0000 (20:02 -0400)]
clean ups and rephrasing
Arran Cudbard-Bell [Wed, 21 Aug 2019 22:55:05 +0000 (18:55 -0400)]
Ignore generated adoc files for now...
Alan T. DeKok [Wed, 21 Aug 2019 21:30:30 +0000 (17:30 -0400)]
renamed and moved
Alan T. DeKok [Wed, 21 Aug 2019 21:25:53 +0000 (17:25 -0400)]
all of the content here is wrong, old, or in mods-available/files
Alan T. DeKok [Wed, 21 Aug 2019 19:50:42 +0000 (15:50 -0400)]
we don't need this any more.
All of the radrelay configuration is documented elsewhere
Alan T. DeKok [Wed, 21 Aug 2019 19:43:24 +0000 (15:43 -0400)]
move radsniff to asciidoc format
Alan T. DeKok [Wed, 21 Aug 2019 19:42:21 +0000 (15:42 -0400)]
typo
Alan T. DeKok [Wed, 21 Aug 2019 19:24:20 +0000 (15:24 -0400)]
use descriptive error messages for all cases
Jorge Pereira [Wed, 21 Aug 2019 17:52:47 +0000 (14:52 -0300)]
rlm_client: Don't leak memory on error conditions.
Arran Cudbard-Bell [Wed, 21 Aug 2019 18:09:41 +0000 (14:09 -0400)]
Take a pass through builtin.adoc
Still only partially complete
Jorge Pereira [Wed, 21 Aug 2019 17:39:29 +0000 (14:39 -0300)]
rlm_dhcpv4: Don't leak memory on error conditions. (#2910)
Alan T. DeKok [Wed, 21 Aug 2019 14:12:14 +0000 (10:12 -0400)]
pull call to localtime_r() higher in the function.
Alan T. DeKok [Wed, 21 Aug 2019 14:05:06 +0000 (10:05 -0400)]
add tests for dates with millisecond precision
note that despite inputs in various time zones, the tests
run in GMT
Alan T. DeKok [Wed, 21 Aug 2019 14:04:39 +0000 (10:04 -0400)]
add '.' to subseconds
and fix closing quote
Alan T. DeKok [Wed, 21 Aug 2019 13:58:04 +0000 (09:58 -0400)]
parse subseconds correctly by scaling them
and add descriptive error messages.
Alan T. DeKok [Wed, 21 Aug 2019 13:43:25 +0000 (09:43 -0400)]
allow attributes of type 'date' to set type_size
for setting time precision
Alan T. DeKok [Wed, 21 Aug 2019 12:54:51 +0000 (08:54 -0400)]
add parser for ISO8601 date formats
Which incidentally also gets the time zone conversions correct.
The old parser just ignored the time zone.
Alan T. DeKok [Wed, 21 Aug 2019 11:50:47 +0000 (07:50 -0400)]
make fr_time_from_str() use fr_time_t
In preparation for parsing RFC 3339 dates.
Alan T. DeKok [Wed, 21 Aug 2019 11:44:26 +0000 (07:44 -0400)]
note which time standard we produce
Alan T. DeKok [Wed, 21 Aug 2019 11:42:14 +0000 (07:42 -0400)]
Add time zone qualifiers
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
Alan T. DeKok [Tue, 20 Aug 2019 23:32:45 +0000 (19:32 -0400)]
one more "remove date"
Arran Cudbard-Bell [Tue, 20 Aug 2019 23:05:34 +0000 (19:05 -0400)]
Rename predefined to built-in
Jorge Pereira [Tue, 20 Aug 2019 23:00:54 +0000 (20:00 -0300)]
doc: Add some missing predefined xlat's functions (#2908)
Jorge Pereira [Tue, 20 Aug 2019 22:59:24 +0000 (19:59 -0300)]
doc: Fix the links to the asciidoc format (#2901)
Alan T. DeKok [Tue, 20 Aug 2019 21:31:53 +0000 (17:31 -0400)]
we shouldn't be casting DATE to anything else
Alan T. DeKok [Tue, 20 Aug 2019 19:45:18 +0000 (15:45 -0400)]
type 'date' is no longer a 32-bit integer
Alan T. DeKok [Tue, 20 Aug 2019 19:10:14 +0000 (15:10 -0400)]
respect time precision when casting to uint32 / uint64
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
Alan T. DeKok [Tue, 20 Aug 2019 18:35:13 +0000 (14:35 -0400)]
typo
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
Alan T. DeKok [Tue, 20 Aug 2019 18:32:10 +0000 (14:32 -0400)]
255, not 256 for 8-bit max
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.
Alan T. DeKok [Tue, 20 Aug 2019 18:00:59 +0000 (14:00 -0400)]
typo
Alan T. DeKok [Tue, 20 Aug 2019 17:47:12 +0000 (13:47 -0400)]
helps to have RADIUS tests which mirror data_types.txt
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?
Alan T. DeKok [Tue, 20 Aug 2019 17:07:17 +0000 (13:07 -0400)]
remove unused definitions
Alan T. DeKok [Tue, 20 Aug 2019 17:06:27 +0000 (13:06 -0400)]
Acct-Session-Time is uint32, not date data type.
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
Alan T. DeKok [Tue, 20 Aug 2019 16:48:04 +0000 (12:48 -0400)]
add files deleted in earlier commit
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
Alan T. DeKok [Tue, 20 Aug 2019 16:33:12 +0000 (12:33 -0400)]
don't use quotation marks for dates
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
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
Alan T. DeKok [Tue, 20 Aug 2019 14:25:49 +0000 (10:25 -0400)]
remove unused types
Alan T. DeKok [Tue, 20 Aug 2019 13:58:16 +0000 (09:58 -0400)]
allow bare dictionary name
Alan T. DeKok [Tue, 20 Aug 2019 13:40:46 +0000 (09:40 -0400)]
add AUTHOR line
Jorge Pereira [Tue, 20 Aug 2019 14:23:15 +0000 (11:23 -0300)]
doc: Add 'INSTALL' to howto/ section (#2904)
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
Alan T. DeKok [Tue, 20 Aug 2019 13:34:39 +0000 (09:34 -0400)]
typos
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
Alan T. DeKok [Tue, 20 Aug 2019 12:59:02 +0000 (08:59 -0400)]
update install. Helps with #2901
Alan T. DeKok [Tue, 20 Aug 2019 12:54:51 +0000 (08:54 -0400)]
use double quotes. Helps with #2901
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
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
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.