]>
git.ipfire.org Git - thirdparty/freeradius-server.git/log
Philippe Wooding [Tue, 4 Dec 2018 17:00:33 +0000 (18:00 +0100)]
Reorder xlat definitions
Philippe Wooding [Tue, 4 Dec 2018 16:57:09 +0000 (17:57 +0100)]
Convert sha2 & sha3 xlats to new async API
Philippe Wooding [Tue, 4 Dec 2018 16:48:43 +0000 (17:48 +0100)]
Convert hex xlat to new async API
Philippe Wooding [Tue, 4 Dec 2018 12:50:46 +0000 (13:50 +0100)]
Convert sha1 xlat to new async API
Alan T. DeKok [Tue, 4 Dec 2018 15:59:28 +0000 (10:59 -0500)]
should be debug3
Alan T. DeKok [Tue, 4 Dec 2018 15:51:08 +0000 (10:51 -0500)]
set listener name everywhere
Matthew Newton [Tue, 4 Dec 2018 13:29:46 +0000 (13:29 +0000)]
small sql schema fixes
Philippe Wooding [Tue, 4 Dec 2018 13:36:00 +0000 (14:36 +0100)]
Rename xlat_toupper to toupper_xlat
Arran Cudbard-Bell [Mon, 3 Dec 2018 18:40:38 +0000 (18:40 +0000)]
Merge pull request #2362 from pwdng/xlats
Convert tolower & toupper xlats to new async API
Philippe Wooding [Mon, 4 Jun 2018 13:04:18 +0000 (13:04 +0000)]
Convert toupper xlat to new async API
Philippe Wooding [Mon, 4 Jun 2018 13:01:56 +0000 (13:01 +0000)]
Convert tolower xlat to new async API
Arran Cudbard-Bell [Fri, 30 Nov 2018 18:13:58 +0000 (13:13 -0500)]
Use %pV in rlm_linelog messages
Arran Cudbard-Bell [Fri, 30 Nov 2018 17:41:47 +0000 (12:41 -0500)]
Remove many calls to fr_value_box_snprint
Not necessary fro debug messages, as all the logging macros/functions call fr_asprintf which supports %pV.
Alan T. DeKok [Thu, 29 Nov 2018 17:59:13 +0000 (12:59 -0500)]
remove old email address
Arran Cudbard-Bell [Thu, 29 Nov 2018 22:14:43 +0000 (17:14 -0500)]
Colourise more messages in rlm_pap
Arran Cudbard-Bell [Thu, 29 Nov 2018 21:36:50 +0000 (16:36 -0500)]
Only write *after* checking available buffer space
Arran Cudbard-Bell [Mon, 26 Nov 2018 18:57:34 +0000 (18:57 +0000)]
Use generic function for parsing conf pairs using tables
Arran Cudbard-Bell [Sat, 24 Nov 2018 17:48:00 +0000 (17:48 +0000)]
Typo
Arran Cudbard-Bell [Sat, 24 Nov 2018 17:41:12 +0000 (17:41 +0000)]
Add parameters for controlling HTTP2 negotiation and multiplexing
Arran Cudbard-Bell [Sat, 24 Nov 2018 17:40:33 +0000 (17:40 +0000)]
Constructor for table based parsing function
Arran Cudbard-Bell [Sat, 24 Nov 2018 17:38:55 +0000 (17:38 +0000)]
Formatting
Arran Cudbard-Bell [Sat, 24 Nov 2018 17:24:13 +0000 (17:24 +0000)]
Explain what the connection pool is used for in v4.0.x
Arran Cudbard-Bell [Sat, 24 Nov 2018 17:21:17 +0000 (17:21 +0000)]
Fix const order
Alan T. DeKok [Thu, 22 Nov 2018 17:14:30 +0000 (12:14 -0500)]
remove unused variable
Alan T. DeKok [Thu, 22 Nov 2018 16:30:11 +0000 (11:30 -0500)]
move "set packet->code" to dhcpv4_packet_decode()
Alan T. DeKok [Thu, 22 Nov 2018 16:25:54 +0000 (11:25 -0500)]
add ntohl
Arran Cudbard-Bell [Thu, 22 Nov 2018 15:16:49 +0000 (15:16 +0000)]
As per TS129061 version 150400P
https://www.etsi.org/deliver/etsi_ts/129000_129099/129061/15.04.00_60/ts_129061v150400p.pdf
There were complaints that our names didn't match the standard...
Matthew Newton [Thu, 22 Nov 2018 12:16:58 +0000 (12:16 +0000)]
redis: increase default max number of args
Matthew Newton [Thu, 22 Nov 2018 12:16:19 +0000 (12:16 +0000)]
rlm_redis: use defs from src/lib/redis/bash.h
Matthew Newton [Thu, 22 Nov 2018 11:43:47 +0000 (11:43 +0000)]
rlm_redis: error if too many args given
Alan T. DeKok [Thu, 22 Nov 2018 12:21:06 +0000 (07:21 -0500)]
set packet->code from DHCP-Message-Type
Arran Cudbard-Bell [Wed, 21 Nov 2018 22:18:21 +0000 (22:18 +0000)]
Nasty temporary hack to fix duplicate node evaluation of async functions in conditions
Alan T. DeKok [Wed, 21 Nov 2018 12:57:46 +0000 (07:57 -0500)]
don't print out len if we don't have it
Alan T. DeKok [Wed, 21 Nov 2018 12:50:02 +0000 (07:50 -0500)]
print out full DHCPv4 packet information
Alan T. DeKok [Wed, 21 Nov 2018 12:29:52 +0000 (07:29 -0500)]
XID is 8 hexits
Alan T. DeKok [Wed, 21 Nov 2018 12:18:59 +0000 (07:18 -0500)]
use XID as ID
We should really use a name instead of an ID everywhere
Alan T. DeKok [Wed, 21 Nov 2018 12:16:50 +0000 (07:16 -0500)]
use XID instead of ID
Alan T. DeKok [Wed, 21 Nov 2018 12:13:32 +0000 (07:13 -0500)]
add and use fr_dhcpv4_print_hex
Alan T. DeKok [Tue, 13 Nov 2018 21:37:32 +0000 (16:37 -0500)]
don't allow Acct-Delay-Time in status check packets, either
we rely instead on Event-Timestamp
Alan T. DeKok [Tue, 13 Nov 2018 21:36:08 +0000 (16:36 -0500)]
split status check retransmits into another function
Alan T. DeKok [Tue, 13 Nov 2018 21:17:47 +0000 (16:17 -0500)]
do some sanity checking on attributes in status check packets
Alan T. DeKok [Tue, 13 Nov 2018 20:21:00 +0000 (15:21 -0500)]
separate status check retransmissions from other packet types
Alan T. DeKok [Tue, 13 Nov 2018 19:48:47 +0000 (14:48 -0500)]
checks for sync proxying to work, and more cleanups
Alan T. DeKok [Tue, 13 Nov 2018 17:54:57 +0000 (12:54 -0500)]
remove reference to 3.0.2
Alan T. DeKok [Tue, 13 Nov 2018 17:53:34 +0000 (12:53 -0500)]
handle case where writing status check packets blocks
we remember that, and try to write it again as soon as the
socket becomes writable
Alan T. DeKok [Tue, 13 Nov 2018 17:40:07 +0000 (12:40 -0500)]
move "alloc ID" to state_transition
so that it's not scattered through the code.
Alan T. DeKok [Mon, 12 Nov 2018 21:36:54 +0000 (16:36 -0500)]
re-allocate ID on retransmit
not for Access-Request, tho. That would require re-encrypting
User-Password, and any other attribute that depends on the
authentication vector.
Alan T. DeKok [Mon, 12 Nov 2018 19:53:35 +0000 (14:53 -0500)]
set correct name and use it
Alan T. DeKok [Mon, 12 Nov 2018 19:51:50 +0000 (14:51 -0500)]
use talloc_array_length for length of secret
Alan T. DeKok [Mon, 12 Nov 2018 19:51:02 +0000 (14:51 -0500)]
simplify some more
Alan T. DeKok [Mon, 12 Nov 2018 19:47:11 +0000 (14:47 -0500)]
rearrange structs so that we have a clean connection interface
Alan T. DeKok [Mon, 12 Nov 2018 19:46:51 +0000 (14:46 -0500)]
set name here, so IO modules don't need to do this
Matthew Newton [Mon, 12 Nov 2018 18:15:06 +0000 (18:15 +0000)]
attr_filter: don't permit internal attrs in reject
Alan T. DeKok [Mon, 12 Nov 2018 16:32:43 +0000 (11:32 -0500)]
set dl_loader to NULL only when things are OK
Alan T. DeKok [Mon, 12 Nov 2018 15:37:29 +0000 (10:37 -0500)]
remove MINGW stuff that was never used
Alan T. DeKok [Mon, 12 Nov 2018 15:33:22 +0000 (10:33 -0500)]
print out module name, too.
otherwise we have no idea what instance is associated with what module
Arran Cudbard-Bell [Mon, 12 Nov 2018 16:21:38 +0000 (11:21 -0500)]
Unused
Arran Cudbard-Bell [Mon, 12 Nov 2018 15:12:55 +0000 (10:12 -0500)]
Let the caller know we consumed the input boxes
Arran Cudbard-Bell [Fri, 9 Nov 2018 22:13:27 +0000 (17:13 -0500)]
Be better about catching freed cursor items
Alan T. DeKok [Sun, 11 Nov 2018 20:40:45 +0000 (15:40 -0500)]
set dl_loader = NULL only if the trees are empty
and add assertions that dl_loader!=NULL elsewhere
It appears that in 'tests.eap', something is freeing the dl_loader
after the server starts, but before the server has exited. The result
is that it would crash instead of doing proper cleanups.
This change at least makes it keep running. But the underlying
issue needs to be tracked down.
Arran Cudbard-Bell [Fri, 9 Nov 2018 18:41:39 +0000 (13:41 -0500)]
Hack in support for async xlats in conditions
Arran Cudbard-Bell [Fri, 9 Nov 2018 18:41:20 +0000 (13:41 -0500)]
Formatting
Arran Cudbard-Bell [Fri, 9 Nov 2018 15:11:07 +0000 (10:11 -0500)]
Fixup dependencies
Arran Cudbard-Bell [Fri, 9 Nov 2018 15:07:18 +0000 (10:07 -0500)]
Refactor fr_strtoull and fr_strtoll to error out overflow
There's probably no case where we ever want to allow overflows to pass unaddressed.
Arran Cudbard-Bell [Fri, 9 Nov 2018 14:50:28 +0000 (09:50 -0500)]
explicitly clear errno, as strtoull on Linux appears not to do this
Alan T. DeKok [Fri, 9 Nov 2018 11:43:08 +0000 (06:43 -0500)]
use correct contexts for $INCLUDE, too
Arran Cudbard-Bell [Thu, 8 Nov 2018 22:02:52 +0000 (17:02 -0500)]
Better xlat string tests
Arran Cudbard-Bell [Thu, 8 Nov 2018 22:02:40 +0000 (17:02 -0500)]
Fixup integer tests
Arran Cudbard-Bell [Thu, 8 Nov 2018 21:59:17 +0000 (16:59 -0500)]
Call string in update sections in the strings test
Arran Cudbard-Bell [Thu, 8 Nov 2018 21:58:58 +0000 (16:58 -0500)]
Print integer strings as integers and not whatever the heck it was doing
Arran Cudbard-Bell [Thu, 8 Nov 2018 21:55:43 +0000 (16:55 -0500)]
Detect integer overflows when converting from strings
Arran Cudbard-Bell [Thu, 8 Nov 2018 21:55:07 +0000 (16:55 -0500)]
Use the unsigned integer parser to parse unsigned integers
Arran Cudbard-Bell [Thu, 8 Nov 2018 21:54:45 +0000 (16:54 -0500)]
Rename integer casting function
Arran Cudbard-Bell [Thu, 8 Nov 2018 20:43:02 +0000 (15:43 -0500)]
Escape tmpl names correctly when printing errors
Arran Cudbard-Bell [Thu, 8 Nov 2018 20:04:23 +0000 (15:04 -0500)]
Convert "%{string:}" to use async API
Arran Cudbard-Bell [Wed, 7 Nov 2018 22:00:44 +0000 (17:00 -0500)]
Swap ok/updated action priorities
Alan T. DeKok [Wed, 7 Nov 2018 21:37:41 +0000 (16:37 -0500)]
signed / unsigned issue
Arran Cudbard-Bell [Wed, 7 Nov 2018 21:15:19 +0000 (16:15 -0500)]
Balance RINDENT and REXDENT in fr_ldap_timeout_debug
Arran Cudbard-Bell [Wed, 7 Nov 2018 21:01:22 +0000 (16:01 -0500)]
Fix json code so mapped value is the raw value
Arran Cudbard-Bell [Wed, 7 Nov 2018 20:21:05 +0000 (15:21 -0500)]
Arg...
Alan T. DeKok [Wed, 7 Nov 2018 20:12:52 +0000 (15:12 -0500)]
clean up proxy / message authenticator handling
Alan T. DeKok [Wed, 7 Nov 2018 19:37:38 +0000 (14:37 -0500)]
re-arrange and clean up
in preparation for abstracting it to separate outbound IO from
RADIUS work
Alan T. DeKok [Mon, 5 Nov 2018 21:12:07 +0000 (16:12 -0500)]
remove unnecessary UNUSED
Alan T. DeKok [Mon, 5 Nov 2018 21:11:38 +0000 (16:11 -0500)]
rename packet states for clarity
Arran Cudbard-Bell [Wed, 7 Nov 2018 20:15:00 +0000 (15:15 -0500)]
Quiet compiler
Arran Cudbard-Bell [Wed, 7 Nov 2018 20:11:01 +0000 (15:11 -0500)]
Start of the rlm_rediswho structure should be the standard config struct, not a pointer fixes #2350
Arran Cudbard-Bell [Wed, 7 Nov 2018 20:10:36 +0000 (15:10 -0500)]
Quiet compiler
ssshh
Arran Cudbard-Bell [Wed, 7 Nov 2018 19:53:28 +0000 (14:53 -0500)]
cli not global
Arran Cudbard-Bell [Wed, 7 Nov 2018 19:48:46 +0000 (14:48 -0500)]
Only try and join the cli pthread if we're running with the cli
Arran Cudbard-Bell [Mon, 5 Nov 2018 17:42:18 +0000 (12:42 -0500)]
Merge pull request #2349 from mattrose/master
added docker scripts for ubuntu bionic
Matt Rose [Mon, 5 Nov 2018 16:20:45 +0000 (11:20 -0500)]
added docker scripts for ubuntu bionic
Alan DeKok [Fri, 2 Nov 2018 18:39:00 +0000 (14:39 -0400)]
Merge pull request #2347 from herwinw/compile_fix_sha3_512
Compile fixes for HAVE_EVP_SHA3_512
Alan T. DeKok [Fri, 2 Nov 2018 18:21:50 +0000 (14:21 -0400)]
remove rlm_radius_link_t
which is one less data structure per request.
Alan T. DeKok [Fri, 2 Nov 2018 18:07:45 +0000 (14:07 -0400)]
move "resume" to rlm_radius_udp
in preparation for getting rid of "link"
Herwin Weststrate [Fri, 2 Nov 2018 17:24:08 +0000 (18:24 +0100)]
Compile fixes for HAVE_EVP_SHA3_512
Alan T. DeKok [Fri, 2 Nov 2018 15:50:20 +0000 (11:50 -0400)]
fix argument ordering
Alan T. DeKok [Fri, 2 Nov 2018 15:24:13 +0000 (11:24 -0400)]
we shouldn't track which requests are using this module
the unlang interpreter does that. The rest of the code should
guarantee that all requests are stopped / freed before a module
is detached.
Alan T. DeKok [Fri, 2 Nov 2018 15:25:09 +0000 (11:25 -0400)]
typo
Alan T. DeKok [Fri, 2 Nov 2018 14:58:34 +0000 (10:58 -0400)]
more travis fixes
Alan T. DeKok [Fri, 2 Nov 2018 14:27:07 +0000 (10:27 -0400)]
build fixes for capabilities