]> git.ipfire.org Git - thirdparty/freeradius-server.git/log
thirdparty/freeradius-server.git
9 years agoword smithing
Alan T. DeKok [Tue, 25 Jul 2017 02:08:27 +0000 (22:08 -0400)] 
word smithing

9 years agoword smithing
Alan T. DeKok [Tue, 25 Jul 2017 02:07:41 +0000 (22:07 -0400)] 
word smithing

9 years agowarning
Alan T. DeKok [Tue, 25 Jul 2017 02:04:15 +0000 (22:04 -0400)] 
warning

9 years agoword smithing
Alan T. DeKok [Tue, 25 Jul 2017 02:02:58 +0000 (22:02 -0400)] 
word smithing

9 years agoword smithing
Alan T. DeKok [Tue, 25 Jul 2017 02:02:04 +0000 (22:02 -0400)] 
word smithing

9 years agoexplain why we're not gods
Alan T. DeKok [Tue, 25 Jul 2017 02:00:22 +0000 (22:00 -0400)] 
explain why we're not gods

9 years agoFix corner case with fd ctx change within an I/O handler
Arran Cudbard-Bell [Tue, 25 Jul 2017 00:27:54 +0000 (20:27 -0400)] 
Fix corner case with fd ctx change within an I/O handler

9 years agoDoxygen
Arran Cudbard-Bell [Tue, 25 Jul 2017 00:27:26 +0000 (20:27 -0400)] 
Doxygen

9 years agoWordsmithing
Arran Cudbard-Bell [Mon, 24 Jul 2017 21:07:02 +0000 (17:07 -0400)] 
Wordsmithing

9 years agoTALLOC_CTX is c->conn
Alan T. DeKok [Mon, 24 Jul 2017 20:51:03 +0000 (16:51 -0400)] 
TALLOC_CTX is c->conn

9 years agoTALLOC_CTX is t->conn
Alan T. DeKok [Mon, 24 Jul 2017 20:50:42 +0000 (16:50 -0400)] 
TALLOC_CTX is t->conn

9 years agomore cleanups of API
Alan T. DeKok [Mon, 24 Jul 2017 20:40:50 +0000 (16:40 -0400)] 
more cleanups of API

9 years agoset don't fragment only if we have a src ip
Alan T. DeKok [Mon, 24 Jul 2017 20:30:46 +0000 (16:30 -0400)] 
set don't fragment only if we have a src ip

9 years agomake it build and run
Alan T. DeKok [Mon, 24 Jul 2017 20:06:48 +0000 (16:06 -0400)] 
make it build and run

9 years agostart of "start timers" code.
Alan T. DeKok [Mon, 24 Jul 2017 19:32:07 +0000 (15:32 -0400)] 
start of "start timers" code.

Probably has to be put elsewhere, but...

9 years agomore parameters to alloc
Alan T. DeKok [Mon, 24 Jul 2017 19:32:01 +0000 (15:32 -0400)] 
more parameters to alloc

9 years agoAdd a code of conduct
Arran Cudbard-Bell [Mon, 24 Jul 2017 20:34:54 +0000 (16:34 -0400)] 
Add a code of conduct

9 years agoOnly switch ctx->state after we've received all the header lines for a header. Fixes...
Arran Cudbard-Bell [Mon, 24 Jul 2017 16:33:58 +0000 (12:33 -0400)] 
Only switch ctx->state after we've received all the header lines for a header. Fixes #2027

9 years agomore notes on "to do"
Alan T. DeKok [Thu, 20 Jul 2017 19:29:54 +0000 (15:29 -0400)] 
more notes on "to do"

9 years agouse io dst_port
Alan T. DeKok [Fri, 14 Jul 2017 13:45:34 +0000 (09:45 -0400)] 
use io dst_port

9 years agoadd 'now' parameter
Alan T. DeKok [Thu, 13 Jul 2017 19:36:52 +0000 (15:36 -0400)] 
add 'now' parameter

functions should avoid calling gettimeofday()

9 years agoadd "use_authenticator" flag
Alan T. DeKok [Thu, 13 Jul 2017 18:31:28 +0000 (14:31 -0400)] 
add "use_authenticator" flag

so we can turn on / off Original-Request-Authenticator tracking

