]> git.ipfire.org Git - thirdparty/freeradius-server.git/log
thirdparty/freeradius-server.git
8 years agoparser: relax may-be-attr logic 2175/head
Isaac Boukris [Fri, 2 Feb 2018 14:42:58 +0000 (14:42 +0000)] 
parser: relax may-be-attr logic

we check for too many hyphens later

8 years agochange RuntimeDirectory to a location
Alan Buxey [Thu, 1 Feb 2018 12:50:48 +0000 (12:50 +0000)] 
change RuntimeDirectory to a location

as per systemd docs and various other blogs, this value is the directory name relative to the parent path, not the fully defined path
with this change /var/run/radiusd will be created and used

8 years agotypo. fixes #2169
Alan T. DeKok [Wed, 31 Jan 2018 13:22:45 +0000 (08:22 -0500)] 
typo.  fixes #2169

8 years agorhel7 libwbclient RPM dependencies
Matthew Newton [Thu, 25 Jan 2018 20:57:32 +0000 (20:57 +0000)] 
rhel7 libwbclient RPM dependencies

8 years agoadd and use "find home server using src_ip" function
Alan T. DeKok [Tue, 30 Jan 2018 14:31:04 +0000 (09:31 -0500)] 
add and use "find home server using src_ip" function

8 years agoallow stats to specify 'src <ipaddr>'. Helps with #2169
Alan T. DeKok [Tue, 30 Jan 2018 14:19:25 +0000 (09:19 -0500)] 
allow stats to specify 'src <ipaddr>'.  Helps with #2169

The underlying "find home server using src IP" isn't there yet,
but this is the start.

8 years agonote recent changes
Alan T. DeKok [Thu, 25 Jan 2018 22:12:30 +0000 (17:12 -0500)] 
note recent changes

8 years agouse "raw" string values. Fixes #2168
Alan T. DeKok [Thu, 25 Jan 2018 22:10:33 +0000 (17:10 -0500)] 
use "raw" string values.  Fixes #2168

8 years agoMerge pull request #2167 from nchaigne/3.0.x-2018-rest-cainfo
Alan DeKok [Wed, 24 Jan 2018 18:57:27 +0000 (13:57 -0500)] 
Merge pull request #2167 from nchaigne/3.0.x-2018-rest-cainfo

3.0.x - rest - curl option CURLOPT_CAINFO

8 years ago3.0.x - rest - curl option CURLOPT_CAINFO 2167/head
Nicolas C [Wed, 24 Jan 2018 17:53:38 +0000 (18:53 +0100)] 
3.0.x - rest - curl option CURLOPT_CAINFO

As proposed on the ML, this patch adds support for curl option
CURLOPT_CAINFO (through a new parameter "ca_info_file").
This new parameter can be used instead of "ca_file" (which sets curl
option CURLOPT_ISSUERCERT).
(They can also be used both at the same time.)

CURLOPT_CAINFO is useful to validate a chain of certificate authorities.
If this option is not set, curl will try to validate the CA chain using
a default location, and it may fail.

CURLOPT_ISSUERCERT is useful to check the issuer of the server
certificate.

For reference, see:
https://curl.haxx.se/libcurl/c/CURLOPT_ISSUERCERT.html
https://curl.haxx.se/libcurl/c/CURLOPT_CAINFO.html

8 years agohome_server may be NULL
Alan T. DeKok [Wed, 24 Jan 2018 16:08:53 +0000 (11:08 -0500)] 
home_server may be NULL

8 years agonote recent changes
Alan T. DeKok [Mon, 22 Jan 2018 20:21:06 +0000 (15:21 -0500)] 
note recent changes

8 years agoMerge pull request #2161 from mcnewton/v3.0.x
Alan DeKok [Fri, 19 Jan 2018 01:04:31 +0000 (20:04 -0500)] 
Merge pull request #2161 from mcnewton/v3.0.x

don't call process_proxy_reply twice when proxying to a virtual server

