]> git.ipfire.org Git - thirdparty/freeradius-server.git/log
thirdparty/freeradius-server.git
9 years agoCast byte as an unsigned char instead 1857/head
James Rouzier [Wed, 23 Nov 2016 17:37:59 +0000 (12:37 -0500)] 
Cast byte as an unsigned char instead

9 years agouse unsigned, not signed
Alan T. DeKok [Wed, 23 Nov 2016 14:06:39 +0000 (09:06 -0500)] 
use unsigned, not signed

9 years ago\n is \n, not \b
Alan T. DeKok [Wed, 23 Nov 2016 14:05:50 +0000 (09:05 -0500)] 
\n is \n, not \b

9 years agomake data unsigned
Alan T. DeKok [Tue, 22 Nov 2016 21:27:12 +0000 (16:27 -0500)] 
make data unsigned

9 years agoMerge pull request #1853 from alanbuxey/patch-4
Alan DeKok [Mon, 21 Nov 2016 16:43:05 +0000 (11:43 -0500)] 
Merge pull request #1853 from alanbuxey/patch-4

remove unnecessary "Need 0 more connections to reach..." INFO output

9 years agoremove unnecessary "Need 0 more connections to reach..." INFO output 1853/head
Alan Buxey [Mon, 21 Nov 2016 15:25:24 +0000 (15:25 +0000)] 
remove unnecessary "Need 0 more connections to reach..." INFO output

the <= means that when the value is 0 the server keeps spewing out "Need 0 more connections to reach..." messages into the log output.  this ensures messages come out only when there is a need.

9 years agoCheck both attributes for message type and option 82
Alan T. DeKok [Mon, 21 Nov 2016 14:06:32 +0000 (09:06 -0500)] 
Check both attributes for message type and option 82

9 years agoadded MS-MPPE-Encryption-Policy !* ANY
Alan T. DeKok [Mon, 21 Nov 2016 12:01:07 +0000 (07:01 -0500)] 
added MS-MPPE-Encryption-Policy !* ANY

9 years agofix inner-tunnel policy
Alan T. DeKok [Sat, 19 Nov 2016 00:32:10 +0000 (19:32 -0500)] 
fix inner-tunnel policy

This policy replaces "use_tunneled_reply".  It's better to use
if (0) { ...} to disable blocks of code, instead of commenting it out.

Also, update the local reply before copying it to the outer
session-state list.  That makes a lot more sense.

9 years agoset reject on reject
Alan T. DeKok [Fri, 18 Nov 2016 16:59:28 +0000 (11:59 -0500)] 
set reject on reject

9 years agoremove unnecessary const
Alan T. DeKok [Fri, 18 Nov 2016 14:16:27 +0000 (09:16 -0500)] 
remove unnecessary const

9 years agopass the correct length to hex2bin
Alan T. DeKok [Tue, 15 Nov 2016 17:32:01 +0000 (12:32 -0500)] 
pass the correct length to hex2bin

9 years agoNO is 0. YES is 1.
Alan T. DeKok [Mon, 14 Nov 2016 19:30:10 +0000 (14:30 -0500)] 
NO is 0. YES is 1.

9 years agofrom Microsemi
Alan T. DeKok [Fri, 11 Nov 2016 11:56:23 +0000 (06:56 -0500)] 
from Microsemi

9 years agofix build on FreeBSD: readline headers imply stdio.h is included prior
Boris Lytochkin [Wed, 9 Nov 2016 19:03:03 +0000 (22:03 +0300)] 
fix build on FreeBSD: readline headers imply stdio.h is included prior
including readline.h

9 years agoReally should be invalid
Arran Cudbard-Bell [Wed, 9 Nov 2016 15:09:21 +0000 (10:09 -0500)] 
Really should be invalid

9 years agoMerge pull request #1829 from lytboris/init-out-v3.0.x
Arran Cudbard-Bell [Wed, 9 Nov 2016 12:36:18 +0000 (07:36 -0500)] 
Merge pull request #1829 from lytboris/init-out-v3.0.x

Initialize out before calling radius_axlat or radius_axlat_struct

