]> git.ipfire.org Git - thirdparty/freeradius-server.git/log
thirdparty/freeradius-server.git
10 years agoFixing the compilation caused by commit 093a4ac 1064/head
Jorge Pereira [Fri, 19 Jun 2015 01:56:39 +0000 (22:56 -0300)] 
Fixing the compilation caused by commit 093a4ac

10 years agooutput reference name (not the entire line)
Arran Cudbard-Bell [Fri, 19 Jun 2015 00:26:34 +0000 (20:26 -0400)] 
output reference name (not the entire line)

10 years agoUse correct type for sql_port
Arran Cudbard-Bell [Fri, 19 Jun 2015 00:25:43 +0000 (20:25 -0400)] 
Use correct type for sql_port

10 years agoRestore cached VPs prior to EAP-TLS inner-tunnel method
Alan T. DeKok [Thu, 18 Jun 2015 15:53:34 +0000 (11:53 -0400)] 
Restore cached VPs prior to EAP-TLS inner-tunnel method

10 years agoSet persist callbacks only if persist_dir is configured
Alan T. DeKok [Thu, 18 Jun 2015 14:05:40 +0000 (10:05 -0400)] 
Set persist callbacks only if persist_dir is configured

10 years agoMake messages clearer
Alan T. DeKok [Thu, 18 Jun 2015 12:03:34 +0000 (08:03 -0400)] 
Make messages clearer

10 years agoreturn int
Alan T. DeKok [Thu, 18 Jun 2015 11:43:01 +0000 (07:43 -0400)] 
return int

10 years agoMore messages as per last commit
Alan T. DeKok [Thu, 18 Jun 2015 11:19:07 +0000 (07:19 -0400)] 
More messages as per last commit

10 years agoMake it clear when we can't cache TLS sessions
Alan T. DeKok [Thu, 18 Jun 2015 11:08:11 +0000 (07:08 -0400)] 
Make it clear when we can't cache TLS sessions

10 years agoConsistency with radclient
Alan T. DeKok [Wed, 17 Jun 2015 20:17:56 +0000 (16:17 -0400)] 
Consistency with radclient

10 years agoRevert "Consistency"
Alan T. DeKok [Wed, 17 Jun 2015 20:17:08 +0000 (16:17 -0400)] 
Revert "Consistency"

This reverts commit 874e7f08c295ccba1ff7d60dcfb0c61376d829ef.

10 years agoRemove old note
Alan T. DeKok [Wed, 17 Jun 2015 19:50:15 +0000 (15:50 -0400)] 
Remove old note

10 years agoExpose fr_cursor_init with the correct parameters.
Alan T. DeKok [Wed, 17 Jun 2015 19:48:02 +0000 (15:48 -0400)] 
Expose fr_cursor_init with the correct parameters.

And some const-correctness fixes.  This means we have compile-time
errors instead of run-time errors, at the cost of some minor
memcpys, which the compiler should optimize out

10 years agoVALUE_PAIR** not VALUE_PAIR*
Alan T. DeKok [Wed, 17 Jun 2015 19:46:05 +0000 (15:46 -0400)] 
VALUE_PAIR** not VALUE_PAIR*

10 years agoFix for v3
Alan T. DeKok [Wed, 17 Jun 2015 19:38:04 +0000 (15:38 -0400)] 
Fix for v3

10 years agoVALUE_PAIR**, not VALUE_PAIR *
Alan T. DeKok [Wed, 17 Jun 2015 19:36:35 +0000 (15:36 -0400)] 
VALUE_PAIR**, not VALUE_PAIR *

10 years agoInitialize the dictionaries via the same method as radclient
Alan T. DeKok [Wed, 17 Jun 2015 19:29:12 +0000 (15:29 -0400)] 
Initialize the dictionaries via the same method as radclient

10 years agoConsistency
Alan T. DeKok [Wed, 17 Jun 2015 19:25:01 +0000 (15:25 -0400)] 
Consistency

10 years agoUse correct field for accessing date
Arran Cudbard-Bell [Wed, 17 Jun 2015 17:22:32 +0000 (13:22 -0400)] 
Use correct field for accessing date

10 years agoAllow casting from date to 64bit integer
Arran Cudbard-Bell [Wed, 17 Jun 2015 17:18:41 +0000 (13:18 -0400)] 
Allow casting from date to 64bit integer

