]>
git.ipfire.org Git - thirdparty/freeradius-server.git/log
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
Alan T. DeKok [Sun, 14 Jul 2019 18:20:54 +0000 (20:20 +0200)]
use concat only for octets / string
Alan T. DeKok [Sun, 14 Jul 2019 18:18:39 +0000 (20:18 +0200)]
use MEM instead of explicit checks
Alan T. DeKok [Sun, 14 Jul 2019 18:17:02 +0000 (20:17 +0200)]
use ADDR not PREFIX
because PREFIX is really only for RADIUS packets.
Alan T. DeKok [Sat, 13 Jul 2019 15:52:00 +0000 (17:52 +0200)]
update functionality, docs, and tests
the `csv` module can now be used in-line.
Next step, adding support for "extra" fields, as with /etc/group
When that's done, we can get rid of rlm_passwd. Finally.
Alan T. DeKok [Sat, 13 Jul 2019 15:36:51 +0000 (17:36 +0200)]
use input names for lookups
Alan T. DeKok [Sat, 13 Jul 2019 14:53:25 +0000 (16:53 +0200)]
goto exit on success, not error
Alan T. DeKok [Sat, 13 Jul 2019 10:10:42 +0000 (12:10 +0200)]
doxygen
Alan T. DeKok [Sat, 13 Jul 2019 07:43:42 +0000 (09:43 +0200)]
print packets as decoded hex, not as one large hex blob
Alan T. DeKok [Sat, 13 Jul 2019 07:19:49 +0000 (09:19 +0200)]
fix debug output
Alan T. DeKok [Sat, 13 Jul 2019 07:04:07 +0000 (09:04 +0200)]
minor cleanups
Arran Cudbard-Bell [Fri, 12 Jul 2019 21:12:32 +0000 (17:12 -0400)]
Set type of vector buffers
Arran Cudbard-Bell [Fri, 12 Jul 2019 20:12:41 +0000 (16:12 -0400)]
Fix format specifier
Arran Cudbard-Bell [Fri, 12 Jul 2019 17:28:04 +0000 (13:28 -0400)]
Use correct format specifier
Arran Cudbard-Bell [Fri, 12 Jul 2019 17:03:28 +0000 (13:03 -0400)]
Macro not used
Arran Cudbard-Bell [Fri, 12 Jul 2019 16:52:20 +0000 (12:52 -0400)]
Remove some uses of fr_log_fp
Should use the standard logging functions where available
Arran Cudbard-Bell [Fri, 12 Jul 2019 15:58:20 +0000 (11:58 -0400)]
Remove fr_printf_log
Alan T. DeKok [Fri, 12 Jul 2019 15:50:05 +0000 (17:50 +0200)]
set debug level for requests, too
it may be better to have these as flags
Alan T. DeKok [Fri, 12 Jul 2019 15:25:57 +0000 (17:25 +0200)]
never hurts to close the socket FD, too
Alan T. DeKok [Fri, 12 Jul 2019 15:16:41 +0000 (17:16 +0200)]
we don't require a secret unless the server requires one
Arran Cudbard-Bell [Fri, 12 Jul 2019 14:48:18 +0000 (10:48 -0400)]
We won't always have JIT support in libpcre2
Alan T. DeKok [Wed, 10 Jul 2019 19:30:17 +0000 (21:30 +0200)]
track alive clients by IP, not by pending packets
Jorge Pereira [Tue, 9 Jul 2019 01:28:59 +0000 (22:28 -0300)]
scripts/asciidoc/pandoc-filter: Add checks for JSON.pm
Jorge Pereira [Tue, 9 Jul 2019 18:38:08 +0000 (15:38 -0300)]
Verify first if we could disable -Wdocumentation
Jorge Pereira [Tue, 9 Jul 2019 17:48:22 +0000 (14:48 -0300)]
configure.ac: Fix typo
Alan T. DeKok [Tue, 9 Jul 2019 13:29:01 +0000 (15:29 +0200)]
don't clean adoc files tracked by git
Alan T. DeKok [Tue, 9 Jul 2019 13:24:31 +0000 (15:24 +0200)]
error out on "build doc" targets when no tools are available
Alan T. DeKok [Tue, 9 Jul 2019 13:13:47 +0000 (15:13 +0200)]
don't build docs on "make install"
require "make install.doc", which makes sense for new CC-by-NC 4.0
license
Jorge Pereira [Tue, 9 Jul 2019 00:47:02 +0000 (21:47 -0300)]
clang: Don't use '-Werror,-Wdocumentation' for some third headers.
Arran Cudbard-Bell [Mon, 8 Jul 2019 18:28:25 +0000 (14:28 -0400)]
Emit virtual server name on validation errors
Arran Cudbard-Bell [Sun, 7 Jul 2019 01:07:20 +0000 (21:07 -0400)]
Minor cleanups in unlang compile
Dup section name when building unlang group
Jorge Pereira [Thu, 4 Jul 2019 18:30:33 +0000 (15:30 -0300)]
rlm_ldap: Add 'allow_dangling_group_ref' option.
Jorge Pereira [Thu, 4 Jul 2019 18:29:39 +0000 (15:29 -0300)]
rlm_ldap: separare "noop" from "invalid".
Terry Burton [Sun, 30 Jun 2019 00:33:50 +0000 (01:33 +0100)]
rlm_postgresql: Honour query_timeout during connect
Terry Burton [Fri, 28 Jun 2019 15:07:45 +0000 (16:07 +0100)]
rlm-postgresql: Fail connection when receiving a signal other than EINTR.
Terry Burton [Sun, 23 Jun 2019 23:56:25 +0000 (00:56 +0100)]
Implement query_timeout on socket read for rlm_postgresql
Jeff Kawa [Thu, 27 Jun 2019 15:58:43 +0000 (10:58 -0500)]
Added Tripplite header to dictionary
Jeff Kawa [Thu, 27 Jun 2019 15:51:48 +0000 (10:51 -0500)]
Add tripplite dictionary and update dictionary file to include tripplite dicitonary
Alan DeKok [Thu, 27 Jun 2019 14:05:13 +0000 (10:05 -0400)]
Merge pull request #2758 from elipsion/patch-1
Update dictionary.rfc8045