8 years agodon't call process_proxy_reply twice when proxying to a virtual server 2161/head
Matthew Newton [Thu, 18 Jan 2018 23:42:19 +0000 (23:42 +0000)] 
don't call process_proxy_reply twice when proxying to a virtual server

8 years agodon't try to build rlm_eap_fast if it can't be built
Matthew Newton [Tue, 16 Jan 2018 11:41:01 +0000 (11:41 +0000)] 
don't try to build rlm_eap_fast if it can't be built

8 years agoMerge pull request #2158 from mcnewton/gccnodt
Arran Cudbard-Bell [Mon, 15 Jan 2018 23:22:26 +0000 (16:22 -0700)] 
Merge pull request #2158 from mcnewton/gccnodt

autoconf updates

8 years agoautoconf typo 2158/head
Matthew Newton [Mon, 15 Jan 2018 22:59:15 +0000 (22:59 +0000)] 
autoconf typo

8 years agoCheck for -Wno-date-time to pacify ancient compilers
Matthew Newton [Mon, 15 Jan 2018 22:31:37 +0000 (22:31 +0000)] 
Check for -Wno-date-time to pacify ancient compilers

8 years agothese attributes are "string". Fixes #2130
Alan T. DeKok [Fri, 12 Jan 2018 15:34:11 +0000 (10:34 -0500)] 
these attributes are "string".  Fixes #2130

8 years agoremove LN-S from warnings
Alan T. DeKok [Fri, 12 Jan 2018 14:04:36 +0000 (09:04 -0500)] 
remove LN-S from warnings

8 years agobump for 3.0.17
Alan T. DeKok [Thu, 11 Jan 2018 18:22:33 +0000 (13:22 -0500)] 
bump for 3.0.17

8 years agonote recent changes release_3_0_16
Alan T. DeKok [Thu, 11 Jan 2018 16:10:59 +0000 (11:10 -0500)] 
note recent changes

8 years agodon't re-generate `configure` unless asked to
Alan T. DeKok [Wed, 10 Jan 2018 14:58:50 +0000 (09:58 -0500)] 
don't re-generate `configure` unless asked to

8 years agoMerge pull request #2155 from nchaigne/3.0.x-2018-dhcpcli-raw
Alan DeKok [Wed, 10 Jan 2018 13:33:41 +0000 (08:33 -0500)] 
Merge pull request #2155 from nchaigne/3.0.x-2018-dhcpcli-raw

3.0.x - dhcpclient - raw socket fixes

8 years ago3.0.x - dhcpclient - raw socket fixes 2155/head
Nicolas C [Wed, 10 Jan 2018 08:19:43 +0000 (09:19 +0100)] 
3.0.x - dhcpclient - raw socket fixes

Following the commits by Alan to reintroduce the raw socket code to
dhcpclient, I have:
- fixed a few compilation warnings
- added autoconf for HAVE_LINUX_IF_PACKET_H

I'm not so sure of myself for the autoconf part, can you check it's done
properly?
Thanks!

8 years agoinclude dhcpclient binary in freeradius-dhcp debian package
Matthew Newton [Tue, 9 Jan 2018 15:28:53 +0000 (15:28 +0000)] 
include dhcpclient binary in freeradius-dhcp debian package

8 years agodon't fail in removing freeradius-config .deb pkg if dir no longer exists
Matthew Newton [Tue, 9 Jan 2018 12:53:33 +0000 (12:53 +0000)] 
don't fail in removing freeradius-config .deb pkg if dir no longer exists

8 years agoalso don't pull in boiler.mk whilst doing make deb
Matthew Newton [Tue, 9 Jan 2018 11:16:14 +0000 (11:16 +0000)] 
also don't pull in boiler.mk whilst doing make deb

8 years agoallow "make deb" before running "configure"
Alan T. DeKok [Tue, 28 Nov 2017 16:39:42 +0000 (11:39 -0500)] 
allow "make deb" before running "configure"

