]> git.ipfire.org Git - thirdparty/freeradius-server.git/log
thirdparty/freeradius-server.git
13 years agoFix comment typo 59/head
Stelian Ionescu [Tue, 29 May 2012 15:39:37 +0000 (17:39 +0200)] 
Fix comment typo

13 years agoAdded database support from v2.1.x branch
Alan T. DeKok [Tue, 29 May 2012 08:42:10 +0000 (10:42 +0200)] 
Added database support from v2.1.x branch

13 years agoFix typo
Alan T. DeKok [Tue, 29 May 2012 08:10:15 +0000 (10:10 +0200)] 
Fix typo

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 agoAdd missing define
Alan T. DeKok [Mon, 28 May 2012 06:13:04 +0000 (08:13 +0200)] 
Add missing define

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 agoAdded support for CoA proxying via Operator-Name
Alan T. DeKok [Wed, 23 May 2012 13:29:48 +0000 (15:29 +0200)] 
Added support for CoA proxying via Operator-Name

and examples

13 years agoAdded support for CoA realms
Alan T. DeKok [Wed, 23 May 2012 13:26:12 +0000 (15:26 +0200)] 
Added support for CoA realms

13 years agoEdit installation instructions
Arran Cudbard-Bell [Fri, 11 May 2012 21:11:44 +0000 (00:11 +0300)] 
Edit installation instructions

13 years agoFix typo so that it builds
Alan T. DeKok [Thu, 10 May 2012 07:29:10 +0000 (09:29 +0200)] 
Fix typo so that it builds

13 years agoMissed in earlier commit
Alan T. DeKok [Sun, 6 May 2012 13:40:14 +0000 (15:40 +0200)] 
Missed in earlier commit

13 years agoCorrect calculation of currently outstanding
Alan T. DeKok [Sun, 6 May 2012 09:13:39 +0000 (11:13 +0200)] 
Correct calculation of currently outstanding

13 years agoKeep track of requests sent (oops)
Alan T. DeKok [Sun, 6 May 2012 08:59:19 +0000 (10:59 +0200)] 
Keep track of requests sent (oops)

13 years agoAdded timeout statistics for home servers
Alan T. DeKok [Sat, 5 May 2012 14:43:48 +0000 (16:43 +0200)] 
Added timeout statistics for home servers

13 years agoDon't use public str2argv
Alan T. DeKok [Fri, 4 May 2012 15:28:48 +0000 (17:28 +0200)] 
Don't use public str2argv

13 years agoAdded %{hex:...}
Alan T. DeKok [Fri, 4 May 2012 15:14:08 +0000 (17:14 +0200)] 
Added %{hex:...}

Will print the hex version of the contents of the attribute.

Mainly useful for integers, IPaddresses, etc.

13 years agoExpose str2argv()
Alan T. DeKok [Fri, 4 May 2012 09:34:45 +0000 (11:34 +0200)] 
Expose str2argv()

13 years agoMove log to outside of mutex lock
Alan T. DeKok [Thu, 3 May 2012 13:53:47 +0000 (15:53 +0200)] 
Move log to outside of mutex lock

13 years agoOnly manage connections on release
Alan T. DeKok [Thu, 3 May 2012 13:51:33 +0000 (15:51 +0200)] 
Only manage connections on release

So there's less work to do

13 years agoMore debug messages
Alan T. DeKok [Wed, 2 May 2012 18:27:01 +0000 (20:27 +0200)] 
More debug messages

13 years agodelete means release, too
Alan T. DeKok [Wed, 2 May 2012 17:23:49 +0000 (19:23 +0200)] 
delete means release, too

13 years agoFix typo
Alan T. DeKok [Wed, 2 May 2012 11:53:01 +0000 (13:53 +0200)] 
Fix typo

13 years agoConvert hash to key
Alan T. DeKok [Tue, 1 May 2012 16:00:38 +0000 (18:00 +0200)] 
Convert hash to key

So that we can have the same hash in two different systems

13 years agoAbsolutely horrible hacks to get radmin on a TCP socket.
Alan T. DeKok [Mon, 30 Apr 2012 14:24:40 +0000 (16:24 +0200)] 
Absolutely horrible hacks to get radmin on a TCP socket.

