]> git.ipfire.org Git - thirdparty/freeradius-server.git/log
thirdparty/freeradius-server.git
7 years agopulled from v3.0.x
Alan T. DeKok [Wed, 27 Mar 2019 01:38:18 +0000 (21:38 -0400)] 
pulled from v3.0.x

7 years agomake message clearer
Alan T. DeKok [Tue, 26 Mar 2019 17:40:02 +0000 (13:40 -0400)] 
make message clearer

7 years agoadd a "const"
Alan T. DeKok [Tue, 26 Mar 2019 17:11:35 +0000 (13:11 -0400)] 
add a "const"

7 years agolet's not have compile errors
Alan T. DeKok [Tue, 26 Mar 2019 16:38:37 +0000 (12:38 -0400)] 
let's not have compile errors

7 years agoexample client
Alan T. DeKok [Tue, 26 Mar 2019 16:21:58 +0000 (12:21 -0400)] 
example client

7 years agoallow for local "client" files
Alan T. DeKok [Tue, 26 Mar 2019 16:16:04 +0000 (12:16 -0400)] 
allow for local "client" files

We may want to add a flag saying "allow anything", in which case
it should auto-create a fake client.

7 years agoenable path compression
Alan T. DeKok [Tue, 26 Mar 2019 13:52:47 +0000 (09:52 -0400)] 
enable path compression

which drastically shrinks the size of the tries

7 years agomove common checks to a macro for simplicity
Alan T. DeKok [Tue, 26 Mar 2019 13:32:08 +0000 (09:32 -0400)] 
move common checks to a macro for simplicity

7 years agoshrink nodes a bit more
Alan T. DeKok [Tue, 26 Mar 2019 13:18:43 +0000 (09:18 -0400)] 
shrink nodes a bit more

7 years agomove to macro for trie header
Alan T. DeKok [Tue, 26 Mar 2019 13:15:58 +0000 (09:15 -0400)] 
move to macro for trie header

and change to uint8_t for fields that don't need 32 integer bits

7 years agoremove "parent" from trie nodes
Alan T. DeKok [Tue, 26 Mar 2019 13:12:12 +0000 (09:12 -0400)] 
remove "parent" from trie nodes

it's not used for anything

7 years agoAdd additional attributes for Meraki dictionary 2583/head
Ethan Everett [Tue, 26 Mar 2019 00:27:37 +0000 (17:27 -0700)] 
Add additional attributes for Meraki dictionary

7 years agoset node->used on comp insert, and check resulting node
Alan T. DeKok [Tue, 26 Mar 2019 00:57:14 +0000 (20:57 -0400)] 
set node->used on comp insert, and check resulting node

7 years agoindent debug messages
Alan T. DeKok [Tue, 26 Mar 2019 00:56:46 +0000 (20:56 -0400)] 
indent debug messages

7 years agouse fr_trie_add_edge() to add new edges
Alan T. DeKok [Mon, 25 Mar 2019 19:20:33 +0000 (15:20 -0400)] 
use fr_trie_add_edge() to add new edges

and rearrange to be a bit clearer.

We still need to split nodes, and be smarter about compressed
nodes.

7 years agocheck node after inserting key, not before
Alan T. DeKok [Mon, 25 Mar 2019 19:05:15 +0000 (15:05 -0400)] 
check node after inserting key, not before

7 years agofree COMP nodes, too
Alan T. DeKok [Mon, 25 Mar 2019 19:04:55 +0000 (15:04 -0400)] 
free COMP nodes, too

7 years agoMerge pull request #2581 from Augustin-FL/dictionary-pfsense
Alan DeKok [Mon, 25 Mar 2019 12:45:43 +0000 (08:45 -0400)] 
Merge pull request #2581 from Augustin-FL/dictionary-pfsense

Include pfSense custom Dictionary

7 years agoregenerate test certificates
Alan T. DeKok [Mon, 25 Mar 2019 12:44:01 +0000 (08:44 -0400)] 
regenerate test certificates

7 years agofix paths. Closes #2580
Alan T. DeKok [Mon, 25 Mar 2019 12:41:33 +0000 (08:41 -0400)] 
fix paths.  Closes #2580

