]> git.ipfire.org Git - thirdparty/freeradius-server.git/log
thirdparty/freeradius-server.git
13 years agoFix debian package to work even without freeradius-mysql 74/head
Fajar A. Nugraha [Tue, 7 Aug 2012 06:30:28 +0000 (13:30 +0700)] 
Fix debian package to work even without freeradius-mysql

Added a patch to comment-out the line referencing mysql on
modules/dhcp_sqlippool in the default debian package.
This is needed so that by default users installing "freeradius"
package can always start the server, even without
"freeeradius-mysql" package installed.

13 years agoRename confusing attr
Alan T. DeKok [Thu, 2 Aug 2012 16:29:18 +0000 (09:29 -0700)] 
Rename confusing attr

13 years agoIgnore regex comparisons, too
Alan T. DeKok [Wed, 1 Aug 2012 22:56:50 +0000 (15:56 -0700)] 
Ignore regex comparisons, too

13 years agoV6-enable the log filename
Alan T. DeKok [Wed, 1 Aug 2012 22:55:26 +0000 (15:55 -0700)] 
V6-enable the log filename

13 years agoRemove extraneneous assert
Alan T. DeKok [Wed, 1 Aug 2012 22:53:49 +0000 (15:53 -0700)] 
Remove extraneneous assert

13 years agoScript to convert ISC dhcp lease files into sqlippool entries.
Arran Cudbard-Bell [Wed, 1 Aug 2012 18:05:10 +0000 (19:05 +0100)] 
Script to convert ISC dhcp lease files into sqlippool entries.

13 years agoNext update time may be NULL
Alan T. DeKok [Mon, 30 Jul 2012 22:47:12 +0000 (15:47 -0700)] 
Next update time may be NULL

13 years agoCheck for NULL parameters to functions
Alan T. DeKok [Mon, 30 Jul 2012 16:48:20 +0000 (18:48 +0200)] 
Check for NULL parameters to functions

13 years agoCheck for NULL parameter
Alan T. DeKok [Mon, 30 Jul 2012 16:48:04 +0000 (18:48 +0200)] 
Check for NULL parameter

13 years agoFix warnings found by llvm scan
Alan T. DeKok [Mon, 30 Jul 2012 16:39:25 +0000 (18:39 +0200)] 
Fix warnings found by llvm scan

13 years agoRemove extraneous initialization
Alan T. DeKok [Mon, 30 Jul 2012 16:35:34 +0000 (18:35 +0200)] 
Remove extraneous initialization

13 years agoCall globfree() if glob() returns error.
Alan T. DeKok [Sat, 28 Jul 2012 14:32:19 +0000 (10:32 -0400)] 
Call globfree() if glob() returns error.

Closes bug #207.

glob may PARTIALLY fill out the data before returning error
(sigh)

13 years agoFix typo
Alan T. DeKok [Sat, 21 Jul 2012 00:29:43 +0000 (20:29 -0400)] 
Fix typo

13 years agoSimplify diameter_verify
Alan T. DeKok [Sat, 21 Jul 2012 00:07:18 +0000 (20:07 -0400)] 
Simplify diameter_verify

It now verifies ONLY the format of the diameter attributes.
It does NOT verify the attribute #, vendor #, etc.  The diameter2vp
function now does that.

Ensure that attributes of length > 253 are silently ignored, rather
than causing failure

13 years agoBe more forgiving about decoding data in TTLS tunnels
Alan T. DeKok [Fri, 20 Jul 2012 23:29:34 +0000 (19:29 -0400)] 
Be more forgiving about decoding data in TTLS tunnels

Allow unknown / invalid attrs as "raw" attributes.
Decode byte, short, IPv6*

13 years agoNote MySQL fixes
Alan T. DeKok [Thu, 19 Jul 2012 14:11:53 +0000 (10:11 -0400)] 
Note MySQL fixes

13 years agoFix typo
Alan T. DeKok [Thu, 19 Jul 2012 13:37:56 +0000 (09:37 -0400)] 
Fix typo

13 years agoSet InnoDB as the default on accounting and postauth tables.
Arran Cudbard-Bell [Wed, 18 Jul 2012 21:52:05 +0000 (23:52 +0200)] 
Set InnoDB as the default on accounting and postauth tables.