as "make deb" runs "configure" itself in a fake root

8 years agomake sure install continues even if the daemon isn't running
Matthew Newton [Tue, 9 Jan 2018 10:35:12 +0000 (10:35 +0000)] 
make sure install continues even if the daemon isn't running

First install fails if freeradius package and module packages are
installed at the same time.

8 years agoremove groupname from radacct
Alan T. DeKok [Mon, 8 Jan 2018 01:46:42 +0000 (20:46 -0500)] 
remove groupname from radacct

it's not used, and it was confusing too many people.

8 years agonote recent changes
Alan T. DeKok [Fri, 5 Jan 2018 13:39:59 +0000 (08:39 -0500)] 
note recent changes

8 years agoadd fr_dhcp_recv_raw_loop()
Alan T. DeKok [Thu, 4 Jan 2018 19:37:38 +0000 (14:37 -0500)] 
add fr_dhcp_recv_raw_loop()

8 years agomore cleanups for raw sockets
Alan T. DeKok [Thu, 4 Jan 2018 19:34:13 +0000 (14:34 -0500)] 
more cleanups for raw sockets

8 years agoset timeout for all sockets
Alan T. DeKok [Thu, 4 Jan 2018 18:51:19 +0000 (13:51 -0500)] 
set timeout for all sockets

8 years agostart pulling raw socket code back in
Alan T. DeKok [Thu, 4 Jan 2018 18:49:44 +0000 (13:49 -0500)] 
start pulling raw socket code back in

8 years agoremove OCSP for now.
Alan T. DeKok [Tue, 2 Jan 2018 15:06:54 +0000 (10:06 -0500)] 
remove OCSP for now.

8 years agoremove dependency on ocsp.cnf
Alan T. DeKok [Tue, 2 Jan 2018 14:37:40 +0000 (09:37 -0500)] 
remove dependency on ocsp.cnf

it seems to be confusing travis?

8 years agonote recent changes
Alan T. DeKok [Tue, 2 Jan 2018 14:18:34 +0000 (09:18 -0500)] 
note recent changes

8 years agoadd OCSP and provisions for external_ca from v4.0.x branch
Alan T. DeKok [Mon, 1 Jan 2018 19:32:07 +0000 (14:32 -0500)] 
add OCSP and provisions for external_ca from v4.0.x branch

8 years agocreate state on Access-Challenge, if it isn't already there
Alan T. DeKok [Wed, 27 Dec 2017 16:02:00 +0000 (11:02 -0500)] 
create state on Access-Challenge, if it isn't already there

8 years agoEnsure that the LHS is a RADIUS attribute 2146/head
Alan T. DeKok [Tue, 19 Dec 2017 18:48:42 +0000 (13:48 -0500)] 
Ensure that the LHS is a RADIUS attribute

8 years agotypo
Alan T. DeKok [Tue, 19 Dec 2017 18:44:54 +0000 (13:44 -0500)] 
typo

8 years agoOCSP fixes
Alan T. DeKok [Mon, 18 Dec 2017 21:07:29 +0000 (16:07 -0500)] 
OCSP fixes

8 years agomore checks for NULL 2143/head 2144/head
Alan T. DeKok [Sun, 17 Dec 2017 23:06:04 +0000 (18:06 -0500)] 
more checks for NULL

8 years ago'rev' may be NULL even on success. Fixes #2143
Alan T. DeKok [Sun, 17 Dec 2017 22:10:37 +0000 (17:10 -0500)] 
'rev' may be NULL even on success.  Fixes #2143

8 years agodon't complain about "chase_referrals" if it's already set
Alan T. DeKok [Wed, 13 Dec 2017 19:52:19 +0000 (14:52 -0500)] 
don't complain about "chase_referrals" if it's already set

8 years agoMerge pull request #2142 from mrizvic/v3.0.x
Arran Cudbard-Bell [Fri, 15 Dec 2017 23:15:14 +0000 (23:15 +0000)] 
Merge pull request #2142 from mrizvic/v3.0.x

