]> git.ipfire.org Git - thirdparty/freeradius-server.git/log
thirdparty/freeradius-server.git
9 years agomore / better debugging
Alan T. DeKok [Mon, 3 Apr 2017 19:41:11 +0000 (15:41 -0400)] 
more / better debugging

9 years agoadd default message size to the transport layer
Alan T. DeKok [Mon, 3 Apr 2017 17:02:51 +0000 (13:02 -0400)] 
add default message size to the transport layer

9 years agoMore minor debug output tweaks
Arran Cudbard-Bell [Fri, 31 Mar 2017 20:29:43 +0000 (16:29 -0400)] 
More minor debug output tweaks

9 years agoUse a colon to match the value fmt
Arran Cudbard-Bell [Fri, 31 Mar 2017 19:55:16 +0000 (15:55 -0400)] 
Use a colon to match the value fmt

9 years agoSay what the random pointers are
Arran Cudbard-Bell [Fri, 31 Mar 2017 19:31:09 +0000 (15:31 -0400)] 
Say what the random pointers are

9 years agoMerge pull request #1956 from mattrose/v4.0.x
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

9 years agofix .deb patch script so that it applies to 4.0.x 1956/head
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

9 years agohese attributes are byte, not integer. Closes #1954
Alan T. DeKok [Fri, 31 Mar 2017 13:39:24 +0000 (09:39 -0400)] 
hese attributes are byte, not integer.  Closes #1954

9 years agoFix typo. Closes #1955
Alan T. DeKok [Fri, 31 Mar 2017 13:37:04 +0000 (09:37 -0400)] 
Fix typo.  Closes #1955

9 years agoMerge pull request #1953 from leitao/PR
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.

9 years agoFreeradius fails to build on systems with LibreSSL. 1953/head
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.

9 years agoHandle connection error in rlm_ldap_cacheable_groupobj
Nikolai Kondrashov [Wed, 29 Mar 2017 07:43:14 +0000 (10:43 +0300)] 
Handle connection error in rlm_ldap_cacheable_groupobj

Closes #1951

9 years agodouble-check OID tests
Alan T. DeKok [Tue, 28 Mar 2017 20:09:33 +0000 (16:09 -0400)] 
double-check OID tests

9 years agoprint parent name, too
Alan T. DeKok [Tue, 28 Mar 2017 20:09:28 +0000 (16:09 -0400)] 
print parent name, too

9 years agoremove "auto_converted" flag from templates.
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

9 years agomap_cast_from_hex() does not produce error messages
Alan T. DeKok [Tue, 28 Mar 2017 15:17:24 +0000 (11:17 -0400)] 
map_cast_from_hex() does not produce error messages

9 years agomore cisco VPN attributes
Alan T. DeKok [Mon, 27 Mar 2017 18:07:32 +0000 (14:07 -0400)] 
more cisco VPN attributes

9 years agoMerge pull request #1950 from prtrx/v4.0.x
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)

9 years agodisable LEAP by default. It's insecure, and no one should use it.
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.

9 years agoremove inner-tunnel from EAP-PWD
Alan T. DeKok [Mon, 27 Mar 2017 15:15:51 +0000 (11:15 -0400)] 
remove inner-tunnel from EAP-PWD

9 years agoAdd Attribute 3076/85 (CVPN3000-Tunnel-Group-Lock) 1950/head
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

9 years agoAdd IP address to failure messages in redis IPpool
Arran Cudbard-Bell [Tue, 21 Mar 2017 16:09:19 +0000 (12:09 -0400)] 
Add IP address to failure messages in redis IPpool

9 years agoremove cistron compatibility mode
Alan T. DeKok [Mon, 20 Mar 2017 21:18:00 +0000 (17:18 -0400)] 
remove cistron compatibility mode

9 years agoremove unused map function
Alan T. DeKok [Mon, 20 Mar 2017 20:15:02 +0000 (16:15 -0400)] 
remove unused map function

9 years agoPackage rlm_dict.so
Arran Cudbard-Bell [Mon, 20 Mar 2017 00:36:40 +0000 (20:36 -0400)] 
Package rlm_dict.so

9 years agoWe use num instead of number elsewhere
Arran Cudbard-Bell [Mon, 20 Mar 2017 00:22:29 +0000 (20:22 -0400)] 
We use num instead of number elsewhere

9 years agoAdd attr_by_number to convert attribute numbers to names
Arran Cudbard-Bell [Mon, 20 Mar 2017 00:18:19 +0000 (20:18 -0400)] 
Add attr_by_number to convert attribute numbers to names