13 years agoAdd unique index constraint on acctuniqueid so that the alternate query fires correctly.
Arran Cudbard-Bell [Wed, 18 Jul 2012 21:50:28 +0000 (23:50 +0200)] 
Add unique index constraint on acctuniqueid so that the alternate query fires correctly.

13 years agoNote one letter expansions
Arran Cudbard-Bell [Wed, 18 Jul 2012 11:51:02 +0000 (13:51 +0200)] 
Note one letter expansions

13 years agoNote recent changes
Alan T. DeKok [Sun, 15 Jul 2012 17:09:35 +0000 (13:09 -0400)] 
Note recent changes

13 years agoLeave static variable alone. Closes bug #207
Alan T. DeKok [Fri, 6 Jul 2012 16:16:31 +0000 (12:16 -0400)] 
Leave static variable alone.  Closes bug #207

13 years agoFree the correct data
Alan T. DeKok [Thu, 21 Jun 2012 13:42:12 +0000 (09:42 -0400)] 
Free the correct data

13 years agoFix typo
Alan T. DeKok [Mon, 18 Jun 2012 14:25:53 +0000 (16:25 +0200)] 
Fix typo

13 years agoNote Juniper is now allowed
Alan T. DeKok [Mon, 18 Jun 2012 13:34:06 +0000 (15:34 +0200)] 
Note Juniper is now allowed

13 years agoAdded checks for juniper
Alan T. DeKok [Sat, 16 Jun 2012 07:35:11 +0000 (09:35 +0200)] 
Added checks for juniper

13 years agoFix typo in help text
Alan T. DeKok [Sat, 16 Jun 2012 07:24:27 +0000 (09:24 +0200)] 
Fix typo in help text

13 years agoPrint out results of check. Exit with return code of check
Alan T. DeKok [Fri, 15 Jun 2012 15:15:36 +0000 (17:15 +0200)] 
Print out results of check.  Exit with return code of check

13 years agoFix bug
Alan T. DeKok [Wed, 13 Jun 2012 19:18:02 +0000 (21:18 +0200)] 
Fix bug

13 years agoClarify error messages
Alan T. DeKok [Wed, 13 Jun 2012 08:41:51 +0000 (10:41 +0200)] 
Clarify error messages

13 years agoNew dictionary
Alan T. DeKok [Tue, 12 Jun 2012 17:36:19 +0000 (19:36 +0200)] 
New dictionary

13 years agoClearer instructions
Alan T. DeKok [Mon, 4 Jun 2012 12:51:26 +0000 (14:51 +0200)] 
Clearer instructions

13 years agoMore bad user names
Alan T. DeKok [Mon, 4 Jun 2012 12:44:44 +0000 (14:44 +0200)] 
More bad user names

13 years agoUse minute for the default detail writer/reader
Arran Cudbard-Bell [Thu, 12 Jul 2012 20:40:17 +0000 (21:40 +0100)] 
Use minute for the default detail writer/reader

13 years agoBackport Minute and Request ID expansions
Arran Cudbard-Bell [Thu, 12 Jul 2012 20:25:43 +0000 (21:25 +0100)] 
Backport Minute and Request ID expansions

13 years agoUse radmin for hupage
Arran Cudbard-Bell [Fri, 29 Jun 2012 14:48:45 +0000 (15:48 +0100)] 
Use radmin for hupage

13 years agoUpdate v2.1.x
Arran Cudbard-Bell [Thu, 28 Jun 2012 08:21:08 +0000 (10:21 +0200)] 
Update v2.1.x

13 years agoShould insert CUI into request list.
Arran Cudbard-Bell [Wed, 27 Jun 2012 22:57:18 +0000 (00:57 +0200)] 
Should insert CUI into request list.

13 years agoAdd gitignore
Arran Cudbard-Bell [Fri, 15 Jun 2012 15:22:54 +0000 (17:22 +0200)] 
Add gitignore

13 years agoActually output stuff on check, and return exit code
Arran Cudbard-Bell [Fri, 15 Jun 2012 15:18:02 +0000 (18:18 +0300)] 
Actually output stuff on check, and return exit code

13 years agoFix typo
Arran Cudbard-Bell [Fri, 15 Jun 2012 14:18:54 +0000 (17:18 +0300)] 
Fix typo

13 years agoUpdate v2.1.x
Arran Cudbard-Bell [Fri, 15 Jun 2012 10:52:10 +0000 (13:52 +0300)] 
Update v2.1.x