implemented redis query and connect timeout

8 years agoimplemented redis query and connection timeout 2142/head
Marko Rizvic [Fri, 15 Dec 2017 22:05:23 +0000 (23:05 +0100)] 
implemented redis query and connection timeout

8 years agoMerge pull request #2139 from BriceSchaffner/patch-3
Alan DeKok [Tue, 12 Dec 2017 17:44:15 +0000 (12:44 -0500)] 
Merge pull request #2139 from BriceSchaffner/patch-3

Added missing attributes

8 years agoMerge pull request #2141 from mcnewton/v3.0.x
Alan DeKok [Tue, 12 Dec 2017 13:52:25 +0000 (08:52 -0500)] 
Merge pull request #2141 from mcnewton/v3.0.x

inner-server openssl config install

8 years agobomb out immediately rather than silently fail 2141/head
Matthew Newton [Tue, 12 Dec 2017 13:39:18 +0000 (13:39 +0000)] 
bomb out immediately rather than silently fail

if we can't generate passwords.mk, we're stuffed anyway

8 years agoinstall inner-server.cnf config file
Matthew Newton [Tue, 12 Dec 2017 13:37:56 +0000 (13:37 +0000)] 
install inner-server.cnf config file

8 years agoAdded missing attributes 2139/head
Brice Schaffner [Tue, 12 Dec 2017 06:54:46 +0000 (07:54 +0100)] 
Added missing attributes

Patton-Group and Patton-Web-Privilege-Level attributes were missing. These attributes can be used in an Accept Request to specify the user group (operator, administrator or superuser) or the web privilege level of the user (wizard-exec or advanced).

8 years agonote recent changes
Alan T. DeKok [Mon, 11 Dec 2017 15:35:28 +0000 (10:35 -0500)] 
note recent changes

8 years agoadded disconnect-reason
Alan T. DeKok [Mon, 11 Dec 2017 15:33:33 +0000 (10:33 -0500)] 
added disconnect-reason

and reformatted

8 years agoadd "inner-server" scripts and configuration
Alan T. DeKok [Mon, 11 Dec 2017 15:32:25 +0000 (10:32 -0500)] 
add "inner-server" scripts and configuration

8 years agospelling, remove spaces
Matthew Newton [Mon, 11 Dec 2017 14:19:58 +0000 (14:19 +0000)] 
spelling, remove spaces

8 years agodebian packaging fixes
Matthew Newton [Mon, 11 Dec 2017 13:46:51 +0000 (13:46 +0000)] 
debian packaging fixes

- Remove disable-dhcp-by-default patch, as it's now disabled
  by default since 2662182b
- Refresh quilt patches

8 years agodebian/ubuntu pkgs need dh-systemd. Fixes #2136
Alan T. DeKok [Fri, 8 Dec 2017 20:51:23 +0000 (15:51 -0500)] 
debian/ubuntu pkgs need dh-systemd.  Fixes #2136

8 years agoDon't enable dhcp by default as it has a dependency on rlm_dhcp which won't necessari...
Arran Cudbard-Bell [Fri, 8 Dec 2017 12:17:40 +0000 (12:17 +0000)] 
Don't enable dhcp by default as it has a dependency on rlm_dhcp which won't necessarily be installed

8 years agoTypo
Arran Cudbard-Bell [Fri, 8 Dec 2017 12:00:49 +0000 (12:00 +0000)] 
Typo

8 years agoFixup service file install
Arran Cudbard-Bell [Fri, 8 Dec 2017 11:59:00 +0000 (11:59 +0000)] 
Fixup service file install

See: https://wiki.debian.org/Teams/pkg-systemd/Packaging

8 years agodocument IP / network comparisons
Alan T. DeKok [Wed, 6 Dec 2017 15:23:56 +0000 (10:23 -0500)] 
document IP / network comparisons