9 years agoMerge pull request #2024 from mattrose/packaging_fixes
Arran Cudbard-Bell [Thu, 20 Jul 2017 12:49:02 +0000 (08:49 -0400)] 
Merge pull request #2024 from mattrose/packaging_fixes

Packaging fixes

9 years agofix errors in centos7 build, and do not require systemd package on systems that do... 2024/head
Matt Rose [Thu, 20 Jul 2017 12:44:44 +0000 (08:44 -0400)] 
fix errors in centos7 build, and do not require systemd package on systems that do not have systemd

9 years agoMerge pull request #2023 from mattrose/v4.0.x
Arran Cudbard-Bell [Thu, 20 Jul 2017 10:56:31 +0000 (06:56 -0400)] 
Merge pull request #2023 from mattrose/v4.0.x

add dockerfiles for building freeradius with docker

9 years agolibsystemd gets automagically added to debian/control if it is available
Matt Rose [Wed, 19 Jul 2017 14:41:57 +0000 (10:41 -0400)] 
libsystemd gets automagically added to debian/control if it is available

9 years agoadd dockerfiles for building freeradius with docker 2023/head
Matt Rose [Wed, 19 Jul 2017 13:59:06 +0000 (09:59 -0400)] 
add dockerfiles for building freeradius with docker

9 years agorlm_dict: fix unmerged comments 2009/head
Matthew Newton [Wed, 19 Jul 2017 11:56:22 +0000 (12:56 +0100)] 
rlm_dict: fix unmerged comments

9 years agoEvent list first to match the I/O callbacks
Arran Cudbard-Bell [Tue, 18 Jul 2017 16:58:58 +0000 (12:58 -0400)] 
Event list first to match the I/O callbacks

9 years agoDict is used
Arran Cudbard-Bell [Sat, 15 Jul 2017 14:57:26 +0000 (10:57 -0400)] 
Dict is used

9 years agoFixes for super pedantic compilers
Arran Cudbard-Bell [Sat, 15 Jul 2017 14:46:49 +0000 (10:46 -0400)] 
Fixes for super pedantic compilers

9 years agoFixes for pedantic compilers
Arran Cudbard-Bell [Sat, 15 Jul 2017 14:35:51 +0000 (10:35 -0400)] 
Fixes for pedantic compilers

9 years agoRemove boxing for size_t, conflicts with uint64
Arran Cudbard-Bell [Fri, 14 Jul 2017 19:13:21 +0000 (15:13 -0400)] 
Remove boxing for size_t, conflicts with uint64

9 years agoAdd ethernet attributes
Arran Cudbard-Bell [Thu, 13 Jul 2017 22:00:51 +0000 (18:00 -0400)] 
Add ethernet attributes

9 years agoAllow unit_test_attribute to dynamically load proto libraries
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.

9 years agoExpose dl_by_name
Arran Cudbard-Bell [Thu, 13 Jul 2017 20:49:44 +0000 (16:49 -0400)] 
Expose dl_by_name

9 years ago...and another one
Arran Cudbard-Bell [Thu, 13 Jul 2017 19:50:13 +0000 (15:50 -0400)] 
...and another one

9 years agoShhhh
Arran Cudbard-Bell [Thu, 13 Jul 2017 19:38:32 +0000 (15:38 -0400)] 
Shhhh

9 years agoCopy test_type to a buffer so we don't need to manually count chars, and we can easil...
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

9 years agoFix and build ethernet protocol encoder/decoder
Arran Cudbard-Bell [Thu, 13 Jul 2017 19:08:37 +0000 (15:08 -0400)] 
Fix and build ethernet protocol encoder/decoder

9 years agoFix proto.h so it builds
Arran Cudbard-Bell [Thu, 13 Jul 2017 19:08:05 +0000 (15:08 -0400)] 
Fix proto.h so it builds

9 years agoAdd IP address type group
Arran Cudbard-Bell [Thu, 13 Jul 2017 19:07:52 +0000 (15:07 -0400)] 
Add IP address type group

9 years agoAdd unboxing macro
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).

9 years agoProvide functions for value box assignments from C types
Arran Cudbard-Bell [Thu, 13 Jul 2017 01:37:29 +0000 (21:37 -0400)] 
Provide functions for value box assignments from C types

