]>
git.ipfire.org Git - thirdparty/freeradius-server.git/log
Alan T. DeKok [Tue, 11 Jan 2011 12:22:09 +0000 (13:22 +0100)]
Added more sample policies
Alan T. DeKok [Tue, 11 Jan 2011 10:56:54 +0000 (11:56 +0100)]
Fixed typo
Alan T. DeKok [Tue, 11 Jan 2011 08:54:40 +0000 (09:54 +0100)]
Allow hints && huntgroup files to be NULL
Alan T. DeKok [Sat, 8 Jan 2011 08:55:52 +0000 (09:55 +0100)]
Removed notes on CVS
Alan T. DeKok [Fri, 7 Jan 2011 11:28:56 +0000 (12:28 +0100)]
Fixes as posted by Stefan Winter
just now I have had to upgrade my dialup_admin installation to a machine running PHP5.3, and also noticed numerous PHP errors.
I have fixed the code, see attached patch. It solves the following bugs/deprecated code warnings:
* replace ereg -> preg_match, ereg_replace -> preg_replace, split -> preg_split for PHP5.3 compatibility
* fix LIMIT not working when using MySQL
* add configuration item "timezone" to make PHP 5.1+ happy
and adds one (trivial, one-liner) feature:
* add comparison operators "!=" and "not like" to Accounting
Now, I have an almost error/warning/notice free installation. There is still something bogus around the use of mktime() someplace, but I don't use that part of dialup_admin, so I'll leave that alone.
Alan T. DeKok [Fri, 7 Jan 2011 10:14:06 +0000 (11:14 +0100)]
Fixed typo
Alan T. DeKok [Thu, 6 Jan 2011 10:49:18 +0000 (11:49 +0100)]
Be less aggressive about printing message
If the client re-uses the same RADIUS Id, the "check_handler" callback
will be called. However, it's *not* being called because the RADIUS packet
timed out, so we should *not* print the warning message that the EAP
session didn't finish
Alan T. DeKok [Thu, 6 Jan 2011 10:49:04 +0000 (11:49 +0100)]
Fix compile warnings
Alan T. DeKok [Mon, 3 Jan 2011 20:25:21 +0000 (21:25 +0100)]
Fix fd leak
Alan T. DeKok [Thu, 30 Dec 2010 10:04:47 +0000 (11:04 +0100)]
Fixed printing of attributes
Alan T. DeKok [Thu, 30 Dec 2010 09:36:59 +0000 (10:36 +0100)]
Print error when foo=`..` is invalid
It can't occur in the main configuration sections, but it can occur
in an "update" section
Alan T. DeKok [Wed, 29 Dec 2010 07:34:37 +0000 (08:34 +0100)]
Added "one shot" configuration
Alan T. DeKok [Wed, 29 Dec 2010 07:34:02 +0000 (08:34 +0100)]
More log messages
Alan T. DeKok [Sun, 26 Dec 2010 12:36:22 +0000 (13:36 +0100)]
Added %{listen:} to mirror %{client:}
Alan T. DeKok [Fri, 24 Dec 2010 10:23:52 +0000 (11:23 +0100)]
Corrected example
It belongs in the eap2{} module, not in the eap{} module
Alan T. DeKok [Wed, 7 Jul 2010 14:50:47 +0000 (16:50 +0200)]
Patches for EAP-FAST as posted to the list 2010-01-19
by Maja Wolniewicz
Alan T. DeKok [Thu, 23 Dec 2010 10:21:48 +0000 (11:21 +0100)]
Group names can be empty.
Alan T. DeKok [Thu, 23 Dec 2010 08:59:31 +0000 (09:59 +0100)]
Made calculations use "int64_t"
Alan T. DeKok [Thu, 23 Dec 2010 08:50:51 +0000 (09:50 +0100)]
Fix typo
Alan T. DeKok [Wed, 22 Dec 2010 13:38:51 +0000 (14:38 +0100)]
Hack for !*
Alan T. DeKok [Tue, 21 Dec 2010 10:41:14 +0000 (11:41 +0100)]
Fixed accounting_onoff_query
Alan T. DeKok [Tue, 21 Dec 2010 09:08:00 +0000 (10:08 +0100)]
Final checked write for printing the VP
Alan T. DeKok [Tue, 21 Dec 2010 09:01:16 +0000 (10:01 +0100)]
Added %{integer:...}
Which takes an argument like %{integer:Event-Timestamp}, and prints
it as an integer, bypassing all of the named enumeration and date/time
expansion
Alan T. DeKok [Mon, 20 Dec 2010 08:46:21 +0000 (09:46 +0100)]
Note "-f" for debugging
Alan T. DeKok [Sun, 19 Dec 2010 11:03:47 +0000 (12:03 +0100)]
Look for, and use Event-Timestamp
To calculate Acct-Delay-Time
Alan T. DeKok [Fri, 17 Dec 2010 13:28:03 +0000 (14:28 +0100)]
Release group list on error
Alan T. DeKok [Thu, 16 Dec 2010 13:57:12 +0000 (14:57 +0100)]
Try to get it working for v6, too
Alan T. DeKok [Wed, 15 Dec 2010 09:25:52 +0000 (10:25 +0100)]
Removed extraneous nonsense
Text was accidentally committed, now deleted.
Alan T. DeKok [Tue, 14 Dec 2010 15:29:54 +0000 (16:29 +0100)]
Fix "checked_write" function
- call va_end(args)
- call fwrite(), not fputs()
Alan T. DeKok [Tue, 14 Dec 2010 09:29:29 +0000 (10:29 +0100)]
Try to work around v6 PKTINFO compatibility
Also try to make it simpler to build && use...
Alan T. DeKok [Thu, 9 Dec 2010 11:10:17 +0000 (12:10 +0100)]
Return error code, not success
Alan T. DeKok [Thu, 9 Dec 2010 10:16:50 +0000 (11:16 +0100)]
Added dictionary from vendor.
Closes bug #122
Alan T. DeKok [Thu, 9 Dec 2010 10:13:36 +0000 (11:13 +0100)]
Allow workstation trust accounts, too
Closes bug #123
Alan T. DeKok [Thu, 9 Dec 2010 10:09:44 +0000 (11:09 +0100)]
Fix minor typo
Closes bug #124
Alan T. DeKok [Thu, 9 Dec 2010 10:08:46 +0000 (11:08 +0100)]
=NULL for UODATE, "IS NULL" for SELECT
Closes bug #129
Alan T. DeKok [Wed, 8 Dec 2010 15:34:54 +0000 (16:34 +0100)]
Undocumented command to allow expired CRLs
Alan T. DeKok [Wed, 8 Dec 2010 11:23:30 +0000 (12:23 +0100)]
Added a few default variables with values
So that the server can start up with minimal config file, and no
warnings
Alan T. DeKok [Wed, 8 Dec 2010 11:22:56 +0000 (12:22 +0100)]
Not finding "modules" is a WARNING
If there are no modules to use, we don't need a "modules" section
Alan T. DeKok [Tue, 7 Dec 2010 14:11:02 +0000 (15:11 +0100)]
Check for truncated writes. Closes bug #130
Alan T. DeKok [Tue, 7 Dec 2010 13:53:57 +0000 (14:53 +0100)]
Use fnmatch(), if it exists.
The detail file reader reads a glob(), so we should check the writer
filename against that glob(), rather than using a string comparison
Closes bug #128
Alan T. DeKok [Thu, 2 Dec 2010 15:09:20 +0000 (16:09 +0100)]
Read the dictionaries if we're printing text output
Alan T. DeKok [Thu, 2 Dec 2010 08:29:45 +0000 (09:29 +0100)]
Huawei updates
Alan T. DeKok [Wed, 24 Nov 2010 13:25:40 +0000 (14:25 +0100)]
More ocsp build cleanups
Alan T. DeKok [Tue, 23 Nov 2010 15:54:23 +0000 (16:54 +0100)]
Avoid pointer comparison overflows
Alan T. DeKok [Mon, 22 Nov 2010 15:40:27 +0000 (16:40 +0100)]
Added "ocsp enable" functionality back
Alan T. DeKok [Mon, 22 Nov 2010 08:55:27 +0000 (09:55 +0100)]
Check for <openssl/ocsp.h>
Alan T. DeKok [Mon, 22 Nov 2010 08:54:18 +0000 (09:54 +0100)]
Cleanups for OCSP support
Alex Bergmann [Mon, 22 Nov 2010 08:42:54 +0000 (09:42 +0100)]
OCSP Support
Alan T. DeKok [Fri, 19 Nov 2010 08:28:37 +0000 (09:28 +0100)]
More descriptive error messages
Alan T. DeKok [Tue, 16 Nov 2010 17:26:37 +0000 (18:26 +0100)]
Fixes for Libtool 2.6 and Autoconf 2.67
They require an additional substitution so LIBLTDL is set correctly
Alan T. DeKok [Tue, 16 Nov 2010 17:25:03 +0000 (18:25 +0100)]
Fixes for autoconf2.67
The symptom of not including this is strange; with autoconf 2.67, some
of the libtool variables in config.status are incorrectly quoted and
configure crashes.
Alan T. DeKok [Thu, 11 Nov 2010 08:42:51 +0000 (09:42 +0100)]
NAS-Port is a text field. Don't cast it to integer
This solves the 2^31+1 problem. Closes bug #112
Alan T. DeKok [Thu, 11 Nov 2010 08:37:04 +0000 (09:37 +0100)]
Add group membership query
Closes bug #120
Alan T. DeKok [Thu, 11 Nov 2010 08:35:02 +0000 (09:35 +0100)]
Include Mikrotik dictionary
Closes bug #121
Alan T. DeKok [Wed, 10 Nov 2010 16:19:12 +0000 (17:19 +0100)]
Print out *which* socket could not be opened.
Alan T. DeKok [Wed, 10 Nov 2010 16:15:58 +0000 (17:15 +0100)]
Print out when we're adding a new proxy socket.
Alan T. DeKok [Wed, 10 Nov 2010 15:59:34 +0000 (16:59 +0100)]
The NAS generates the MN-FA key, not the AAA
Patch from Ben Weichman
Alan T. DeKok [Wed, 10 Nov 2010 14:13:20 +0000 (15:13 +0100)]
Removed extra calls to HMAC_CTX_init()
Noticed by James Ballantine
Alan T. DeKok [Wed, 10 Nov 2010 13:06:35 +0000 (14:06 +0100)]
Allow spaces in shared secret, as posted to the list.
Alexander Clouter [Mon, 8 Nov 2010 18:29:30 +0000 (18:29 +0000)]
Add support for xlat'd challenge in rlm_eap_gtc
The FIXME in rlm_eap_gtc.c has gone on so long unloved. God said, let
there be xlat'ing and so there was...
This patch shamelessly steals the xlat functionality in
rlm_eap_tls.c and slaps it into rlm_eap_gtc.c, thus lettings
you do handy things such as:
----
challenge = "%{reply:Reply-Message}"
----
Signed-off-by: Alexander Clouter <alex@digriz.org.uk>
Alan T. DeKok [Mon, 8 Nov 2010 11:43:04 +0000 (12:43 +0100)]
Keep track of "last in list" properly.
Patch from James Ballantine.
Every other instance of "continue" in this function sets "tailfrom".
This one should, too.
Alan T. DeKok [Fri, 29 Oct 2010 17:48:53 +0000 (13:48 -0400)]
Use shift for VSAs instead of OR
Alan T. DeKok [Mon, 25 Oct 2010 10:34:55 +0000 (12:34 +0200)]
Fix typo in zombie period start time
Alan T. DeKok [Sat, 23 Oct 2010 06:57:58 +0000 (08:57 +0200)]
The cert "bootstrap" code now checks certs for validity
Otherwise, the server can load expired certificates. The clients will
refuse to connect, via the usual "access-challenge followed by nothing"
issue. A better approach is for the server to print an error message
on startup, and refuse to run.
Alan T. DeKok [Thu, 1 Oct 2009 08:39:22 +0000 (10:39 +0200)]
Moved illegal attributes to the new dictionary
Alan T. DeKok [Tue, 29 Sep 2009 08:10:59 +0000 (10:10 +0200)]
Moved Ascends illegal attributes to their own file
Alan T. DeKok [Thu, 21 Oct 2010 13:09:11 +0000 (15:09 +0200)]
More checks on handler_tree
Use the pointer if it exists, not if debug_flag is set
Alan T. DeKok [Sun, 17 Oct 2010 16:21:25 +0000 (18:21 +0200)]
Fix child state on corner case
Alan T. DeKok [Fri, 15 Oct 2010 13:19:30 +0000 (15:19 +0200)]
Add all home_servers in the configuration.
Previously, the realms were added, then pools, then home servers.
This works, but it is awkward for dynamically adding home servers.
Instead, we should add home servers, then pools, and then realms.
Alan T. DeKok [Fri, 15 Oct 2010 00:21:33 +0000 (02:21 +0200)]
Link with libradius, too
Alan T. DeKok [Fri, 15 Oct 2010 00:10:18 +0000 (02:10 +0200)]
Fix corner case when not threaded.
If the request is still running after 30s, it's probably because
it was proxied, and the home server didn't bother to respond.
Alan T. DeKok [Wed, 13 Oct 2010 20:59:59 +0000 (22:59 +0200)]
Check data_len for internal TLVs
Alan T. DeKok [Wed, 13 Oct 2010 20:58:48 +0000 (22:58 +0200)]
Fixes to build without PTHREADs
Phil Mayers [Tue, 12 Oct 2010 16:20:08 +0000 (17:20 +0100)]
use RDEBUG
Alan T. DeKok [Tue, 12 Oct 2010 11:12:13 +0000 (13:12 +0200)]
Added REQUEST to soh_verify() parameters
In preparation for DEBUG -> RDEBUG changes.
Also made rlm_soh return FAIL on bad SoH packets.
Alan T. DeKok [Tue, 12 Oct 2010 11:07:12 +0000 (13:07 +0200)]
Protect SoH server messages
Alan T. DeKok [Tue, 12 Oct 2010 11:04:15 +0000 (13:04 +0200)]
Move the SoH code to the server directory
The code is suitable only for servers, not clients. So it doesn't need
to be in the client library.
Alan T. DeKok [Tue, 12 Oct 2010 10:10:34 +0000 (12:10 +0200)]
Use handler mutex for checks, not session mutex
Alan T. DeKok [Sat, 9 Oct 2010 15:52:56 +0000 (17:52 +0200)]
Fix parameters to soh_verify
Alan T. DeKok [Sat, 9 Oct 2010 11:53:44 +0000 (13:53 +0200)]
Add "extern C {...} to header files for C++ builds.
Also renamed "operator" to "op_token" for C++ builds. This doesn't affect
the server core, but it should allow C++ modules to build. It should
also allow C++ applications to use libfreeradius-radius
Alan T. DeKok [Sat, 9 Oct 2010 06:05:36 +0000 (08:05 +0200)]
Slightly better debugging
Alan T. DeKok [Fri, 8 Oct 2010 15:31:54 +0000 (17:31 +0200)]
Code in src/lib shouldn't reference the REQUEST structure
Alan T. DeKok [Fri, 8 Oct 2010 15:23:57 +0000 (17:23 +0200)]
Shouldn't include <radiusd.h>
Alan T. DeKok [Fri, 8 Oct 2010 10:02:15 +0000 (12:02 +0200)]
Marked SoH module as "stable"
Phil Mayers [Fri, 8 Oct 2010 10:01:40 +0000 (12:01 +0200)]
Added SoH functionality to the PEAP module
Phil Mayers [Fri, 8 Oct 2010 09:45:07 +0000 (11:45 +0200)]
Moved "fake request" code into its own function
Phil Mayers [Fri, 8 Oct 2010 09:30:43 +0000 (11:30 +0200)]
SoH docs & example
Alan T. DeKok [Fri, 8 Oct 2010 09:29:15 +0000 (11:29 +0200)]
Fix compiler warnings
Phil Mayers [Fri, 8 Oct 2010 09:26:15 +0000 (11:26 +0200)]
ok, working SoH standalone module
Phil Mayers [Fri, 8 Oct 2010 07:36:15 +0000 (09:36 +0200)]
Base SoH code for Microsoft NAP.
This code will be used by other protocols (PEAP, DHCP) to encode/decode
the SoH information.
Alan T. DeKok [Fri, 8 Oct 2010 07:29:45 +0000 (09:29 +0200)]
Updates for 2.1.11
Alan T. DeKok [Fri, 8 Oct 2010 07:28:08 +0000 (09:28 +0200)]
Fix call to otp_write
Alan T. DeKok [Fri, 1 Oct 2010 13:35:28 +0000 (15:35 +0200)]
Protect pcap_fopen calls
Apparently not all versions of pcap have this <sigh>
Alan T. DeKok [Wed, 29 Sep 2010 13:47:28 +0000 (15:47 +0200)]
Ignore post-proxy type if proxy is disabled
Alan T. DeKok [Tue, 28 Sep 2010 11:03:56 +0000 (13:03 +0200)]
Better way of updating cf_data_add
Alan T. DeKok [Tue, 28 Sep 2010 10:07:30 +0000 (12:07 +0200)]
Disable example config in default build
Alan T. DeKok [Mon, 27 Sep 2010 12:02:05 +0000 (14:02 +0200)]
Note TLS-Client-Cert-* attributes
Alan T. DeKok [Mon, 27 Sep 2010 11:44:08 +0000 (13:44 +0200)]
Noted recent changes
Alan T. DeKok [Sun, 26 Sep 2010 08:24:54 +0000 (10:24 +0200)]
Added '-F' to filter RADIUS from input to output
This can be used to "clean up" horrible pcap files that people create.
i.e. when asked for a RADIUS pcap file, they just capture *everything*
on the interface for a period of time. This makes it harder to track
down the real RADIUS issues.
Adding -F makes it easy to filter the packets.
Alan T. DeKok [Sat, 25 Sep 2010 15:57:09 +0000 (17:57 +0200)]
Fix long-standing bug where unix Groupcmp didn't work
It was looking in the wrong list for the user name.