]> git.ipfire.org Git - thirdparty/freeradius-server.git/log
thirdparty/freeradius-server.git
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

6 years agomake label comparison case insensitive
Alan T. DeKok [Sat, 19 Oct 2019 21:13:21 +0000 (17:13 -0400)] 
make label comparison case insensitive

6 years agobe a little more careful about parsing flags
Alan T. DeKok [Sat, 19 Oct 2019 21:02:31 +0000 (17:02 -0400)] 
be a little more careful about parsing flags

6 years agolook at contents, not at pointer
Alan T. DeKok [Sat, 19 Oct 2019 18:30:45 +0000 (14:30 -0400)] 
look at contents, not at pointer

6 years agoFix logic bug in table_sorted_value_by_longest_prefix which sent the search in the...
Arran Cudbard-Bell [Sat, 19 Oct 2019 16:51:49 +0000 (12:51 -0400)] 
Fix logic bug in table_sorted_value_by_longest_prefix which sent the search in the wrong direction if needle was a substring of a haystack entry

6 years agoadd DNS label compression.
Alan T. DeKok [Sat, 19 Oct 2019 15:51:51 +0000 (11:51 -0400)] 
add DNS label compression.

It's a little brute-force right now, but it seems to work.

6 years agoskip leading whitespace
Alan T. DeKok [Sat, 19 Oct 2019 15:26:40 +0000 (11:26 -0400)] 
skip leading whitespace

6 years agoAdd command to explicitly clear the data buffer
Arran Cudbard-Bell [Sat, 19 Oct 2019 15:20:19 +0000 (11:20 -0400)] 
Add command to explicitly clear the data buffer

This can be useful when tracking down non-deterministic issues

6 years agoencode '.' or empty string as 0x00
Alan T. DeKok [Sat, 19 Oct 2019 14:52:29 +0000 (10:52 -0400)] 
encode '.' or empty string as 0x00

6 years agofix length checks
Alan T. DeKok [Sat, 19 Oct 2019 13:52:38 +0000 (09:52 -0400)] 
fix length checks

6 years agotypo
Alan T. DeKok [Sat, 19 Oct 2019 13:42:43 +0000 (09:42 -0400)] 
typo

6 years agoadd function which encodes value box to DNS label
Alan T. DeKok [Sat, 19 Oct 2019 13:33:36 +0000 (09:33 -0400)] 
add function which encodes value box to DNS label

with tests!

6 years ago<sigh> typos
Alan T. DeKok [Sat, 19 Oct 2019 12:59:38 +0000 (08:59 -0400)] 
<sigh> typos

6 years agobuild this, too
Alan T. DeKok [Sat, 19 Oct 2019 12:48:08 +0000 (08:48 -0400)] 
build this, too

6 years agotypo
Alan T. DeKok [Sat, 19 Oct 2019 12:31:39 +0000 (08:31 -0400)] 
typo

6 years agoadd and use encrypt / encode flags for SIM / AKA and DHCPv6
Alan T. DeKok [Sat, 19 Oct 2019 12:23:48 +0000 (08:23 -0400)] 
add and use encrypt / encode flags for SIM / AKA and DHCPv6

6 years agocreate src/include/protocol/base.h which defines known protocols
Alan T. DeKok [Sat, 19 Oct 2019 12:11:25 +0000 (08:11 -0400)] 
create src/include/protocol/base.h which defines known protocols

6 years ago"no " can now return mismatch instead of command error
Arran Cudbard-Bell [Sat, 19 Oct 2019 02:45:04 +0000 (22:45 -0400)] 
"no " can now return mismatch instead of command error

6 years agoPrint the mismatching command
Arran Cudbard-Bell [Sat, 19 Oct 2019 02:41:09 +0000 (22:41 -0400)] 
Print the mismatching command

6 years agoAdd match-regex
Arran Cudbard-Bell [Sat, 19 Oct 2019 02:37:51 +0000 (22:37 -0400)] 
Add match-regex

Also works with negation prefix

6 years agoAlways need to provide match_data for rege_exec in pcre2
Arran Cudbard-Bell [Sat, 19 Oct 2019 02:36:58 +0000 (22:36 -0400)] 
Always need to provide match_data for rege_exec in pcre2

6 years agoTypo
Arran Cudbard-Bell [Sat, 19 Oct 2019 02:02:39 +0000 (22:02 -0400)] 
Typo

6 years agoAdd command to write out the data buffer
Arran Cudbard-Bell [Sat, 19 Oct 2019 01:44:25 +0000 (21:44 -0400)] 
Add command to write out the data buffer

6 years agoDon't trash the data buffer on mismatch
Arran Cudbard-Bell [Sat, 19 Oct 2019 01:29:20 +0000 (21:29 -0400)] 
Don't trash the data buffer on mismatch

- Allow all return codes to request that the error stack be dumped into the data buffer
- Keep track of how many tests returned 'OK'
- Have comments and blank links return 'NOOP'
- Add command to write the number of completed tests to the data buffer

6 years agoRemove redundant vars
Arran Cudbard-Bell [Fri, 18 Oct 2019 21:46:49 +0000 (17:46 -0400)] 
Remove redundant vars

6 years agoAdd 'match' and 'no match' remove 'data' and 'fail'
Arran Cudbard-Bell [Fri, 18 Oct 2019 18:41:25 +0000 (14:41 -0400)] 
Add 'match' and 'no match' remove 'data' and 'fail'

6 years agomove subtype checks to dict->subtype_table
Alan T. DeKok [Fri, 18 Oct 2019 18:51:36 +0000 (14:51 -0400)] 
move subtype checks to dict->subtype_table

which (mostly) makes them more protocol agnostic

6 years agorename "encrypt" to "subtype"
Alan T. DeKok [Fri, 18 Oct 2019 16:55:38 +0000 (12:55 -0400)] 
rename "encrypt" to "subtype"

in preparation for making it a little more generic

6 years agosimpler way to track backslashes
Alan T. DeKok [Fri, 18 Oct 2019 14:36:23 +0000 (10:36 -0400)] 
simpler way to track backslashes

avoid repeated strlen.

and increment line number.

6 years agoMerge pull request #3055 from jpereira/v4/test1
Alan DeKok [Fri, 18 Oct 2019 13:18:55 +0000 (09:18 -0400)] 
Merge pull request #3055 from jpereira/v4/test1

Let' be able to buffer multiple lines with a backslash

6 years agoLet' be able to buffer multiple lines with a backslash 3055/head
Jorge Pereira [Fri, 18 Oct 2019 02:58:07 +0000 (23:58 -0300)] 
Let' be able to buffer multiple lines with a backslash

6 years agoPretty good to organize long entries with a backslash
Jorge Pereira [Fri, 18 Oct 2019 02:59:01 +0000 (23:59 -0300)] 
Pretty good to organize long entries with a backslash