13 years agoAdd SMF manifest for solaris
Arran Cudbard-Bell [Fri, 15 Jun 2012 10:48:58 +0000 (12:48 +0200)] 
Add SMF manifest for solaris

13 years agoCheck return codes from rediswho_command()
Alan T. DeKok [Tue, 29 May 2012 08:35:12 +0000 (10:35 +0200)] 
Check return codes from rediswho_command()

13 years agoAdded database selection capability to rlm_redis
Alan T. DeKok [Tue, 29 May 2012 08:28:17 +0000 (10:28 +0200)] 
Added database selection capability to rlm_redis

13 years agoMove error condition to top of "connect" function.
Alan T. DeKok [Tue, 29 May 2012 08:26:03 +0000 (10:26 +0200)] 
Move error condition to top of "connect" function.

If we get a connection error, exit the function quickly.
The tail of the function should always be "everything succeeded"

13 years agoClose the connection, instead of free'ing it.
Alan T. DeKok [Tue, 29 May 2012 08:20:49 +0000 (10:20 +0200)] 
Close the connection, instead of free'ing it.

The next line uses the connection.  So free'ing it is bad.

13 years agoIf there's a lifetime, set the "connected" time
Alan T. DeKok [Tue, 29 May 2012 08:18:47 +0000 (10:18 +0200)] 
If there's a lifetime, set the "connected" time

13 years agoFNV-1a: xor then multiply, not multiply then xor
Alan T. DeKok [Mon, 28 May 2012 15:42:06 +0000 (17:42 +0200)] 
FNV-1a: xor then multiply, not multiply then xor

it has much better properties

13 years agoVP may be NULL
Alan T. DeKok [Sat, 26 May 2012 08:32:58 +0000 (10:32 +0200)] 
VP may be NULL

13 years agoWARN if the query strings look to be too long
Alan T. DeKok [Tue, 22 May 2012 15:26:40 +0000 (17:26 +0200)] 
WARN if the query strings look to be too long

13 years agoAdded installation of rad_counter
Alan T. DeKok [Wed, 9 May 2012 12:58:25 +0000 (14:58 +0200)] 
Added installation of rad_counter

13 years agoUtilities are nust "foo" and not "foo.pl"
Alan T. DeKok [Wed, 9 May 2012 12:56:20 +0000 (14:56 +0200)] 
Utilities are nust "foo" and not "foo.pl"

13 years agooreect Message-Authenticator calculation for CoA packets.
Alan T. DeKok [Mon, 7 May 2012 16:33:31 +0000 (18:33 +0200)] 
oreect Message-Authenticator calculation for CoA packets.

Patch from Jouni Malinen.

13 years agoAllow referencing tags in xlat
Alan T. DeKok [Sun, 29 Apr 2012 08:16:44 +0000 (10:16 +0200)] 
Allow referencing tags in xlat

%{Tunnel-Type:1} works, and is the same as
%{Tunnel-Type:1[0]}

All of the other expansions now work, too

13 years agoAs posted to the Wiki
Alan T. DeKok [Sun, 29 Apr 2012 07:23:23 +0000 (09:23 +0200)] 
As posted to the Wiki

13 years agoNote that raddebug can be used
Alan T. DeKok [Thu, 26 Apr 2012 11:30:31 +0000 (13:30 +0200)] 
Note that raddebug can be used

13 years agoDon't use SQL modules in the default config
Alan T. DeKok [Sun, 22 Apr 2012 19:54:25 +0000 (21:54 +0200)] 
Don't use SQL modules in the default config

13 years agoFix typo
Alan T. DeKok [Sun, 22 Apr 2012 15:20:07 +0000 (17:20 +0200)] 
Fix typo

13 years agoMove / add header files
Alan T. DeKok [Sun, 22 Apr 2012 08:34:14 +0000 (10:34 +0200)] 
Move / add header files

Includes belong AFTER the main includes, not before

13 years agoOrganize and note recent changes
Alan T. DeKok [Tue, 17 Apr 2012 16:10:13 +0000 (18:10 +0200)] 
Organize and note recent changes

13 years agoQuieten rollback git reset calls
Arran Cudbard-Bell [Tue, 17 Apr 2012 09:35:02 +0000 (11:35 +0200)] 
Quieten rollback git reset calls