10 years agoSet request->timestamp and request->packet->timestamp to a real value (now) in unittest
Arran Cudbard-Bell [Wed, 17 Jun 2015 17:18:28 +0000 (13:18 -0400)] 
Set request->timestamp and request->packet->timestamp to a real value (now) in unittest

10 years agoAllow expr to work on attribute refs that may be converted into integers (like IPv4...
Arran Cudbard-Bell [Wed, 17 Jun 2015 17:01:44 +0000 (13:01 -0400)] 
Allow expr to work on attribute refs that may be converted into integers (like IPv4 addresses and Date types)

10 years agoAdd pre/post proxy sections
Alan T. DeKok [Wed, 17 Jun 2015 15:21:08 +0000 (11:21 -0400)] 
Add pre/post proxy sections

10 years agoBuild with sasl.c if necessary
Alan T. DeKok [Tue, 16 Jun 2015 23:50:01 +0000 (19:50 -0400)] 
Build with sasl.c if necessary

10 years agoUpdate ChangeLog
Arran Cudbard-Bell [Tue, 16 Jun 2015 17:37:23 +0000 (13:37 -0400)] 
Update ChangeLog

10 years agoBetter debugging messages for TLS session cache && resumption
Alan T. DeKok [Tue, 16 Jun 2015 15:33:42 +0000 (11:33 -0400)] 
Better debugging messages for TLS session cache && resumption

10 years agoCorrectly format cache entries. <sigh>
Alan T. DeKok [Tue, 16 Jun 2015 15:19:13 +0000 (11:19 -0400)] 
Correctly format cache entries.  <sigh>

10 years agoDon't copy the VPs when we can just move them
Alan T. DeKok [Tue, 16 Jun 2015 14:23:28 +0000 (10:23 -0400)] 
Don't copy the VPs when we can just move them

10 years agoAdd WITH_ACCOUNTING to accounting code
Alan T. DeKok [Mon, 15 Jun 2015 21:07:32 +0000 (17:07 -0400)] 
Add WITH_ACCOUNTING to accounting code

10 years agoMore doxygen
Arran Cudbard-Bell [Tue, 16 Jun 2015 03:31:50 +0000 (23:31 -0400)] 
More doxygen

10 years agoDoxygen
Arran Cudbard-Bell [Tue, 16 Jun 2015 03:19:02 +0000 (23:19 -0400)] 
Doxygen

10 years agoFix for same memory leak in cos_socket_recv
Arran Cudbard-Bell [Tue, 16 Jun 2015 03:01:59 +0000 (23:01 -0400)] 
Fix for same memory leak in cos_socket_recv

10 years agoFixes to SASL interactive bind, as posted to the list by Isaac Boukris
Arran Cudbard-Bell [Tue, 16 Jun 2015 02:52:38 +0000 (22:52 -0400)] 
Fixes to SASL interactive bind, as posted to the list by Isaac Boukris

10 years agoFix memory leak on malformed or duplicate accounting requests
Arran Cudbard-Bell [Tue, 16 Jun 2015 01:06:40 +0000 (21:06 -0400)] 
Fix memory leak on malformed or duplicate accounting requests

10 years agoName the talloc pools
Arran Cudbard-Bell [Mon, 15 Jun 2015 22:11:46 +0000 (18:11 -0400)] 
Name the talloc pools

10 years agoFormatting
Arran Cudbard-Bell [Mon, 15 Jun 2015 00:43:33 +0000 (20:43 -0400)] 
Formatting

10 years agoMerge pull request #1061 from jpereira/develop-rlm_replicate2
Alan DeKok [Mon, 15 Jun 2015 21:38:58 +0000 (17:38 -0400)] 
Merge pull request #1061 from jpereira/develop-rlm_replicate2

rlm_replicate: Fix a wrong pool setting when the packet is COA

10 years agorlm_replicate: Fix a wrong pool setting when the packet is COA 1061/head
Jorge Pereira [Mon, 15 Jun 2015 21:28:46 +0000 (18:28 -0300)] 
rlm_replicate: Fix a wrong pool setting when the packet is COA

10 years agoFree connection handle ctx on error
Arran Cudbard-Bell [Mon, 15 Jun 2015 20:50:35 +0000 (16:50 -0400)] 
Free connection handle ctx on error

10 years agoNote recent changes
Alan T. DeKok [Mon, 15 Jun 2015 20:12:23 +0000 (16:12 -0400)] 
Note recent changes

10 years agoTweak sqlite error messages
Arran Cudbard-Bell [Mon, 15 Jun 2015 20:09:00 +0000 (16:09 -0400)] 
Tweak sqlite error messages

10 years agoPoint to more documentation
Alan T. DeKok [Mon, 15 Jun 2015 20:05:38 +0000 (16:05 -0400)] 
Point to more documentation

10 years agoMerge pull request #1059 from jpereira/develop-rlm_replicate1
Arran Cudbard-Bell [Mon, 15 Jun 2015 19:27:54 +0000 (15:27 -0400)] 
Merge pull request #1059 from jpereira/develop-rlm_replicate1

rlm_replicate: Added support for the list 'accounting'

10 years agoCheck return codes from functions, as well as the error code associated with a handle...
Arran Cudbard-Bell [Mon, 15 Jun 2015 18:52:56 +0000 (14:52 -0400)] 
Check return codes from functions, as well as the error code associated with a handle in sqlite.

10 years agoDisallow "TLV" types to have any data
Alan T. DeKok [Mon, 15 Jun 2015 19:18:54 +0000 (15:18 -0400)] 
Disallow "TLV" types to have any data

If created as hex, they either get turned into unknowns
(when they have a bad format), or they get turned into
multiple sub-attrs (when they have a good format)

10 years agotemplates should not create TLV types
Alan T. DeKok [Mon, 15 Jun 2015 19:08:36 +0000 (15:08 -0400)] 
templates should not create TLV types

10 years agoPrint out the command we executed when the test failed
Alan T. DeKok [Mon, 15 Jun 2015 19:08:16 +0000 (15:08 -0400)] 
Print out the command we executed when the test failed

10 years agoExpose rad_data2vp_tlvs
Alan T. DeKok [Mon, 15 Jun 2015 19:07:52 +0000 (15:07 -0400)] 
Expose rad_data2vp_tlvs

10 years agorlm_replicate: Added support for the list 'accounting' 1059/head
Jorge Pereira [Mon, 15 Jun 2015 18:39:28 +0000 (15:39 -0300)] 
rlm_replicate: Added support for the list 'accounting'

10 years agoAlways write the header for the first attr
Alan T. DeKok [Mon, 15 Jun 2015 18:30:22 +0000 (14:30 -0400)] 
Always write the header for the first attr

10 years agoEncode suboptions in place, instead of creating an intermediate VP
Alan T. DeKok [Mon, 15 Jun 2015 18:15:25 +0000 (14:15 -0400)] 
Encode suboptions in place, instead of creating an intermediate VP

So that we can avoid mangling vp->vp_tlv

10 years agoDeocde DHCP-Vendor-Specific-Information as octets
Alan T. DeKok [Mon, 15 Jun 2015 16:05:07 +0000 (12:05 -0400)] 
Deocde DHCP-Vendor-Specific-Information as octets

Because creating RADIUS VSAs for DHCP data is a bad idea.

10 years agoMust set prefix when doing IP address comparisons in check_for_realm
Arran Cudbard-Bell [Mon, 15 Jun 2015 15:43:01 +0000 (11:43 -0400)] 
Must set prefix when doing IP address comparisons in check_for_realm

10 years agoDepend on the dictionary
Alan T. DeKok [Mon, 15 Jun 2015 15:42:53 +0000 (11:42 -0400)] 
Depend on the dictionary

10 years agoAdd some DHCP unit tests
Alan T. DeKok [Mon, 15 Jun 2015 15:40:29 +0000 (11:40 -0400)] 
Add some DHCP unit tests

10 years agoUse '=' instead of '+='
Alan T. DeKok [Mon, 15 Jun 2015 15:34:32 +0000 (11:34 -0400)] 
Use '=' instead of '+='

When creating attributes from packets.

10 years agoLink DHCP code to libfreeradius-dhcp
Alan T. DeKok [Mon, 15 Jun 2015 15:10:37 +0000 (11:10 -0400)] 
Link DHCP code to libfreeradius-dhcp

10 years agoMerge pull request #1057 from pwdng/v3.0.x
Alan DeKok [Mon, 15 Jun 2015 13:11:30 +0000 (09:11 -0400)] 
Merge pull request #1057 from pwdng/v3.0.x

Update RPM spec file to reflect redis module is now stable

10 years agoTypo fix: retrived => retrieved
Herwin Weststrate [Thu, 4 Jun 2015 12:02:40 +0000 (14:02 +0200)] 
Typo fix: retrived => retrieved

10 years agoTypo fix: expnsion => expansion
Herwin Weststrate [Thu, 16 Apr 2015 06:00:10 +0000 (08:00 +0200)] 
Typo fix: expnsion => expansion

10 years agoTypo fix: reqex => regex
Herwin Weststrate [Wed, 15 Apr 2015 13:55:54 +0000 (15:55 +0200)] 
Typo fix: reqex => regex

10 years agoPartial revert of 93e6ebe0.
Alan T. DeKok [Mon, 15 Jun 2015 11:36:37 +0000 (07:36 -0400)] 
Partial revert of 93e6ebe0.

If the home server is dead, there's no request->proxy, and
no fallback server.  So we can't run proxy-proxy-type fail

10 years agoPort fix from sqlcounter
Alan T. DeKok [Sun, 14 Jun 2015 16:29:18 +0000 (12:29 -0400)] 
Port fix from sqlcounter

10 years agoCheck for from==NULL. Fixes #1054
Alan T. DeKok [Sun, 14 Jun 2015 14:12:30 +0000 (10:12 -0400)] 
Check for from==NULL.  Fixes #1054

10 years agoNo map support in v3.0.x.
Arran Cudbard-Bell [Sun, 14 Jun 2015 02:49:56 +0000 (22:49 -0400)] 
No map support in v3.0.x.

10 years agoBackport SASL interactive bind (non interactive didn't work anyway...) Fixes #991
Arran Cudbard-Bell [Sun, 14 Jun 2015 02:06:42 +0000 (22:06 -0400)] 
Backport SASL interactive bind (non interactive didn't work anyway...) Fixes #991

10 years agoSync function docs in rlm_ldap with v3.1.x
Arran Cudbard-Bell [Sun, 14 Jun 2015 01:54:40 +0000 (21:54 -0400)] 
Sync function docs in rlm_ldap with v3.1.x

10 years agoMerge pull request #1052 from jpereira/develop-debian
Arran Cudbard-Bell [Sat, 13 Jun 2015 23:47:46 +0000 (19:47 -0400)] 
Merge pull request #1052 from jpereira/develop-debian

Please, don't show the debian/freeradius-dhcp

10 years agoDon't set resource pointers to NULL when the handle is freed (in SQL drivers)
Arran Cudbard-Bell [Sat, 13 Jun 2015 23:35:44 +0000 (19:35 -0400)] 
Don't set resource pointers to NULL when the handle is freed (in SQL drivers)

10 years agoDocument OpenDirectory and MS-CHAP
Alan T. DeKok [Sat, 13 Jun 2015 15:07:56 +0000 (11:07 -0400)] 
Document OpenDirectory and MS-CHAP

10 years agoDocument MySQL configuration fields
Arran Cudbard-Bell [Fri, 12 Jun 2015 21:23:22 +0000 (17:23 -0400)] 
Document MySQL configuration fields

10 years agoOnly MySQL uses sql_store_result
Arran Cudbard-Bell [Fri, 12 Jun 2015 21:23:11 +0000 (17:23 -0400)] 
Only MySQL uses sql_store_result

10 years agoDocument the sql_error_t callback
Arran Cudbard-Bell [Fri, 12 Jun 2015 21:21:25 +0000 (17:21 -0400)] 
Document the sql_error_t callback

10 years agoPlease, don't show the debian/freeradius-dhcp 1052/head
Jorge Pereira [Fri, 12 Jun 2015 17:35:30 +0000 (14:35 -0300)] 
Please, don't show the debian/freeradius-dhcp

10 years agoProperly decode "long" EVS which are unknown
Alan T. DeKok [Fri, 12 Jun 2015 15:45:28 +0000 (11:45 -0400)] 
Properly decode "long" EVS which are unknown

10 years agoDecode EVS data types correctly.
Alan T. DeKok [Fri, 12 Jun 2015 15:24:41 +0000 (11:24 -0400)] 
Decode EVS data types correctly.

10 years agoFix documentation for EVS types
Alan T. DeKok [Fri, 12 Jun 2015 15:09:01 +0000 (11:09 -0400)] 
Fix documentation for EVS types

10 years agoUse da->vendor not da->attr for EVS block vendor
Alan T. DeKok [Fri, 12 Jun 2015 15:05:30 +0000 (11:05 -0400)] 
Use da->vendor not da->attr for EVS block vendor

10 years agoRe-arrange add vendor code
Alan T. DeKok [Fri, 12 Jun 2015 13:33:06 +0000 (09:33 -0400)] 
Re-arrange add vendor code

10 years agoIf the TLVs are malformed, they're unknown
Alan T. DeKok [Thu, 11 Jun 2015 15:41:33 +0000 (11:41 -0400)] 
If the TLVs are malformed, they're unknown

10 years agoUse pairmemcpy instead of doing it manually
Alan T. DeKok [Thu, 11 Jun 2015 15:39:11 +0000 (11:39 -0400)] 
Use pairmemcpy instead of doing it manually

10 years agoModule rlm_redis and rlm_rediswho, welcome to stable world!
Jorge Pereira [Thu, 11 Jun 2015 17:41:44 +0000 (14:41 -0300)] 
Module rlm_redis and rlm_rediswho, welcome to stable world!

10 years agobetter check during redisFree() in the rlm_redis
Jorge Pereira [Thu, 11 Jun 2015 19:18:58 +0000 (16:18 -0300)] 
better check during redisFree() in the rlm_redis

10 years agoRemove unused variable
Alan T. DeKok [Thu, 11 Jun 2015 15:33:41 +0000 (11:33 -0400)] 
Remove unused variable

10 years agoimprove the debug messages in the rlm_redis
Jorge Pereira [Wed, 10 Jun 2015 21:41:49 +0000 (18:41 -0300)] 
improve the debug messages in the rlm_redis

10 years agoMore WiMAX tests
Alan T. DeKok [Thu, 11 Jun 2015 15:06:48 +0000 (11:06 -0400)] 
More WiMAX tests

10 years agoMore tests for multiple WiMAX attributes
Alan T. DeKok [Wed, 10 Jun 2015 19:15:51 +0000 (15:15 -0400)] 
More tests for multiple WiMAX attributes

10 years agoCalculate final length correctly
Alan T. DeKok [Wed, 10 Jun 2015 19:14:33 +0000 (15:14 -0400)] 
Calculate final length correctly

10 years agomore documentation for hotspot attributes
Alan T. DeKok [Wed, 10 Jun 2015 17:16:30 +0000 (13:16 -0400)] 
more documentation for hotspot attributes

10 years agoUpdate RPM spec file to reflect redis module is now stable 1057/head
Philippe Wooding [Thu, 11 Jun 2015 15:16:02 +0000 (17:16 +0200)] 
Update RPM spec file to reflect redis module is now stable

10 years agoImprove the error messages in the rlm_redis 1045/head
Jorge Pereira [Wed, 10 Jun 2015 18:02:06 +0000 (15:02 -0300)] 
Improve the error messages in the rlm_redis

10 years agoFixing a memory leak in the rlm_redis
Jorge Pereira [Wed, 10 Jun 2015 18:01:19 +0000 (15:01 -0300)] 
Fixing a memory leak in the rlm_redis

10 years agoPrint slightly better errors
Alan T. DeKok [Wed, 10 Jun 2015 16:57:38 +0000 (12:57 -0400)] 
Print slightly better errors

10 years agoBuild OpenDirectory on Apple
Alan T. DeKok [Wed, 10 Jun 2015 16:34:25 +0000 (12:34 -0400)] 
Build OpenDirectory on Apple

10 years agorad_getgid() returns <0 on error
Alan T. DeKok [Wed, 10 Jun 2015 16:18:22 +0000 (12:18 -0400)] 
rad_getgid() returns <0 on error

10 years agoUse AcctUniqueId everywhere
Arran Cudbard-Bell [Wed, 10 Jun 2015 15:13:27 +0000 (11:13 -0400)] 
Use AcctUniqueId everywhere

10 years agoSwitch to using session_identifier in MySQL
Alan T. DeKok [Wed, 10 Jun 2015 14:48:21 +0000 (10:48 -0400)] 
Switch to using session_identifier in MySQL

10 years agoAdd a freeradius-dhcp Debian package
Brad Cowie [Wed, 10 Jun 2015 04:59:08 +0000 (04:59 +0000)] 
Add a freeradius-dhcp Debian package

Adds a new package called freeradius-dhcp for Debian platform that includes
the proto_dhcp.so library needed to listen on a DHCP socket.

10 years agoMerge pull request #1038 from jpereira/develop-dict-aptilo
Arran Cudbard-Bell [Tue, 9 Jun 2015 16:35:53 +0000 (12:35 -0400)] 
Merge pull request #1038 from jpereira/develop-dict-aptilo

Add support for Aptilo Access Controller

10 years agoAdded support for Aptilo Controller 1038/head
Jorge Pereira [Tue, 9 Jun 2015 16:34:11 +0000 (13:34 -0300)] 
Added support for Aptilo Controller