]> git.ipfire.org Git - thirdparty/freeradius-server.git/log
thirdparty/freeradius-server.git
9 years agoMerge branch 'v3.0.x' into patch-1 2022/head 2113/head
Arran Cudbard-Bell [Thu, 3 Aug 2017 23:47:17 +0000 (19:47 -0400)] 
Merge branch 'v3.0.x' into patch-1

9 years agoMerge pull request #2035 from jimdigriz/winbind-v3.0.x
Arran Cudbard-Bell [Thu, 3 Aug 2017 18:28:24 +0000 (14:28 -0400)] 
Merge pull request #2035 from jimdigriz/winbind-v3.0.x

winbind build (v3.0.x)

9 years agowinbind build 2035/head
Alexander Clouter [Thu, 3 Aug 2017 18:15:23 +0000 (19:15 +0100)] 
winbind build

9 years agoFix for mikrotik_snmp not working
Michael Ducharme [Wed, 2 Aug 2017 04:39:57 +0000 (23:39 -0500)] 
Fix for mikrotik_snmp not working

If the interface table is above a certain size, MikroTik does not show the ppp interfaces in the interfae table, but they are always in the mtxrInterfaceStatsName in MIKROTIK-MIB. Simply switching to that fixes the problem and should not break compatibility for current users.

9 years agoInitialise home server prefix len to /32
Phil Mayers [Wed, 2 Aug 2017 11:55:41 +0000 (12:55 +0100)] 
Initialise home server prefix len to /32

Required since 9e659f9 compares prefix, this allows home servers to be found by IP for stats lookup

9 years agoMerge pull request #2029 from candlerb/candlerb/samba
Arran Cudbard-Bell [Wed, 26 Jul 2017 15:31:06 +0000 (11:31 -0400)] 
Merge pull request #2029 from candlerb/candlerb/samba

Convert freeradius LDAP schema to Samba4/AD format

9 years agoConvert freeradius LDAP schema to Samba4/AD format 2029/head
Brian Candler [Wed, 26 Jul 2017 13:57:06 +0000 (14:57 +0100)] 
Convert freeradius LDAP schema to Samba4/AD format

9 years agonote recent changes
Alan T. DeKok [Tue, 25 Jul 2017 19:52:31 +0000 (15:52 -0400)] 
note recent changes

9 years agoAllow paircompare to work with attribute references and expansions. Hopefully Fixes...
Arran Cudbard-Bell [Tue, 25 Jul 2017 18:00:02 +0000 (14:00 -0400)] 
Allow paircompare to work with attribute references and expansions.  Hopefully Fixes #1947

9 years agodon't re-open the file every time...
Alan T. DeKok [Tue, 25 Jul 2017 14:04:04 +0000 (10:04 -0400)] 
don't re-open the file every time...

only open it when a new entry is created

9 years agoFD may be -1 in entry
Alan T. DeKok [Tue, 25 Jul 2017 13:57:11 +0000 (09:57 -0400)] 
FD may be -1 in entry

9 years agowe always append to the file
Alan T. DeKok [Tue, 25 Jul 2017 13:52:01 +0000 (09:52 -0400)] 
we always append to the file

9 years agoclean up exfile code.
Alan T. DeKok [Tue, 25 Jul 2017 13:50:14 +0000 (09:50 -0400)] 
clean up exfile code.

If it's not locking, skip all of the management logic

9 years agoremove exfile_unlock()
Alan T. DeKok [Tue, 25 Jul 2017 13:35:01 +0000 (09:35 -0400)] 
remove exfile_unlock()

It was only used in the detail file, when the detail file
called fdopen().  The exfile API called dup() just so that the
detail module could call fclose() on the fdopen'd FILE pointer,
and not have the underlying FD close.

It's better to just have the detail module dup() the FD itself,
and leave the main FD unchanged

9 years agoremove dup(). It's not necessary
Alan T. DeKok [Tue, 25 Jul 2017 13:23:17 +0000 (09:23 -0400)] 
remove dup().  It's not necessary

9 years agore-lock on re-open
Alan T. DeKok [Tue, 25 Jul 2017 13:10:00 +0000 (09:10 -0400)] 
re-lock on re-open

9 years agoAdd note about rest fixes
Arran Cudbard-Bell [Mon, 24 Jul 2017 17:29:00 +0000 (13:29 -0400)] 
Add note about rest fixes

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 agofix typo introduced by commit fd672a96
Alan T. DeKok [Fri, 21 Jul 2017 16:51:18 +0000 (12:51 -0400)] 
fix typo introduced by commit fd672a96

