]> git.ipfire.org Git - thirdparty/freeradius-server.git/log
thirdparty/freeradius-server.git
6 years agocheck for fixed-size fields
Alan T. DeKok [Thu, 24 Oct 2019 13:57:17 +0000 (09:57 -0400)] 
check for fixed-size fields

6 years agocopy truncated value, not all of it
Alan T. DeKok [Thu, 24 Oct 2019 13:56:22 +0000 (09:56 -0400)] 
copy truncated value, not all of it

6 years agofix encoding of keyed child structures
Alan T. DeKok [Thu, 24 Oct 2019 13:05:49 +0000 (09:05 -0400)] 
fix encoding of keyed child structures

6 years agoCorrect bonus tasks
Arran Cudbard-Bell [Thu, 24 Oct 2019 11:41:09 +0000 (07:41 -0400)] 
Correct bonus tasks

6 years agoAnother typo
Arran Cudbard-Bell [Thu, 24 Oct 2019 11:39:03 +0000 (07:39 -0400)] 
Another typo

6 years agoFix issue with final group project
Arran Cudbard-Bell [Thu, 24 Oct 2019 11:32:37 +0000 (07:32 -0400)] 
Fix issue with final group project

6 years agoAdd final exercise
Arran Cudbard-Bell [Thu, 24 Oct 2019 10:45:23 +0000 (06:45 -0400)] 
Add final exercise

6 years agomore static analyzer fixes
Alan T. DeKok [Wed, 23 Oct 2019 23:57:03 +0000 (19:57 -0400)] 
more static analyzer fixes

6 years agoquiet static analyzer
Alan T. DeKok [Wed, 23 Oct 2019 23:33:48 +0000 (19:33 -0400)] 
quiet static analyzer

6 years agoremove debug stuff
Alan T. DeKok [Wed, 23 Oct 2019 23:20:32 +0000 (19:20 -0400)] 
remove debug stuff

6 years agoadd fuzzer
Alan T. DeKok [Wed, 23 Oct 2019 23:17:53 +0000 (19:17 -0400)] 
add fuzzer

6 years agoappend raw vp to output struct
Alan T. DeKok [Wed, 23 Oct 2019 22:51:33 +0000 (18:51 -0400)] 
append raw vp to output struct

6 years agofree vp if we get decode error
Alan T. DeKok [Wed, 23 Oct 2019 22:28:39 +0000 (18:28 -0400)] 
free vp if we get decode error

6 years agotry to quiet static analyzer
Alan T. DeKok [Wed, 23 Oct 2019 21:15:28 +0000 (17:15 -0400)] 
try to quiet static analyzer

6 years agofr_pair_afrom_da() now copies unknown da's
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.

6 years agonope. Remove dependencies on $INCLUDE, too
Alan T. DeKok [Wed, 23 Oct 2019 19:55:56 +0000 (15:55 -0400)] 
nope.  Remove dependencies on $INCLUDE, too

6 years agofree unknown parents if necessary
Alan T. DeKok [Wed, 23 Oct 2019 19:44:03 +0000 (15:44 -0400)] 
free unknown parents if necessary

6 years agouse INCLUDE instead of CFLAGS
Alan T. DeKok [Wed, 23 Oct 2019 18:16:16 +0000 (14:16 -0400)] 
use INCLUDE instead of CFLAGS

6 years agoadd do / while wrapper so that the caller uses ';' to end lines
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

6 years agocheck for child attribute overflowing input buffer
Alan T. DeKok [Wed, 23 Oct 2019 16:52:34 +0000 (12:52 -0400)] 
check for child attribute overflowing input buffer

6 years agoremove extraneous semicolons
Alan T. DeKok [Wed, 23 Oct 2019 14:59:16 +0000 (10:59 -0400)] 
remove extraneous semicolons

6 years agouse CFLAGS for broken systems
Alan T. DeKok [Wed, 23 Oct 2019 14:50:11 +0000 (10:50 -0400)] 
use CFLAGS for broken systems

6 years agoFixup deprecated detailperm config item
Arran Cudbard-Bell [Wed, 23 Oct 2019 13:35:48 +0000 (09:35 -0400)] 
Fixup deprecated detailperm config item

6 years agoUpdate example
Arran Cudbard-Bell [Wed, 23 Oct 2019 13:26:54 +0000 (09:26 -0400)] 
Update example