13 years agoAdd git post-receive hook for configuration updates
Arran Cudbard-Bell [Sun, 15 Apr 2012 18:53:16 +0000 (20:53 +0200)] 
Add git post-receive hook for configuration updates

13 years agoLDAPS port is 636, not 689
Alan T. DeKok [Sun, 15 Apr 2012 12:07:01 +0000 (14:07 +0200)] 
LDAPS port is 636, not 689

13 years agoDocument "port" entry for LDAP
Alan T. DeKok [Sun, 15 Apr 2012 12:04:16 +0000 (14:04 +0200)] 
Document "port" entry for LDAP

13 years agoAdded "instance" to xlat_unregister
Alan T. DeKok [Fri, 13 Apr 2012 14:58:54 +0000 (16:58 +0200)] 
Added "instance" to xlat_unregister

This is so that on HUP, a module can re-register, and over-ride
the old value.  When the old module is deleted, it de-registers
its xlat.  But because the instance is now different, it doesn't
delete the *new* xlat

13 years agoDon't complain if we find an NT-Password
Alan T. DeKok [Thu, 12 Apr 2012 15:54:43 +0000 (17:54 +0200)] 
Don't complain if we find an NT-Password

just like we suppress complains for finding a User-Password

13 years agoMake dhcp relaying fail gracefully
Alan T. DeKok [Mon, 9 Apr 2012 08:45:37 +0000 (10:45 +0200)] 
Make dhcp relaying fail gracefully

If there's no UDPFROMTO, then don't compile in DHCP relaying

13 years agoRe-order LIBS <-> -lpthread
Alan T. DeKok [Fri, 6 Apr 2012 13:17:12 +0000 (15:17 +0200)] 
Re-order LIBS <-> -lpthread

-lpthread MAY need other libraries.  So adding it first is a good idea.

13 years agoAdded dictionary.terena
Alan T. DeKok [Thu, 5 Apr 2012 15:49:20 +0000 (17:49 +0200)] 
Added dictionary.terena

13 years agoAllow for new state transition on failure
Alan T. DeKok [Tue, 3 Apr 2012 10:22:06 +0000 (11:22 +0100)] 
Allow for new state transition on failure

if our RESPONSE gets a FAILURE message, it means that the
supplicant doesn't like our password.  Rather than complaining
about unexpected response, just send failure.

13 years agoThere might not be a reply
Alan T. DeKok [Wed, 28 Mar 2012 15:14:56 +0000 (17:14 +0200)] 
There might not be a reply

13 years agoDecode encrypted VSAs in requests
Bjørn Mork [Tue, 27 Mar 2012 08:57:36 +0000 (10:57 +0200)] 
Decode encrypted VSAs in requests

Incoming CoA requests can contain encrypted VSAs.  At least one
vendor is known to use this. These VSAs must be decrypted before
being proxied to enable the server to re-encrypt them using
the correct home server secret.

Fix by attempting to decode any encrypted request attribute using
a static vector of \0 bytes.

This also fixes debug logging of encrypted request attributes.

Signed-off-by: Bjørn Mork <bjorn@mork.no>
13 years agoAdded "Interim-Update" as a copy of "Alive"
Alan T. DeKok [Thu, 15 Mar 2012 21:37:22 +0000 (17:37 -0400)] 
Added "Interim-Update" as a copy of "Alive"

13 years agoSet "close on exec" flag
Alan T. DeKok [Thu, 15 Mar 2012 13:03:22 +0000 (09:03 -0400)] 
Set "close on exec" flag

Just to be safe.

13 years agoAdded support for {BASE64_MD5}
Alan T. DeKok [Fri, 9 Mar 2012 08:23:57 +0000 (09:23 +0100)] 
Added support for {BASE64_MD5}

13 years agoSet self request to NULL
Alan T. DeKok [Thu, 8 Mar 2012 07:52:36 +0000 (08:52 +0100)] 
Set self request to NULL

Which allows spare threads to be cleaned up

13 years agoCheck expansion in cf_expand_variables
Alan T. DeKok [Tue, 6 Mar 2012 11:38:37 +0000 (12:38 +0100)] 
Check expansion in cf_expand_variables

Closes Debian bug #662194

13 years agoFix for OSX Lion
Alan T. DeKok [Mon, 5 Mar 2012 10:24:53 +0000 (11:24 +0100)] 
Fix for OSX Lion