9 years agofix typo.
Alan T. DeKok [Fri, 21 Jul 2017 15:31:00 +0000 (11:31 -0400)] 
fix typo.

9 years agobump for 3.0.16
Alan T. DeKok [Thu, 20 Jul 2017 21:59:19 +0000 (17:59 -0400)] 
bump for 3.0.16

9 years agotravis fix for picky compiler
Alan T. DeKok [Wed, 19 Jul 2017 21:38:20 +0000 (17:38 -0400)] 
travis fix for picky compiler

9 years agoUpdate rlm_python log level declarations
Alejandro Perez [Wed, 19 Jul 2017 14:03:01 +0000 (16:03 +0200)] 
Update rlm_python log level declarations

LOG level declarations in radiusd.py were very outdated.
L_WARN was duplicated in rlm_python.c

9 years agonote recent changes release_3_0_15
Alan T. DeKok [Mon, 17 Jul 2017 12:43:00 +0000 (08:43 -0400)] 
note recent changes

9 years agoFR-AD-003 - Pass correct statement length into sqlite3_prepare[_v2]
Arran Cudbard-Bell [Wed, 5 Jul 2017 17:07:31 +0000 (13:07 -0400)] 
FR-AD-003 - Pass correct statement length into sqlite3_prepare[_v2]

9 years agoFR-AD-002 - Bind the lifetime of program name and python path to the module
Arran Cudbard-Bell [Wed, 5 Jul 2017 16:40:47 +0000 (12:40 -0400)] 
FR-AD-002 - Bind the lifetime of program name and python path to the module

PySys_SetPath and PySys_SetName don't appear to duplicate the buffer, they just store a pointer.

9 years agoa normal ASN1 time is 13 octets
Alan T. DeKok [Thu, 13 Jul 2017 15:49:29 +0000 (11:49 -0400)] 
a normal ASN1 time is 13 octets

YYMMDDHHMMSSZ

9 years agobe more flexible about truncated ASN1 times
Alan T. DeKok [Wed, 12 Jul 2017 15:53:29 +0000 (11:53 -0400)] 
be more flexible about truncated ASN1 times

9 years agonote recent changes
Alan T. DeKok [Tue, 11 Jul 2017 13:47:58 +0000 (09:47 -0400)] 
note recent changes

9 years agoremove deprecated configuration item
Alan T. DeKok [Tue, 11 Jul 2017 13:30:21 +0000 (09:30 -0400)] 
remove deprecated configuration item

9 years agoprint error on deprecated config items
Alan T. DeKok [Tue, 11 Jul 2017 13:29:51 +0000 (09:29 -0400)] 
print error on deprecated config items

9 years agoprint out why we couldn't parse the expiry time
Alan T. DeKok [Tue, 11 Jul 2017 12:36:06 +0000 (08:36 -0400)] 
print out why we couldn't parse the expiry time

9 years agoswap checks for people who get excited over multiple messages
Alan T. DeKok [Sun, 9 Jul 2017 18:35:26 +0000 (14:35 -0400)] 
swap checks for people who get excited over multiple messages

9 years agoFR-GV-305 read the correct offset instead of uninitialized memory
Alan T. DeKok [Mon, 3 Jul 2017 23:08:15 +0000 (19:08 -0400)] 
FR-GV-305 read the correct offset instead of uninitialized memory

9 years agoFR-GV-304 - check for option overflowing the packet
Alan T. DeKok [Mon, 3 Jul 2017 19:42:35 +0000 (15:42 -0400)] 
FR-GV-304 - check for option overflowing the packet

9 years agoFR-GV-303 - do memchr() of end-p, not q-p
Alan T. DeKok [Mon, 3 Jul 2017 19:37:44 +0000 (15:37 -0400)] 
FR-GV-303 - do memchr() of end-p, not q-p

9 years agoFR-GV-302 - do checks based on pointers, not on decoded data
Alan T. DeKok [Wed, 28 Jun 2017 01:54:10 +0000 (21:54 -0400)] 
FR-GV-302 - do checks based on pointers, not on decoded data

because decoded data may be empty

9 years agomake data2vp_extended() be more like data2vp_wimax()
Alan T. DeKok [Wed, 28 Jun 2017 16:13:03 +0000 (12:13 -0400)] 
make data2vp_extended() be more like data2vp_wimax()

There is no exploit, but making the code simpler is good.