6 years agoNeed to include basic auth
Arran Cudbard-Bell [Wed, 23 Oct 2019 13:17:56 +0000 (09:17 -0400)] 
Need to include basic auth

6 years agofix up memcpy_bounded()
Alan T. DeKok [Wed, 23 Oct 2019 12:57:00 +0000 (08:57 -0400)] 
fix up memcpy_bounded()

6 years agoskip fragments with no data
Alan T. DeKok [Wed, 23 Oct 2019 12:52:40 +0000 (08:52 -0400)] 
skip fragments with no data

6 years agoadd protocol test point for RADIUS
Alan T. DeKok [Wed, 23 Oct 2019 12:25:21 +0000 (08:25 -0400)] 
add protocol test point for RADIUS

6 years agorename tp_decode to tp_decode_pair
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

6 years agodefault.d not conf.d
Arran Cudbard-Bell [Wed, 23 Oct 2019 11:38:37 +0000 (07:38 -0400)] 
default.d not conf.d

6 years agoCleanup horrible formatting in coding-methods.adoc
Arran Cudbard-Bell [Wed, 23 Oct 2019 10:55:36 +0000 (06:55 -0400)] 
Cleanup horrible formatting in coding-methods.adoc

6 years agoAdd some basic resources for the REST module
Arran Cudbard-Bell [Wed, 23 Oct 2019 10:36:55 +0000 (06:36 -0400)] 
Add some basic resources for the REST module

6 years agoTrim the sections to what we have content for
Arran Cudbard-Bell [Tue, 22 Oct 2019 23:54:09 +0000 (19:54 -0400)] 
Trim the sections to what we have content for

6 years agoMove LDAP configuration to base_configuration folder
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

6 years agolook at variable, not parent flag.
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

6 years agoinput packet is 'const'
Alan T. DeKok [Wed, 23 Oct 2019 01:54:58 +0000 (21:54 -0400)] 
input packet is 'const'

6 years agocall normal struct functions to encode a structure
Alan T. DeKok [Wed, 23 Oct 2019 01:14:16 +0000 (21:14 -0400)] 
call normal struct functions to encode a structure

6 years agorename functions based on source filename
Alan T. DeKok [Wed, 23 Oct 2019 00:43:23 +0000 (20:43 -0400)] 
rename functions based on source filename

6 years agomove DNS functions to src/lib/util/dns.[ch]
Alan T. DeKok [Tue, 22 Oct 2019 23:11:58 +0000 (19:11 -0400)] 
move DNS functions to src/lib/util/dns.[ch]

6 years agomore comments describing the algorithm
Alan T. DeKok [Tue, 22 Oct 2019 21:26:45 +0000 (17:26 -0400)] 
more comments describing the algorithm

6 years agoRemove newlines
Arran Cudbard-Bell [Tue, 22 Oct 2019 22:29:51 +0000 (18:29 -0400)] 
Remove newlines

6 years agoConsistency
Arran Cudbard-Bell [Tue, 22 Oct 2019 22:28:20 +0000 (18:28 -0400)] 
Consistency

6 years agoMove error message to the correct location
Arran Cudbard-Bell [Tue, 22 Oct 2019 22:27:08 +0000 (18:27 -0400)] 
Move error message to the correct location

6 years agoRemove tests with DNS resolution
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.

6 years agotry to shut up static analyzer
Alan T. DeKok [Tue, 22 Oct 2019 19:44:01 +0000 (15:44 -0400)] 
try to shut up static analyzer

6 years agoAdded Fabric-Attach VSA's to the Nortel Dictionary.
Jan Hugo Prins [Tue, 22 Oct 2019 13:52:07 +0000 (15:52 +0200)] 
Added Fabric-Attach VSA's to the Nortel Dictionary.

6 years agoAdd extra DHCPv6/rfc3319 tests with short/long ipv6 addresses
Jorge Pereira [Tue, 22 Oct 2019 00:25:43 +0000 (21:25 -0300)] 
Add extra DHCPv6/rfc3319 tests with short/long ipv6 addresses

6 years agoMove DHCPv6/rfc3319 tests to src/tests/unit/dhcpv6_rfc3319.txt
Jorge Pereira [Tue, 22 Oct 2019 00:11:41 +0000 (21:11 -0300)] 
Move DHCPv6/rfc3319 tests to src/tests/unit/dhcpv6_rfc3319.txt