9 years agoadded tracking and allocation for outbound RADIUS packets
Alan T. DeKok [Thu, 13 Jul 2017 16:48:42 +0000 (12:48 -0400)] 
added tracking and allocation for outbound RADIUS packets

9 years agoProvide functions for value box assignments from C types
Arran Cudbard-Bell [Thu, 13 Jul 2017 01:37:29 +0000 (21:37 -0400)] 
Provide functions for value box assignments from C types

9 years agoIgnore cert index files?
Arran Cudbard-Bell [Thu, 13 Jul 2017 01:24:44 +0000 (21:24 -0400)] 
Ignore cert index files?

9 years agoStart of another _Generic macro to fill in value boxes from C vars
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

9 years agoGeneric I/O framework headers, and example ethernet encoder/decoder
Arran Cudbard-Bell [Wed, 12 Jul 2017 22:21:44 +0000 (18:21 -0400)] 
Generic I/O framework headers, and example ethernet encoder/decoder

9 years agounused variable
Alan T. DeKok [Wed, 12 Jul 2017 21:01:07 +0000 (17:01 -0400)] 
unused variable

9 years agotodo notes for the module
Alan T. DeKok [Wed, 12 Jul 2017 19:48:40 +0000 (15:48 -0400)] 
todo notes for the module

9 years agobind to outbound socket, and start of write()
Alan T. DeKok [Wed, 12 Jul 2017 19:03:07 +0000 (15:03 -0400)] 
bind to outbound socket, and start of write()

9 years agofix names
Alan T. DeKok [Wed, 12 Jul 2017 18:44:04 +0000 (14:44 -0400)] 
fix names

9 years agoadd rlm_radius_udp
Alan T. DeKok [Wed, 12 Jul 2017 18:29:05 +0000 (14:29 -0400)] 
add rlm_radius_udp

9 years agoupdate API
Alan T. DeKok [Wed, 12 Jul 2017 18:28:51 +0000 (14:28 -0400)] 
update API

9 years agoasn1 times can be truncated
Alan T. DeKok [Wed, 12 Jul 2017 15:52:41 +0000 (11:52 -0400)] 
asn1 times can be truncated

9 years agodon't call write() if there's no data in the message
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

9 years agodon't check for >=0 on uint
Alan T. DeKok [Wed, 12 Jul 2017 11:52:06 +0000 (07:52 -0400)] 
don't check for >=0 on uint

9 years agoallow mrc=mrt=mrd=0 for accounting packets
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...

9 years agoallow for multiple packets in one read
Alan T. DeKok [Tue, 11 Jul 2017 18:08:01 +0000 (14:08 -0400)] 
allow for multiple packets in one read

9 years agoprovisions for trailing data after read()
Alan T. DeKok [Tue, 11 Jul 2017 17:56:23 +0000 (13:56 -0400)] 
provisions for trailing data after read()

9 years agoset / check types on client_io_ctx
Alan T. DeKok [Tue, 11 Jul 2017 15:50:04 +0000 (11:50 -0400)] 
set / check types on client_io_ctx

9 years agoadded API to calculate delays
Alan T. DeKok [Tue, 11 Jul 2017 15:12:26 +0000 (11:12 -0400)] 
added API to calculate delays

9 years agoadd irt, mrc, mrt, and mrd for outgoing packets
Alan T. DeKok [Tue, 11 Jul 2017 14:20:33 +0000 (10:20 -0400)] 
add irt, mrc, mrt, and mrd for outgoing packets

9 years agotry to call write() immediately. If it works, we're fine
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.

9 years agocheck for certificate expiry before running EAP tests
Alan T. DeKok [Tue, 11 Jul 2017 12:59:52 +0000 (08:59 -0400)] 
check for certificate expiry before running EAP tests

9 years agoregenerated test certificates
Alan T. DeKok [Tue, 11 Jul 2017 12:55:43 +0000 (08:55 -0400)] 
regenerated test certificates

9 years agoupdate expiry for client and OCSP certs, too
Alan T. DeKok [Tue, 11 Jul 2017 12:55:25 +0000 (08:55 -0400)] 
update expiry for client and OCSP certs, too

9 years agotargets to print / verify certificates
Alan T. DeKok [Tue, 11 Jul 2017 12:50:30 +0000 (08:50 -0400)] 
targets to print / verify certificates