9 years agoWe don't return any attributes
Arran Cudbard-Bell [Sun, 19 Mar 2017 21:23:13 +0000 (17:23 -0400)] 
We don't return any attributes

9 years agoMap return codes don't work currently
Arran Cudbard-Bell [Sun, 19 Mar 2017 19:28:55 +0000 (15:28 -0400)] 
Map return codes don't work currently

9 years agoTypo
Arran Cudbard-Bell [Sun, 19 Mar 2017 17:44:36 +0000 (13:44 -0400)] 
Typo

9 years agoAdd some basic LDAP map tests
Arran Cudbard-Bell [Sun, 19 Mar 2017 17:34:00 +0000 (13:34 -0400)] 
Add some basic LDAP map tests

9 years agoMerge pull request #1944 from bb-froggy/patch-1
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

9 years agotypo in comment 1944/head
bb-froggy [Thu, 16 Mar 2017 12:49:10 +0000 (13:49 +0100)] 
typo in comment

9 years agoRemoved outdated intro
Arran Cudbard-Bell [Wed, 15 Mar 2017 18:12:30 +0000 (14:12 -0400)] 
Removed outdated intro

9 years agoNotes on LDAP features
Arran Cudbard-Bell [Wed, 15 Mar 2017 14:00:27 +0000 (10:00 -0400)] 
Notes on LDAP features

9 years agofr_event_timer_insert returns -1 on error
Arran Cudbard-Bell [Wed, 15 Mar 2017 02:48:03 +0000 (22:48 -0400)] 
fr_event_timer_insert returns -1 on error

9 years agoTypo
Arran Cudbard-Bell [Wed, 15 Mar 2017 02:43:29 +0000 (22:43 -0400)] 
Typo

9 years agoUse the time graciously provided to us by the event loop in sd_watchdog_event
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

9 years agoPass in a real fr_event_t * to fr_insert_event in the sd_watchdog_event timer function
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?

9 years agoNeed it in the debian packages too
Arran Cudbard-Bell [Wed, 15 Mar 2017 02:08:01 +0000 (22:08 -0400)] 
Need it in the debian packages too

9 years agos/libsystemd-devel/systemd-devel/
Arran Cudbard-Bell [Wed, 15 Mar 2017 02:04:14 +0000 (22:04 -0400)] 
s/libsystemd-devel/systemd-devel/

9 years agoSpec files needs libsystemd-devel, so it can build with systemd support
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.

9 years agoreturn RLM_MODULE_FAIL for default switch statement
Alan T. DeKok [Tue, 14 Mar 2017 23:38:25 +0000 (19:38 -0400)] 
return RLM_MODULE_FAIL for default switch statement

9 years agoRemove rlm_otp from freeradius.spec
Arran Cudbard-Bell [Tue, 14 Mar 2017 17:59:30 +0000 (13:59 -0400)] 
Remove rlm_otp from freeradius.spec

9 years agoStart the tedious work of splitting evaluation of config structures from parsing...
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).

9 years agoExtensions array may ne NULL
Arran Cudbard-Bell [Thu, 9 Mar 2017 04:08:03 +0000 (23:08 -0500)] 
Extensions array may ne NULL

9 years agoFix shadowed variable in tls/session.c
Arran Cudbard-Bell [Thu, 9 Mar 2017 03:27:35 +0000 (22:27 -0500)] 
Fix shadowed variable in tls/session.c

9 years agoRename and move some TLS functions
Arran Cudbard-Bell [Thu, 9 Mar 2017 03:27:21 +0000 (22:27 -0500)] 
Rename and move some TLS functions

9 years agoAdd support for the sever side sort extension to LDAP maps and xlats
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

9 years agoadd and cache TLS-Client-Cert-Expiration-Time
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

9 years agouse argument in print statement
Alan T. DeKok [Wed, 8 Mar 2017 22:27:35 +0000 (17:27 -0500)] 
use argument in print statement

9 years agorename and export tls_asn1time_to_epoch()
Alan T. DeKok [Wed, 8 Mar 2017 22:20:16 +0000 (17:20 -0500)] 
rename and export tls_asn1time_to_epoch()

9 years agoadd microsecond resolution to %T
Alan T. DeKok [Wed, 8 Mar 2017 21:41:15 +0000 (16:41 -0500)] 
add microsecond resolution to %T

9 years agoAdd fr_dict_by_da
Arran Cudbard-Bell [Wed, 8 Mar 2017 18:51:08 +0000 (13:51 -0500)] 
Add fr_dict_by_da