13 years agoSet src_ipaddr for STATUS_SERVER packets
Alan T. DeKok [Sat, 3 Mar 2012 08:18:53 +0000 (09:18 +0100)] 
Set src_ipaddr for STATUS_SERVER packets

13 years agoUpdates as per recent documentation
Alan T. DeKok [Mon, 27 Feb 2012 13:17:11 +0000 (14:17 +0100)] 
Updates as per recent documentation

13 years agoClient certs are signed by the CA, not by the server
Alan T. DeKok [Thu, 23 Feb 2012 12:04:31 +0000 (13:04 +0100)] 
Client certs are signed by the CA, not by the server

13 years agoFix typo
Alan T. DeKok [Wed, 22 Feb 2012 08:50:28 +0000 (09:50 +0100)] 
Fix typo

13 years agoUse names for logging parameters, and correct values
Alan T. DeKok [Wed, 22 Feb 2012 08:25:18 +0000 (09:25 +0100)] 
Use names for logging parameters, and correct values

13 years agoWarn if we can't shut down modules cleanly
Alan T. DeKok [Tue, 21 Feb 2012 08:08:44 +0000 (09:08 +0100)] 
Warn if we can't shut down modules cleanly

13 years agoDon't close connections that are in use.
Alan T. DeKok [Tue, 21 Feb 2012 08:08:27 +0000 (09:08 +0100)] 
Don't close connections that are in use.

13 years agoTry to use identity from SIM protocol, not EAP-Identity
Alan T. DeKok [Tue, 21 Feb 2012 07:57:49 +0000 (08:57 +0100)] 
Try to use identity from SIM protocol, not EAP-Identity

13 years agoDocument MySQL character set issues
Alan T. DeKok [Fri, 17 Feb 2012 14:19:29 +0000 (15:19 +0100)] 
Document MySQL character set issues

Patch from Stefan Winter

13 years agoNew dictionary
Alan T. DeKok [Fri, 17 Feb 2012 10:19:50 +0000 (11:19 +0100)] 
New dictionary

13 years agoNew purewave dictionary
Alan T. DeKok [Fri, 17 Feb 2012 08:58:07 +0000 (09:58 +0100)] 
New purewave dictionary

13 years agoemoved "experimental" warning
Alan T. DeKok [Tue, 14 Feb 2012 20:37:30 +0000 (21:37 +0100)] 
emoved "experimental" warning

13 years agoAdded User-Role attribute
Alan T. DeKok [Mon, 13 Feb 2012 19:59:29 +0000 (20:59 +0100)] 
Added User-Role attribute

13 years agoChange ports to not conflict with inner-tunnel
Alan T. DeKok [Mon, 13 Feb 2012 16:02:14 +0000 (17:02 +0100)] 
Change ports to not conflict with inner-tunnel

13 years agoFix EAP-Type values
Alan T. DeKok [Mon, 13 Feb 2012 10:19:08 +0000 (11:19 +0100)] 
Fix EAP-Type values

Noticed by Stefan Winter

13 years agoDirectories need to be +x
Alan T. DeKok [Sat, 11 Feb 2012 09:07:11 +0000 (10:07 +0100)] 
Directories need to be +x

13 years agoCache the TLS-* attributes for fast session resumption
Alan T. DeKok [Fri, 10 Feb 2012 10:29:23 +0000 (11:29 +0100)] 
Cache the TLS-* attributes for fast session resumption

So that the user can re-do all of the checks

13 years agoUpdate documentation on attribute assignment for certs
Alan T. DeKok [Fri, 10 Feb 2012 10:14:29 +0000 (11:14 +0100)] 
Update documentation on attribute assignment for certs

13 years agoAutomatically make directories
Alan T. DeKok [Thu, 9 Feb 2012 12:28:31 +0000 (13:28 +0100)] 
Automatically make directories

13 years agoCreate common name only if there's a subject
Alan T. DeKok [Thu, 9 Feb 2012 10:46:23 +0000 (11:46 +0100)] 
Create common name only if there's a subject

Otherwise OpenSSL returns the common name from the issuer cert

13 years agostrncpy is evil. Don't use it.
Alan T. DeKok [Wed, 8 Feb 2012 15:01:43 +0000 (16:01 +0100)] 
strncpy is evil.  Don't use it.