9 years agotrack sent / recv times
Alan T. DeKok [Tue, 11 Jul 2017 12:47:40 +0000 (08:47 -0400)] 
track sent / recv times

9 years agodon't call write() in mod_add. Just add it to the queue.
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.

9 years agomore clear backlog
Alan T. DeKok [Mon, 10 Jul 2017 19:44:59 +0000 (15:44 -0400)] 
more clear backlog

9 years agocheck return code from transport write()
Alan T. DeKok [Mon, 10 Jul 2017 19:25:28 +0000 (15:25 -0400)] 
check return code from transport write()

9 years agomake write() work
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

9 years agomake read() work
Alan T. DeKok [Mon, 10 Jul 2017 18:15:25 +0000 (14:15 -0400)] 
make read() work

9 years agomore progress on rlm_radius
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.

9 years agotypo
Alan T. DeKok [Sat, 8 Jul 2017 16:58:56 +0000 (12:58 -0400)] 
typo

9 years agoadd memcpy_bounded()
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.

9 years agofix typo
Alan T. DeKok [Fri, 7 Jul 2017 19:35:29 +0000 (15:35 -0400)] 
fix typo

9 years agouse failed callback
Alan T. DeKok [Fri, 7 Jul 2017 18:36:45 +0000 (14:36 -0400)] 
use failed callback

9 years agoAnother minor hack
Arran Cudbard-Bell [Fri, 7 Jul 2017 18:09:11 +0000 (14:09 -0400)] 
Another minor hack

9 years agoCan't set state in freed connection
Arran Cudbard-Bell [Fri, 7 Jul 2017 17:51:13 +0000 (13:51 -0400)] 
Can't set state in freed connection

9 years agouctx is used...
Arran Cudbard-Bell [Fri, 7 Jul 2017 16:42:25 +0000 (12:42 -0400)] 
uctx is used...

9 years agoMake the 'timeout' callback, a generic failure callback
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.

9 years agoBind fd I/O events to the connection in rlm_radius
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

9 years agoBe nice...
Arran Cudbard-Bell [Fri, 7 Jul 2017 16:07:21 +0000 (12:07 -0400)] 
Be nice...

9 years agoAdd new 'halted' state to make the state machine saner
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

9 years agoMore cleanups and fixes for rlm_radius
Alan T. DeKok [Fri, 7 Jul 2017 15:52:45 +0000 (11:52 -0400)] 
More cleanups and fixes for rlm_radius

9 years agomore progress on getting RADIUS packets out of the server again
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

9 years agomake notes about better load balancing of workers
Alan T. DeKok [Fri, 7 Jul 2017 13:57:59 +0000 (09:57 -0400)] 
make notes about better load balancing of workers

9 years agocorrect documentation
Alan T. DeKok [Thu, 6 Jul 2017 21:37:40 +0000 (17:37 -0400)] 
correct documentation

9 years agostart of provisions for submodules
Alan T. DeKok [Thu, 6 Jul 2017 18:06:56 +0000 (14:06 -0400)] 
start of provisions for submodules

9 years agoMore unlikely events
Arran Cudbard-Bell [Fri, 7 Jul 2017 15:05:14 +0000 (11:05 -0400)] 
More unlikely events

9 years agoIdentify another unlikely path
Arran Cudbard-Bell [Fri, 7 Jul 2017 11:50:00 +0000 (07:50 -0400)] 
Identify another unlikely path

9 years agoBoth a->symbol and b->symbol are nonnull
Arran Cudbard-Bell [Fri, 7 Jul 2017 01:45:54 +0000 (21:45 -0400)] 
Both a->symbol and b->symbol are nonnull

9 years agoHelp the compiler out with branch prediction in hot code paths
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

9 years agoUse same format
Arran Cudbard-Bell [Fri, 7 Jul 2017 01:11:52 +0000 (21:11 -0400)] 
Use same format

9 years agoReduce branches in comparators
Arran Cudbard-Bell [Fri, 7 Jul 2017 01:09:23 +0000 (21:09 -0400)] 
Reduce branches in comparators

9 years agoFix comment
Arran Cudbard-Bell [Thu, 6 Jul 2017 20:18:59 +0000 (16:18 -0400)] 
Fix comment

9 years agoConvert file descriptor and event timer comparators to something less branchy
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