We're pulling the rug out from under the code multiple times,
and casting pointers of type "foo" to type "bar" repeatedly.
Trust us, we know what we're doing!

radmin now requires a CHAP-style challenge/response when using
TCP sockets.  It's crap, but it's better than nothing

13 years agoAdd radmin target && makefile
Alan T. DeKok [Mon, 30 Apr 2012 13:23:32 +0000 (15:23 +0200)] 
Add radmin target && makefile

13 years ago"sometimes" module which generates random errors for testing
Alan T. DeKok [Sun, 29 Apr 2012 19:56:38 +0000 (21:56 +0200)] 
"sometimes" module which generates random errors for testing

13 years agoAdded notifications for thread start, stop, and max_threads
Alan T. DeKok [Sun, 29 Apr 2012 17:08:46 +0000 (19:08 +0200)] 
Added notifications for thread start, stop, and max_threads

13 years agoRate limit some triggers.
Alan T. DeKok [Sun, 29 Apr 2012 16:59:25 +0000 (18:59 +0200)] 
Rate limit some triggers.

e.g. LDAP query timeout

13 years agoHUP via module name, not instance name
Alan T. DeKok [Sun, 29 Apr 2012 16:21:02 +0000 (18:21 +0200)] 
HUP via module name, not instance name

13 years agoMove module args to common section
Alan T. DeKok [Sun, 29 Apr 2012 13:26:06 +0000 (15:26 +0200)] 
Move module args to common section

13 years agoAdded "hup" trigger.
Alan T. DeKok [Sun, 29 Apr 2012 13:22:17 +0000 (15:22 +0200)] 
Added "hup" trigger.

It is sent when this module (and only this module) is sent
a HUP via "radmin"

13 years agoAdded "modules.ldap.fail" for trigger
Alan T. DeKok [Sun, 29 Apr 2012 13:17:09 +0000 (15:17 +0200)] 
Added "modules.ldap.fail" for trigger

13 years agoAdded "connection fail" trigger to SQL
Alan T. DeKok [Sun, 29 Apr 2012 13:08:39 +0000 (15:08 +0200)] 
Added "connection fail" trigger to SQL

13 years agoAdd "connection fail" notification
Alan T. DeKok [Sun, 29 Apr 2012 13:06:37 +0000 (15:06 +0200)] 
Add "connection fail" notification

13 years agoFix typo
Alan T. DeKok [Sun, 29 Apr 2012 13:06:31 +0000 (15:06 +0200)] 
Fix typo

13 years agoMake ASCII versions of counters auto 32/64 bit
Alan T. DeKok [Sun, 29 Apr 2012 10:52:27 +0000 (12:52 +0200)] 
Make ASCII versions of counters auto 32/64 bit

13 years agoUse the correct type for statistics counters
Alan T. DeKok [Sun, 29 Apr 2012 10:44:24 +0000 (12:44 +0200)] 
Use the correct type for statistics counters

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 agoRenamed "extended-flags" to "long-extended"
Alan T. DeKok [Sun, 29 Apr 2012 07:47:06 +0000 (09:47 +0200)] 
Renamed "extended-flags" to "long-extended"

To match the latest specifications.

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 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 agoAuto-calculate the CHAP-Password
Alan T. DeKok [Tue, 17 Apr 2012 16:07:07 +0000 (18:07 +0200)] 
Auto-calculate the CHAP-Password

As before, *unless* it's 17 hex digits.  In that case, leave it alone.

13 years agoFix typo in parsing limit configuration
Alan T. DeKok [Tue, 17 Apr 2012 15:28:27 +0000 (17:28 +0200)] 
Fix typo in parsing limit configuration

13 years agoWord smithing
Alan T. DeKok [Tue, 17 Apr 2012 13:35:50 +0000 (15:35 +0200)] 
Word smithing