9 years agoLookups should take a const'd dictionary pointer
Arran Cudbard-Bell [Sun, 5 Mar 2017 15:21:37 +0000 (10:21 -0500)] 
Lookups should take a const'd dictionary pointer

9 years agoMake fr_dict_attr_by_type use a fr_dict_attr_t as the base attribute
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

9 years agoRevert "Add log_prefix back to messages. Closes #1930"
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.

9 years agoFix use of mktime in ocsp code
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.

9 years agoAdd log_prefix back to messages. Closes #1930
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...

9 years agoremove smsotp
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

9 years agodelete the config, too
Alan T. DeKok [Mon, 6 Mar 2017 18:00:54 +0000 (13:00 -0500)] 
delete the config, too

9 years agoI don't think anyone uses this any more
Alan T. DeKok [Mon, 6 Mar 2017 17:59:03 +0000 (12:59 -0500)] 
I don't think anyone uses this any more

9 years agomessage idle->alive state
Alan T. DeKok [Sat, 4 Mar 2017 03:10:53 +0000 (22:10 -0500)] 
message idle->alive state

9 years agoSwitch to linked lists for dl callbacks
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

9 years agotypo
Arran Cudbard-Bell [Thu, 2 Mar 2017 20:25:40 +0000 (15:25 -0500)] 
typo

9 years agoQuiet clang scan
Arran Cudbard-Bell [Thu, 2 Mar 2017 20:24:43 +0000 (15:24 -0500)] 
Quiet clang scan

9 years agoReturn 0 from fr_radius_encode_pair if there are no attributes to encode
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

9 years agoBetter error message for non-structural type
Arran Cudbard-Bell [Sat, 11 Feb 2017 12:39:04 +0000 (12:39 +0000)] 
Better error message for non-structural type

9 years agoTypo in comparator
Arran Cudbard-Bell [Thu, 2 Mar 2017 20:00:26 +0000 (15:00 -0500)] 
Typo in comparator

9 years agoAdd load/unload callbacks when symbols are found in shared objects
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

9 years agoNeed to use __typeof__ to work with -std=c11
Arran Cudbard-Bell [Thu, 2 Mar 2017 19:12:06 +0000 (14:12 -0500)] 
Need to use __typeof__ to work with -std=c11

# Conflicts:
# src/include/cursor.h

9 years agoAdd default error handler when the listener doesn't define one
Alan T. DeKok [Thu, 2 Mar 2017 14:16:02 +0000 (09:16 -0500)] 
Add default error handler when the listener doesn't define one

9 years agoRemove <URL > markup, as it causes the links not to be displayed
Arran Cudbard-Bell [Thu, 2 Mar 2017 13:33:38 +0000 (08:33 -0500)] 
Remove <URL > markup, as it causes the links not to be displayed

9 years agoRemove references to section numbers.
Arran Cudbard-Bell [Thu, 2 Mar 2017 13:32:43 +0000 (08:32 -0500)] 
Remove references to section numbers.

9 years agoPrettyfi the screen instructions.
Arran Cudbard-Bell [Thu, 2 Mar 2017 13:27:35 +0000 (08:27 -0500)] 
Prettyfi the screen instructions.

9 years agoFix Titles So That Only The First Word Is Capitalised
Arran Cudbard-Bell [Thu, 2 Mar 2017 13:22:27 +0000 (08:22 -0500)] 
Fix Titles So That Only The First Word Is Capitalised

Because it just looks weird...

9 years agoAdd .md extension to bugs link
Arran Cudbard-Bell [Thu, 2 Mar 2017 13:17:35 +0000 (08:17 -0500)] 
Add .md extension to bugs link

9 years agomanually pull patch from v3.0.x
Alan T. DeKok [Tue, 28 Feb 2017 18:11:46 +0000 (13:11 -0500)] 
manually pull patch from v3.0.x

9 years agoMerge pull request #1924 from alessandrotrisolini/v4.0.x
Alan DeKok [Tue, 28 Feb 2017 14:35:31 +0000 (09:35 -0500)] 
Merge pull request #1924 from alessandrotrisolini/v4.0.x

ARP table not updated due to bad parameters order

9 years agoMerge branch 'fix-parameters-order' into v4.0.x 1924/head
Alessandro Trisolini [Tue, 28 Feb 2017 13:43:38 +0000 (14:43 +0100)] 
Merge branch 'fix-parameters-order' into v4.0.x