6 years agoMerge pull request #3059 from jpereira/v4/clean1
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

6 years agoadd decoding for DNS labels
Alan T. DeKok [Tue, 22 Oct 2019 19:21:59 +0000 (15:21 -0400)] 
add decoding for DNS labels

6 years agowrite our own simple case insensitive comparison
Alan T. DeKok [Tue, 22 Oct 2019 18:50:49 +0000 (14:50 -0400)] 
write our own simple case insensitive comparison

6 years agotravis: Enable IPv6 (#3060)
Jorge Pereira [Tue, 22 Oct 2019 16:01:13 +0000 (13:01 -0300)] 
travis: Enable IPv6 (#3060)

6 years agotry to shut up analyzer
Alan T. DeKok [Tue, 22 Oct 2019 14:49:26 +0000 (10:49 -0400)] 
try to shut up analyzer

6 years agodon't box values which are already printable
Alan T. DeKok [Tue, 22 Oct 2019 14:46:32 +0000 (10:46 -0400)] 
don't box values which are already printable

6 years agoadd simple DHCPv6 option decoder.
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

6 years agoit helps to print errors so that we see WTF is going on
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

6 years agoCorrect quoting in group examples
Arran Cudbard-Bell [Tue, 22 Oct 2019 13:18:01 +0000 (09:18 -0400)] 
Correct quoting in group examples

6 years agomove search ahead more aggressively, and add test cases
Alan T. DeKok [Tue, 22 Oct 2019 12:55:28 +0000 (08:55 -0400)] 
move search ahead more aggressively, and add test cases

6 years agoFix overzealous single quoting
Arran Cudbard-Bell [Tue, 22 Oct 2019 12:06:04 +0000 (08:06 -0400)] 
Fix overzealous single quoting

6 years agodocument the compression algorithm in some detail
Alan T. DeKok [Tue, 22 Oct 2019 12:02:49 +0000 (08:02 -0400)] 
document the compression algorithm in some detail

6 years agoFix typo s/posixUser/posixAccount/g
Arran Cudbard-Bell [Tue, 22 Oct 2019 11:55:50 +0000 (07:55 -0400)] 
Fix typo s/posixUser/posixAccount/g

6 years agoRemove cruft
Arran Cudbard-Bell [Tue, 22 Oct 2019 11:25:20 +0000 (07:25 -0400)] 
Remove cruft

6 years agoVarious tweaks, and information on performing group checks
Arran Cudbard-Bell [Tue, 22 Oct 2019 10:59:47 +0000 (06:59 -0400)] 
Various tweaks, and information on performing group checks

6 years agoBreak out more 'authorize' content
Arran Cudbard-Bell [Tue, 22 Oct 2019 09:51:52 +0000 (05:51 -0400)] 
Break out more 'authorize' content

6 years agoOther minor fixes
Arran Cudbard-Bell [Mon, 21 Oct 2019 22:28:43 +0000 (18:28 -0400)] 
Other minor fixes

6 years agoProvide examples of what to record
Arran Cudbard-Bell [Mon, 21 Oct 2019 22:23:18 +0000 (18:23 -0400)] 
Provide examples of what to record

6 years agoRestructure "locating objects"
Arran Cudbard-Bell [Mon, 21 Oct 2019 22:18:04 +0000 (18:18 -0400)] 
Restructure "locating objects"

6 years agoClean up unnecessary files 3059/head
Jorge Pereira [Mon, 21 Oct 2019 21:18:07 +0000 (18:18 -0300)] 
Clean up unnecessary files

6 years agoenable search optimization and test case
Alan T. DeKok [Mon, 21 Oct 2019 21:16:54 +0000 (17:16 -0400)] 
enable search optimization and test case

6 years agodoxygen and more comments
Alan T. DeKok [Mon, 21 Oct 2019 20:27:43 +0000 (16:27 -0400)] 
doxygen and more comments

6 years agospeed up the search a bit by changing the search start
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.

6 years agocompress DNS labels recursively.
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)

6 years agoallow for uncompressed labels, and add unit tests
Alan T. DeKok [Mon, 21 Oct 2019 16:42:13 +0000 (12:42 -0400)] 
allow for uncompressed labels, and add unit tests

6 years agoadd support for uncompressed DNS labels
Alan T. DeKok [Mon, 21 Oct 2019 16:28:59 +0000 (12:28 -0400)] 
add support for uncompressed DNS labels

6 years agoMinor grammar issue
Arran Cudbard-Bell [Mon, 21 Oct 2019 15:11:56 +0000 (11:11 -0400)] 
Minor grammar issue

6 years agoTypo
Arran Cudbard-Bell [Mon, 21 Oct 2019 15:10:24 +0000 (11:10 -0400)] 
Typo

6 years agoFixup example to reference previous section more
Arran Cudbard-Bell [Mon, 21 Oct 2019 15:09:07 +0000 (11:09 -0400)] 
Fixup example  to reference previous section more

6 years agoFix spelling issue
Arran Cudbard-Bell [Mon, 21 Oct 2019 14:49:46 +0000 (10:49 -0400)] 
Fix spelling issue

6 years agoFix typos and sync example servers
Arran Cudbard-Bell [Mon, 21 Oct 2019 14:33:53 +0000 (10:33 -0400)] 
Fix typos and sync example servers

6 years agoSync examples with previous setup doc
Arran Cudbard-Bell [Mon, 21 Oct 2019 14:17:43 +0000 (10:17 -0400)] 
Sync examples with previous setup doc

6 years agoDocument 'No such object'
Arran Cudbard-Bell [Mon, 21 Oct 2019 14:13:40 +0000 (10:13 -0400)] 
Document 'No such object'

6 years agoSync example output
Arran Cudbard-Bell [Mon, 21 Oct 2019 13:25:52 +0000 (09:25 -0400)] 
Sync example output

6 years agoclean up and rename for clarity
Alan T. DeKok [Mon, 21 Oct 2019 13:03:30 +0000 (09:03 -0400)] 
clean up and rename for clarity

6 years ago0 is invalid, too
Alan T. DeKok [Mon, 21 Oct 2019 13:03:18 +0000 (09:03 -0400)] 
0 is invalid, too

6 years agoremove special-case for '.'
Alan T. DeKok [Mon, 21 Oct 2019 12:44:32 +0000 (08:44 -0400)] 
remove special-case for '.'

6 years agoFix error message
Arran Cudbard-Bell [Mon, 21 Oct 2019 10:53:00 +0000 (06:53 -0400)] 
Fix error message

6 years agoRemove duplicate content
Arran Cudbard-Bell [Mon, 21 Oct 2019 10:43:19 +0000 (06:43 -0400)] 
Remove duplicate content

6 years agoMissed full stop
Arran Cudbard-Bell [Mon, 21 Oct 2019 02:24:32 +0000 (22:24 -0400)] 
Missed full stop

6 years agoBreak up LDAP howto pages into yet smaller pages
Arran Cudbard-Bell [Mon, 21 Oct 2019 02:18:30 +0000 (22:18 -0400)] 
Break up LDAP howto pages into yet smaller pages

6 years agoCreate a concepts doc module and move concepts pages there
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

6 years agodecode multiple DNS labels for the tests
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.

6 years agoAdd docs on bootstrapping an OpenLDAP test instance
Arran Cudbard-Bell [Sun, 20 Oct 2019 19:59:28 +0000 (15:59 -0400)] 
Add docs on bootstrapping an OpenLDAP test instance

6 years agoMySQL sqlippools: Find and allocate stored procedure (#3051)
Terry Burton [Sun, 20 Oct 2019 16:21:26 +0000 (17:21 +0100)] 
MySQL sqlippools: Find and allocate stored procedure (#3051)

6 years agoadd value box from dns label functions
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.

6 years agofix count
Alan T. DeKok [Sat, 19 Oct 2019 22:10:22 +0000 (18:10 -0400)] 
fix count

6 years agoallow dns_label,array as DHCPv6 flags
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

6 years agotypo
Alan T. DeKok [Sat, 19 Oct 2019 21:36:55 +0000 (17:36 -0400)] 
typo

6 years agoencode attributes with "dns_label" flag set.
Alan T. DeKok [Sat, 19 Oct 2019 21:17:36 +0000 (17:17 -0400)] 
encode attributes with "dns_label" flag set.

6 years agoadd function which gets the compressed length of a dns label
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

6 years agocomments and updates
Alan T. DeKok [Sat, 19 Oct 2019 21:13:43 +0000 (17:13 -0400)] 
comments and updates