9 years agoFR-GV-301 - handle malformed WiMAX attributes
Alan T. DeKok [Wed, 28 Jun 2017 01:49:20 +0000 (21:49 -0400)] 
FR-GV-301 - handle malformed WiMAX attributes

9 years agoFR-GV-206 - decode option 60 (string) not 63 (octets), and check length
Alan T. DeKok [Mon, 3 Jul 2017 15:36:13 +0000 (11:36 -0400)] 
FR-GV-206 - decode option 60 (string) not 63 (octets), and check length

9 years agoFR-GV-201 - check input / output length in make_secret()
Alan T. DeKok [Tue, 4 Jul 2017 14:12:09 +0000 (10:12 -0400)] 
FR-GV-201 - check input / output length in make_secret()

9 years agoFR-AD-001 - (v3) use strncmp() instead of memcmp() for bounded data
Alan T. DeKok [Wed, 5 Jul 2017 15:27:55 +0000 (11:27 -0400)] 
FR-AD-001 - (v3) use strncmp() instead of memcmp() for bounded data

9 years agoMerge pull request #2014 from philmayers/patch-1
Alan DeKok [Mon, 3 Jul 2017 13:10:57 +0000 (09:10 -0400)] 
Merge pull request #2014 from philmayers/patch-1

Add openssl to BuildRequires

9 years agoAdd openssl to BuildRequires 2014/head
Phil Mayers [Mon, 3 Jul 2017 12:42:54 +0000 (13:42 +0100)] 
Add openssl to BuildRequires

The build step:

BOOTSTRAP raddb/certs/

...run `openssl dhparam -out dh -2 2048` which means you need to BuildRequires: openssl - openssl-devel does not pull in the binaries

9 years agoFix typo for huntgroups bug as described in http://freeradius.1045715.n5.nabble.com...
Philippe Wooding [Thu, 29 Jun 2017 13:32:16 +0000 (15:32 +0200)] 
Fix typo for huntgroups bug as described in http://freeradius.1045715.n5.nabble.com/Problem-with-huntgroups-upgrading-from-2-2-9-to-3-0-x-td5744845.html

9 years agonote recent changes
Alan T. DeKok [Thu, 29 Jun 2017 12:29:15 +0000 (08:29 -0400)] 
note recent changes

9 years agodon't process VMPS packets twice
Alan T. DeKok [Thu, 29 Jun 2017 11:58:14 +0000 (07:58 -0400)] 
don't process VMPS packets twice

9 years agoThis doesn't need bash. SH is more portable
Alan T. DeKok [Thu, 29 Jun 2017 11:56:04 +0000 (07:56 -0400)] 
This doesn't need bash. SH is more portable

9 years agoDLT_LINUX_SLL isn't defined everywhere
Alan T. DeKok [Thu, 29 Jun 2017 11:54:39 +0000 (07:54 -0400)] 
DLT_LINUX_SLL isn't defined everywhere

9 years agoAdd OpenBSD
Alan T. DeKok [Thu, 29 Jun 2017 11:53:38 +0000 (07:53 -0400)] 
Add OpenBSD

9 years agodefault to using 2048 bit keys
Alan T. DeKok [Thu, 29 Jun 2017 11:52:57 +0000 (07:52 -0400)] 
default to using 2048 bit keys

9 years agoFixes for LibreSSL
Alan T. DeKok [Thu, 29 Jun 2017 11:50:18 +0000 (07:50 -0400)] 
Fixes for LibreSSL

9 years agolength in bytes, not chbind packets
Alan T. DeKok [Tue, 27 Jun 2017 17:40:52 +0000 (13:40 -0400)] 
length in bytes, not chbind packets

9 years agotypo
Alan T. DeKok [Mon, 26 Jun 2017 13:04:54 +0000 (09:04 -0400)] 
typo

9 years agoFix OpenSSL API issue. Based on a patch from Guido Vranken
Alan T. DeKok [Thu, 22 Jun 2017 01:03:54 +0000 (21:03 -0400)] 
Fix OpenSSL API issue.  Based on a patch from Guido Vranken

9 years agoProvide HOSTNAME in the default unit files
Arran Cudbard-Bell [Wed, 21 Jun 2017 13:46:14 +0000 (09:46 -0400)] 
Provide HOSTNAME in the default unit files

# Conflicts:
# redhat/radiusd.service

9 years agomove rad_authlog() for Access-Reject
Alan T. DeKok [Tue, 20 Jun 2017 20:27:15 +0000 (16:27 -0400)] 
move rad_authlog() for Access-Reject