7 years agoCreate dictionary.pfsense 2581/head
Augustin-FL [Mon, 25 Mar 2019 06:14:45 +0000 (07:14 +0100)] 
Create dictionary.pfsense

7 years agoBetter rest debugging
Arran Cudbard-Bell [Sun, 24 Mar 2019 13:56:47 +0000 (20:56 +0700)] 
Better rest debugging

7 years agoFix confusing debug output
Arran Cudbard-Bell [Sun, 24 Mar 2019 13:26:26 +0000 (20:26 +0700)] 
Fix confusing debug output

7 years agoPrint what we received from the server
Arran Cudbard-Bell [Sun, 24 Mar 2019 13:15:09 +0000 (20:15 +0700)] 
Print what we received from the server

7 years agoEmit error if xlats fail
Arran Cudbard-Bell [Sun, 24 Mar 2019 12:50:16 +0000 (19:50 +0700)] 
Emit error if xlats fail

7 years agoTypo
Arran Cudbard-Bell [Sun, 24 Mar 2019 12:47:03 +0000 (19:47 +0700)] 
Typo

7 years agoremove unused assignment
Alan T. DeKok [Sun, 24 Mar 2019 12:45:31 +0000 (08:45 -0400)] 
remove unused assignment

7 years agoTrie cleanups
Arran Cudbard-Bell [Sun, 24 Mar 2019 12:21:01 +0000 (19:21 +0700)] 
Trie cleanups

7 years agoMore cleanups
Arran Cudbard-Bell [Sun, 24 Mar 2019 12:16:13 +0000 (19:16 +0700)] 
More cleanups

7 years agoDoxygen
Arran Cudbard-Bell [Sun, 24 Mar 2019 00:49:12 +0000 (07:49 +0700)] 
Doxygen

7 years agomore fixes for scanner
Alan T. DeKok [Sat, 23 Mar 2019 23:47:34 +0000 (19:47 -0400)] 
more fixes for scanner

7 years agotypo
Alan T. DeKok [Sat, 23 Mar 2019 22:40:46 +0000 (18:40 -0400)] 
typo

7 years agotypo
Alan T. DeKok [Sat, 23 Mar 2019 22:17:38 +0000 (18:17 -0400)] 
typo

7 years agomore hints for clang scan
Alan T. DeKok [Sat, 23 Mar 2019 22:03:53 +0000 (18:03 -0400)] 
more hints for clang scan

7 years agotry to quiet static analyzer
Alan T. DeKok [Sat, 23 Mar 2019 21:38:13 +0000 (17:38 -0400)] 
try to quiet static analyzer

7 years agofix compile errors
Alan T. DeKok [Sat, 23 Mar 2019 19:06:31 +0000 (15:06 -0400)] 
fix compile errors

7 years agodoxygen
Alan T. DeKok [Sat, 23 Mar 2019 19:03:19 +0000 (15:03 -0400)] 
doxygen

7 years agomade # of compressed edges a macro
Alan T. DeKok [Sat, 23 Mar 2019 18:42:30 +0000 (14:42 -0400)] 
made # of compressed edges a macro

so we can vary it at will

7 years agoadd more printing
Alan T. DeKok [Sat, 23 Mar 2019 18:27:31 +0000 (14:27 -0400)] 
add more printing

7 years agoadded more debug printing
Alan T. DeKok [Sat, 23 Mar 2019 18:26:34 +0000 (14:26 -0400)] 
added more debug printing

7 years agoadd fr_trie_sprint()
Alan T. DeKok [Sat, 23 Mar 2019 18:23:38 +0000 (14:23 -0400)] 
add fr_trie_sprint()

which prints out a partial trie, given a starting key

7 years agoadd more VERIFY(node) to verify nodes as they are modified
Alan T. DeKok [Sat, 23 Mar 2019 18:22:00 +0000 (14:22 -0400)] 
add more VERIFY(node) to verify nodes as they are modified

7 years agoremove unnecessary variable from field
Alan T. DeKok [Sat, 23 Mar 2019 18:21:14 +0000 (14:21 -0400)] 
remove unnecessary variable from field

