]>
git.ipfire.org Git - thirdparty/freeradius-server.git/log
Arran Cudbard-Bell [Thu, 25 Jul 2019 05:06:19 +0000 (14:06 +0900)]
Add RHEXDUMP[1-4] and RHEXDUMP_INLINE[1-4]
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
Alan T. DeKok [Wed, 24 Jul 2019 00:21:02 +0000 (20:21 -0400)]
add map documentation
Alan T. DeKok [Tue, 23 Jul 2019 23:57:07 +0000 (19:57 -0400)]
word smithing
Alan T. DeKok [Tue, 23 Jul 2019 20:33:59 +0000 (16:33 -0400)]
point to correct location
Alan DeKok [Tue, 23 Jul 2019 20:32:31 +0000 (16:32 -0400)]
Merge pull request #2804 from jpereira/v4/doc4
Doc updates
Jorge Pereira [Tue, 23 Jul 2019 19:53:02 +0000 (16:53 -0300)]
raddb/radiusd.conf.in: Fix asciidoctor error
Jorge Pereira [Tue, 23 Jul 2019 18:41:31 +0000 (15:41 -0300)]
doc: Fix links from README to README.md
Jorge Pereira [Tue, 23 Jul 2019 18:40:38 +0000 (15:40 -0300)]
doc/all.mk: Let's process all *.md
Alan DeKok [Tue, 23 Jul 2019 18:28:23 +0000 (14:28 -0400)]
Merge pull request #2802 from jpereira/v4/doc3
Doc updates
Jorge Pereira [Tue, 23 Jul 2019 00:08:18 +0000 (21:08 -0300)]
raddb/sites-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
Matthew Newton [Tue, 23 Jul 2019 15:18:56 +0000 (16:18 +0100)]
add dockerfiles for Debian 10
Jorge Pereira [Tue, 23 Jul 2019 02:09:56 +0000 (23:09 -0300)]
doc/unlang/: Fix asciidoc warn/errors
Jorge Pereira [Tue, 23 Jul 2019 02:25:16 +0000 (23:25 -0300)]
doc: Set ':toc:' over CLI
Alan T. DeKok [Tue, 23 Jul 2019 14:42:01 +0000 (10:42 -0400)]
add / use "map->child"
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 .
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.
Alan T. DeKok [Tue, 23 Jul 2019 13:46:52 +0000 (09:46 -0400)]
rename to something we can remember
Alan T. DeKok [Tue, 23 Jul 2019 12:54:17 +0000 (08:54 -0400)]
add documentation for keyed load-balance
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
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
Alan T. DeKok [Tue, 23 Jul 2019 12:40:25 +0000 (08:40 -0400)]
fix data types. Fixes #2803
Alan T. DeKok [Tue, 23 Jul 2019 02:10:09 +0000 (22:10 -0400)]
word smithing
Arran Cudbard-Bell [Tue, 23 Jul 2019 02:34:20 +0000 (11:34 +0900)]
Cleanup LD_PRELOAD handles properly
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.
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.
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
Jorge Pereira [Mon, 22 Jul 2019 19:49:54 +0000 (16:49 -0300)]
doc/all.mk: Be able to disable/enable verbose output
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...}
Alan T. DeKok [Mon, 22 Jul 2019 19:00:40 +0000 (15:00 -0400)]
use correct logic for tests
Alan T. DeKok [Mon, 22 Jul 2019 19:00:28 +0000 (15:00 -0400)]
notes for the future
Jorge Pereira [Mon, 22 Jul 2019 17:40:09 +0000 (14:40 -0300)]
xlat_predefined: Add missing %{sha...} and %{blake...}
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
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
Alan T. DeKok [Mon, 22 Jul 2019 17:00:05 +0000 (13:00 -0400)]
simpler method of skipping strings
Alan T. DeKok [Mon, 22 Jul 2019 16:21:51 +0000 (12:21 -0400)]
parse sub-maps
Alan T. DeKok [Mon, 22 Jul 2019 16:18:45 +0000 (12:18 -0400)]
word smithing and updates
Alan T. DeKok [Mon, 22 Jul 2019 15:53:05 +0000 (11:53 -0400)]
define and allow for TMPL_TYPE_MAP
in preparation for allowing grouped attributes.
Alan T. DeKok [Mon, 22 Jul 2019 13:01:41 +0000 (09:01 -0400)]
allow "foo = { ...}" in parser
in preparation for allowing grouped attributes
Alan T. DeKok [Sun, 21 Jul 2019 11:59:15 +0000 (07:59 -0400)]
remove support for LM-Password. Fixes #2799
No one has used this in years, and it isn't secure.
Alan T. DeKok [Sat, 20 Jul 2019 11:53:47 +0000 (07:53 -0400)]
include more adoc files
Alan T. DeKok [Sat, 20 Jul 2019 11:44:40 +0000 (07:44 -0400)]
cleanups and add toc
Alan T. DeKok [Sat, 20 Jul 2019 11:09:42 +0000 (07:09 -0400)]
minor cleanups
* the footer doesn't need a "home" link.
* move the ToC to the left sidebar, which makes the real content
more prominent
* move the "home" link to the top right of the page, where it
is less visible, but is still useful
Alan T. DeKok [Fri, 19 Jul 2019 16:50:07 +0000 (12:50 -0400)]
comment out post-proxy
it's not used in v4. But we still may want the code for reference
Alan T. DeKok [Fri, 19 Jul 2019 16:47:40 +0000 (12:47 -0400)]
remove bounds checks for small integers
we can always represent 8 / 16 / 32-bit integers in a Lua integer
Alan T. DeKok [Fri, 19 Jul 2019 16:45:13 +0000 (12:45 -0400)]
check for dv. CID #
1445245
Alan DeKok [Sat, 20 Jul 2019 10:56:23 +0000 (06:56 -0400)]
Merge pull request #2798 from jpereira/v4/doc1
Some doc updates
Jorge Pereira [Sat, 20 Jul 2019 00:25:51 +0000 (21:25 -0300)]
man: Remove deprecated %{base64tohex:}
Jorge Pereira [Sat, 20 Jul 2019 00:25:09 +0000 (21:25 -0300)]
doc: Update doc/unlang/xlat_predefined
Jorge Pereira [Sat, 20 Jul 2019 00:24:36 +0000 (21:24 -0300)]
doc: Add :toc:
Jorge Pereira [Sat, 13 Jul 2019 01:21:04 +0000 (22:21 -0300)]
doc: Unlang - Some fixes, added header to home
Jorge Pereira [Sat, 13 Jul 2019 01:20:23 +0000 (22:20 -0300)]
doc: Add .gitignore
Jorge Pereira [Sat, 13 Jul 2019 01:19:58 +0000 (22:19 -0300)]
doc: Add 'index' for howto folder
Jorge Pereira [Sat, 13 Jul 2019 01:19:30 +0000 (22:19 -0300)]
doc: Add 'header' include
Jorge Pereira [Sat, 13 Jul 2019 01:17:32 +0000 (22:17 -0300)]
doc: Add link for the CC license
Jorge Pereira [Fri, 19 Jul 2019 02:17:05 +0000 (23:17 -0300)]
Fix the %{explode:&ref <delim>} xlat function
As the documentation says %{explode:&ref <delim>}, let's inform
the user that the delim should be a single char
Jorge Pereira [Sat, 20 Jul 2019 01:35:23 +0000 (22:35 -0300)]
Better way of passing in arguments to CHECK_ZEROED
Arran Cudbard-Bell [Fri, 19 Jul 2019 23:53:06 +0000 (08:53 +0900)]
Pass in _vpt
Alan DeKok [Fri, 19 Jul 2019 18:08:57 +0000 (14:08 -0400)]
Merge pull request #2796 from jpereira/v4/leak2
xlat: Fix minor leak in %{explode:}
Jorge Pereira [Thu, 18 Jul 2019 14:23:47 +0000 (11:23 -0300)]
src/lib/server/cf_util.c: Check if 'CONF_ITEM' is valid
Jorge Pereira [Fri, 19 Jul 2019 17:29:17 +0000 (14:29 -0300)]
xlat: Fix minor leak in %{explode:}
Alan T. DeKok [Fri, 19 Jul 2019 14:03:23 +0000 (10:03 -0400)]
check return code. CID #
1445239
Alan T. DeKok [Fri, 19 Jul 2019 14:02:34 +0000 (10:02 -0400)]
remove dead code. CID #
1445235
Alan T. DeKok [Fri, 19 Jul 2019 13:59:30 +0000 (09:59 -0400)]
check return code. CID #
1445247
Alan T. DeKok [Fri, 19 Jul 2019 13:58:10 +0000 (09:58 -0400)]
disable setting of -soname on Linux
it appears to break the build.
Alan T. DeKok [Fri, 19 Jul 2019 13:53:26 +0000 (09:53 -0400)]
request is always non-NULL. CID #
1445231
Alan T. DeKok [Fri, 19 Jul 2019 13:51:41 +0000 (09:51 -0400)]
ignore the return code. We can't do anything about it. CID #
1445218
Alan T. DeKok [Fri, 19 Jul 2019 13:49:57 +0000 (09:49 -0400)]
lock on more error paths. CID #
1445200
Alan T. DeKok [Fri, 19 Jul 2019 13:41:25 +0000 (09:41 -0400)]
check return code. CID #
1445234
Alan T. DeKok [Fri, 19 Jul 2019 13:40:21 +0000 (09:40 -0400)]
we don't care about the return value here. CID #
1445232
Alan T. DeKok [Fri, 19 Jul 2019 13:29:53 +0000 (09:29 -0400)]
use the install path, too
Alan T. DeKok [Fri, 19 Jul 2019 13:12:31 +0000 (09:12 -0400)]
disable soname on Linux until we do more testing
Alan T. DeKok [Fri, 19 Jul 2019 12:01:30 +0000 (08:01 -0400)]
add version information to shared libraries. Helps with #1774
Alan T. DeKok [Fri, 19 Jul 2019 11:50:48 +0000 (07:50 -0400)]
add -soname on non-apple systems. Helps with #1774
Alan T. DeKok [Fri, 19 Jul 2019 10:58:11 +0000 (06:58 -0400)]
quiet compiler for now
We don't care much about leaking dl handles on exit.
Alan T. DeKok [Fri, 19 Jul 2019 01:14:06 +0000 (21:14 -0400)]
check for oom. CID #
1445646
Alan T. DeKok [Fri, 19 Jul 2019 01:10:48 +0000 (21:10 -0400)]
remember the libraries we dlopen'd. CID #
1445213
Alan T. DeKok [Fri, 19 Jul 2019 01:06:09 +0000 (21:06 -0400)]
use vpt->data as the start. CID #
1448186
because we're using sizeof(vpt->data) elsewhere
Alan T. DeKok [Fri, 19 Jul 2019 01:02:53 +0000 (21:02 -0400)]
check return code. CID #
1445244
Alan T. DeKok [Fri, 19 Jul 2019 01:01:04 +0000 (21:01 -0400)]
copy trailing zero. CID #
1448184
Alan T. DeKok [Fri, 19 Jul 2019 00:59:17 +0000 (20:59 -0400)]
check for memory allocation. CID #
1448180
Alan T. DeKok [Thu, 18 Jul 2019 18:19:30 +0000 (14:19 -0400)]
return on first found library. CID #
1445213
Alan T. DeKok [Thu, 18 Jul 2019 16:47:31 +0000 (12:47 -0400)]
just box a normal string, not a tainted one.
the previous commit fixes the printing routine to always escape
strings when they're being printed.
When tokenizing xlat strings, we presume (for now) that the input
is always safe. i.e. we don't allow %{%{User-Name}}.
If we do need to allow xlat parsing from tainted sources, then the
entire xlat API needs to be updated to mark the input with a
tainted flag
Alan T. DeKok [Thu, 18 Jul 2019 16:42:22 +0000 (12:42 -0400)]
Revert "Respect the taint value of boxes being fed to logging functions"
This reverts commit
012865619f8001b0903fa129ac44cff22e91fadd .
tainting and escaping are independent things. A tainted string
should still be escapted for \n and \t.
And for printing, we don't really care much about the taint flag.
* Code printing things to strings still needs \n and \r to be
escaped.
* Code copying value_boxes should use the value box copy functions,
which respects the taintng flag
Alan T. DeKok [Thu, 18 Jul 2019 16:31:08 +0000 (12:31 -0400)]
remove unnecessary "if"
Alan DeKok [Thu, 18 Jul 2019 14:20:28 +0000 (10:20 -0400)]
Merge pull request #2793 from jpereira/v4/fix-rlmcsv2
rlm_csv: Fix 'map csv {}' test
Alan DeKok [Thu, 18 Jul 2019 14:19:57 +0000 (10:19 -0400)]
Merge pull request #2790 from jpereira/v4/fix-vbox
Add fr_box_tainted()/fr_box_tainted_len() to respect taint values
Jorge Pereira [Wed, 17 Jul 2019 17:56:40 +0000 (14:56 -0300)]
Add fr_box_tainted()/fr_box_tainted_len() to respect taint values
The new both macros have an extra field to set the "taint" state.
Jorge Pereira [Wed, 17 Jul 2019 20:39:19 +0000 (17:39 -0300)]
rlm_csv: Fix 'map csv {}' test
As described in the csv_map_verify() in rlm_csv.c
"Left hand side of map must be an attribute or list"
Alan T. DeKok [Wed, 17 Jul 2019 22:09:09 +0000 (18:09 -0400)]
warnings aren't errors
Alan DeKok [Wed, 17 Jul 2019 21:54:07 +0000 (23:54 +0200)]
Merge pull request #2792 from jpereira/v4/cf1
cf_pair_parse_value() Print the 'tmpl' in debug mode
Jorge Pereira [Wed, 17 Jul 2019 21:51:12 +0000 (18:51 -0300)]
cf_pair_parse_value() Print the 'tmpl' in debug mode
Jorge Pereira [Tue, 16 Jul 2019 01:12:23 +0000 (22:12 -0300)]
_cf_item_next(): Check if 'CONF_ITEM' is valid
Jorge Pereira [Mon, 15 Jul 2019 22:00:20 +0000 (19:00 -0300)]
rlm_csv: Fix comparison of unsigned expression
Alan T. DeKok [Mon, 15 Jul 2019 07:11:26 +0000 (09:11 +0200)]
we're not LDAP
Arran Cudbard-Bell [Sun, 14 Jul 2019 23:48:53 +0000 (19:48 -0400)]
Use log lvl macros in more places and remove fr_log_fp in more places
Arran Cudbard-Bell [Sun, 14 Jul 2019 23:47:59 +0000 (19:47 -0400)]
Respect the taint value of boxes being fed to logging functions
i.e. not-tainted boxes don't get escaped
Alan T. DeKok [Sun, 14 Jul 2019 19:41:37 +0000 (21:41 +0200)]
allow filter operators, too
Alan T. DeKok [Sun, 14 Jul 2019 18:47:31 +0000 (20:47 +0200)]
allow prefix, too