]>
git.ipfire.org Git - thirdparty/freeradius-server.git/log
Alan T. DeKok [Thu, 24 Oct 2019 13:57:17 +0000 (09:57 -0400)]
check for fixed-size fields
Alan T. DeKok [Thu, 24 Oct 2019 13:56:22 +0000 (09:56 -0400)]
copy truncated value, not all of it
Alan T. DeKok [Thu, 24 Oct 2019 13:05:49 +0000 (09:05 -0400)]
fix encoding of keyed child structures
Arran Cudbard-Bell [Thu, 24 Oct 2019 11:41:09 +0000 (07:41 -0400)]
Correct bonus tasks
Arran Cudbard-Bell [Thu, 24 Oct 2019 11:39:03 +0000 (07:39 -0400)]
Another typo
Arran Cudbard-Bell [Thu, 24 Oct 2019 11:32:37 +0000 (07:32 -0400)]
Fix issue with final group project
Arran Cudbard-Bell [Thu, 24 Oct 2019 10:45:23 +0000 (06:45 -0400)]
Add final exercise
Alan T. DeKok [Wed, 23 Oct 2019 23:57:03 +0000 (19:57 -0400)]
more static analyzer fixes
Alan T. DeKok [Wed, 23 Oct 2019 23:33:48 +0000 (19:33 -0400)]
quiet static analyzer
Alan T. DeKok [Wed, 23 Oct 2019 23:20:32 +0000 (19:20 -0400)]
remove debug stuff
Alan T. DeKok [Wed, 23 Oct 2019 23:17:53 +0000 (19:17 -0400)]
add fuzzer
Alan T. DeKok [Wed, 23 Oct 2019 22:51:33 +0000 (18:51 -0400)]
append raw vp to output struct
Alan T. DeKok [Wed, 23 Oct 2019 22:28:39 +0000 (18:28 -0400)]
free vp if we get decode error
Alan T. DeKok [Wed, 23 Oct 2019 21:15:28 +0000 (17:15 -0400)]
try to quiet static analyzer
Alan T. DeKok [Wed, 23 Oct 2019 19:58:52 +0000 (15:58 -0400)]
fr_pair_afrom_da() now copies unknown da's
which means that the caller has to free them. So we check all of
the callers of fr_dict_unknown_afrom_fields(), and up them to
free the unknown da's.
For RADIUS, this means allocating a temporary talloc_ctx. That
context is used for allocating all unknown da's. Then, then
fr_radius_decode_pair() is done, it frees the tmp_ctx.
That pattern means we don't have to explicitly free the da's
in every function, and also that the unknown da's are freed
relatively quickly.
Alan T. DeKok [Wed, 23 Oct 2019 19:55:56 +0000 (15:55 -0400)]
nope. Remove dependencies on $INCLUDE, too
Alan T. DeKok [Wed, 23 Oct 2019 19:44:03 +0000 (15:44 -0400)]
free unknown parents if necessary
Alan T. DeKok [Wed, 23 Oct 2019 18:16:16 +0000 (14:16 -0400)]
use INCLUDE instead of CFLAGS
Alan T. DeKok [Wed, 23 Oct 2019 16:54:30 +0000 (12:54 -0400)]
add do / while wrapper so that the caller uses ';' to end lines
Alan T. DeKok [Wed, 23 Oct 2019 16:52:34 +0000 (12:52 -0400)]
check for child attribute overflowing input buffer
Alan T. DeKok [Wed, 23 Oct 2019 14:59:16 +0000 (10:59 -0400)]
remove extraneous semicolons
Alan T. DeKok [Wed, 23 Oct 2019 14:50:11 +0000 (10:50 -0400)]
use CFLAGS for broken systems
Arran Cudbard-Bell [Wed, 23 Oct 2019 13:35:48 +0000 (09:35 -0400)]
Fixup deprecated detailperm config item
Arran Cudbard-Bell [Wed, 23 Oct 2019 13:26:54 +0000 (09:26 -0400)]
Update example
Arran Cudbard-Bell [Wed, 23 Oct 2019 13:17:56 +0000 (09:17 -0400)]
Need to include basic auth
Alan T. DeKok [Wed, 23 Oct 2019 12:57:00 +0000 (08:57 -0400)]
fix up memcpy_bounded()
Alan T. DeKok [Wed, 23 Oct 2019 12:52:40 +0000 (08:52 -0400)]
skip fragments with no data
Alan T. DeKok [Wed, 23 Oct 2019 12:25:21 +0000 (08:25 -0400)]
add protocol test point for RADIUS
Alan T. DeKok [Wed, 23 Oct 2019 11:43:42 +0000 (07:43 -0400)]
rename tp_decode to tp_decode_pair
in preparation for allowing decoding of packets
Arran Cudbard-Bell [Wed, 23 Oct 2019 11:38:37 +0000 (07:38 -0400)]
default.d not conf.d
Arran Cudbard-Bell [Wed, 23 Oct 2019 10:55:36 +0000 (06:55 -0400)]
Cleanup horrible formatting in coding-methods.adoc
Arran Cudbard-Bell [Wed, 23 Oct 2019 10:36:55 +0000 (06:36 -0400)]
Add some basic resources for the REST module
Arran Cudbard-Bell [Tue, 22 Oct 2019 23:54:09 +0000 (19:54 -0400)]
Trim the sections to what we have content for
Arran Cudbard-Bell [Tue, 22 Oct 2019 22:56:38 +0000 (18:56 -0400)]
Move LDAP configuration to base_configuration folder
We'll probably want to split it up at some point
Alan T. DeKok [Wed, 23 Oct 2019 02:17:11 +0000 (22:17 -0400)]
look at variable, not parent flag.
which is still correct, and which also shuts up the static
analyzer
Alan T. DeKok [Wed, 23 Oct 2019 01:54:58 +0000 (21:54 -0400)]
input packet is 'const'
Alan T. DeKok [Wed, 23 Oct 2019 01:14:16 +0000 (21:14 -0400)]
call normal struct functions to encode a structure
Alan T. DeKok [Wed, 23 Oct 2019 00:43:23 +0000 (20:43 -0400)]
rename functions based on source filename
Alan T. DeKok [Tue, 22 Oct 2019 23:11:58 +0000 (19:11 -0400)]
move DNS functions to src/lib/util/dns.[ch]
Alan T. DeKok [Tue, 22 Oct 2019 21:26:45 +0000 (17:26 -0400)]
more comments describing the algorithm
Arran Cudbard-Bell [Tue, 22 Oct 2019 22:29:51 +0000 (18:29 -0400)]
Remove newlines
Arran Cudbard-Bell [Tue, 22 Oct 2019 22:28:20 +0000 (18:28 -0400)]
Consistency
Arran Cudbard-Bell [Tue, 22 Oct 2019 22:27:08 +0000 (18:27 -0400)]
Move error message to the correct location
Jorge Pereira [Tue, 22 Oct 2019 20:38:01 +0000 (17:38 -0300)]
Remove tests with DNS resolution
It could fail due to don't have a valid ipv6 interface and may be slow
the tests.
Alan T. DeKok [Tue, 22 Oct 2019 19:44:01 +0000 (15:44 -0400)]
try to shut up static analyzer
Jan Hugo Prins [Tue, 22 Oct 2019 13:52:07 +0000 (15:52 +0200)]
Added Fabric-Attach VSA's to the Nortel Dictionary.
Jorge Pereira [Tue, 22 Oct 2019 00:25:43 +0000 (21:25 -0300)]
Add extra DHCPv6/rfc3319 tests with short/long ipv6 addresses
Jorge Pereira [Tue, 22 Oct 2019 00:11:41 +0000 (21:11 -0300)]
Move DHCPv6/rfc3319 tests to src/tests/unit/dhcpv6_rfc3319.txt
Alan DeKok [Tue, 22 Oct 2019 19:39:26 +0000 (15:39 -0400)]
Merge pull request #3059 from jpereira/v4/clean1
Clean up unnecessary files
Alan T. DeKok [Tue, 22 Oct 2019 19:21:59 +0000 (15:21 -0400)]
add decoding for DNS labels
Alan T. DeKok [Tue, 22 Oct 2019 18:50:49 +0000 (14:50 -0400)]
write our own simple case insensitive comparison
Jorge Pereira [Tue, 22 Oct 2019 16:01:13 +0000 (13:01 -0300)]
travis: Enable IPv6 (#3060)
Alan T. DeKok [Tue, 22 Oct 2019 14:49:26 +0000 (10:49 -0400)]
try to shut up analyzer
Alan T. DeKok [Tue, 22 Oct 2019 14:46:32 +0000 (10:46 -0400)]
don't box values which are already printable
Alan T. DeKok [Tue, 22 Oct 2019 13:44:38 +0000 (09:44 -0400)]
add simple DHCPv6 option decoder.
Right now it only handles a limited set of things, but it's
a start
Alan T. DeKok [Tue, 22 Oct 2019 13:43:58 +0000 (09:43 -0400)]
it helps to print errors so that we see WTF is going on
Arran Cudbard-Bell [Tue, 22 Oct 2019 13:18:01 +0000 (09:18 -0400)]
Correct quoting in group examples
Alan T. DeKok [Tue, 22 Oct 2019 12:55:28 +0000 (08:55 -0400)]
move search ahead more aggressively, and add test cases
Arran Cudbard-Bell [Tue, 22 Oct 2019 12:06:04 +0000 (08:06 -0400)]
Fix overzealous single quoting
Alan T. DeKok [Tue, 22 Oct 2019 12:02:49 +0000 (08:02 -0400)]
document the compression algorithm in some detail
Arran Cudbard-Bell [Tue, 22 Oct 2019 11:55:50 +0000 (07:55 -0400)]
Fix typo s/posixUser/posixAccount/g
Arran Cudbard-Bell [Tue, 22 Oct 2019 11:25:20 +0000 (07:25 -0400)]
Remove cruft
Arran Cudbard-Bell [Tue, 22 Oct 2019 10:59:47 +0000 (06:59 -0400)]
Various tweaks, and information on performing group checks
Arran Cudbard-Bell [Tue, 22 Oct 2019 09:51:52 +0000 (05:51 -0400)]
Break out more 'authorize' content
Arran Cudbard-Bell [Mon, 21 Oct 2019 22:28:43 +0000 (18:28 -0400)]
Other minor fixes
Arran Cudbard-Bell [Mon, 21 Oct 2019 22:23:18 +0000 (18:23 -0400)]
Provide examples of what to record
Arran Cudbard-Bell [Mon, 21 Oct 2019 22:18:04 +0000 (18:18 -0400)]
Restructure "locating objects"
Jorge Pereira [Mon, 21 Oct 2019 21:18:07 +0000 (18:18 -0300)]
Clean up unnecessary files
Alan T. DeKok [Mon, 21 Oct 2019 21:16:54 +0000 (17:16 -0400)]
enable search optimization and test case
Alan T. DeKok [Mon, 21 Oct 2019 20:27:43 +0000 (16:27 -0400)]
doxygen and more comments
Alan T. DeKok [Mon, 21 Oct 2019 20:22:33 +0000 (16:22 -0400)]
speed up the search a bit by changing the search start
so that we start searching from where compression succeeded,
and not from the start of the input buffer.
Alan T. DeKok [Mon, 21 Oct 2019 19:36:14 +0000 (15:36 -0400)]
compress DNS labels recursively.
Which ends up being O(N+M) instead of O(N^2)
Alan T. DeKok [Mon, 21 Oct 2019 16:42:13 +0000 (12:42 -0400)]
allow for uncompressed labels, and add unit tests
Alan T. DeKok [Mon, 21 Oct 2019 16:28:59 +0000 (12:28 -0400)]
add support for uncompressed DNS labels
Arran Cudbard-Bell [Mon, 21 Oct 2019 15:11:56 +0000 (11:11 -0400)]
Minor grammar issue
Arran Cudbard-Bell [Mon, 21 Oct 2019 15:10:24 +0000 (11:10 -0400)]
Typo
Arran Cudbard-Bell [Mon, 21 Oct 2019 15:09:07 +0000 (11:09 -0400)]
Fixup example to reference previous section more
Arran Cudbard-Bell [Mon, 21 Oct 2019 14:49:46 +0000 (10:49 -0400)]
Fix spelling issue
Arran Cudbard-Bell [Mon, 21 Oct 2019 14:33:53 +0000 (10:33 -0400)]
Fix typos and sync example servers
Arran Cudbard-Bell [Mon, 21 Oct 2019 14:17:43 +0000 (10:17 -0400)]
Sync examples with previous setup doc
Arran Cudbard-Bell [Mon, 21 Oct 2019 14:13:40 +0000 (10:13 -0400)]
Document 'No such object'
Arran Cudbard-Bell [Mon, 21 Oct 2019 13:25:52 +0000 (09:25 -0400)]
Sync example output
Alan T. DeKok [Mon, 21 Oct 2019 13:03:30 +0000 (09:03 -0400)]
clean up and rename for clarity
Alan T. DeKok [Mon, 21 Oct 2019 13:03:18 +0000 (09:03 -0400)]
0 is invalid, too
Alan T. DeKok [Mon, 21 Oct 2019 12:44:32 +0000 (08:44 -0400)]
remove special-case for '.'
Arran Cudbard-Bell [Mon, 21 Oct 2019 10:53:00 +0000 (06:53 -0400)]
Fix error message
Arran Cudbard-Bell [Mon, 21 Oct 2019 10:43:19 +0000 (06:43 -0400)]
Remove duplicate content
Arran Cudbard-Bell [Mon, 21 Oct 2019 02:24:32 +0000 (22:24 -0400)]
Missed full stop
Arran Cudbard-Bell [Mon, 21 Oct 2019 02:18:30 +0000 (22:18 -0400)]
Break up LDAP howto pages into yet smaller pages
Arran Cudbard-Bell [Sun, 20 Oct 2019 23:14:36 +0000 (19:14 -0400)]
Create a concepts doc module and move concepts pages there
Reorganise LDAP howto files
Alan T. DeKok [Sun, 20 Oct 2019 22:46:26 +0000 (18:46 -0400)]
decode multiple DNS labels for the tests
and fix issues with the decoder.
Arran Cudbard-Bell [Sun, 20 Oct 2019 19:59:28 +0000 (15:59 -0400)]
Add docs on bootstrapping an OpenLDAP test instance
Terry Burton [Sun, 20 Oct 2019 16:21:26 +0000 (17:21 +0100)]
MySQL sqlippools: Find and allocate stored procedure (#3051)
Alan T. DeKok [Sun, 20 Oct 2019 15:54:57 +0000 (11:54 -0400)]
add value box from dns label functions
and decode test.
it doesn't decode multiple labels right now, but that's easy
enough to add later.
Alan T. DeKok [Sat, 19 Oct 2019 22:10:22 +0000 (18:10 -0400)]
fix count
Alan T. DeKok [Sat, 19 Oct 2019 21:41:39 +0000 (17:41 -0400)]
allow dns_label,array as DHCPv6 flags
and add into the tests
Alan T. DeKok [Sat, 19 Oct 2019 21:36:55 +0000 (17:36 -0400)]
typo
Alan T. DeKok [Sat, 19 Oct 2019 21:17:36 +0000 (17:17 -0400)]
encode attributes with "dns_label" flag set.
Alan T. DeKok [Sat, 19 Oct 2019 21:16:09 +0000 (17:16 -0400)]
add function which gets the compressed length of a dns label
as the first pass to decompressing a DNS label
Alan T. DeKok [Sat, 19 Oct 2019 21:13:43 +0000 (17:13 -0400)]
comments and updates