9 years agoMerge branch 'v3.0.x' into init-out-v3.0.x 1829/head
Arran Cudbard-Bell [Wed, 9 Nov 2016 12:36:06 +0000 (07:36 -0500)] 
Merge branch 'v3.0.x' into init-out-v3.0.x

9 years agoMerge pull request #1823 from lytboris/rlm_perl_radxlat_function-v3.0.x
Arran Cudbard-Bell [Tue, 8 Nov 2016 14:15:04 +0000 (09:15 -0500)] 
Merge pull request #1823 from lytboris/rlm_perl_radxlat_function-v3.0.x

implement radiusd::radius_xlat in rlm_perl (v3.0.x)

9 years agoimplement radiusd::xlat in rlm_perl 1823/head
Boris Lytochkin [Fri, 4 Nov 2016 14:29:12 +0000 (17:29 +0300)] 
implement radiusd::xlat in rlm_perl

Sponsored by: Yandex LLC

9 years agofix previous commit
Alan T. DeKok [Tue, 8 Nov 2016 13:47:47 +0000 (08:47 -0500)] 
fix previous commit

9 years agoSometimes we're spawning to reach min not spare
Arran Cudbard-Bell [Mon, 7 Nov 2016 18:32:29 +0000 (13:32 -0500)] 
Sometimes we're spawning to reach min not spare

9 years agonote recent changes
Alan T. DeKok [Mon, 7 Nov 2016 15:42:45 +0000 (10:42 -0500)] 
note recent changes

9 years agoOpenSSL 1.1.0 compatability fixes
Alan T. DeKok [Mon, 7 Nov 2016 15:42:02 +0000 (10:42 -0500)] 
OpenSSL 1.1.0 compatability fixes

9 years agoInitialize out before calling radius_axlat or radius_axlat_struct
Philippe Wooding [Tue, 13 Sep 2016 11:20:00 +0000 (13:20 +0200)] 
Initialize out before calling radius_axlat or radius_axlat_struct

9 years agoMerge pull request #1815 from alanbuxey/v3.0.x
Arran Cudbard-Bell [Sat, 5 Nov 2016 19:24:41 +0000 (15:24 -0400)] 
Merge pull request #1815 from alanbuxey/v3.0.x

fixed variable in accounting policy to use correct "&" prefix - no more warnings with default configuration

9 years agoMerge branch 'v3.0.x' into v3.0.x 1815/head
Arran Cudbard-Bell [Sat, 5 Nov 2016 19:20:48 +0000 (15:20 -0400)] 
Merge branch 'v3.0.x' into v3.0.x

9 years agosuccess may still return nothing. Should help with #1824
Alan T. DeKok [Fri, 4 Nov 2016 18:09:34 +0000 (14:09 -0400)] 
success may still return nothing.  Should help with #1824

9 years agoNUL terminating strings is a good idea.
Alan T. DeKok [Fri, 4 Nov 2016 15:35:43 +0000 (11:35 -0400)] 
NUL terminating strings is a good idea.

9 years agomore error messages
Alan T. DeKok [Fri, 4 Nov 2016 12:38:35 +0000 (08:38 -0400)] 
more error messages

9 years agoMerge pull request #1819 from jrouzierinverse/ldap-null-check
Alan DeKok [Fri, 4 Nov 2016 13:43:23 +0000 (09:43 -0400)] 
Merge pull request #1819 from jrouzierinverse/ldap-null-check

Check if info.ldapai_extensions is not NULL before freeing it

9 years agoIgnore dirs from other branches
Arran Cudbard-Bell [Thu, 3 Nov 2016 20:13:21 +0000 (16:13 -0400)] 
Ignore dirs from other branches

9 years agoInitialise tminfo Closes #1820
Arran Cudbard-Bell [Thu, 3 Nov 2016 20:11:32 +0000 (16:11 -0400)] 
Initialise tminfo Closes #1820

9 years agoMerge branch 'v3.0.x' into ldap-null-check 1819/head
Arran Cudbard-Bell [Thu, 3 Nov 2016 14:33:04 +0000 (10:33 -0400)] 
Merge branch 'v3.0.x' into ldap-null-check

