]>
git.ipfire.org Git - thirdparty/freeradius-server.git/log
Arran Cudbard-Bell [Thu, 6 Apr 2017 21:40:44 +0000 (17:40 -0400)]
Breakout libldap functions into a utility library
Arran Cudbard-Bell [Thu, 6 Apr 2017 21:21:00 +0000 (17:21 -0400)]
Change Hdb to Mdb in LDAP test scripts
Arran Cudbard-Bell [Thu, 6 Apr 2017 17:10:22 +0000 (13:10 -0400)]
Rework fr_strerror and friends to allow multiple messages to be logged
Arran Cudbard-Bell [Thu, 6 Apr 2017 17:09:12 +0000 (13:09 -0400)]
Adding missing RCSID macros
Arran Cudbard-Bell [Wed, 5 Apr 2017 20:38:59 +0000 (16:38 -0400)]
Fixup doxygen headers in log.c
Alan T. DeKok [Wed, 5 Apr 2017 20:03:05 +0000 (16:03 -0400)]
update worker processing time
Alan T. DeKok [Wed, 5 Apr 2017 20:02:56 +0000 (16:02 -0400)]
update processing time for NAK
Alan T. DeKok [Wed, 5 Apr 2017 19:51:45 +0000 (15:51 -0400)]
update todo's
Alan T. DeKok [Wed, 5 Apr 2017 19:29:28 +0000 (15:29 -0400)]
build issues
Alan T. DeKok [Wed, 5 Apr 2017 18:58:12 +0000 (14:58 -0400)]
compiler warnings
Alan T. DeKok [Wed, 5 Apr 2017 18:30:09 +0000 (14:30 -0400)]
add fr_strerror handling
Alan T. DeKok [Wed, 5 Apr 2017 17:56:58 +0000 (13:56 -0400)]
add fr_strerror handling
Alan T. DeKok [Wed, 5 Apr 2017 17:52:09 +0000 (13:52 -0400)]
add fr_strerror handling
Alan T. DeKok [Wed, 5 Apr 2017 17:39:43 +0000 (13:39 -0400)]
add fr_strerror handling
Alan T. DeKok [Wed, 5 Apr 2017 17:33:22 +0000 (13:33 -0400)]
add fr_strerror handling
Alan T. DeKok [Wed, 5 Apr 2017 17:25:43 +0000 (13:25 -0400)]
add fr_strerror handling
Alan T. DeKok [Wed, 5 Apr 2017 17:10:54 +0000 (13:10 -0400)]
add error printing
Alan T. DeKok [Tue, 4 Apr 2017 22:23:27 +0000 (18:23 -0400)]
doxygen
Alan T. DeKok [Tue, 4 Apr 2017 22:22:51 +0000 (18:22 -0400)]
remove unused variable
Alan T. DeKok [Tue, 4 Apr 2017 21:11:29 +0000 (17:11 -0400)]
add fr_log_t to worker, and use it for messages
Alan T. DeKok [Tue, 4 Apr 2017 20:50:11 +0000 (16:50 -0400)]
add fr_log_t to receiver, and use it for messages
Alan T. DeKok [Tue, 4 Apr 2017 20:16:37 +0000 (16:16 -0400)]
get receiver working.
the idea is to get the receiver state machine working, and then
gradually glue in the transport layers.
We now have transport read/write mostly working. They will
likely get changed to use IO contexts later
Alan T. DeKok [Tue, 4 Apr 2017 16:14:51 +0000 (12:14 -0400)]
compiler warning
Alan T. DeKok [Tue, 4 Apr 2017 16:12:18 +0000 (12:12 -0400)]
Catch 32-bit overflows
Alan T. DeKok [Tue, 4 Apr 2017 15:36:43 +0000 (11:36 -0400)]
start of receiver read functionality
it now gets channel messages, and sends them to the worker
Alan T. DeKok [Tue, 4 Apr 2017 15:35:22 +0000 (11:35 -0400)]
more messages
Alan T. DeKok [Tue, 4 Apr 2017 15:34:59 +0000 (11:34 -0400)]
signal the worker when a channel is created
which is less surprising than asking the caller to do it
Alan T. DeKok [Tue, 4 Apr 2017 14:52:18 +0000 (10:52 -0400)]
set up the fault handlers.
Now that the fault handlers are no longer retarded
Alan T. DeKok [Tue, 4 Apr 2017 14:49:44 +0000 (10:49 -0400)]
SET DEBUG STATE WHEN TOLD TO SET THE DEBUG STATE
Honestly, this one bug has cost me days of time. Why the HELL
does setting the debug state NOT WORK. EVER. The MAGIC CODE to
figure out whether or not we're in a debugger DOES NOT WORK FOR ME.
The environment variable which FORCES the code to believe that
the debugger attached sets a variable LOCAL TO THE FUNCTION,
and FAILS TO SET THE GLOBAL VARIABLE WHICH SETS THE DEBUG STATE.
<sigh>
Alan T. DeKok [Tue, 4 Apr 2017 14:19:58 +0000 (10:19 -0400)]
create network thread(s) before workers
Alan T. DeKok [Mon, 3 Apr 2017 19:41:11 +0000 (15:41 -0400)]
more / better debugging
Alan T. DeKok [Mon, 3 Apr 2017 17:02:51 +0000 (13:02 -0400)]
add default message size to the transport layer
Arran Cudbard-Bell [Fri, 31 Mar 2017 20:29:43 +0000 (16:29 -0400)]
More minor debug output tweaks
Arran Cudbard-Bell [Fri, 31 Mar 2017 19:55:16 +0000 (15:55 -0400)]
Use a colon to match the value fmt
Arran Cudbard-Bell [Fri, 31 Mar 2017 19:31:09 +0000 (15:31 -0400)]
Say what the random pointers are
Arran Cudbard-Bell [Fri, 31 Mar 2017 19:26:51 +0000 (15:26 -0400)]
Merge pull request #1956 from mattrose/v4.0.x
fix .deb patch script so that it applies to 4.0.x
Matt Rose [Fri, 31 Mar 2017 18:55:15 +0000 (11:55 -0700)]
fix .deb patch script so that it applies to 4.0.x
Alan T. DeKok [Fri, 31 Mar 2017 13:39:24 +0000 (09:39 -0400)]
hese attributes are byte, not integer. Closes #1954
Alan T. DeKok [Fri, 31 Mar 2017 13:37:04 +0000 (09:37 -0400)]
Fix typo. Closes #1955
Alan DeKok [Thu, 30 Mar 2017 14:06:30 +0000 (10:06 -0400)]
Merge pull request #1953 from leitao/PR
FreeRADIUS fails to build on systems with LibreSSL.
Breno Leitao [Thu, 30 Mar 2017 13:36:43 +0000 (10:36 -0300)]
Freeradius fails to build on systems with LibreSSL.
FreeRadius try to link against function X509_get0_extensions() that does
not exist on LibreSSl, so the following "if" clausure does not work
correct for LibreSSL, since OpenSSL has a defined macro
OPENSSL_VERSION_NUMBER for LibreSSL bigger than
0x10100000, and does not have X509_get0_extensions():
#if OPENSSL_VERSION_NUMBER >= 0x10100000L
ext_list = X509_get0_extensions(client_cert);
This patch guarantee that this check is not valid for LibreSSL, thus,
using the fall back.
Nikolai Kondrashov [Wed, 29 Mar 2017 07:43:14 +0000 (10:43 +0300)]
Handle connection error in rlm_ldap_cacheable_groupobj
Closes #1951
Alan T. DeKok [Tue, 28 Mar 2017 20:09:33 +0000 (16:09 -0400)]
double-check OID tests
Alan T. DeKok [Tue, 28 Mar 2017 20:09:28 +0000 (16:09 -0400)]
print parent name, too
Alan T. DeKok [Tue, 28 Mar 2017 20:01:06 +0000 (16:01 -0400)]
remove "auto_converted" flag from templates.
Only the compiler should auto-convert things, and then only
if the LHS / RHS match in data type, and in parsing of that
data type
Alan T. DeKok [Tue, 28 Mar 2017 15:17:24 +0000 (11:17 -0400)]
map_cast_from_hex() does not produce error messages
Alan T. DeKok [Mon, 27 Mar 2017 18:07:32 +0000 (14:07 -0400)]
more cisco VPN attributes
Alan DeKok [Mon, 27 Mar 2017 15:38:23 +0000 (11:38 -0400)]
Merge pull request #1950 from prtrx/v4.0.x
Add Attribute 3076/85 (CVPN3000-Tunnel-Group-Lock)
Alan T. DeKok [Mon, 27 Mar 2017 15:16:06 +0000 (11:16 -0400)]
disable LEAP by default. It's insecure, and no one should use it.
Alan T. DeKok [Mon, 27 Mar 2017 15:15:51 +0000 (11:15 -0400)]
remove inner-tunnel from EAP-PWD
Florian Bauhaus [Mon, 27 Mar 2017 07:47:13 +0000 (09:47 +0200)]
Add Attribute 3076/85 (CVPN3000-Tunnel-Group-Lock)
http://www.cisco.com/c/en/us/support/docs/security/ios-easy-vpn/117634-configure-asa-00.html
Arran Cudbard-Bell [Tue, 21 Mar 2017 16:09:19 +0000 (12:09 -0400)]
Add IP address to failure messages in redis IPpool
Alan T. DeKok [Mon, 20 Mar 2017 21:18:00 +0000 (17:18 -0400)]
remove cistron compatibility mode
Alan T. DeKok [Mon, 20 Mar 2017 20:15:02 +0000 (16:15 -0400)]
remove unused map function
Arran Cudbard-Bell [Mon, 20 Mar 2017 00:36:40 +0000 (20:36 -0400)]
Package rlm_dict.so
Arran Cudbard-Bell [Mon, 20 Mar 2017 00:22:29 +0000 (20:22 -0400)]
We use num instead of number elsewhere
Arran Cudbard-Bell [Mon, 20 Mar 2017 00:18:19 +0000 (20:18 -0400)]
Add attr_by_number to convert attribute numbers to names
Arran Cudbard-Bell [Sun, 19 Mar 2017 21:23:13 +0000 (17:23 -0400)]
We don't return any attributes
Arran Cudbard-Bell [Sun, 19 Mar 2017 19:28:55 +0000 (15:28 -0400)]
Map return codes don't work currently
Arran Cudbard-Bell [Sun, 19 Mar 2017 17:44:36 +0000 (13:44 -0400)]
Typo
Arran Cudbard-Bell [Sun, 19 Mar 2017 17:34:00 +0000 (13:34 -0400)]
Add some basic LDAP map tests
Arran Cudbard-Bell [Thu, 16 Mar 2017 12:52:15 +0000 (08:52 -0400)]
Merge pull request #1944 from bb-froggy/patch-1
typo in comment
bb-froggy [Thu, 16 Mar 2017 12:49:10 +0000 (13:49 +0100)]
typo in comment
Arran Cudbard-Bell [Wed, 15 Mar 2017 18:12:30 +0000 (14:12 -0400)]
Removed outdated intro
Arran Cudbard-Bell [Wed, 15 Mar 2017 14:00:27 +0000 (10:00 -0400)]
Notes on LDAP features
Arran Cudbard-Bell [Wed, 15 Mar 2017 02:48:03 +0000 (22:48 -0400)]
fr_event_timer_insert returns -1 on error
Arran Cudbard-Bell [Wed, 15 Mar 2017 02:43:29 +0000 (22:43 -0400)]
Typo
Arran Cudbard-Bell [Wed, 15 Mar 2017 02:38:05 +0000 (22:38 -0400)]
Use the time graciously provided to us by the event loop in sd_watchdog_event
Arran Cudbard-Bell [Wed, 15 Mar 2017 02:31:36 +0000 (22:31 -0400)]
Pass in a real fr_event_t * to fr_insert_event in the sd_watchdog_event timer function
I guess no one actually bothered testing the code before submitting it?
Arran Cudbard-Bell [Wed, 15 Mar 2017 02:08:01 +0000 (22:08 -0400)]
Need it in the debian packages too
Arran Cudbard-Bell [Wed, 15 Mar 2017 02:04:14 +0000 (22:04 -0400)]
s/libsystemd-devel/systemd-devel/
Arran Cudbard-Bell [Wed, 15 Mar 2017 02:02:12 +0000 (22:02 -0400)]
Spec files needs libsystemd-devel, so it can build with systemd support
Which is now used by the radiusd.service file.
Alan T. DeKok [Tue, 14 Mar 2017 23:38:25 +0000 (19:38 -0400)]
return RLM_MODULE_FAIL for default switch statement
Arran Cudbard-Bell [Tue, 14 Mar 2017 17:59:30 +0000 (13:59 -0400)]
Remove rlm_otp from freeradius.spec
Arran Cudbard-Bell [Mon, 13 Mar 2017 20:12:36 +0000 (16:12 -0400)]
Start the tedious work of splitting evaluation of config structures from parsing them
This should allow multiple front ends for getting config info. There could be one which converts LDAP objects to CONF_SECTIONs and CONF_PAIRs for example.
The real reason for this however is to start teasing out evaluation of conditions and maps from parsing of the config files. It needs to happen separately in a different phase to parsing, once we've discovered what protocol the virtual server is using.
Before the evaluation stage the server only needs to understand the basic grammar of sections (with and without arguments), and conf pairs. Even a conditional statement is just a section with two arguments (one of which happens to be quoted with parenthesies).
Arran Cudbard-Bell [Thu, 9 Mar 2017 04:08:03 +0000 (23:08 -0500)]
Extensions array may ne NULL
Arran Cudbard-Bell [Thu, 9 Mar 2017 03:27:35 +0000 (22:27 -0500)]
Fix shadowed variable in tls/session.c
Arran Cudbard-Bell [Thu, 9 Mar 2017 03:27:21 +0000 (22:27 -0500)]
Rename and move some TLS functions
Arran Cudbard-Bell [Thu, 9 Mar 2017 02:07:07 +0000 (21:07 -0500)]
Add support for the sever side sort extension to LDAP maps and xlats
Alan T. DeKok [Wed, 8 Mar 2017 22:28:24 +0000 (17:28 -0500)]
add and cache TLS-Client-Cert-Expiration-Time
as an attribute of type 'date'. Because duh... people don't
like parsing ASN1 dates
Alan T. DeKok [Wed, 8 Mar 2017 22:27:35 +0000 (17:27 -0500)]
use argument in print statement
Alan T. DeKok [Wed, 8 Mar 2017 22:20:16 +0000 (17:20 -0500)]
rename and export tls_asn1time_to_epoch()
Alan T. DeKok [Wed, 8 Mar 2017 21:41:15 +0000 (16:41 -0500)]
add microsecond resolution to %T
Arran Cudbard-Bell [Wed, 8 Mar 2017 18:51:08 +0000 (13:51 -0500)]
Add fr_dict_by_da
Arran Cudbard-Bell [Sun, 5 Mar 2017 15:21:37 +0000 (10:21 -0500)]
Lookups should take a const'd dictionary pointer
Arran Cudbard-Bell [Tue, 7 Feb 2017 14:59:04 +0000 (14:59 +0000)]
Make fr_dict_attr_by_type use a fr_dict_attr_t as the base attribute
Arran Cudbard-Bell [Tue, 7 Mar 2017 22:29:52 +0000 (17:29 -0500)]
Revert "Add log_prefix back to messages. Closes #1930"
This reverts commit
db52e47be7c151592459b2ebb1fb3fa4cf1f1636 .
Arran Cudbard-Bell [Tue, 7 Mar 2017 22:29:35 +0000 (17:29 -0500)]
Fix use of mktime in ocsp code
mktime may have subtracted the offset of the local timezone from the ASN1_TIME value.
Alan T. DeKok [Tue, 7 Mar 2017 20:25:36 +0000 (15:25 -0500)]
Add log_prefix back to messages. Closes #1930
No idea why it was disappeared in the first place...
Alan T. DeKok [Mon, 6 Mar 2017 18:04:29 +0000 (13:04 -0500)]
remove smsotp
I don't think anyone uses it, and a more standard API should
be used instead
Alan T. DeKok [Mon, 6 Mar 2017 18:00:54 +0000 (13:00 -0500)]
delete the config, too
Alan T. DeKok [Mon, 6 Mar 2017 17:59:03 +0000 (12:59 -0500)]
I don't think anyone uses this any more
Alan T. DeKok [Sat, 4 Mar 2017 03:10:53 +0000 (22:10 -0500)]
message idle->alive state
Arran Cudbard-Bell [Sat, 4 Mar 2017 14:17:06 +0000 (09:17 -0500)]
Switch to linked lists for dl callbacks
Annoyingly we do need to retain registration order
Arran Cudbard-Bell [Thu, 2 Mar 2017 20:25:40 +0000 (15:25 -0500)]
typo
Arran Cudbard-Bell [Thu, 2 Mar 2017 20:24:43 +0000 (15:24 -0500)]
Quiet clang scan
Arran Cudbard-Bell [Sun, 12 Feb 2017 18:22:34 +0000 (18:22 +0000)]
Return 0 from fr_radius_encode_pair if there are no attributes to encode
Arran Cudbard-Bell [Sat, 11 Feb 2017 12:39:04 +0000 (12:39 +0000)]
Better error message for non-structural type
Arran Cudbard-Bell [Thu, 2 Mar 2017 20:00:26 +0000 (15:00 -0500)]
Typo in comparator
Arran Cudbard-Bell [Thu, 2 Mar 2017 19:23:01 +0000 (14:23 -0500)]
Add load/unload callbacks when symbols are found in shared objects