13 years agoFix typo
Alan T. DeKok [Tue, 17 Apr 2012 13:35:08 +0000 (15:35 +0200)] 
Fix typo

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:06:35 +0000 (14:06 +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 agoMove connection limiting code to its own data structure
Alan T. DeKok [Sun, 15 Apr 2012 09:47:22 +0000 (11:47 +0200)] 
Move connection limiting code to its own data structure

So that it can be shared among home servers, clients, and
listeners.

Enable tcp socket timers for incoming packets, too.
This uses the same code as for outgoing home servers.

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 agodon't chgrp syslog
Matthew Newton [Sun, 8 Apr 2012 21:02:55 +0000 (22:02 +0100)] 
don't chgrp syslog

13 years agodon't segfault when invalid eap types in config
Matthew Newton [Sun, 8 Apr 2012 20:26:28 +0000 (21:26 +0100)] 
don't segfault when invalid eap types in config

13 years agoeap-tls is no longer required for ttls or peap
Matthew Newton [Sun, 8 Apr 2012 20:07:33 +0000 (21:07 +0100)] 
eap-tls is no longer required for ttls or peap

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

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

Manual merge of fd10e3b40

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

13 years agoBuild a library, not an executable
Alan T. DeKok [Wed, 4 Apr 2012 08:43:32 +0000 (09:43 +0100)] 
Build a library, not an executable

13 years agoAllow for new state transition on failure
Alan T. DeKok [Tue, 3 Apr 2012 10:31:33 +0000 (11:31 +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.

Manual pull of f26dcc5f45

13 years agoEAP-PWD RFC
Alan T. DeKok [Tue, 3 Apr 2012 10:28:26 +0000 (11:28 +0100)] 
EAP-PWD RFC

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 agoAdded '-name" to conditionally load a module
Alan T. DeKok [Wed, 28 Mar 2012 14:49:13 +0000 (16:49 +0200)] 
Added '-name" to conditionally load a module

Now that we have mods-enabled, we can more easily conditionally
load a module.

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 agoDepend on curl/curl.h
Alan T. DeKok [Tue, 27 Mar 2012 07:20:52 +0000 (09:20 +0200)] 
Depend on curl/curl.h

13 years agoMove to using configure
Alan T. DeKok [Tue, 27 Mar 2012 07:17:57 +0000 (09:17 +0200)] 
Move to using configure

13 years agoThis isn't needed
Alan T. DeKok [Tue, 27 Mar 2012 07:14:28 +0000 (09:14 +0200)] 
This isn't needed

13 years agoThis isn't needed
Alan T. DeKok [Tue, 27 Mar 2012 07:12:06 +0000 (09:12 +0200)] 
This isn't needed

13 years agoAdd newline.
Alan T. DeKok [Tue, 27 Mar 2012 07:10:40 +0000 (09:10 +0200)] 
Add newline.

C compiles hate files which don't end in a newline

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 agorequest_proxy_anew MAY get packets which aren't in the proxy hash
Alan T. DeKok [Fri, 16 Mar 2012 15:47:54 +0000 (11:47 -0400)] 
request_proxy_anew MAY get packets which aren't in the proxy hash

Because the socket got closed due to inactivity, errors, etc.
So check for that, and handle that case

Also handle the case of request_proxy() getting a request which
is already in the proxy hash.

13 years agoDUP proxied packets don't re-set the timer
Alan T. DeKok [Fri, 16 Mar 2012 15:46:41 +0000 (11:46 -0400)] 
DUP proxied packets don't re-set the timer

So that the child threads don't mangle the main thread event loop

13 years agoAdded checks for openssl/ec.h
Alan T. DeKok [Tue, 13 Mar 2012 12:26:52 +0000 (08:26 -0400)] 
Added checks for openssl/ec.h

13 years agoEnsure that configurtion items have sane values
Alan T. DeKok [Sat, 10 Mar 2012 14:12:50 +0000 (15:12 +0100)] 
Ensure that configurtion items have sane values

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 agoRemove leading whitespace
Alan T. DeKok [Wed, 7 Mar 2012 12:35:14 +0000 (13:35 +0100)] 
Remove leading whitespace

13 years agoiRFC which references new attribute(s)
Alan T. DeKok [Wed, 7 Mar 2012 09:34:45 +0000 (10:34 +0100)] 
iRFC which references new attribute(s)

13 years agoClarify changes
Alan T. DeKok [Wed, 7 Mar 2012 09:34:29 +0000 (10:34 +0100)] 
Clarify changes

13 years agoDon't try to lock the proxy mutex twice
Alan T. DeKok [Wed, 7 Mar 2012 09:32:55 +0000 (10:32 +0100)] 
Don't try to lock the proxy mutex twice

Change "remove_all_proxied_requests" to call a "no lock" version
of "remove_from_proxy_hash".  Then, DON'T mark the request as
"done".  Instead, allow the client to retransmit, and thus re-send
the proxied request

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 ago32/64 bit portability fixes
Dan Harkins [Mon, 5 Mar 2012 09:52:42 +0000 (10:52 +0100)] 
32/64 bit portability fixes

13 years agoUpdate raddb eap config - add tls option to the TTLS config section
Matthew Newton [Sat, 3 Mar 2012 13:31:45 +0000 (13:31 +0000)] 
Update raddb eap config - add tls option to the TTLS config section

13 years agoAdd initiate code to rlm_eap_ttls, remove dependency on rlm_eap_tls
Matthew Newton [Sat, 3 Mar 2012 13:29:27 +0000 (13:29 +0000)] 
Add initiate code to rlm_eap_ttls, remove dependency on rlm_eap_tls

13 years agoUpdate raddb eap config - add tls option to the PEAP config section
Matthew Newton [Sat, 3 Mar 2012 13:24:48 +0000 (13:24 +0000)] 
Update raddb eap config - add tls option to the PEAP config section

13 years agoMove common TLS configuration into tls-config
Alan T. DeKok [Sun, 4 Mar 2012 09:41:41 +0000 (10:41 +0100)] 
Move common TLS configuration into tls-config

13 years agoGive rlm_eap_peap an initiate function and remove dependency on rlm_eap_tls
Matthew Newton [Sat, 3 Mar 2012 13:20:17 +0000 (13:20 +0000)] 
Give rlm_eap_peap an initiate function and remove dependency on rlm_eap_tls

13 years agoemoved unnecessary variable
Alan T. DeKok [Sun, 4 Mar 2012 09:39:55 +0000 (10:39 +0100)] 
emoved unnecessary variable

13 years agoSplit eap_tls initiate function, move session handling code into libeap/eaptls.c
Matthew Newton [Fri, 2 Mar 2012 21:30:07 +0000 (21:30 +0000)] 
Split eap_tls initiate function, move session handling code into libeap/eaptls.c

13 years agoMove rlm_eap_tls TLS-specific config into user-specified section (given by new tls...
Matthew Newton [Sat, 3 Mar 2012 15:00:11 +0000 (15:00 +0000)] 
Move rlm_eap_tls TLS-specific config into user-specified section (given by new tls= option)

13 years agoCache result of parsing server/client tls configs, so we don't have to do it
Matthew Newton [Wed, 29 Feb 2012 08:23:35 +0000 (08:23 +0000)] 
Cache result of parsing server/client tls configs, so we don't have to do it
repeatedly. This means tls_server_conf_free no longer needs to be called, as
it will be freed up automatically.

13 years agoForgot to commit the new attribute for queue %
Alan T. DeKok [Sun, 4 Mar 2012 08:54:22 +0000 (09:54 +0100)] 
Forgot to commit the new attribute for queue %

13 years agoPWD sample file
Alan T. DeKok [Sat, 3 Mar 2012 18:53:56 +0000 (19:53 +0100)] 
PWD sample file

13 years agoRely on pointer for malloc/free
Alan T. DeKok [Sat, 3 Mar 2012 18:26:57 +0000 (19:26 +0100)] 
Rely on pointer for malloc/free

which seems to remove "double free" error

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

13 years agoFix typo
Alan T. DeKok [Tue, 28 Feb 2012 12:56:59 +0000 (13:56 +0100)] 
Fix typo

13 years agoConfigure scripts for EAP-PWD
Alan T. DeKok [Mon, 27 Feb 2012 09:35:58 +0000 (10:35 +0100)] 
Configure scripts for EAP-PWD

13 years agoDocument auto_limit_acct and max_pps
Alan T. DeKok [Fri, 24 Feb 2012 12:57:15 +0000 (13:57 +0100)] 
Document auto_limit_acct and max_pps

13 years agoUse correct structure for TLS fragment size
Alan T. DeKok [Thu, 23 Feb 2012 15:29:28 +0000 (16:29 +0100)] 
Use correct structure for TLS fragment size

set ssn->offset, and use that in proxy_tls_recv