9 years agoFixed parameters order in fr_pair_find_by_num()
Alessandro Trisolini [Tue, 28 Feb 2017 13:30:53 +0000 (14:30 +0100)] 
Fixed parameters order in fr_pair_find_by_num()

This commit fixes the parameters passing order in function
fr_pair_find_by_num().

In the original version, the variable hwvp was always NULL due to a
failure of function fr_pair_find_by_num() caused by the bad order of
parameters. This bug avoids the update of the ARP table when DHCP offers
are sent unicast.

9 years agoSync up unit files across debian and redhat
Arran Cudbard-Bell [Mon, 27 Feb 2017 23:19:09 +0000 (18:19 -0500)] 
Sync up unit files across debian and redhat

9 years agoCreate /var/run/radiusd on startup in the systemd unit
Arran Cudbard-Bell [Mon, 27 Feb 2017 22:47:42 +0000 (17:47 -0500)] 
Create /var/run/radiusd on startup in the systemd unit

9 years agoPackage TACACS
Arran Cudbard-Bell [Mon, 27 Feb 2017 22:18:33 +0000 (17:18 -0500)] 
Package TACACS

9 years agoremove couchbase packages until such time as they can be found
Alan T. DeKok [Wed, 22 Feb 2017 15:22:42 +0000 (10:22 -0500)] 
remove couchbase packages until such time as they can be found

9 years agouse correct name for function
Alan T. DeKok [Wed, 22 Feb 2017 14:47:57 +0000 (09:47 -0500)] 
use correct name for function

9 years agoDictionary from cnergee.
Alan T. DeKok [Sat, 18 Feb 2017 17:11:05 +0000 (12:11 -0500)] 
Dictionary from cnergee.

Which modifications so that the names don't conflict with
existing ones.

9 years agouse base HMAC functions instead of wrappers
Alan T. DeKok [Tue, 21 Feb 2017 02:02:28 +0000 (21:02 -0500)] 
use base HMAC functions instead of wrappers

9 years agoFix three cases of comparing pointer to zero char
Nikolai Kondrashov [Mon, 20 Feb 2017 13:04:06 +0000 (14:04 +0100)] 
Fix three cases of comparing pointer to zero char

Fix three cases of comparing pointer to a zero character, where pointers
were apparently intended to be dereferenced first and then compared.
Found with the help of GCC 7 warnings.

9 years agoRemove IODBC, no one came forward to save it…
Arran Cudbard-Bell [Sat, 18 Feb 2017 22:12:36 +0000 (22:12 +0000)] 
Remove IODBC, no one came forward to save it…

9 years agosuid down after fchown. Fixes #1914
Alan T. DeKok [Thu, 16 Feb 2017 15:59:22 +0000 (10:59 -0500)] 
suid down after fchown.  Fixes #1914

9 years agoEnsure we don't strip the '&'. Fixes #1696
Alan T. DeKok [Thu, 16 Feb 2017 13:45:13 +0000 (08:45 -0500)] 
Ensure we don't strip the '&'.  Fixes #1696

9 years agoif %{client} is in a module, enable that module
Alan T. DeKok [Wed, 15 Feb 2017 18:17:03 +0000 (13:17 -0500)] 
if %{client} is in a module, enable that module

9 years agoremove extra assertion
Alan T. DeKok [Wed, 15 Feb 2017 16:04:36 +0000 (11:04 -0500)] 
remove extra assertion

9 years agomore cleanups
Alan T. DeKok [Tue, 14 Feb 2017 16:36:58 +0000 (11:36 -0500)] 
more cleanups

9 years agofreeing memory is good, too
Alan T. DeKok [Tue, 14 Feb 2017 16:31:54 +0000 (11:31 -0500)] 
freeing memory is good, too

9 years agoprint the actual error to the output buffer
Alan T. DeKok [Tue, 14 Feb 2017 16:22:59 +0000 (11:22 -0500)] 
print the actual error to the output buffer

9 years agorealms don't go into "server" sections
Alan T. DeKok [Mon, 13 Feb 2017 20:53:35 +0000 (15:53 -0500)] 
realms don't go into "server" sections

9 years agocf->data tree may be NULL. Fixes #1911
Alan T. DeKok [Mon, 13 Feb 2017 18:57:37 +0000 (13:57 -0500)] 
cf->data tree may be NULL.  Fixes #1911

9 years agoMerge pull request #1910 from jimdigriz/issue1909
Arran Cudbard-Bell [Mon, 13 Feb 2017 17:13:05 +0000 (17:13 +0000)] 
Merge pull request #1910 from jimdigriz/issue1909

fix radrelay to...erm...work