]>
git.ipfire.org Git - thirdparty/freeradius-server.git/log
Alan T. DeKok [Mon, 1 Apr 2019 01:17:07 +0000 (21:17 -0400)]
added "Packet-Type" for DHCPv4
Alan T. DeKok [Mon, 1 Apr 2019 01:08:26 +0000 (21:08 -0400)]
add "dictionary" entry
Alan T. DeKok [Mon, 1 Apr 2019 00:53:10 +0000 (20:53 -0400)]
add "code"
so that it can be set manually
Alan T. DeKok [Mon, 1 Apr 2019 00:46:44 +0000 (20:46 -0400)]
remove radius-specific priorities
Alan T. DeKok [Sun, 31 Mar 2019 22:53:41 +0000 (18:53 -0400)]
move Acct-Delay-Time mangling to unlang
Alan T. DeKok [Sat, 30 Mar 2019 19:58:53 +0000 (15:58 -0400)]
change assignment to assert
it should already have been set
Arran Cudbard-Bell [Sat, 30 Mar 2019 02:46:34 +0000 (22:46 -0400)]
DM is also UDP 3799, UDP 1700 is Cisco only
Alan T. DeKok [Fri, 29 Mar 2019 13:58:02 +0000 (09:58 -0400)]
create a "default client" for DHCPv4
Alan T. DeKok [Fri, 29 Mar 2019 13:21:02 +0000 (09:21 -0400)]
free clients before freeing the trie
Matt Rose [Wed, 27 Mar 2019 19:05:00 +0000 (19:05 +0000)]
add rpm target to Makefile
Alan T. DeKok [Fri, 29 Mar 2019 13:11:48 +0000 (09:11 -0400)]
add IPPROTO support for parsing clients
Alan T. DeKok [Fri, 29 Mar 2019 12:53:14 +0000 (08:53 -0400)]
remove unnecessary config
Alan T. DeKok [Thu, 28 Mar 2019 14:07:40 +0000 (10:07 -0400)]
rename "radiusd.kill" to "test.radiusd.kill"
so that the test scripts are loaded on recursive make
Alan T. DeKok [Thu, 28 Mar 2019 12:21:06 +0000 (08:21 -0400)]
tests for subrequest
Alan T. DeKok [Thu, 28 Mar 2019 12:18:00 +0000 (08:18 -0400)]
add support for parent in success / test_fail
so that we can test failures.
Unfortunately, we seem to get <underflow> when using
%{interpreter:....line} inside of the "if" statement. It's not
clear why.
Alan T. DeKok [Thu, 28 Mar 2019 11:51:33 +0000 (07:51 -0400)]
s/unlang_process_continue/unlang_process_interpret/
Alan T. DeKok [Thu, 28 Mar 2019 11:39:05 +0000 (07:39 -0400)]
running the tests depends on the binary we're trying to run
Arran Cudbard-Bell [Thu, 28 Mar 2019 07:50:56 +0000 (15:50 +0800)]
Fix various bits of auth logic in rlm_rest
Arran Cudbard-Bell [Thu, 28 Mar 2019 07:02:05 +0000 (15:02 +0800)]
Simplify setting auth options and remove restrictions on username and password length
Arran Cudbard-Bell [Thu, 28 Mar 2019 06:39:17 +0000 (14:39 +0800)]
Add prefix to macros to make it clear which came from libcurl and which are ours
Arran Cudbard-Bell [Thu, 28 Mar 2019 06:33:24 +0000 (14:33 +0800)]
Less fragile well of enumerating curl auth methods
Arran Cudbard-Bell [Thu, 28 Mar 2019 06:21:14 +0000 (14:21 +0800)]
Remove some boilerplate config parsing
Arran Cudbard-Bell [Thu, 28 Mar 2019 06:13:55 +0000 (14:13 +0800)]
add cf_table_parse_int for working with enums
Matthew Newton [Thu, 28 Mar 2019 00:06:22 +0000 (00:06 +0000)]
fixes to crossbuild makefile
Alan T. DeKok [Wed, 27 Mar 2019 19:20:19 +0000 (15:20 -0400)]
more comments
Alan T. DeKok [Wed, 27 Mar 2019 19:16:00 +0000 (15:16 -0400)]
build the tests only when running test targets
Alan T. DeKok [Wed, 27 Mar 2019 19:12:13 +0000 (15:12 -0400)]
move crossbuild rules to crossbuild make file
and then include it only if we're making crossbuild.*
Alan T. DeKok [Wed, 27 Mar 2019 17:09:42 +0000 (13:09 -0400)]
rename definitions
so that we have UNLANG_ACTION_EXECUTE_NEXT instead of CONTINUE
and other similar changes.
We may want to add a "continue" keyword, so it's best to keep
CONTINUE reserved for that.
Alan T. DeKok [Wed, 27 Mar 2019 17:01:17 +0000 (13:01 -0400)]
s/unlang_interpret_continue/unlang_interpret_resume/
Alan T. DeKok [Wed, 27 Mar 2019 16:45:21 +0000 (12:45 -0400)]
skip running shell scripts if we're not going to install files
Alan T. DeKok [Wed, 27 Mar 2019 16:41:34 +0000 (12:41 -0400)]
skip building documentation if we're not going to build it
Running "shell" is expensive on OSX. Building the documentation
requires running a bunch of shell commands, because we're too lazy
to fix that. So, only run those shell scripts if we're going to
build the documentation.
Arran Cudbard-Bell [Wed, 27 Mar 2019 14:50:28 +0000 (22:50 +0800)]
Default to Basic-Auth if a username or password is provided
Alan T. DeKok [Wed, 27 Mar 2019 12:56:17 +0000 (08:56 -0400)]
use eap/sim and eap/aka
Alan T. DeKok [Wed, 27 Mar 2019 12:47:52 +0000 (08:47 -0400)]
remove $(shell ...) and replace with $(wildcard ...)
which is faster. We should really avoid the use of $(shell),
and maybe replace it with a build/defs.mk file which is run
only once.
Alan T. DeKok [Wed, 27 Mar 2019 11:34:35 +0000 (07:34 -0400)]
format dictionaries
Alan T. DeKok [Wed, 27 Mar 2019 11:34:22 +0000 (07:34 -0400)]
add "format dictionary" target
Alan T. DeKok [Wed, 27 Mar 2019 11:33:07 +0000 (07:33 -0400)]
don't print out attribute comments
print out the comments from the line we just read
Alan DeKok [Wed, 27 Mar 2019 11:05:55 +0000 (07:05 -0400)]
Merge pull request #2583 from eeverett6/meraki-dictionary
Add additional attributes for Meraki dictionary
Alan T. DeKok [Wed, 27 Mar 2019 01:38:18 +0000 (21:38 -0400)]
pulled from v3.0.x
Alan T. DeKok [Tue, 26 Mar 2019 17:40:02 +0000 (13:40 -0400)]
make message clearer
Alan T. DeKok [Tue, 26 Mar 2019 17:11:35 +0000 (13:11 -0400)]
add a "const"
Alan T. DeKok [Tue, 26 Mar 2019 16:38:37 +0000 (12:38 -0400)]
let's not have compile errors
Alan T. DeKok [Tue, 26 Mar 2019 16:21:58 +0000 (12:21 -0400)]
example client
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.
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
Alan T. DeKok [Tue, 26 Mar 2019 13:32:08 +0000 (09:32 -0400)]
move common checks to a macro for simplicity
Alan T. DeKok [Tue, 26 Mar 2019 13:18:43 +0000 (09:18 -0400)]
shrink nodes a bit more
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
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
Ethan Everett [Tue, 26 Mar 2019 00:27:37 +0000 (17:27 -0700)]
Add additional attributes for Meraki dictionary
Alan T. DeKok [Tue, 26 Mar 2019 00:57:14 +0000 (20:57 -0400)]
set node->used on comp insert, and check resulting node
Alan T. DeKok [Tue, 26 Mar 2019 00:56:46 +0000 (20:56 -0400)]
indent debug messages
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.
Alan T. DeKok [Mon, 25 Mar 2019 19:05:15 +0000 (15:05 -0400)]
check node after inserting key, not before
Alan T. DeKok [Mon, 25 Mar 2019 19:04:55 +0000 (15:04 -0400)]
free COMP nodes, too
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
Alan T. DeKok [Mon, 25 Mar 2019 12:44:01 +0000 (08:44 -0400)]
regenerate test certificates
Alan T. DeKok [Mon, 25 Mar 2019 12:41:33 +0000 (08:41 -0400)]
fix paths. Closes #2580
Augustin-FL [Mon, 25 Mar 2019 06:14:45 +0000 (07:14 +0100)]
Create dictionary.pfsense
Arran Cudbard-Bell [Sun, 24 Mar 2019 13:56:47 +0000 (20:56 +0700)]
Better rest debugging
Arran Cudbard-Bell [Sun, 24 Mar 2019 13:26:26 +0000 (20:26 +0700)]
Fix confusing debug output
Arran Cudbard-Bell [Sun, 24 Mar 2019 13:15:09 +0000 (20:15 +0700)]
Print what we received from the server
Arran Cudbard-Bell [Sun, 24 Mar 2019 12:50:16 +0000 (19:50 +0700)]
Emit error if xlats fail
Arran Cudbard-Bell [Sun, 24 Mar 2019 12:47:03 +0000 (19:47 +0700)]
Typo
Alan T. DeKok [Sun, 24 Mar 2019 12:45:31 +0000 (08:45 -0400)]
remove unused assignment
Arran Cudbard-Bell [Sun, 24 Mar 2019 12:21:01 +0000 (19:21 +0700)]
Trie cleanups
Arran Cudbard-Bell [Sun, 24 Mar 2019 12:16:13 +0000 (19:16 +0700)]
More cleanups
Arran Cudbard-Bell [Sun, 24 Mar 2019 00:49:12 +0000 (07:49 +0700)]
Doxygen
Alan T. DeKok [Sat, 23 Mar 2019 23:47:34 +0000 (19:47 -0400)]
more fixes for scanner
Alan T. DeKok [Sat, 23 Mar 2019 22:40:46 +0000 (18:40 -0400)]
typo
Alan T. DeKok [Sat, 23 Mar 2019 22:17:38 +0000 (18:17 -0400)]
typo
Alan T. DeKok [Sat, 23 Mar 2019 22:03:53 +0000 (18:03 -0400)]
more hints for clang scan
Alan T. DeKok [Sat, 23 Mar 2019 21:38:13 +0000 (17:38 -0400)]
try to quiet static analyzer
Alan T. DeKok [Sat, 23 Mar 2019 19:06:31 +0000 (15:06 -0400)]
fix compile errors
Alan T. DeKok [Sat, 23 Mar 2019 19:03:19 +0000 (15:03 -0400)]
doxygen
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
Alan T. DeKok [Sat, 23 Mar 2019 18:27:31 +0000 (14:27 -0400)]
add more printing
Alan T. DeKok [Sat, 23 Mar 2019 18:26:34 +0000 (14:26 -0400)]
added more debug printing
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
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
Alan T. DeKok [Sat, 23 Mar 2019 18:21:14 +0000 (14:21 -0400)]
remove unnecessary variable from field
Alan T. DeKok [Sat, 23 Mar 2019 18:19:44 +0000 (14:19 -0400)]
make comment clearer
Alan T. DeKok [Sat, 23 Mar 2019 18:18:37 +0000 (14:18 -0400)]
default to inserting at the end for add_edge
Alan T. DeKok [Sat, 23 Mar 2019 18:07:25 +0000 (14:07 -0400)]
verify edge order in compressed nodes
Alan T. DeKok [Sat, 23 Mar 2019 14:01:42 +0000 (10:01 -0400)]
use correct chunk when converting comp to path
Alan T. DeKok [Sat, 23 Mar 2019 12:42:27 +0000 (08:42 -0400)]
mask out all of the bits we don't want
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.
Arran Cudbard-Bell [Sat, 23 Mar 2019 15:52:37 +0000 (22:52 +0700)]
Sign issue
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
Arran Cudbard-Bell [Sat, 23 Mar 2019 15:41:40 +0000 (22:41 +0700)]
s/talloc_realloc_bstr/talloc_bstr_realloc/g
Arran Cudbard-Bell [Sat, 23 Mar 2019 15:40:59 +0000 (22:40 +0700)]
Move ROUND_UP functions into util/misc.h
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*
Arran Cudbard-Bell [Sat, 23 Mar 2019 09:02:35 +0000 (16:02 +0700)]
More PAP tests
Arran Cudbard-Bell [Fri, 22 Mar 2019 14:39:42 +0000 (21:39 +0700)]
Allow HTTP2 status line
Alan T. DeKok [Fri, 22 Mar 2019 14:35:33 +0000 (10:35 -0400)]
dedup names
Alan T. DeKok [Fri, 22 Mar 2019 14:07:48 +0000 (10:07 -0400)]
typo
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
Alan T. DeKok [Fri, 22 Mar 2019 13:34:08 +0000 (09:34 -0400)]
remove TODO notes, which are mostly done
Arran Cudbard-Bell [Thu, 21 Mar 2019 16:42:51 +0000 (23:42 +0700)]
Distinguish between modifying and inserting
Arran Cudbard-Bell [Thu, 21 Mar 2019 16:02:59 +0000 (23:02 +0700)]
Fix args... again