8 years agoremove redundancy
Alan T. DeKok [Thu, 30 Nov 2017 15:06:09 +0000 (10:06 -0500)] 
remove redundancy

8 years agonote recent changes
Alan T. DeKok [Mon, 20 Nov 2017 16:21:20 +0000 (11:21 -0500)] 
note recent changes

8 years agoinitialize mutexes before modules_init(). Helps with #2129
Alan T. DeKok [Mon, 20 Nov 2017 16:10:44 +0000 (11:10 -0500)] 
initialize mutexes before modules_init().  Helps with #2129

8 years agoRevert "don't include TLV header in crypto_binding. Helps with #2127"
Alan T. DeKok [Fri, 17 Nov 2017 22:24:52 +0000 (17:24 -0500)] 
Revert "don't include TLV header in crypto_binding.  Helps with #2127"

This reverts commit ee4de4663a3d7d4187d0e41916af0d66c46a73af.

8 years agobuild issues. Helps with #2127
Alan T. DeKok [Fri, 17 Nov 2017 21:38:44 +0000 (16:38 -0500)] 
build issues.  Helps with #2127

8 years agodon't include TLV header in crypto_binding. Helps with #2127
Alan T. DeKok [Fri, 17 Nov 2017 21:07:28 +0000 (16:07 -0500)] 
don't include TLV header in crypto_binding.  Helps with #2127

so we can just use the data contents as-is.

8 years agoeap-fast: fail on crypto-binding mismatch
Alan T. DeKok [Fri, 17 Nov 2017 21:05:33 +0000 (16:05 -0500)] 
eap-fast: fail on crypto-binding mismatch
as per rfc 4851, an invalid crypto-binding tlv is a
fatal error, handle accordingly.

Signed-off-by: Isaac Boukris <iboukris@gmail.com>
8 years agocheck length before memcpy()
Alan T. DeKok [Fri, 17 Nov 2017 21:02:00 +0000 (16:02 -0500)] 
check length before memcpy()

8 years agore-arrange
Alan T. DeKok [Fri, 17 Nov 2017 21:01:47 +0000 (16:01 -0500)] 
re-arrange

8 years agoset thread callback for newer OpenSSL. Fixes #2125
Alan T. DeKok [Thu, 16 Nov 2017 16:34:22 +0000 (11:34 -0500)] 
set thread callback for newer OpenSSL.  Fixes #2125

8 years agonote recent changes
Alan T. DeKok [Thu, 16 Nov 2017 16:06:18 +0000 (11:06 -0500)] 
note recent changes

8 years agoremove unused tables
Alan T. DeKok [Thu, 16 Nov 2017 16:01:55 +0000 (11:01 -0500)] 
remove unused tables

8 years agoremove UNIQUE constraint.
Alan T. DeKok [Thu, 16 Nov 2017 16:00:57 +0000 (11:00 -0500)] 
remove UNIQUE constraint.

No other DB schema has it

8 years agoone last conversion to the proper name
Alan T. DeKok [Tue, 14 Nov 2017 20:08:46 +0000 (15:08 -0500)] 
one last conversion to the proper name

8 years agoallow VSAs, too. Fixes #2094
Alan T. DeKok [Tue, 14 Nov 2017 19:57:54 +0000 (14:57 -0500)] 
allow VSAs, too.  Fixes #2094

8 years agotypo. Fixes #2121
Alan T. DeKok [Tue, 14 Nov 2017 16:51:15 +0000 (11:51 -0500)] 
typo.  Fixes #2121

8 years agomanual merge of #2121
Alan T. DeKok [Tue, 14 Nov 2017 16:27:35 +0000 (11:27 -0500)] 
manual merge of #2121

8 years agoupdate to match "configure"
Alan T. DeKok [Mon, 13 Nov 2017 20:28:59 +0000 (15:28 -0500)] 
update to match "configure"

8 years agoregenerate after '==' to '=' change
Alan T. DeKok [Mon, 13 Nov 2017 20:28:40 +0000 (15:28 -0500)] 
regenerate after '==' to '=' change