9 years agonote recent changes
Alan T. DeKok [Thu, 3 Nov 2016 13:54:41 +0000 (09:54 -0400)] 
note recent changes

9 years agoRename lt_* to fr_*. Fixes #1277
Alan T. DeKok [Thu, 3 Nov 2016 13:50:56 +0000 (09:50 -0400)] 
Rename lt_* to fr_*.  Fixes #1277

Which fixes linker issues in libraries which link to libtool,
and then sometimes get the wrong function.

Changed via:

perl -p -i -e 's/lt_dlhandle/fr_dlhandle/g;s/lt_dlopenext/fr_dlopenext/g;s/lt_dlsym/fr_dlsym/g;s/lt_dlclose/fr_dlclose/g;s/lt_dlerror/fr_dlerror/g;' $(find . -name "*.[ch]" -print)

9 years agoMerge branch 'v3.0.x' into v3.0.x
Alan Buxey [Tue, 1 Nov 2016 20:39:56 +0000 (20:39 +0000)] 
Merge branch 'v3.0.x' into v3.0.x

9 years agoallow Calling-Station-Id and Chargeable-User-Identity to pass through
Alan Buxey [Tue, 1 Nov 2016 20:38:56 +0000 (20:38 +0000)] 
allow Calling-Station-Id and Chargeable-User-Identity to pass through

ensures configuration works out of box for various roaming consortia

9 years agoCheck if info.ldapai_extensions is not NULL before freeing it
James Rouzier [Tue, 1 Nov 2016 17:13:53 +0000 (13:13 -0400)] 
Check if info.ldapai_extensions is not NULL before freeing it

9 years agoMerge pull request #1799 from intersvyaz/v3.0.x-patch2
Arran Cudbard-Bell [Mon, 31 Oct 2016 15:21:52 +0000 (11:21 -0400)] 
Merge pull request #1799 from intersvyaz/v3.0.x-patch2

rlm_ldap: cleanup memory after ldap version query

9 years agoMerge branch 'v3.0.x' into v3.0.x-patch2 1799/head
Arran Cudbard-Bell [Mon, 31 Oct 2016 14:44:06 +0000 (10:44 -0400)] 
Merge branch 'v3.0.x' into v3.0.x-patch2

9 years agofixed variable to use the "&" prefix
Alan Buxey [Sun, 30 Oct 2016 22:27:38 +0000 (22:27 +0000)] 
fixed variable to use the "&" prefix

9 years agoMerge pull request #1811 from Caspinol/v3.0.x
Arran Cudbard-Bell [Sat, 29 Oct 2016 11:53:41 +0000 (07:53 -0400)] 
Merge pull request #1811 from Caspinol/v3.0.x

Refer to raiusd.conf for more examples

9 years agoRefer to raiusd.conf for more examples 1811/head
Kris [Fri, 28 Oct 2016 15:49:56 +0000 (16:49 +0100)] 
Refer to raiusd.conf for more examples

9 years agoMerge pull request #1810 from qnet-herwin/indentation_rlm_mschap
Alan DeKok [Fri, 28 Oct 2016 11:36:42 +0000 (07:36 -0400)] 
Merge pull request #1810 from qnet-herwin/indentation_rlm_mschap

Indentation fix in rlm_mschap.c

9 years agoIndentation fix in rlm_mschap.c 1810/head
Herwin Weststrate [Fri, 28 Oct 2016 11:11:03 +0000 (13:11 +0200)] 
Indentation fix in rlm_mschap.c

9 years agoMerge pull request #1806 from candlerb/v3.0.x/candlerb/eap-updated
Alan DeKok [Wed, 26 Oct 2016 14:47:42 +0000 (10:47 -0400)] 
Merge pull request #1806 from candlerb/v3.0.x/candlerb/eap-updated

Add commented-out example to eap section to handle "updated" response

9 years agoAdd commented-out example to eap section to handle "updated" response 1806/head
Brian Candler [Tue, 25 Oct 2016 17:19:10 +0000 (18:19 +0100)] 
Add commented-out example to eap section to handle "updated" response

