]>
git.ipfire.org Git - thirdparty/freeradius-server.git/log
Alan T. DeKok [Thu, 15 Aug 2019 12:55:20 +0000 (08:55 -0400)]
more consistency
Terry Burton [Thu, 15 Aug 2019 13:56:06 +0000 (14:56 +0100)]
Cleanup stray reference to evs type
Related to
c43d2b1aa3f9a4e29cc8b3b1b432d5622b26c58d .
Alan T. DeKok [Thu, 15 Aug 2019 12:46:13 +0000 (08:46 -0400)]
cleanups and consistency pass
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
Jorge Pereira [Thu, 15 Aug 2019 03:55:40 +0000 (00:55 -0300)]
doc: Fix section title from markdown to asciidoc (#2895)
Jorge Pereira [Thu, 15 Aug 2019 02:39:31 +0000 (23:39 -0300)]
doc: Fix the topic level0 for Unlang docs (#2894)
Jorge Pereira [Thu, 15 Aug 2019 00:45:26 +0000 (21:45 -0300)]
Fix typos in doc/unlang/xlat*.adoc (#2893)
Arran Cudbard-Bell [Thu, 15 Aug 2019 00:33:55 +0000 (20:33 -0400)]
Reduce fixup pool size
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 .
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 .
Arran Cudbard-Bell [Wed, 14 Aug 2019 23:29:45 +0000 (19:29 -0400)]
Sign and formatting fixes
Arran Cudbard-Bell [Wed, 14 Aug 2019 23:03:14 +0000 (19:03 -0400)]
Not needed
This should be part of the reference docs.
Arran Cudbard-Bell [Wed, 14 Aug 2019 22:47:42 +0000 (18:47 -0400)]
Document -1 length value for fr_table_num_by_substr
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
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
Arran Cudbard-Bell [Wed, 14 Aug 2019 22:01:53 +0000 (18:01 -0400)]
Add longest prefix function for ordered tables too
Arran Cudbard-Bell [Wed, 14 Aug 2019 21:30:16 +0000 (17:30 -0400)]
s/fr_table_t/fr_table_sorted_t/g
Arran Cudbard-Bell [Wed, 14 Aug 2019 21:28:44 +0000 (17:28 -0400)]
Efficient table lookups, phase 2
Alan T. DeKok [Wed, 14 Aug 2019 19:56:46 +0000 (15:56 -0400)]
use standard quotation marks. Fixes #2888
Jorge Pereira [Wed, 14 Aug 2019 19:25:51 +0000 (16:25 -0300)]
Fix wrong include of 'string.h'
Alan T. DeKok [Wed, 14 Aug 2019 18:48:20 +0000 (14:48 -0400)]
int2str fix
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.
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
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.
Alan T. DeKok [Wed, 14 Aug 2019 16:35:30 +0000 (12:35 -0400)]
enforce flags / types baed on parent attribute
Alan T. DeKok [Wed, 14 Aug 2019 16:33:52 +0000 (12:33 -0400)]
fix / clarify error messages
Alan T. DeKok [Wed, 14 Aug 2019 16:28:59 +0000 (12:28 -0400)]
set "type_size" for PROTOCOLs
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
Arran Cudbard-Bell [Tue, 13 Aug 2019 18:28:54 +0000 (14:28 -0400)]
Efficient table lookups, phase 1
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)
Alan T. DeKok [Wed, 14 Aug 2019 02:33:36 +0000 (22:33 -0400)]
fix .md to .adoc link here, too
Jorge Pereira [Tue, 13 Aug 2019 23:34:29 +0000 (20:34 -0300)]
doc: Fix references from *.md to *.adoc links (#2885)
Alan T. DeKok [Tue, 13 Aug 2019 21:40:36 +0000 (17:40 -0400)]
shut up compiler
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.
Alan T. DeKok [Tue, 13 Aug 2019 20:58:14 +0000 (16:58 -0400)]
allow octets[n] in previous MEMBERs, too
Alan T. DeKok [Tue, 13 Aug 2019 20:50:17 +0000 (16:50 -0400)]
allow fixed-size "octet" fields in structs
Alan T. DeKok [Tue, 13 Aug 2019 19:56:03 +0000 (15:56 -0400)]
encode structs, and add tests for them
Alan T. DeKok [Tue, 13 Aug 2019 19:54:07 +0000 (15:54 -0400)]
allow RFC attributes to be of type "struct"
Jorge Pereira [Tue, 13 Aug 2019 18:54:23 +0000 (15:54 -0300)]
doc: Don't append extras '/'
Jorge Pereira [Tue, 13 Aug 2019 18:27:59 +0000 (15:27 -0300)]
Don't need to process *.md in doc/ anymore (#2882)
We do not have any *.md in doc/, so don't need it.
Jorge Pereira [Tue, 13 Aug 2019 18:20:16 +0000 (15:20 -0300)]
doc: Convert doc/raddb/mods-available/README.adoc (#2881)
* doc: Rename doc/raddb/mods-available/README.{md,adoc}
* doc: Convert doc/raddb/mods-available/README.adoc from markdown to asciidoc
Jorge Pereira [Tue, 13 Aug 2019 18:10:30 +0000 (15:10 -0300)]
doc: Convert doc/raddb/mods-config/README.adoc from markdown to asciidoc (#2880)
* doc: Rename doc/raddb/mods-config/README.{md,adoc}
* doc: Convert doc/raddb/mods-config/README.adoc from markdown to asciidoc
Jorge Pereira [Tue, 13 Aug 2019 17:52:27 +0000 (14:52 -0300)]
doc: Convert doc/raddb/README.adoc from markdown to asciidoc (#2879)
* doc: Rename doc/raddb/README.{md,adoc}
* doc: Convert doc/raddb/README.adoc from markdown to asciidoc
Jorge Pereira [Tue, 13 Aug 2019 17:51:52 +0000 (14:51 -0300)]
doc: Convert doc/directories.adoc from markdown to asciidoc (#2878)
* doc: Rename doc/directories.{md,adoc}
* doc: Convert doc/directories.adoc from markdown to asciidoc
Jorge Pereira [Tue, 13 Aug 2019 16:56:32 +0000 (13:56 -0300)]
doc: Convert doc/README.md to doc/README.adoc (#2832)
Alan T. DeKok [Tue, 13 Aug 2019 15:37:42 +0000 (11:37 -0400)]
remove hack
Alan T. DeKok [Tue, 13 Aug 2019 15:32:26 +0000 (11:32 -0400)]
loop detect on calling instruction, which is simpler
as it gets us virtual server, packet types, etc.
Alan T. DeKok [Tue, 13 Aug 2019 15:24:28 +0000 (11:24 -0400)]
Remove previous hacks to cf_data_find() and use CF_IDENT_ANY
with the caveat that the caller needs to use _cf_data_find(),
so that we are not looking for talloc type "CF_IDENT_ANY"
Alan T. DeKok [Tue, 13 Aug 2019 14:16:14 +0000 (10:16 -0400)]
formatting
Alan T. DeKok [Tue, 13 Aug 2019 14:15:55 +0000 (10:15 -0400)]
format it
Alan T. DeKok [Tue, 13 Aug 2019 14:15:15 +0000 (10:15 -0400)]
format STRUCT, too
Alan T. DeKok [Tue, 13 Aug 2019 13:49:04 +0000 (09:49 -0400)]
parse sub-structs
Alan T. DeKok [Tue, 13 Aug 2019 13:48:29 +0000 (09:48 -0400)]
more sanity check on STRUCT
that the parent MUST be of type 'struct'
that the previous MEMBER MUST be of fixed size
Alan T. DeKok [Tue, 13 Aug 2019 13:35:34 +0000 (09:35 -0400)]
don't check data types when looking up children
We already check for da->children. If there are no children,
then we can return, independent of data types. The rest of the
code (i.e. adding attributes) ensures that children are added
only when necessary
Alan T. DeKok [Tue, 13 Aug 2019 12:24:10 +0000 (08:24 -0400)]
clean up and rearrange
Alan T. DeKok [Tue, 13 Aug 2019 03:19:40 +0000 (23:19 -0400)]
don't have NULL entries.
NULL is used to signal the end of the list. It shouldn't be used
as the *first* member of the list.
Alan T. DeKok [Tue, 13 Aug 2019 00:14:35 +0000 (20:14 -0400)]
use .Example instead of anything else
Alan T. DeKok [Tue, 13 Aug 2019 00:10:54 +0000 (20:10 -0400)]
reformat to follow the standard style
Alan T. DeKok [Mon, 12 Aug 2019 23:54:40 +0000 (19:54 -0400)]
allow calling the same server if the packet types are different
so that we can receive an Access-Request, create a subrequest
of Accounting-Request, and then call ourselves to create a fake
"start" packet
Alan T. DeKok [Mon, 12 Aug 2019 23:49:59 +0000 (19:49 -0400)]
prevent "call" loops
Alan T. DeKok [Mon, 12 Aug 2019 23:37:37 +0000 (19:37 -0400)]
word smithing
Alan T. DeKok [Mon, 12 Aug 2019 23:32:42 +0000 (19:32 -0400)]
define Q if necessary
Alan T. DeKok [Mon, 12 Aug 2019 23:25:41 +0000 (19:25 -0400)]
add documentation for "call"
Alan T. DeKok [Mon, 12 Aug 2019 23:15:34 +0000 (19:15 -0400)]
run the child request through the "call" subsection
* call FOO means
* call virtual server FOO with a subrequest
* then run the subrequest through the subsection of the CALL
* in order to get post-processing of the reply packet
i.e. to copy packet types, etc.
Jorge Pereira [Mon, 12 Aug 2019 21:15:30 +0000 (18:15 -0300)]
docker: The target 'crossbuild' needs the package 'rsync' previously
installed into the images
Jorge Pereira [Mon, 12 Aug 2019 21:06:45 +0000 (18:06 -0300)]
Allow 'make crossbuild' to use 'Q='
Jorge Pereira [Mon, 12 Aug 2019 22:32:58 +0000 (19:32 -0300)]
doc: Convert doc/schemas/logstash/README.{md,adoc} (#2877)
Alan T. DeKok [Mon, 12 Aug 2019 20:57:43 +0000 (16:57 -0400)]
maybe "type" can be NULL
Alan T. DeKok [Mon, 12 Aug 2019 20:56:39 +0000 (16:56 -0400)]
README.md no longer exists. Don't install it.
Alan T. DeKok [Mon, 12 Aug 2019 20:39:38 +0000 (16:39 -0400)]
fix up debug output
Alan T. DeKok [Mon, 12 Aug 2019 20:20:48 +0000 (16:20 -0400)]
re-implement "call" based on subrequest.c
Hopefully yield, etc. will work. Not well tested for now.
Alan T. DeKok [Mon, 12 Aug 2019 20:18:58 +0000 (16:18 -0400)]
add special data type "void" for cf_data_find()
when we want to find a named instance, BUT where we don't know
the talloc type.
Alan T. DeKok [Mon, 12 Aug 2019 20:17:52 +0000 (16:17 -0400)]
check if types match in cf_find() when ident1 == CF_IDENT_ANY
That way we can return the thing we want, not some random similar
thing.
Alan T. DeKok [Mon, 12 Aug 2019 19:53:54 +0000 (15:53 -0400)]
add the "call" syntax and handlers
Alan T. DeKok [Mon, 12 Aug 2019 18:56:08 +0000 (14:56 -0400)]
fix comments and clean up
unlang_subrequest_push() no longer calls unlang_subrequest()
So the comments and code handling that are not necessary
Alan T. DeKok [Mon, 12 Aug 2019 18:34:40 +0000 (14:34 -0400)]
remove unnecessary assert
Alan T. DeKok [Mon, 12 Aug 2019 18:34:24 +0000 (14:34 -0400)]
document "detach" parameter
Alan T. DeKok [Mon, 12 Aug 2019 17:59:47 +0000 (13:59 -0400)]
word smithing
and add reference to "call".
Alan T. DeKok [Mon, 12 Aug 2019 17:31:49 +0000 (13:31 -0400)]
moved and cleaned up
Alan T. DeKok [Mon, 12 Aug 2019 17:24:40 +0000 (13:24 -0400)]
we don't need this any more
Alan T. DeKok [Mon, 12 Aug 2019 15:17:00 +0000 (11:17 -0400)]
clean up loop in unlang_interpret_synchronous()
Alan T. DeKok [Mon, 12 Aug 2019 14:59:31 +0000 (10:59 -0400)]
don't use request->password
Alan T. DeKok [Mon, 12 Aug 2019 13:41:24 +0000 (09:41 -0400)]
allow hex, too
Alan T. DeKok [Mon, 12 Aug 2019 13:36:11 +0000 (09:36 -0400)]
set state->result, too
Alan T. DeKok [Mon, 12 Aug 2019 13:34:47 +0000 (09:34 -0400)]
build fixes
Alan T. DeKok [Mon, 12 Aug 2019 13:28:10 +0000 (09:28 -0400)]
sort output names so things are easier to find
Alan T. DeKok [Mon, 12 Aug 2019 13:13:49 +0000 (09:13 -0400)]
clean up loop in unlang_interpret_synchronous()
Alan T. DeKok [Mon, 12 Aug 2019 12:30:43 +0000 (08:30 -0400)]
add tmp-float-0, and do floating point comparison in tests
Alan T. DeKok [Mon, 12 Aug 2019 11:28:31 +0000 (07:28 -0400)]
handle child requests in unlang_interpret_synchronous()
if the parent finishes, BUT there are still children, then keep
running the children until they're done, too.
Then, clean up the children.
Alan T. DeKok [Mon, 12 Aug 2019 00:21:20 +0000 (20:21 -0400)]
set state_ctx to talloc_ctx, not to VPS
Alan T. DeKok [Sun, 11 Aug 2019 16:40:47 +0000 (12:40 -0400)]
free child on error, too
Alan T. DeKok [Sun, 11 Aug 2019 14:26:25 +0000 (10:26 -0400)]
document Request-Lifetime for detach
Alan T. DeKok [Sun, 11 Aug 2019 14:26:05 +0000 (10:26 -0400)]
run-time attribute issues are debug messages
so that they don't pollute the main log file
Alan T. DeKok [Sun, 11 Aug 2019 13:51:58 +0000 (09:51 -0400)]
word smithing
Alan T. DeKok [Sun, 11 Aug 2019 13:51:46 +0000 (09:51 -0400)]
add documentation
Alan T. DeKok [Sun, 11 Aug 2019 12:48:31 +0000 (08:48 -0400)]
add "parallel detach" syntax
which starts all children in the detached state
Alan T. DeKok [Sun, 11 Aug 2019 12:29:29 +0000 (08:29 -0400)]
add simple test that "parallel empty" parses
Alan T. DeKok [Sun, 11 Aug 2019 12:27:19 +0000 (08:27 -0400)]
as of
02433d85 , the parent does *not* have to be "subrequest"
Alan T. DeKok [Sat, 10 Aug 2019 18:05:35 +0000 (14:05 -0400)]
typo
Jorge Pereira [Fri, 9 Aug 2019 19:57:42 +0000 (16:57 -0300)]
rlm_sql_oracle: We only support Oracle >= 11