]>
git.ipfire.org Git - thirdparty/freeradius-server.git/log
Matthew Newton [Wed, 19 Jul 2017 11:56:22 +0000 (12:56 +0100)]
rlm_dict: fix unmerged comments
Arran Cudbard-Bell [Tue, 18 Jul 2017 16:58:58 +0000 (12:58 -0400)]
Event list first to match the I/O callbacks
Arran Cudbard-Bell [Sat, 15 Jul 2017 14:57:26 +0000 (10:57 -0400)]
Dict is used
Arran Cudbard-Bell [Sat, 15 Jul 2017 14:46:49 +0000 (10:46 -0400)]
Fixes for super pedantic compilers
Arran Cudbard-Bell [Sat, 15 Jul 2017 14:35:51 +0000 (10:35 -0400)]
Fixes for pedantic compilers
Arran Cudbard-Bell [Fri, 14 Jul 2017 19:13:21 +0000 (15:13 -0400)]
Remove boxing for size_t, conflicts with uint64
Arran Cudbard-Bell [Thu, 13 Jul 2017 22:00:51 +0000 (18:00 -0400)]
Add ethernet attributes
Arran Cudbard-Bell [Thu, 13 Jul 2017 20:50:53 +0000 (16:50 -0400)]
Allow unit_test_attribute to dynamically load proto libraries
In the (very near) future this will mean encode/decode tacacs and DHCP can go away, and encode/decode will become encode/decode radius.
Arran Cudbard-Bell [Thu, 13 Jul 2017 20:49:44 +0000 (16:49 -0400)]
Expose dl_by_name
Arran Cudbard-Bell [Thu, 13 Jul 2017 19:50:13 +0000 (15:50 -0400)]
...and another one
Arran Cudbard-Bell [Thu, 13 Jul 2017 19:38:32 +0000 (15:38 -0400)]
Shhhh
Arran Cudbard-Bell [Thu, 13 Jul 2017 19:23:55 +0000 (15:23 -0400)]
Copy test_type to a buffer so we don't need to manually count chars, and we can easily do wildcard matches
Arran Cudbard-Bell [Thu, 13 Jul 2017 19:08:37 +0000 (15:08 -0400)]
Fix and build ethernet protocol encoder/decoder
Arran Cudbard-Bell [Thu, 13 Jul 2017 19:08:05 +0000 (15:08 -0400)]
Fix proto.h so it builds
Arran Cudbard-Bell [Thu, 13 Jul 2017 19:07:52 +0000 (15:07 -0400)]
Add IP address type group
Arran Cudbard-Bell [Thu, 13 Jul 2017 19:07:38 +0000 (15:07 -0400)]
Add unboxing macro
Move some functions to static inline
Remove 'from' from some functions names (box is a verb).
Arran Cudbard-Bell [Thu, 13 Jul 2017 01:37:29 +0000 (21:37 -0400)]
Provide functions for value box assignments from C types
Alan T. DeKok [Thu, 13 Jul 2017 16:48:42 +0000 (12:48 -0400)]
added tracking and allocation for outbound RADIUS packets
Arran Cudbard-Bell [Thu, 13 Jul 2017 01:37:29 +0000 (21:37 -0400)]
Provide functions for value box assignments from C types
Arran Cudbard-Bell [Thu, 13 Jul 2017 01:24:44 +0000 (21:24 -0400)]
Ignore cert index files?
Arran Cudbard-Bell [Wed, 12 Jul 2017 22:29:20 +0000 (18:29 -0400)]
Start of another _Generic macro to fill in value boxes from C vars
Arran Cudbard-Bell [Wed, 12 Jul 2017 22:21:44 +0000 (18:21 -0400)]
Generic I/O framework headers, and example ethernet encoder/decoder
Alan T. DeKok [Wed, 12 Jul 2017 21:01:07 +0000 (17:01 -0400)]
unused variable
Alan T. DeKok [Wed, 12 Jul 2017 19:48:40 +0000 (15:48 -0400)]
todo notes for the module
Alan T. DeKok [Wed, 12 Jul 2017 19:03:07 +0000 (15:03 -0400)]
bind to outbound socket, and start of write()
Alan T. DeKok [Wed, 12 Jul 2017 18:44:04 +0000 (14:44 -0400)]
fix names
Alan T. DeKok [Wed, 12 Jul 2017 18:29:05 +0000 (14:29 -0400)]
add rlm_radius_udp
Alan T. DeKok [Wed, 12 Jul 2017 18:28:51 +0000 (14:28 -0400)]
update API
Alan T. DeKok [Wed, 12 Jul 2017 15:52:41 +0000 (11:52 -0400)]
asn1 times can be truncated
Alan T. DeKok [Wed, 12 Jul 2017 15:43:12 +0000 (11:43 -0400)]
don't call write() if there's no data in the message
Alan T. DeKok [Wed, 12 Jul 2017 11:52:06 +0000 (07:52 -0400)]
don't check for >=0 on uint
Alan T. DeKok [Tue, 11 Jul 2017 19:43:21 +0000 (15:43 -0400)]
allow mrc=mrt=mrd=0 for accounting packets
the REQUEST will be automatically cleaned up at max_request_time
anyways...
Alan T. DeKok [Tue, 11 Jul 2017 18:08:01 +0000 (14:08 -0400)]
allow for multiple packets in one read
Alan T. DeKok [Tue, 11 Jul 2017 17:56:23 +0000 (13:56 -0400)]
provisions for trailing data after read()
Alan T. DeKok [Tue, 11 Jul 2017 15:50:04 +0000 (11:50 -0400)]
set / check types on client_io_ctx
Alan T. DeKok [Tue, 11 Jul 2017 15:12:26 +0000 (11:12 -0400)]
added API to calculate delays
Alan T. DeKok [Tue, 11 Jul 2017 14:20:33 +0000 (10:20 -0400)]
add irt, mrc, mrt, and mrd for outgoing packets
Alan T. DeKok [Tue, 11 Jul 2017 13:08:33 +0000 (09:08 -0400)]
try to call write() immediately. If it works, we're fine
This avoids a lot of overhead in updating the event list,
and doing lots of callbacks.
Alan T. DeKok [Tue, 11 Jul 2017 12:59:52 +0000 (08:59 -0400)]
check for certificate expiry before running EAP tests
Alan T. DeKok [Tue, 11 Jul 2017 12:55:43 +0000 (08:55 -0400)]
regenerated test certificates
Alan T. DeKok [Tue, 11 Jul 2017 12:55:25 +0000 (08:55 -0400)]
update expiry for client and OCSP certs, too
Alan T. DeKok [Tue, 11 Jul 2017 12:50:30 +0000 (08:50 -0400)]
targets to print / verify certificates
Alan T. DeKok [Tue, 11 Jul 2017 12:47:40 +0000 (08:47 -0400)]
track sent / recv times
Alan T. DeKok [Tue, 11 Jul 2017 12:47:19 +0000 (08:47 -0400)]
don't call write() in mod_add. Just add it to the queue.
Alan T. DeKok [Mon, 10 Jul 2017 19:44:59 +0000 (15:44 -0400)]
more clear backlog
Alan T. DeKok [Mon, 10 Jul 2017 19:25:28 +0000 (15:25 -0400)]
check return code from transport write()
Alan T. DeKok [Mon, 10 Jul 2017 18:30:07 +0000 (14:30 -0400)]
make write() work
and add flush, for cases like TLS, where there's data to be
written to the socket even when there's no REQUEST
Alan T. DeKok [Mon, 10 Jul 2017 18:15:25 +0000 (14:15 -0400)]
make read() work
Alan T. DeKok [Mon, 10 Jul 2017 17:57:55 +0000 (13:57 -0400)]
more progress on rlm_radius
write callbacks are defined. fd active / idle callbacks are defined.
Alan T. DeKok [Sat, 8 Jul 2017 16:58:56 +0000 (12:58 -0400)]
typo
Alan T. DeKok [Sat, 8 Jul 2017 14:45:08 +0000 (10:45 -0400)]
add memcpy_bounded()
which takes an "end" pointer. It won't read past that.
Alan T. DeKok [Fri, 7 Jul 2017 19:35:29 +0000 (15:35 -0400)]
fix typo
Alan T. DeKok [Fri, 7 Jul 2017 18:36:45 +0000 (14:36 -0400)]
use failed callback
Arran Cudbard-Bell [Fri, 7 Jul 2017 18:09:11 +0000 (14:09 -0400)]
Another minor hack
Arran Cudbard-Bell [Fri, 7 Jul 2017 17:51:13 +0000 (13:51 -0400)]
Can't set state in freed connection
Arran Cudbard-Bell [Fri, 7 Jul 2017 16:42:25 +0000 (12:42 -0400)]
uctx is used...
Arran Cudbard-Bell [Fri, 7 Jul 2017 16:27:31 +0000 (12:27 -0400)]
Make the 'timeout' callback, a generic failure callback
The issue is the connection attempt might explicitly fail, not just timeout.
Arran Cudbard-Bell [Fri, 7 Jul 2017 16:23:54 +0000 (12:23 -0400)]
Bind fd I/O events to the connection in rlm_radius
Arran Cudbard-Bell [Fri, 7 Jul 2017 16:07:21 +0000 (12:07 -0400)]
Be nice...
Arran Cudbard-Bell [Fri, 7 Jul 2017 16:06:22 +0000 (12:06 -0400)]
Add new 'halted' state to make the state machine saner
Add timeout callback
Alan T. DeKok [Fri, 7 Jul 2017 15:52:45 +0000 (11:52 -0400)]
More cleanups and fixes for rlm_radius
Alan T. DeKok [Fri, 7 Jul 2017 13:58:15 +0000 (09:58 -0400)]
more progress on getting RADIUS packets out of the server again
Alan T. DeKok [Fri, 7 Jul 2017 13:57:59 +0000 (09:57 -0400)]
make notes about better load balancing of workers
Alan T. DeKok [Thu, 6 Jul 2017 21:37:40 +0000 (17:37 -0400)]
correct documentation
Alan T. DeKok [Thu, 6 Jul 2017 18:06:56 +0000 (14:06 -0400)]
start of provisions for submodules
Arran Cudbard-Bell [Fri, 7 Jul 2017 15:05:14 +0000 (11:05 -0400)]
More unlikely events
Arran Cudbard-Bell [Fri, 7 Jul 2017 11:50:00 +0000 (07:50 -0400)]
Identify another unlikely path
Arran Cudbard-Bell [Fri, 7 Jul 2017 01:45:54 +0000 (21:45 -0400)]
Both a->symbol and b->symbol are nonnull
Arran Cudbard-Bell [Fri, 7 Jul 2017 01:40:52 +0000 (21:40 -0400)]
Help the compiler out with branch prediction in hot code paths
Arran Cudbard-Bell [Fri, 7 Jul 2017 01:11:52 +0000 (21:11 -0400)]
Use same format
Arran Cudbard-Bell [Fri, 7 Jul 2017 01:09:23 +0000 (21:09 -0400)]
Reduce branches in comparators
Arran Cudbard-Bell [Thu, 6 Jul 2017 20:18:59 +0000 (16:18 -0400)]
Fix comment
Arran Cudbard-Bell [Thu, 6 Jul 2017 20:00:16 +0000 (16:00 -0400)]
Convert file descriptor and event timer comparators to something less branchy
Arran Cudbard-Bell [Thu, 6 Jul 2017 19:13:36 +0000 (15:13 -0400)]
Minor formatting and doxygen
Arran Cudbard-Bell [Thu, 6 Jul 2017 18:27:00 +0000 (14:27 -0400)]
Where are you symbolizer...
Arran Cudbard-Bell [Thu, 6 Jul 2017 18:16:44 +0000 (14:16 -0400)]
Stupid comments
Arran Cudbard-Bell [Thu, 6 Jul 2017 18:14:45 +0000 (14:14 -0400)]
Try 3.9
Arran Cudbard-Bell [Thu, 6 Jul 2017 18:07:46 +0000 (14:07 -0400)]
Maybe this will work?
Arran Cudbard-Bell [Thu, 6 Jul 2017 17:39:40 +0000 (13:39 -0400)]
Add repo for shiny new compilers
Arran Cudbard-Bell [Thu, 6 Jul 2017 17:38:02 +0000 (13:38 -0400)]
Try 4
Arran Cudbard-Bell [Thu, 6 Jul 2017 17:36:02 +0000 (13:36 -0400)]
Try bumping clang, llvm versions
Arran Cudbard-Bell [Thu, 6 Jul 2017 17:22:45 +0000 (13:22 -0400)]
Set environmental variables in the right place
Arran Cudbard-Bell [Thu, 6 Jul 2017 16:49:12 +0000 (12:49 -0400)]
Try a different way of ignoring "leaks"
Arran Cudbard-Bell [Thu, 6 Jul 2017 15:50:15 +0000 (11:50 -0400)]
Add talloc context bindings for file descriptor based events
Arran Cudbard-Bell [Thu, 6 Jul 2017 15:49:48 +0000 (11:49 -0400)]
Constify the event structures we return
We really don't want anyone mucking with them at all. Protection mainly to prevent talloc context being changed.
Arran Cudbard-Bell [Thu, 6 Jul 2017 15:44:51 +0000 (11:44 -0400)]
Disable leak detection as we can't reproduce the leaks locally to debug
Arran Cudbard-Bell [Thu, 6 Jul 2017 15:17:14 +0000 (11:17 -0400)]
fix unused variables and type casts in rlm_radius
Arran Cudbard-Bell [Thu, 6 Jul 2017 15:14:24 +0000 (11:14 -0400)]
Should be a check in non-debugging builds too
Arran Cudbard-Bell [Thu, 6 Jul 2017 15:08:51 +0000 (11:08 -0400)]
Free more memory on exit, and use talloc's memory report (enabled NULL ctx tracking)
Arran Cudbard-Bell [Thu, 6 Jul 2017 14:57:15 +0000 (10:57 -0400)]
Prevent eapol_test from running repeatedly (again)
This was broken during the conversion to boilermake
Arran Cudbard-Bell [Thu, 6 Jul 2017 14:33:11 +0000 (10:33 -0400)]
Allow searches before xlat_root has been initialised
Alan T. DeKok [Thu, 6 Jul 2017 14:29:48 +0000 (10:29 -0400)]
need this, too
Arran Cudbard-Bell [Thu, 6 Jul 2017 02:31:21 +0000 (22:31 -0400)]
Add event/talloc_ctx binding argument
Reorder fr_event_timer_insert arguments to be consistent with other event
Arran Cudbard-Bell [Wed, 5 Jul 2017 20:23:29 +0000 (16:23 -0400)]
Free xlat_root when there are no registrations left
Arran Cudbard-Bell [Wed, 5 Jul 2017 20:10:49 +0000 (16:10 -0400)]
Use normal talloc memory report
Arran Cudbard-Bell [Wed, 5 Jul 2017 20:06:38 +0000 (16:06 -0400)]
Try and track down leak
Alan T. DeKok [Wed, 5 Jul 2017 19:37:19 +0000 (15:37 -0400)]
move fr_client_io_t to rlm_radius.
and start on transport back-end
Arran Cudbard-Bell [Wed, 5 Jul 2017 19:34:45 +0000 (15:34 -0400)]
Enable ASAN_OPTIONS=detect_stack_use_after_return=1
Arran Cudbard-Bell [Wed, 5 Jul 2017 19:23:49 +0000 (15:23 -0400)]
Check if sanitize-address-use-after-scope is support
Alan T. DeKok [Wed, 5 Jul 2017 18:57:45 +0000 (14:57 -0400)]
change scope of buffer
and expand variables only if there's a ${...