7 years agomake comment clearer
Alan T. DeKok [Sat, 23 Mar 2019 18:19:44 +0000 (14:19 -0400)] 
make comment clearer

7 years agodefault to inserting at the end for add_edge
Alan T. DeKok [Sat, 23 Mar 2019 18:18:37 +0000 (14:18 -0400)] 
default to inserting at the end for add_edge

7 years agoverify edge order in compressed nodes
Alan T. DeKok [Sat, 23 Mar 2019 18:07:25 +0000 (14:07 -0400)] 
verify edge order in compressed nodes

7 years agouse correct chunk when converting comp to path
Alan T. DeKok [Sat, 23 Mar 2019 14:01:42 +0000 (10:01 -0400)] 
use correct chunk when converting comp to path

7 years agomask out all of the bits we don't want
Alan T. DeKok [Sat, 23 Mar 2019 12:42:27 +0000 (08:42 -0400)] 
mask out all of the bits we don't want

7 years agofirst pass of using compressed nodes
Alan T. DeKok [Fri, 22 Mar 2019 20:05:25 +0000 (16:05 -0400)] 
first pass of using compressed nodes

it doesn't quite work yet, and not all of it is implemented.
But it's close.

7 years agoSign issue
Arran Cudbard-Bell [Sat, 23 Mar 2019 15:52:37 +0000 (22:52 +0700)] 
Sign issue

7 years agoRework HTTP body processing function to be less awful
Arran Cudbard-Bell [Sat, 23 Mar 2019 15:46:22 +0000 (22:46 +0700)] 
Rework HTTP body processing function to be less awful

Add max_body_in to put an upper bound on maximum body size

7 years agos/talloc_realloc_bstr/talloc_bstr_realloc/g
Arran Cudbard-Bell [Sat, 23 Mar 2019 15:41:40 +0000 (22:41 +0700)] 
s/talloc_realloc_bstr/talloc_bstr_realloc/g

7 years agoMove ROUND_UP functions into util/misc.h
Arran Cudbard-Bell [Sat, 23 Mar 2019 15:40:59 +0000 (22:40 +0700)] 
Move ROUND_UP functions into util/misc.h

7 years agoMake HTTP header parsing suck slightly less
Arran Cudbard-Bell [Sat, 23 Mar 2019 13:55:46 +0000 (20:55 +0700)] 
Make HTTP header parsing suck slightly less

libcurl still doesn't provide a way of getting at the headers without parsing the data stream *sigh*

7 years agoMore PAP tests
Arran Cudbard-Bell [Sat, 23 Mar 2019 09:02:35 +0000 (16:02 +0700)] 
More PAP tests

7 years agoAllow HTTP2 status line
Arran Cudbard-Bell [Fri, 22 Mar 2019 14:39:42 +0000 (21:39 +0700)] 
Allow HTTP2 status line

7 years agodedup names
Alan T. DeKok [Fri, 22 Mar 2019 14:35:33 +0000 (10:35 -0400)] 
dedup names

7 years agotypo
Alan T. DeKok [Fri, 22 Mar 2019 14:07:48 +0000 (10:07 -0400)] 
typo

7 years agoupdates
Alan T. DeKok [Fri, 22 Mar 2019 13:35:48 +0000 (09:35 -0400)] 
updates

from http://www.3gpp2.org/Public_html/Specs/X.S0011-005-E_v1.0_091116.pdf
among others

Manual merge of commit #95d25b4

7 years agoremove TODO notes, which are mostly done
Alan T. DeKok [Fri, 22 Mar 2019 13:34:08 +0000 (09:34 -0400)] 
remove TODO notes, which are mostly done

7 years agoDistinguish between modifying and inserting
Arran Cudbard-Bell [Thu, 21 Mar 2019 16:42:51 +0000 (23:42 +0700)] 
Distinguish between modifying and inserting

7 years agoFix args... again
Arran Cudbard-Bell [Thu, 21 Mar 2019 16:02:59 +0000 (23:02 +0700)] 
Fix args... again

7 years agoRemove dots in DHCPv4 dictionary
Arran Cudbard-Bell [Thu, 21 Mar 2019 14:26:32 +0000 (21:26 +0700)] 
Remove dots in DHCPv4 dictionary