This occurs part-way through a PEAP tunneled exchange, and can cause
additional database lookups.

9 years agotypo
Alan T. DeKok [Tue, 25 Oct 2016 12:46:10 +0000 (08:46 -0400)] 
typo

9 years agono longer needed
Alan T. DeKok [Sun, 23 Oct 2016 15:57:06 +0000 (11:57 -0400)] 
no longer needed

9 years agoCheck for new OpenSSL. Fixes #1803
Alan T. DeKok [Sat, 22 Oct 2016 22:20:35 +0000 (18:20 -0400)] 
Check for new OpenSSL.  Fixes #1803

Old versions of OpenSSL don't have the necessary functions or
macro definitions, so we don't build rlm_eap_fast for them.

9 years agorlm_ldap: cleanup memory after ldap version query
Aleksey Katargin [Wed, 19 Oct 2016 10:25:07 +0000 (15:25 +0500)] 
rlm_ldap: cleanup memory after ldap version query

Signed-off-by: Aleksey Katargin <gureedo@intersvyaz.net>
9 years agoMerge pull request #1795 from intersvyaz/v3.0.x-patch1
Alan DeKok [Wed, 19 Oct 2016 17:56:43 +0000 (13:56 -0400)] 
Merge pull request #1795 from intersvyaz/v3.0.x-patch1

conffile: cleanup section children and tail on data remove

9 years agonote recent changes
Alan T. DeKok [Wed, 19 Oct 2016 16:39:35 +0000 (12:39 -0400)] 
note recent changes

9 years agoreturn RLM_MODULE_NOTFOUND if nothing was found
Alan T. DeKok [Wed, 19 Oct 2016 16:37:27 +0000 (12:37 -0400)] 
return RLM_MODULE_NOTFOUND if nothing was found

9 years agoMerge branch 'v3.0.x' into v3.0.x-patch1 1795/head
Alan DeKok [Wed, 19 Oct 2016 13:52:36 +0000 (09:52 -0400)] 
Merge branch 'v3.0.x' into v3.0.x-patch1

9 years agoAdd cipher_server_preference. Manual port of #1797
Alan T. DeKok [Wed, 19 Oct 2016 13:48:48 +0000 (09:48 -0400)] 
Add cipher_server_preference.  Manual port of #1797

9 years agoconffile: cleanup section children and tail on data remove
Aleksey Katargin [Wed, 19 Oct 2016 08:05:11 +0000 (13:05 +0500)] 
conffile: cleanup section children and tail on data remove

Signed-off-by: Aleksey Katargin <gureedo@intersvyaz.net>
9 years agoMerge pull request #1793 from andre-luiz-dos-santos/patch-1
Alan DeKok [Mon, 17 Oct 2016 16:15:50 +0000 (12:15 -0400)] 
Merge pull request #1793 from andre-luiz-dos-santos/patch-1

Minor typo

9 years agoMinor typo 1793/head
AndrĂ© Luiz dos Santos [Mon, 17 Oct 2016 15:26:32 +0000 (13:26 -0200)] 
Minor typo

9 years agoMerge pull request #1792 from mcnewton/v3.0.x
Alan DeKok [Mon, 17 Oct 2016 14:37:55 +0000 (10:37 -0400)] 
Merge pull request #1792 from mcnewton/v3.0.x

rlm_mschap: fix up password change test

9 years agorlm_mschap: fix up password change test 1792/head
Matthew Newton [Mon, 17 Oct 2016 13:55:54 +0000 (14:55 +0100)] 
rlm_mschap: fix up password change test

9 years agoadded RFC 7930
Alan T. DeKok [Wed, 12 Oct 2016 14:13:00 +0000 (10:13 -0400)] 
added RFC 7930

9 years agoMerge pull request #1777 from zmousm/raddebug-dash-n
Alan DeKok [Tue, 11 Oct 2016 17:13:49 +0000 (13:13 -0400)] 
Merge pull request #1777 from zmousm/raddebug-dash-n