8 years agoopen expanded filename, not original one
Alan T. DeKok [Mon, 13 Nov 2017 13:27:11 +0000 (08:27 -0500)] 
open expanded filename, not original one

8 years agoenable reproducible builds for debian packages
Matthew Newton [Fri, 10 Nov 2017 16:48:42 +0000 (16:48 +0000)] 
enable reproducible builds for debian packages

8 years agoadd --enable-reproducible-builds configure option
Matthew Newton [Fri, 10 Nov 2017 11:26:58 +0000 (11:26 +0000)] 
add --enable-reproducible-builds configure option

So that __DATE__ and __TIME__ can be removed only when needed;
turns off warnings when not using reproducible builds.

8 years agodon't complain about key not being set
Matthew Newton [Thu, 9 Nov 2017 19:11:53 +0000 (19:11 +0000)] 
don't complain about key not being set

8 years agoremove __DATE__ and __TIME__
Matthew Newton [Thu, 9 Nov 2017 16:28:41 +0000 (16:28 +0000)] 
remove __DATE__ and __TIME__

"reproducible builds" is apparently a thing, and gcc
has started complaining

8 years agonote recent changes
Alan T. DeKok [Thu, 9 Nov 2017 19:00:52 +0000 (14:00 -0500)] 
note recent changes

8 years agoMerge pull request #2114 from alejandro-perez/patch-2
Alan DeKok [Thu, 9 Nov 2017 13:35:42 +0000 (08:35 -0500)] 
Merge pull request #2114 from alejandro-perez/patch-2

Add missing declaration of key_expiration

8 years agoAdd missing declaration of key_expiration 2114/head
Alejandro Perez [Thu, 9 Nov 2017 07:49:47 +0000 (08:49 +0100)] 
Add missing declaration of key_expiration

The declaration was lost during manual merge. This should fix it.

8 years agoensure freeradius can read the server certificate
Matthew Newton [Wed, 8 Nov 2017 22:22:54 +0000 (22:22 +0000)] 
ensure freeradius can read the server certificate

permissions locked down more by default on debian stretch

8 years agoallow new version of openssl package in debian stretch
Matthew Newton [Wed, 8 Nov 2017 21:53:48 +0000 (21:53 +0000)] 
allow new version of openssl package in debian stretch

8 years agoconvert assertion to run-time check. Fixes #2110
Alan T. DeKok [Wed, 8 Nov 2017 15:59:23 +0000 (10:59 -0500)] 
convert assertion to run-time check.  Fixes #2110

8 years agomove rbio call to later. Closes #2107
Alan T. DeKok [Sun, 5 Nov 2017 12:37:58 +0000 (07:37 -0500)] 
move rbio call to later.  Closes #2107

8 years agosimplify
Alan T. DeKok [Fri, 3 Nov 2017 14:46:18 +0000 (10:46 -0400)] 
simplify

8 years agonote recent changes
Alan T. DeKok [Fri, 3 Nov 2017 13:42:39 +0000 (09:42 -0400)] 
note recent changes

8 years agoradattr doesn't need dhcp always. Fixes #2039
Alan T. DeKok [Fri, 3 Nov 2017 13:36:44 +0000 (09:36 -0400)] 
radattr doesn't need dhcp always.  Fixes #2039

8 years agoupdate schema. Fixes #2061
Alan T. DeKok [Fri, 3 Nov 2017 13:26:16 +0000 (09:26 -0400)] 
update schema.  Fixes #2061

Getting pull requests from people is MUCH nicer than people
opening bug reports and saying "meh, you guys fix it."

It's not really that much more difficult to send a pull request
than to open a bug report.

8 years agoexplain why a connection was closed. Fixes #1969
Alan T. DeKok [Fri, 3 Nov 2017 13:23:32 +0000 (09:23 -0400)] 
explain why a connection was closed.  Fixes #1969