7 years agoAdd separate OID validation function
Arran Cudbard-Bell [Thu, 21 Mar 2019 14:26:13 +0000 (21:26 +0700)] 
Add separate OID validation function

7 years agoInclude internal header file in proto_dhcpv4_udp
Arran Cudbard-Bell [Thu, 21 Mar 2019 11:38:02 +0000 (18:38 +0700)] 
Include internal header file in proto_dhcpv4_udp

7 years agoadd more tests from SQL
Alan T. DeKok [Wed, 20 Mar 2019 14:31:27 +0000 (10:31 -0400)] 
add more tests from SQL

7 years agofix argument order
Alan T. DeKok [Wed, 20 Mar 2019 14:30:52 +0000 (10:30 -0400)] 
fix argument order

7 years agotypo and more debugging
Alan T. DeKok [Wed, 20 Mar 2019 14:30:41 +0000 (10:30 -0400)] 
typo and more debugging

7 years agos/Msg-Type/Packet-Type/ for DHCPv6
Arran Cudbard-Bell [Thu, 21 Mar 2019 10:31:52 +0000 (17:31 +0700)] 
s/Msg-Type/Packet-Type/ for DHCPv6

7 years agoMove the internal DHCPv4 options into a separate file
Arran Cudbard-Bell [Thu, 21 Mar 2019 10:30:12 +0000 (17:30 +0700)] 
Move the internal DHCPv4 options into a separate file

7 years agoSplit DHCPv6 options definitions into different files matching their RFC names
Arran Cudbard-Bell [Thu, 21 Mar 2019 10:29:50 +0000 (17:29 +0700)] 
Split DHCPv6 options definitions into different files matching their RFC names

Remove DHCPv6 prefix from DHCPv6 options.  We don't use RADIUS-User-Name.

The same thing should be done for the rest of the protocols, feel free reader of this commit message...

7 years agoFix example detail server config
Arran Cudbard-Bell [Thu, 21 Mar 2019 09:06:13 +0000 (16:06 +0700)] 
Fix example detail server config

7 years agoAvoid spurious output from which when we don't have docker or pandoc
Arran Cudbard-Bell [Thu, 21 Mar 2019 08:29:29 +0000 (15:29 +0700)] 
Avoid spurious output from which when we don't have docker or pandoc

7 years agoUse separate lua FFI logging functions
Arran Cudbard-Bell [Wed, 20 Mar 2019 16:14:18 +0000 (23:14 +0700)] 
Use separate lua FFI logging functions

7 years agoMinor cleanups
Arran Cudbard-Bell [Wed, 20 Mar 2019 16:13:18 +0000 (23:13 +0700)] 
Minor cleanups

7 years agoRemove support for proxying
Arran Cudbard-Bell [Wed, 20 Mar 2019 16:13:03 +0000 (23:13 +0700)] 
Remove support for proxying

7 years agorlm_lua: Test that pass should be 'ok'
Jorge Pereira [Mon, 18 Mar 2019 22:08:56 +0000 (19:08 -0300)] 
rlm_lua: Test that pass should be 'ok'

7 years agorlm_lua: Fix the FFI & fr_log() bind.
Jorge Pereira [Mon, 18 Mar 2019 17:20:08 +0000 (14:20 -0300)] 
rlm_lua: Fix the FFI & fr_log() bind.

* Add extra Lua test validating the 'fr.log.$method()'

7 years agorlm_lua: The table 'fr.log.{}' should be read-only
Jorge Pereira [Sat, 16 Mar 2019 14:46:02 +0000 (11:46 -0300)] 
rlm_lua: The table 'fr.log.{}' should be read-only

7 years agorlm_lua: Update/Add unit tests
Jorge Pereira [Fri, 15 Mar 2019 21:03:30 +0000 (18:03 -0300)] 
rlm_lua: Update/Add unit tests

7 years agorlm_lua: Moving to single table 'fr.{}'
Jorge Pereira [Fri, 15 Mar 2019 21:03:07 +0000 (18:03 -0300)] 
rlm_lua: Moving to single table 'fr.{}'