Let raddebug also have the -n option

9 years agonote recent changes
Alan T. DeKok [Tue, 11 Oct 2016 17:12:04 +0000 (13:12 -0400)] 
note recent changes

9 years agovps may be NULL. Fixes #1778
Alan T. DeKok [Tue, 11 Oct 2016 16:54:54 +0000 (12:54 -0400)] 
vps may be NULL.  Fixes #1778

The VERIFY_LIST macro shouild be protected by an "if *vps" check.
It should also be run once all of the VPs have been added,
and not on every VP which is added.

9 years agoLet raddebug also have the -n option 1777/head
Zenon Mousmoulas [Mon, 10 Oct 2016 05:20:00 +0000 (08:20 +0300)] 
Let raddebug also have the -n option

9 years agoMerge pull request #1772 from zmousm/fix-deb-patch
Alan DeKok [Sat, 8 Oct 2016 13:39:33 +0000 (09:39 -0400)] 
Merge pull request #1772 from zmousm/fix-deb-patch

Refresh debian/patches/radiusd-to-freeradius.diff

9 years agoMerge pull request #1775 from stapelberg/patch-1
Alan DeKok [Sat, 8 Oct 2016 13:29:30 +0000 (09:29 -0400)] 
Merge pull request #1775 from stapelberg/patch-1