to after running post-auth

9 years agoUse the correct preun command
Arran Cudbard-Bell [Mon, 19 Jun 2017 21:14:00 +0000 (17:14 -0400)] 
Use the correct preun command

9 years agoincorporate all redhat specific files into the tarball. Closes #1987
Alan T. DeKok [Fri, 16 Jun 2017 13:00:28 +0000 (09:00 -0400)] 
incorporate all redhat specific files into the tarball.  Closes #1987

Manual pull of patch

9 years agofix typo. Closes #2006
Alan T. DeKok [Thu, 15 Jun 2017 23:26:56 +0000 (19:26 -0400)] 
fix typo.  Closes #2006

9 years agoMerge pull request #2003 from mcnewton/v3.0.x
Arran Cudbard-Bell [Wed, 7 Jun 2017 10:33:47 +0000 (06:33 -0400)] 
Merge pull request #2003 from mcnewton/v3.0.x

update starent dictionary as posted to mailing list

9 years agoupdate starent dictionary as posted to mailing list 2003/head
Matthew Newton [Wed, 7 Jun 2017 09:58:47 +0000 (10:58 +0100)] 
update starent dictionary as posted to mailing list

9 years agonotes on db_dir vs logdir
Alan T. DeKok [Tue, 6 Jun 2017 15:40:25 +0000 (11:40 -0400)] 
notes on db_dir vs logdir

9 years agoas posted to the list
Alan T. DeKok [Tue, 6 Jun 2017 14:27:56 +0000 (10:27 -0400)] 
as posted to the list

9 years agofix printing of long hex values
Alan T. DeKok [Mon, 5 Jun 2017 14:47:29 +0000 (10:47 -0400)] 
fix printing of long hex values

9 years agodo less alloc/free
Alan T. DeKok [Mon, 5 Jun 2017 13:02:29 +0000 (09:02 -0400)] 
do less alloc/free

9 years agodon't truncate at 1K
Alan T. DeKok [Sun, 4 Jun 2017 20:48:59 +0000 (16:48 -0400)] 
don't truncate at 1K

9 years agoifdef out the whole function...
Alan T. DeKok [Fri, 2 Jun 2017 18:55:17 +0000 (14:55 -0400)] 
ifdef out the whole function...

9 years agofixes for builds without TCP
Alan T. DeKok [Fri, 2 Jun 2017 18:54:08 +0000 (14:54 -0400)] 
fixes for builds without TCP

9 years agoexpose WITH_DHCP to Make, and then don't build proto_dhcp
Alan T. DeKok [Fri, 2 Jun 2017 18:52:16 +0000 (14:52 -0400)] 
expose WITH_DHCP to Make, and then don't build proto_dhcp

9 years agonote recent changes
Alan T. DeKok [Fri, 2 Jun 2017 13:17:32 +0000 (09:17 -0400)] 
note recent changes

9 years agoparse port. Closes #2000
Alan T. DeKok [Fri, 2 Jun 2017 13:10:05 +0000 (09:10 -0400)] 
parse port.  Closes #2000

9 years agonote recent changes
Alan T. DeKok [Thu, 1 Jun 2017 18:27:21 +0000 (14:27 -0400)] 
note recent changes

9 years agoset 'sess = NULL' after freeing it. Closes #1999
Alan T. DeKok [Thu, 1 Jun 2017 18:26:04 +0000 (14:26 -0400)] 
set 'sess = NULL' after freeing it.  Closes #1999

9 years agonote that 3.0.14 wasn't released in March...
Alan T. DeKok [Mon, 29 May 2017 13:50:04 +0000 (09:50 -0400)] 
note that 3.0.14 wasn't released in March...

9 years agobump for 3.0.15
Alan T. DeKok [Mon, 29 May 2017 13:45:15 +0000 (09:45 -0400)] 
bump for 3.0.15

9 years agobump for 3.0.15
Alan T. DeKok [Mon, 29 May 2017 13:44:51 +0000 (09:44 -0400)] 
bump for 3.0.15

9 years agonote recent updates release_3_0_14
Alan T. DeKok [Fri, 26 May 2017 18:11:20 +0000 (14:11 -0400)] 
note recent updates

9 years agoremove unnecessary assert
Alan T. DeKok [Fri, 26 May 2017 14:56:11 +0000 (10:56 -0400)] 
remove unnecessary assert

9 years agocheck before dereference.
Alan T. DeKok [Fri, 26 May 2017 14:54:14 +0000 (10:54 -0400)] 
check before dereference.