7 years agoDoxygen
Arran Cudbard-Bell [Wed, 20 Mar 2019 15:00:28 +0000 (22:00 +0700)] 
Doxygen

7 years agoFix argument order
Arran Cudbard-Bell [Wed, 20 Mar 2019 14:59:00 +0000 (21:59 +0700)] 
Fix argument order

7 years agoUnused
Arran Cudbard-Bell [Wed, 20 Mar 2019 14:17:25 +0000 (21:17 +0700)] 
Unused

7 years agoFinish functionality in "sub" xlat
Arran Cudbard-Bell [Wed, 20 Mar 2019 14:12:53 +0000 (21:12 +0700)] 
Finish functionality in "sub" xlat

This now provides some functionality even if we don't have libpcre2

7 years agoFix various talloc functions and discovered parenting issues
Arran Cudbard-Bell [Wed, 20 Mar 2019 14:12:21 +0000 (21:12 +0700)] 
Fix various talloc functions and discovered parenting issues

7 years agowhoops... use &
Alan T. DeKok [Wed, 20 Mar 2019 13:11:59 +0000 (09:11 -0400)] 
whoops... use &

7 years agouse names instead of hard-coded values
Alan T. DeKok [Wed, 20 Mar 2019 12:14:49 +0000 (08:14 -0400)] 
use names instead of hard-coded values

7 years agoadd "original" to proto_dhcpv4_encode()
Alan T. DeKok [Wed, 20 Mar 2019 12:01:26 +0000 (08:01 -0400)] 
add "original" to proto_dhcpv4_encode()

and then use it to set giaddr, if it wasn't already set
along with other fields such as hwtype, hwlen, hops, and chaddr

7 years agouse "Sending" instead of "Sent"
Alan T. DeKok [Wed, 20 Mar 2019 11:43:04 +0000 (07:43 -0400)] 
use "Sending" instead of "Sent"

as the packet is sent after the debug has been printed

7 years agoUndo the printing changes
Arran Cudbard-Bell [Wed, 20 Mar 2019 09:14:39 +0000 (16:14 +0700)] 
Undo the printing changes

Can't reproduce the issue locally with a Linux VM and GCC so
can't debug it.

7 years agoas a trial, don't run xlat-delay
Alan T. DeKok [Tue, 19 Mar 2019 19:16:35 +0000 (15:16 -0400)] 
as a trial, don't run xlat-delay

it seems to pass fine locally, but dies in travis.  Maybe it's
a travis issue, or maybe it's a test issue.  Let's see.

7 years agoadded more debugging and sanity checks
Alan T. DeKok [Tue, 19 Mar 2019 17:31:22 +0000 (13:31 -0400)] 
added more debugging and sanity checks

7 years agoadded fr_trie_check() routine
Alan T. DeKok [Tue, 19 Mar 2019 17:29:23 +0000 (13:29 -0400)] 
added fr_trie_check() routine

which is called after insert, to see if the key we inserted
can be found in the newly-updated trie

7 years agosimplify lcp
Alan T. DeKok [Tue, 19 Mar 2019 17:21:58 +0000 (13:21 -0400)] 
simplify lcp

which is much better than the previous 3 versions.

7 years agoEnable sub func even if we don't have libpcre2
Arran Cudbard-Bell [Tue, 19 Mar 2019 16:30:37 +0000 (23:30 +0700)] 
Enable sub func even if we don't have libpcre2

7 years agoWill finish the non-regex substitution mode later
Arran Cudbard-Bell [Tue, 19 Mar 2019 16:09:01 +0000 (23:09 +0700)] 
Will finish the non-regex substitution mode later

7 years ago...and the rest
Arran Cudbard-Bell [Tue, 19 Mar 2019 15:45:44 +0000 (22:45 +0700)] 
...and the rest

7 years agoWhich to strlen until it passes...
Arran Cudbard-Bell [Tue, 19 Mar 2019 15:21:46 +0000 (22:21 +0700)] 
Which to strlen until it passes...

7 years agoApparently not talloced...
Arran Cudbard-Bell [Tue, 19 Mar 2019 14:14:31 +0000 (21:14 +0700)] 
Apparently not talloced...