fix: macro `IR(hours|minutes|seconds)' not defined

9 years agofix: macro `IR(hours|minutes|seconds)' not defined 1775/head
Michael Stapelberg [Sat, 8 Oct 2016 11:51:51 +0000 (13:51 +0200)] 
fix: macro `IR(hours|minutes|seconds)' not defined

9 years agoRefresh debian/patches/radiusd-to-freeradius.diff 1772/head
Zenon Mousmoulas [Sat, 8 Oct 2016 07:42:13 +0000 (10:42 +0300)] 
Refresh debian/patches/radiusd-to-freeradius.diff

dpkg-source aborts due to missing initial spaces and fuzz in one
context line

9 years agoit's not a warning message
Alan T. DeKok [Wed, 5 Oct 2016 14:56:33 +0000 (10:56 -0400)] 
it's not a warning message

9 years agofix warning messages for packet possibly truncated
Alan T. DeKok [Tue, 4 Oct 2016 18:43:28 +0000 (14:43 -0400)] 
fix warning messages for packet possibly truncated

rely on the "encode" function to display warning messages.
And make the warning messages debug only

9 years agocheck num_rows before using them
Alan T. DeKok [Mon, 3 Oct 2016 15:05:08 +0000 (11:05 -0400)] 
check num_rows before using them

9 years agoCheck for expiry only if the password was OK. Fixes #1762
Alan T. DeKok [Mon, 3 Oct 2016 13:22:22 +0000 (09:22 -0400)] 
Check for expiry only if the password was OK.  Fixes #1762

9 years agonote recent changes
Alan T. DeKok [Mon, 3 Oct 2016 13:15:21 +0000 (09:15 -0400)] 
note recent changes

9 years agoMerge pull request #1767 from djjudas21/patch-1
Alan DeKok [Mon, 3 Oct 2016 13:11:05 +0000 (09:11 -0400)] 
Merge pull request #1767 from djjudas21/patch-1

Fix typo in %files section to avoid error building RPM

9 years agoFix typo in %files section to avoid error building RPM 1767/head
Jonathan [Mon, 3 Oct 2016 10:42:06 +0000 (11:42 +0100)] 
Fix typo in %files section to avoid error building RPM

File not found: /home/jg4461/rpmbuild/BUILDROOT/freeradius-3.0.12-2.el7.centos.x86_64/usr/share/man/man1/radcounter.1.gz

9 years agoMerge pull request #1763 from alanbuxey/patch-1
Arran Cudbard-Bell [Sat, 1 Oct 2016 12:05:11 +0000 (13:05 +0100)] 
Merge pull request #1763 from alanbuxey/patch-1

another typo fix and capitalisations

9 years agoanother typo fix and capitalisations 1763/head
Alan Buxey [Sat, 1 Oct 2016 11:46:02 +0000 (12:46 +0100)] 
another typo fix and capitalisations

9 years agoupdate for 3.0.13
Alan T. DeKok [Fri, 30 Sep 2016 11:58:43 +0000 (07:58 -0400)] 
update for 3.0.13

9 years agoadd "date" module
Alan T. DeKok [Fri, 30 Sep 2016 11:36:33 +0000 (07:36 -0400)] 
add "date" module

9 years agobump for 3.0.13
Alan T. DeKok [Fri, 30 Sep 2016 11:36:50 +0000 (07:36 -0400)] 
bump for 3.0.13

9 years agotypo release_3_0_12
Alan T. DeKok [Thu, 29 Sep 2016 15:19:48 +0000 (11:19 -0400)] 
typo

9 years agonote recent changes.
Alan T. DeKok [Thu, 29 Sep 2016 14:55:38 +0000 (10:55 -0400)] 
note recent changes.

9 years agoallow for old-style names, too
Alan T. DeKok [Thu, 29 Sep 2016 14:42:58 +0000 (10:42 -0400)] 
allow for old-style names, too

9 years agosimplify debug messages
Alan T. DeKok [Thu, 29 Sep 2016 14:33:22 +0000 (10:33 -0400)] 
simplify debug messages

we don't need 'request %u' in RDEBUG messages

9 years agomore &
Alan T. DeKok [Thu, 29 Sep 2016 14:25:15 +0000 (10:25 -0400)] 
more &

9 years agoFix compile without ascend binary. fixes #1761
Alan T. DeKok [Wed, 28 Sep 2016 15:16:51 +0000 (11:16 -0400)] 
Fix compile without ascend binary.  fixes #1761

9 years agoMerge pull request #1760 from jrouzierinverse/feature/eap-fast-3.0.x
Alan DeKok [Tue, 27 Sep 2016 19:52:30 +0000 (15:52 -0400)] 
Merge pull request #1760 from jrouzierinverse/feature/eap-fast-3.0.x

Fix talloc parenting issue

9 years agoFix talloc parenting issue 1760/head
James Rouzier [Tue, 27 Sep 2016 19:41:16 +0000 (15:41 -0400)] 
Fix talloc parenting issue

9 years agonotes on AD
Alan T. DeKok [Tue, 27 Sep 2016 19:12:23 +0000 (15:12 -0400)] 
notes on AD

9 years agobuild headers before scanning
Alan T. DeKok [Sun, 10 Jul 2016 18:03:18 +0000 (14:03 -0400)] 
build headers before scanning

9 years agoMerge pull request #1759 from mcnewton/v3.0.x
Matthew Newton [Tue, 27 Sep 2016 11:43:09 +0000 (12:43 +0100)] 
Merge pull request #1759 from mcnewton/v3.0.x

small dhcpclient man page tweaks

9 years agosmall dhcpclient man page tweaks 1759/head
Matthew Newton [Tue, 27 Sep 2016 11:02:32 +0000 (12:02 +0100)] 
small dhcpclient man page tweaks

9 years agoone more check for virtual servers
Alan T. DeKok [Mon, 26 Sep 2016 20:39:36 +0000 (16:39 -0400)] 
one more check for virtual servers

9 years agoskip virtual servers in a pool
Alan T. DeKok [Mon, 26 Sep 2016 20:20:30 +0000 (16:20 -0400)] 
skip virtual servers in a pool

9 years agoremove from proxy hash on ping timeout
Alan T. DeKok [Mon, 26 Sep 2016 20:16:49 +0000 (16:16 -0400)] 
remove from proxy hash on ping timeout

9 years agoDon't ignore the fact we've hit vulnerable versions in previous checks
Arran Cudbard-Bell [Mon, 26 Sep 2016 15:47:51 +0000 (16:47 +0100)] 
Don't ignore the fact we've hit vulnerable versions in previous checks

9 years agoreorder list
Alan T. DeKok [Mon, 26 Sep 2016 15:06:11 +0000 (11:06 -0400)] 
reorder list