Found by PVS-Studio

9 years agocheck before dereference.
Alan T. DeKok [Fri, 26 May 2017 14:52:20 +0000 (10:52 -0400)] 
check before dereference.

Found by PVS-Studio

9 years agocheck for username, too
Alan T. DeKok [Fri, 26 May 2017 13:04:12 +0000 (09:04 -0400)] 
check for username, too

9 years agoMerge pull request #1996 from alejandro-perez/v3.0.x
Alan DeKok [Fri, 26 May 2017 10:21:27 +0000 (06:21 -0400)] 
Merge pull request #1996 from alejandro-perez/v3.0.x

Fix deadlock

9 years agoFix deadlock. 1996/head
Alejandro Perez [Fri, 26 May 2017 06:15:07 +0000 (08:15 +0200)] 
Fix deadlock.

This fixes a regression introduced in #8391d0ba8ebd2599212317259d26a17cfebb5b2a

9 years agonote recent changes
Alan T. DeKok [Thu, 25 May 2017 21:04:16 +0000 (17:04 -0400)] 
note recent changes

9 years agomake outgoing SSL_connect() non-blocking
Alan T. DeKok [Thu, 25 May 2017 20:59:14 +0000 (16:59 -0400)] 
make outgoing SSL_connect() non-blocking

9 years agoMerge pull request #1995 from spaetow/patch-1
Alan DeKok [Thu, 25 May 2017 15:19:08 +0000 (11:19 -0400)] 
Merge pull request #1995 from spaetow/patch-1

Update freeradius.spec with contents of PR #1991

9 years agoAs part of PR 1991, I forgot to update the FR SPEC file with the updated file list... 1995/head
Stefan Paetow [Thu, 25 May 2017 15:17:01 +0000 (16:17 +0100)] 
As part of PR 1991, I forgot to update the FR SPEC file with the updated file list for mysql, postgresql and sqlite. Apologies!

9 years agoMerge pull request #1991 from spaetow/v3.0.x
Alan DeKok [Thu, 25 May 2017 12:56:51 +0000 (08:56 -0400)] 
Merge pull request #1991 from spaetow/v3.0.x

Add SQL backing to Moonshot-*-TargetedId generation

9 years agoremove references to sql_log
Alan T. DeKok [Wed, 24 May 2017 21:21:55 +0000 (17:21 -0400)] 
remove references to sql_log

9 years agonote recent changes
Alan T. DeKok [Wed, 24 May 2017 19:55:26 +0000 (15:55 -0400)] 
note recent changes

9 years agoas posted to the list
Alan T. DeKok [Wed, 24 May 2017 19:55:05 +0000 (15:55 -0400)] 
as posted to the list

9 years agoMerge branch 'v3.0.x' into v3.0.x 1991/head
Stefan Paetow [Sat, 20 May 2017 20:05:56 +0000 (21:05 +0100)] 
Merge branch 'v3.0.x' into v3.0.x

9 years agonote recent changes
Alan T. DeKok [Fri, 19 May 2017 18:10:37 +0000 (14:10 -0400)] 
note recent changes

9 years agoreduce scope of variable. Found by PVS-Studio
Alan T. DeKok [Wed, 17 May 2017 16:15:07 +0000 (12:15 -0400)] 
reduce scope of variable.  Found by PVS-Studio

9 years agorequest by be NULL. Found by PVS-Studio
Alan T. DeKok [Wed, 17 May 2017 16:07:49 +0000 (12:07 -0400)] 
request by be NULL.  Found by PVS-Studio

9 years agomove shutdown calls into check for ssn->ssl. Found by PVS-Studio
Alan T. DeKok [Wed, 17 May 2017 16:06:57 +0000 (12:06 -0400)] 
move shutdown calls into check for ssn->ssl.  Found by PVS-Studio

9 years agocheck sizeof(*packet). Found by PVS-Studio
Alan T. DeKok [Wed, 17 May 2017 16:03:46 +0000 (12:03 -0400)] 
check sizeof(*packet).  Found by PVS-Studio

9 years agocheck ptr before dereferencing it. Found by PVS-Studio
Alan T. DeKok [Wed, 17 May 2017 15:51:44 +0000 (11:51 -0400)] 
check ptr before dereferencing it.  Found by PVS-Studio

9 years agoremove redundant declaration. Found by PVS-Studio
Alan T. DeKok [Wed, 17 May 2017 15:50:36 +0000 (11:50 -0400)] 
remove redundant declaration.  Found by PVS-Studio