]>
git.ipfire.org Git - thirdparty/freeradius-server.git/log
Arran Cudbard-Bell [Mon, 5 Jun 2017 00:55:56 +0000 (20:55 -0400)]
Rename more functions
Arran Cudbard-Bell [Sun, 4 Jun 2017 23:53:03 +0000 (19:53 -0400)]
s/fr_conn_reconnect/fr_connection_reconnect/
Arran Cudbard-Bell [Sun, 4 Jun 2017 23:52:13 +0000 (19:52 -0400)]
Ignore ca.der
Arran Cudbard-Bell [Sun, 4 Jun 2017 23:43:15 +0000 (19:43 -0400)]
Rename connection pool functions
Arran Cudbard-Bell [Sun, 4 Jun 2017 22:17:56 +0000 (18:17 -0400)]
s/conn/connection/
Arran Cudbard-Bell [Sun, 4 Jun 2017 21:49:30 +0000 (17:49 -0400)]
Fix fr_ipaddr boxing macro
Arran Cudbard-Bell [Sun, 4 Jun 2017 21:43:32 +0000 (17:43 -0400)]
Use our own stdatomic.h if the system/compiler doesn’t have one
Arran Cudbard-Bell [Sun, 4 Jun 2017 21:31:17 +0000 (17:31 -0400)]
Fix build issues
Arran Cudbard-Bell [Sun, 4 Jun 2017 20:31:07 +0000 (16:31 -0400)]
Add completely untested rlm_logtee module to 'tee' request logs to different destinations
Untested because *someone* broke all the async listeners
Arran Cudbard-Bell [Sun, 4 Jun 2017 20:30:24 +0000 (16:30 -0400)]
Add generic IP boxing macro for all AFs
Arran Cudbard-Bell [Sun, 4 Jun 2017 20:29:13 +0000 (16:29 -0400)]
Add simple connection state machine
This is for establishing outgoing connections using an async evet loop
Arran Cudbard-Bell [Sun, 4 Jun 2017 19:53:59 +0000 (15:53 -0400)]
Remove constants from the magic number when we're doing version checks
Number was too big
Arran Cudbard-Bell [Sun, 4 Jun 2017 19:46:25 +0000 (15:46 -0400)]
Fix attribute number overloading in internal dictionary
Arran Cudbard-Bell [Sun, 4 Jun 2017 19:45:55 +0000 (15:45 -0400)]
s/ctx/uctx/ in event callbacks
Means it doesn't get confused with talloc_ctx
Arran Cudbard-Bell [Sun, 4 Jun 2017 19:45:30 +0000 (15:45 -0400)]
Find next nearest power of 2 in fr_ring_buffer_create
Arran Cudbard-Bell [Sun, 4 Jun 2017 19:45:09 +0000 (15:45 -0400)]
s/cbuff/fring/
Arran Cudbard-Bell [Sun, 4 Jun 2017 19:44:09 +0000 (15:44 -0400)]
Formatting
Arran Cudbard-Bell [Sun, 4 Jun 2017 18:39:37 +0000 (14:39 -0400)]
Rename connection.c/pool.c
Arran Cudbard-Bell [Sun, 4 Jun 2017 18:37:09 +0000 (14:37 -0400)]
Fix spelling
Arran Cudbard-Bell [Fri, 2 Jun 2017 22:01:05 +0000 (18:01 -0400)]
Add slack notifications
Arran Cudbard-Bell [Fri, 2 Jun 2017 22:00:22 +0000 (18:00 -0400)]
Reformat .travis.yml
Arran Cudbard-Bell [Fri, 2 Jun 2017 21:54:59 +0000 (17:54 -0400)]
Fix circular buffer to not do weird stuff
Like steal the memory into its context????? Ummm who thought that was a good idea.
Arran Cudbard-Bell [Fri, 2 Jun 2017 20:28:52 +0000 (16:28 -0400)]
Allow for chains of log destinations
Arran Cudbard-Bell [Fri, 2 Jun 2017 19:10:14 +0000 (15:10 -0400)]
Store a log uctx in the request and pass it to the callback function
This allows custom log functions to store different uctx data
Arran Cudbard-Bell [Fri, 2 Jun 2017 13:34:49 +0000 (09:34 -0400)]
s/radlog_func_t/log_func_t/
To match the nameing scheme
Alan T. DeKok [Fri, 2 Jun 2017 19:00:51 +0000 (15:00 -0400)]
it's OK to not have a client cert. Closes #2001
Arran Cudbard-Bell [Fri, 2 Jun 2017 12:41:35 +0000 (08:41 -0400)]
Allow session resumption ctx to be set on a per-request basis
Convert to using vp_tmpl_t so the value can come from a dynamic expansion
Arran Cudbard-Bell [Fri, 2 Jun 2017 12:38:55 +0000 (08:38 -0400)]
Fixup formatting in eap config
Matthew Newton [Thu, 1 Jun 2017 22:40:58 +0000 (18:40 -0400)]
update logstash config for latest version
Alan T. DeKok [Thu, 1 Jun 2017 19:40:36 +0000 (15:40 -0400)]
set request->rcode in resumption, too
Arran Cudbard-Bell [Thu, 1 Jun 2017 19:32:34 +0000 (15:32 -0400)]
Expose tls_server_config and tls_client_config
We should use these directly as PW_TYPE_SUBSECTION pointers instead of calling cf_section_parse
Arran Cudbard-Bell [Thu, 1 Jun 2017 19:30:43 +0000 (15:30 -0400)]
Rename FR_CONF_SUBSECTION_MULTI to FR_CONF_SUBSECTION_ALLOC
FR_CONF_SUBSECTION_ALLOC is the macro for specifying subsections which should be alloced, and are not directly nested in the instance data.
Arran Cudbard-Bell [Thu, 1 Jun 2017 19:16:08 +0000 (15:16 -0400)]
Formatting
Matthew Newton [Thu, 1 Jun 2017 18:29:52 +0000 (14:29 -0400)]
fixup debian package building - quilt refresh
Alan T. DeKok [Thu, 1 Jun 2017 18:13:22 +0000 (14:13 -0400)]
set *presult, too. It's sort of useful...
Alan T. DeKok [Thu, 1 Jun 2017 11:27:41 +0000 (07:27 -0400)]
use correct type. Closes #1998
It's better to pass the right type to a function, and cast it
on return.
Alan T. DeKok [Wed, 31 May 2017 22:19:36 +0000 (18:19 -0400)]
doxygen
Alan T. DeKok [Wed, 31 May 2017 22:15:17 +0000 (18:15 -0400)]
move "do_pop" outside of the main loop
and call calculate_result after doing a subsection.
Alan T. DeKok [Wed, 31 May 2017 22:05:35 +0000 (18:05 -0400)]
rename labels for clarity
Alan T. DeKok [Wed, 31 May 2017 21:21:03 +0000 (17:21 -0400)]
do last priority check before returning.
likely wrong, but I don't want to lose this code
Alan T. DeKok [Wed, 31 May 2017 20:27:00 +0000 (16:27 -0400)]
more debug, and set priorities
Alan T. DeKok [Wed, 31 May 2017 17:05:16 +0000 (13:05 -0400)]
stupid coverity again
CID #
1233595
Alan T. DeKok [Wed, 31 May 2017 17:03:50 +0000 (13:03 -0400)]
stupid coverity again
CID #
1206499
Alan T. DeKok [Wed, 31 May 2017 17:02:43 +0000 (13:02 -0400)]
stupid coverity
doesn't realize that returning in a failure case with the mutex
unlocked, means that the mutex is unlocked
CID #
1206498
Alan T. DeKok [Wed, 31 May 2017 16:58:45 +0000 (12:58 -0400)]
simpler coverity things
CID #
1411786
Alan T. DeKok [Tue, 30 May 2017 15:12:52 +0000 (11:12 -0400)]
typo
Alan T. DeKok [Tue, 30 May 2017 13:30:15 +0000 (09:30 -0400)]
check lower bound, too. Maybe this will quiet Coverity
Alan T. DeKok [Tue, 30 May 2017 13:26:28 +0000 (09:26 -0400)]
try to quiet coverity
If this doesn't work, we'll just have to add a comment telling
it to shut up
CID #
1400031
Alan T. DeKok [Tue, 30 May 2017 13:15:39 +0000 (09:15 -0400)]
try to quiet coverity
CID #
1358888
Alan T. DeKok [Tue, 30 May 2017 13:14:30 +0000 (09:14 -0400)]
don't do double unlock
CID #
1020958
Alan T. DeKok [Tue, 30 May 2017 13:13:17 +0000 (09:13 -0400)]
try to quiet coverity
Alan T. DeKok [Tue, 30 May 2017 13:12:20 +0000 (09:12 -0400)]
don't allow zero-length buffers
Alan T. DeKok [Tue, 30 May 2017 13:03:27 +0000 (09:03 -0400)]
try to shut up coverity
Arran Cudbard-Bell [Tue, 30 May 2017 02:19:17 +0000 (22:19 -0400)]
45 zeros, woo
Arran Cudbard-Bell [Tue, 30 May 2017 01:30:43 +0000 (21:30 -0400)]
CID
1317340: Use array initialiser instead
Arran Cudbard-Bell [Sat, 27 May 2017 18:53:34 +0000 (14:53 -0400)]
CID
1400042: Emit an error message if we can’t setup fault handlers
Arran Cudbard-Bell [Tue, 30 May 2017 00:41:16 +0000 (20:41 -0400)]
CID
1400053: Quiet TOCTOU
Arran Cudbard-Bell [Tue, 30 May 2017 00:39:32 +0000 (20:39 -0400)]
CID
1400058: Dumb false positive
Arran Cudbard-Bell [Tue, 30 May 2017 00:33:04 +0000 (20:33 -0400)]
CID
1411534: Replace at the end of the cusor becomes append
Alan T. DeKok [Mon, 29 May 2017 18:56:22 +0000 (14:56 -0400)]
re-order messages
Alan T. DeKok [Mon, 29 May 2017 18:31:08 +0000 (14:31 -0400)]
more sanity checking and cleaner errors
Alan T. DeKok [Mon, 29 May 2017 17:31:57 +0000 (13:31 -0400)]
run format.pl. Closes #1997
Alan T. DeKok [Mon, 29 May 2017 16:56:02 +0000 (12:56 -0400)]
make FD scope smaller to shut up static analysis
CID #
1233595
Alan T. DeKok [Mon, 29 May 2017 16:54:09 +0000 (12:54 -0400)]
close duplicated log_fd
CID #
1206738
Alan T. DeKok [Mon, 29 May 2017 16:44:32 +0000 (12:44 -0400)]
remove double unlock
CID #
1020958
Alan T. DeKok [Mon, 29 May 2017 15:26:00 +0000 (11:26 -0400)]
we want the length of the uint8_t data, not eap_packet_raw_t
Alan T. DeKok [Mon, 29 May 2017 14:37:58 +0000 (10:37 -0400)]
remove unused label
Alan T. DeKok [Mon, 29 May 2017 14:13:43 +0000 (10:13 -0400)]
do length checks before looking at data
Arran Cudbard-Bell [Sun, 28 May 2017 02:13:11 +0000 (22:13 -0400)]
CID
1293623: Perform upper bounds check on EAP length field
Arran Cudbard-Bell [Sun, 28 May 2017 01:55:35 +0000 (21:55 -0400)]
Comma happy
Arran Cudbard-Bell [Sun, 28 May 2017 01:24:27 +0000 (21:24 -0400)]
CID
1316266: Copy data[2] (hlen) to a local variable, bounds check that, and use that in operations that access the mac address
Arran Cudbard-Bell [Sun, 28 May 2017 01:06:50 +0000 (21:06 -0400)]
CID
1317340: Try and convince coverity we know what we’re doing
Arran Cudbard-Bell [Sun, 28 May 2017 01:00:05 +0000 (21:00 -0400)]
CID
1358881: Reorganise code so it doesn’t look like a copy/paste error
Arran Cudbard-Bell [Sun, 28 May 2017 00:43:38 +0000 (20:43 -0400)]
CID
1358882: False positive, but easier to explicitly update cert_vps
Arran Cudbard-Bell [Sun, 28 May 2017 00:41:21 +0000 (20:41 -0400)]
CID
1358885: Not dead code, just static analysis tools are dumb
Arran Cudbard-Bell [Sun, 28 May 2017 00:36:13 +0000 (20:36 -0400)]
CID
1400040: Zero out fdset
Arran Cudbard-Bell [Sun, 28 May 2017 00:29:34 +0000 (20:29 -0400)]
CID
1400041: Restrict maximum conduit data length to UINT32_MAX (which it was anyway)
Also s/inbuf/out/
Arran Cudbard-Bell [Sat, 27 May 2017 13:31:10 +0000 (09:31 -0400)]
cast to size_t
Arran Cudbard-Bell [Sat, 27 May 2017 13:25:16 +0000 (09:25 -0400)]
Merge branch 'v4.0.x' of github.com:FreeRADIUS/freeradius-server into v4.0.x
Arran Cudbard-Bell [Sat, 27 May 2017 13:17:29 +0000 (09:17 -0400)]
Tainted scalar fix
Arran Cudbard-Bell [Fri, 26 May 2017 20:31:50 +0000 (16:31 -0400)]
CUD
1400036: Don't SEGV if fr_cursor_replace is called on a cursor with an empty VP list
Arran Cudbard-Bell [Fri, 26 May 2017 20:26:38 +0000 (16:26 -0400)]
More thorough tainted scalar checks
Arran Cudbard-Bell [Fri, 26 May 2017 20:07:46 +0000 (16:07 -0400)]
CID
1020958: Firebird code is awful and needs to be rewritten
Arran Cudbard-Bell [Fri, 26 May 2017 20:00:44 +0000 (16:00 -0400)]
Just in case coverity is really stupid
Arran Cudbard-Bell [Fri, 26 May 2017 19:49:11 +0000 (15:49 -0400)]
CID
1400066: Check for NULL parent first
Arran Cudbard-Bell [Fri, 26 May 2017 19:43:51 +0000 (15:43 -0400)]
CID
1409861: Check return code
Alan T. DeKok [Fri, 26 May 2017 19:57:53 +0000 (15:57 -0400)]
no need to check variable
CID #
1400066
Alan T. DeKok [Fri, 26 May 2017 19:52:03 +0000 (15:52 -0400)]
return dict, 'out' must not be NULL
CID #
1400033
Alan T. DeKok [Fri, 26 May 2017 19:50:01 +0000 (15:50 -0400)]
remove dead code
CID #
1400032
Alan T. DeKok [Fri, 26 May 2017 19:16:08 +0000 (15:16 -0400)]
check for and ignore stats if !request->packet
CID #
1400038
Alan T. DeKok [Fri, 26 May 2017 19:14:56 +0000 (15:14 -0400)]
ignore errors on initial fault setup
Alan T. DeKok [Fri, 26 May 2017 19:10:57 +0000 (15:10 -0400)]
cast to quiet static analysis
CID #
1409876
Alan T. DeKok [Fri, 26 May 2017 19:03:46 +0000 (15:03 -0400)]
check errno, not num_events
CID #
1400045
Alan T. DeKok [Fri, 26 May 2017 19:01:30 +0000 (15:01 -0400)]
don't lock if there's no interpreter.
Mainly to shut up coverity. CID #
1400046
Arran Cudbard-Bell [Fri, 26 May 2017 14:06:19 +0000 (10:06 -0400)]
CID
1400023: Check return code of fr_pair_value_from_str
Arran Cudbard-Bell [Fri, 26 May 2017 14:00:06 +0000 (10:00 -0400)]
CID
1358898: Set umask if we're running under coverity
Alan T. DeKok [Fri, 26 May 2017 15:24:30 +0000 (11:24 -0400)]
typo
Arran Cudbard-Bell [Fri, 26 May 2017 13:39:02 +0000 (09:39 -0400)]
CID
1206505: Check octet/string attribute lengths. This is already done in VQP verify
Arran Cudbard-Bell [Fri, 26 May 2017 13:33:28 +0000 (09:33 -0400)]
CID
1104354: The high byte of c is always 0, so don't bother shifting.
Arran Cudbard-Bell [Fri, 26 May 2017 13:28:39 +0000 (09:28 -0400)]
CID
1020958: Fix double unlock