]>
git.ipfire.org Git - thirdparty/freeradius-server.git/log
Matthew Newton [Wed, 11 Jan 2012 12:33:03 +0000 (12:33 +0000)]
Unix group setting for detail log files
Patch to allow the group to be set when updating detail logs, rather
than being limited to just the group of the running daemon.
Alan T. DeKok [Fri, 6 Jan 2012 13:54:56 +0000 (14:54 +0100)]
"username" and "password" cannot be non-empty for status_check=request
Because some people misconfigure the server.
Alan T. DeKok [Thu, 29 Dec 2011 22:56:46 +0000 (17:56 -0500)]
Note recent changes
Alan T. DeKok [Thu, 29 Dec 2011 22:50:18 +0000 (17:50 -0500)]
Use correct method of recursing into subdirs
Since commit
0347cacfe0f470353 , we have a better way of recursing
into subdirs. Having an explicit test for $(RLM_SUBDIRS), and
then manually recursing into them is wrong. It causes modules
like rlm_eap to be built twice.
Instead, remove the test for $(RLM_SUBDIRS), and make
$(TARGET).la depend on $(RLM_SUBDIRS)
Alan T. DeKok [Thu, 29 Dec 2011 21:49:05 +0000 (16:49 -0500)]
Add EXEEXT to binaries
Closes bug #188
Alan T. DeKok [Mon, 26 Dec 2011 17:37:38 +0000 (12:37 -0500)]
Add and document -F radutmp_file
Alan T. DeKok [Fri, 23 Dec 2011 14:33:57 +0000 (09:33 -0500)]
Use new dict_valnamebyattr function
Renaud Métrich [Mon, 26 Dec 2011 16:43:22 +0000 (17:43 +0100)]
Added 'interface_ipaddr' configuration parameter to help freeradius send the DHCP reply packet using interface's IP address as source, and not 'ipaddr' which may be 255.255.255.255 when listening for broadcasts
Alan T. DeKok [Fri, 23 Dec 2011 14:28:40 +0000 (09:28 -0500)]
Remove compiler warning
Alan T. DeKok [Fri, 23 Dec 2011 14:28:01 +0000 (09:28 -0500)]
Use new dict_valnamebyattr function
Alan T. DeKok [Fri, 23 Dec 2011 14:16:37 +0000 (09:16 -0500)]
Use new functions for getting enum name
Alan T. DeKok [Fri, 23 Dec 2011 14:15:53 +0000 (09:15 -0500)]
Added new method to get name of enum from values
This is simpler than having duplicate code throughout the
source.
Alan T. DeKok [Wed, 21 Dec 2011 13:47:48 +0000 (08:47 -0500)]
Fix for latest set of arguments
Alan T. DeKok [Tue, 20 Dec 2011 14:38:22 +0000 (09:38 -0500)]
Initialize authentication vector.
Otherwise proxied packets can have a zero authentication
vector.
Alan T. DeKok [Tue, 20 Dec 2011 13:16:05 +0000 (08:16 -0500)]
Note recent changes
Alan T. DeKok [Tue, 20 Dec 2011 13:14:40 +0000 (08:14 -0500)]
Note that "hashsize=0" is a bad idea
Alan T. DeKok [Mon, 19 Dec 2011 20:44:37 +0000 (15:44 -0500)]
Use "last_found" in a thread-safe manner
It's a thread-local variable, not a variable global to the
configuration.
Note also that much of the rest of the module is poor.
Re-reading the files for every packet is HORRIBLE. It causes
more threading issues.
Fixed-size hash tables are similarly poor practice.
Alan T. DeKok [Fri, 16 Dec 2011 18:40:22 +0000 (13:40 -0500)]
As posted to the list
Alan T. DeKok [Tue, 13 Dec 2011 20:07:07 +0000 (21:07 +0100)]
Account for EAP header and EAP-MSCHAPv2 opcode
Found by Matt Dayman.
Alan T. DeKok [Thu, 8 Dec 2011 13:48:55 +0000 (14:48 +0100)]
Added "log { use_utc = yes/no }" configuration
Alan T. DeKok [Sun, 4 Dec 2011 09:00:57 +0000 (10:00 +0100)]
More strlen fixes
Alan T. DeKok [Sun, 4 Dec 2011 08:59:50 +0000 (09:59 +0100)]
More strlen fixes
Alan T. DeKok [Sun, 4 Dec 2011 08:53:52 +0000 (09:53 +0100)]
Fixed bad strlen
Alan T. DeKok [Fri, 2 Dec 2011 16:53:11 +0000 (17:53 +0100)]
More strlen fixes
Alan T. DeKok [Fri, 2 Dec 2011 16:52:11 +0000 (17:52 +0100)]
Replace strlen with more efficient check
Alan T. DeKok [Fri, 2 Dec 2011 16:48:33 +0000 (17:48 +0100)]
Replace strlen with simpler check
Alan T. DeKok [Thu, 1 Dec 2011 13:21:03 +0000 (14:21 +0100)]
Perl clone should be called sequentially, not in parallel.
Adding a mutex fixes this.
Patch from Eike Dehling
Alan T. DeKok [Tue, 29 Nov 2011 19:40:39 +0000 (20:40 +0100)]
Print out real password, not username
Alan T. DeKok [Mon, 28 Nov 2011 16:27:11 +0000 (17:27 +0100)]
Minor rewording of configuration
Alan T. DeKok [Mon, 28 Nov 2011 12:45:16 +0000 (13:45 +0100)]
Note recent changes
Alan T. DeKok [Mon, 28 Nov 2011 12:44:46 +0000 (13:44 +0100)]
Better fix for previous debian bug
Alan T. DeKok [Mon, 28 Nov 2011 12:36:22 +0000 (13:36 +0100)]
nitialize data pointer before setting it
So that if there's an error setting it, we can free it without
the system blowing up.
Closes Debian bug #606450
Alan T. DeKok [Sun, 27 Nov 2011 09:03:43 +0000 (10:03 +0100)]
Remove old text
Because it confuses people who don't read eap.conf, or
the rest of the file.
Alan T. DeKok [Fri, 25 Nov 2011 14:27:01 +0000 (15:27 +0100)]
Pass sizeof buffer to cf_expand_variables
Alan T. DeKok [Thu, 24 Nov 2011 07:56:05 +0000 (08:56 +0100)]
Ignore local cache directory
Alan T. DeKok [Thu, 24 Nov 2011 07:55:15 +0000 (08:55 +0100)]
Ignore tar files, sig files, patches
Alan T. DeKok [Thu, 24 Nov 2011 07:53:32 +0000 (08:53 +0100)]
Ignore the doxygen _build directory
Renaud Métrich [Thu, 24 Nov 2011 09:42:57 +0000 (10:42 +0100)]
Updated DHCP configuration template to be able to act as a DHCP server when on a gateway on Linux
Renaud Métrich [Wed, 23 Nov 2011 15:17:26 +0000 (16:17 +0100)]
Fixed DHCP relay when residing on a gateway on Linux
Updated template to reflect the changes
Renaud Métrich [Tue, 22 Nov 2011 09:17:46 +0000 (10:17 +0100)]
Merge branch 'v2.1.x' of git://git.freeradius.org/freeradius-server into v2.1.x
Renaud Métrich [Tue, 22 Nov 2011 09:14:43 +0000 (10:14 +0100)]
Fixed DHCP server badly replying to DHCP DISCOVER using broadcast IP address as source for packet
Alan T. DeKok [Mon, 21 Nov 2011 16:50:50 +0000 (17:50 +0100)]
Major cleanups and reorganization
Alan T. DeKok [Mon, 21 Nov 2011 16:47:27 +0000 (17:47 +0100)]
Correct typo in error message
ascend secret is "encrypt=3", not "encrypt=2"
Luke Howard [Sat, 19 Nov 2011 03:32:07 +0000 (14:32 +1100)]
surface RFC822 subject alt name
Alan T. DeKok [Fri, 18 Nov 2011 14:24:02 +0000 (15:24 +0100)]
Document net admin capabilities
So that the server can set arp table entries as non-root
Alan T. DeKok [Fri, 18 Nov 2011 10:32:36 +0000 (11:32 +0100)]
strlcpy, not strcpy
Renaud Métrich [Fri, 18 Nov 2011 08:37:37 +0000 (09:37 +0100)]
Fixed compilation break + use of uninitialized value
Alan T. DeKok [Thu, 17 Nov 2011 15:59:32 +0000 (16:59 +0100)]
Fixed typo
Alan T. DeKok [Thu, 17 Nov 2011 14:18:53 +0000 (15:18 +0100)]
Note recent changes
Alan T. DeKok [Thu, 17 Nov 2011 14:18:06 +0000 (15:18 +0100)]
Rewrite DHCP functionality
This code makes a lot more sense. And it supports relaying
Alan T. DeKok [Thu, 17 Nov 2011 14:04:25 +0000 (15:04 +0100)]
Added DHCP relay functions
For processing client request -> server and server reply -> client
The code is unused for now, but will be used shortly
Alan T. DeKok [Thu, 17 Nov 2011 14:03:01 +0000 (15:03 +0100)]
Added sample virtual server for DHCP relaying
Alan T. DeKok [Thu, 17 Nov 2011 13:36:46 +0000 (14:36 +0100)]
Added fr_dhcp_add_arp_entry
This will later be used for the updated DHCP code
Alan T. DeKok [Thu, 17 Nov 2011 13:35:21 +0000 (14:35 +0100)]
Removed extraneous "extern"
Alan T. DeKok [Thu, 17 Nov 2011 13:26:59 +0000 (14:26 +0100)]
Add max hop count for relays
This is a control attribute which will enforce a maximum
hop count when relaying
Alan T. DeKok [Thu, 17 Nov 2011 11:00:42 +0000 (12:00 +0100)]
Include copyright lines
This is for people who can't be bothered to give attribution
where it's due. The dictionary files we have here give authors,
origins, web pages, etc. where possible. It's only reasonable
for others to do the same.
Sadly, that's asking too much of some people. So we've added
explicit copyright statements so that people have no excuse.
Alan T. DeKok [Fri, 11 Nov 2011 08:26:15 +0000 (09:26 +0100)]
Added minor debug message
Alan T. DeKok [Mon, 7 Nov 2011 15:19:29 +0000 (16:19 +0100)]
Updated the NAI document
Alan T. DeKok [Sun, 6 Nov 2011 09:36:10 +0000 (10:36 +0100)]
Fixed typo
Alan T. DeKok [Sun, 6 Nov 2011 08:42:35 +0000 (09:42 +0100)]
Note more changes
Alan T. DeKok [Fri, 4 Nov 2011 14:18:57 +0000 (15:18 +0100)]
What appears to be the definitive fix to libltl nonsense
FORCE the compiler to use out libltdl, rather than the system
one. This gets rid of the _lt__PROGRAM__LTX_preloaded_symbols
nonsense.
Alan T. DeKok [Fri, 4 Nov 2011 14:18:26 +0000 (15:18 +0100)]
Fix typo
Dave Duchscher [Wed, 2 Nov 2011 19:58:41 +0000 (14:58 -0500)]
Add additional attributes and values for Netbotz Rack Access PX - HID.
See: http://nam-en.apc.com/app/answers/detail/a_id/8570/~/how-do-i-configure-radius-authentication-for-my-card-reader-on-the-netbotz-rack
Alan T. DeKok [Tue, 1 Nov 2011 14:00:57 +0000 (15:00 +0100)]
Mkae it build on FreeBSD. Fixes bug #177
Arran Cudbard-Bell [Fri, 28 Oct 2011 14:10:06 +0000 (16:10 +0200)]
Make dict_attr_types available from libradius.h so we can do integer to string type conversions
Alan T. DeKok [Thu, 27 Oct 2011 07:30:56 +0000 (09:30 +0200)]
Fix code to use more standard API
Cache DICT_ATTR*, not "int attr"
Alan T. DeKok [Thu, 27 Oct 2011 07:24:29 +0000 (09:24 +0200)]
Clean upo logic See bug #181
If we're almost at the expiry time, add the next time period ONLY
if the reply is Session-Timeoout.
Alan T. DeKok [Wed, 26 Oct 2011 09:49:20 +0000 (11:49 +0200)]
Convert error messages to debug messages.
If a module returns NOOP, it's not an error
Alan T. DeKok [Tue, 25 Oct 2011 12:01:47 +0000 (14:01 +0200)]
Note changes
Alan DeKok [Tue, 25 Oct 2011 12:02:24 +0000 (05:02 -0700)]
Merge pull request #29 from philmayers/fix-sessid-len
Fix sessid len
Phil Mayers [Tue, 25 Oct 2011 11:49:10 +0000 (12:49 +0100)]
use correct length for session_context_id and write a shorter value, to fit into it
Alan T. DeKok [Mon, 24 Oct 2011 09:52:36 +0000 (11:52 +0200)]
Restrict dictionary names to ones that make sense
No control characters, etc.
The old code allowed ANYTHING as dictionary names, which is bad.
Phil Mayers [Thu, 20 Oct 2011 21:07:23 +0000 (22:07 +0100)]
VPs should be cached to an index on the SSL_SESSION not SSL object
Don't free VPs in the session free callback since they might
still be refcount > 0, and the ex_data callback will do it for us
Alan T. DeKok [Thu, 20 Oct 2011 21:27:17 +0000 (23:27 +0200)]
Note changes from Coverity
Alan T. DeKok [Thu, 20 Oct 2011 12:22:24 +0000 (14:22 +0200)]
Tell OpenSSL that the data is gone
Alan T. DeKok [Wed, 19 Oct 2011 15:46:17 +0000 (17:46 +0200)]
Quiet compiler warning
Alan T. DeKok [Wed, 19 Oct 2011 15:44:47 +0000 (17:44 +0200)]
Reorder error message so we don't have use after free
Alan T. DeKok [Wed, 19 Oct 2011 15:43:28 +0000 (17:43 +0200)]
Initialize the structure
Alan T. DeKok [Wed, 19 Oct 2011 15:43:15 +0000 (17:43 +0200)]
Initialize all of the structure
Alan T. DeKok [Wed, 19 Oct 2011 15:39:45 +0000 (17:39 +0200)]
Free memory on error
Alan T. DeKok [Wed, 19 Oct 2011 15:38:56 +0000 (17:38 +0200)]
Free memory on instantiation error
Alan T. DeKok [Wed, 19 Oct 2011 15:37:16 +0000 (17:37 +0200)]
Free memory on error
Alan T. DeKok [Wed, 19 Oct 2011 15:35:56 +0000 (17:35 +0200)]
Close fp on error
Alan T. DeKok [Wed, 19 Oct 2011 15:34:01 +0000 (17:34 +0200)]
Call closedir() on error
Alan T. DeKok [Wed, 19 Oct 2011 15:30:35 +0000 (17:30 +0200)]
Don't leak on malformed packets
Alan T. DeKok [Wed, 19 Oct 2011 15:26:36 +0000 (17:26 +0200)]
Catch case where User-Name may be > 250 octets
Alan T. DeKok [Wed, 19 Oct 2011 15:20:37 +0000 (17:20 +0200)]
Only "string" can have "encrypt=2"
Alan T. DeKok [Wed, 19 Oct 2011 15:10:12 +0000 (17:10 +0200)]
Add FALL-THROUGH for 'case' without 'break'
Alan T. DeKok [Wed, 19 Oct 2011 15:08:58 +0000 (17:08 +0200)]
Add FALL-THROUGH for 'case' without 'break'
Alan T. DeKok [Wed, 19 Oct 2011 15:05:25 +0000 (17:05 +0200)]
Unlink file only if it exists
Alan T. DeKok [Wed, 19 Oct 2011 15:04:05 +0000 (17:04 +0200)]
Check auth_pool_name
Alan T. DeKok [Wed, 19 Oct 2011 15:02:06 +0000 (17:02 +0200)]
Add port if it's available
Alan T. DeKok [Wed, 19 Oct 2011 15:01:54 +0000 (17:01 +0200)]
Check passed parameter
Alan T. DeKok [Wed, 19 Oct 2011 14:59:52 +0000 (16:59 +0200)]
Error if there is no detail file listener
Alan T. DeKok [Wed, 19 Oct 2011 14:54:40 +0000 (16:54 +0200)]
Fix sizeof() checks found by coverity
Alan T. DeKok [Wed, 19 Oct 2011 12:04:47 +0000 (14:04 +0200)]
Clean up error message so it makes more sense
Alan T. DeKok [Wed, 19 Oct 2011 08:43:23 +0000 (10:43 +0200)]
Update to version 2.2.0
We don't want to release a 2.1.13 :)
Alan T. DeKok [Wed, 19 Oct 2011 08:42:05 +0000 (10:42 +0200)]
Free cached VPs when SSL says that the session is freed
Alan T. DeKok [Tue, 18 Oct 2011 15:07:31 +0000 (17:07 +0200)]
Added example for radrelay
Alan T. DeKok [Tue, 18 Oct 2011 06:37:21 +0000 (08:37 +0200)]
Switch to SHA1 for message digest
MD5 has been attacked. We shouldn't use it