]> git.ipfire.org Git - thirdparty/freeradius-server.git/log
thirdparty/freeradius-server.git
12 years agofix dhcp.c for --disable-developper 231/head
Olivier Beytrison [Tue, 19 Mar 2013 10:41:00 +0000 (11:41 +0100)] 
fix dhcp.c for --disable-developper

12 years agoIgnore NULL pathnames
Alan T. DeKok [Sun, 17 Mar 2013 03:54:54 +0000 (23:54 -0400)] 
Ignore NULL pathnames

12 years agoUse correct spacing when printing out config file parsing
Alan T. DeKok [Sun, 17 Mar 2013 03:50:01 +0000 (23:50 -0400)] 
Use correct spacing when printing out config file parsing

use spaces, not tabs
use %.*s for CONF_PAIRS, too.  Otherwise their indentation
doesn't match that of the parent CONF_SECTION

12 years agoFix minor typos
Alan T. DeKok [Wed, 13 Mar 2013 18:29:40 +0000 (14:29 -0400)] 
Fix minor typos

12 years agoFix examples to match Makefile
Alan T. DeKok [Wed, 13 Mar 2013 18:10:37 +0000 (14:10 -0400)] 
Fix examples to match Makefile

Apparently some people pedantically read everything, and
get excited when not everything is up to date

12 years agofixed some typos
Alan Buxey [Thu, 14 Mar 2013 20:43:52 +0000 (20:43 +0000)] 
fixed some typos

typos….some essential for documentation to be correct, others just annoying

12 years agoNote TLS certificate validation
Arran Cudbard-Bell [Thu, 14 Mar 2013 14:10:34 +0000 (11:10 -0300)] 
Note TLS certificate validation

12 years agoAdd notes on virtual_server
Arran Cudbard-Bell [Thu, 14 Mar 2013 14:00:58 +0000 (11:00 -0300)] 
Add notes on virtual_server

12 years agoIgnore more things
Arran Cudbard-Bell [Wed, 13 Mar 2013 20:35:18 +0000 (16:35 -0400)] 
Ignore more things

12 years agorlm_eap virtual servers now call postauth for both accept and reject
Arran Cudbard-Bell [Wed, 13 Mar 2013 20:22:34 +0000 (16:22 -0400)] 
rlm_eap virtual servers now call postauth for both accept and reject

Add rad_virtual_server to call rad_authenticate and rad_postauth

Patch by Matthew Newton

12 years agodded rfc6677.txt to the repository 226/head
Alan Buxey [Mon, 11 Mar 2013 11:00:49 +0000 (11:00 +0000)] 
dded rfc6677.txt to the repository

..matching recent 3.x update

12 years agowe dont want to rotate this file (already fixed in 3.x)
Alan Buxey [Mon, 11 Mar 2013 11:00:09 +0000 (11:00 +0000)] 
we dont want to rotate this file (already fixed in 3.x)

dont rotate radutmp out of the way - its not a log, its a state.

12 years agoAdd call to AC_CANONICAL_SYSTEM to populate $host
Arran Cudbard-Bell [Fri, 8 Mar 2013 19:19:34 +0000 (14:19 -0500)] 
Add call to AC_CANONICAL_SYSTEM to populate $host

12 years agoEnsure we exit 0 when rcode=1
Alan T. DeKok [Fri, 8 Mar 2013 14:56:38 +0000 (09:56 -0500)] 
Ensure we exit 0 when rcode=1

12 years agoClean up error / debug messages
Alan T. DeKok [Fri, 8 Mar 2013 14:28:04 +0000 (09:28 -0500)] 
Clean up error / debug messages

12 years agokeeping up with the RFCs
Alan Buxey [Thu, 7 Mar 2013 20:52:19 +0000 (20:52 +0000)] 
keeping up with the RFCs

RFC 6677.  awaiting RFC-ietf-abfab-gss-eap-09 to be passed before
further dictionary changes

12 years agoadded RFC6677 to the main include list
Alan Buxey [Thu, 7 Mar 2013 20:55:54 +0000 (20:55 +0000)] 
added RFC6677 to the main include list

wont get used otherwise...

12 years agoMinor verbiology
Alan T. DeKok [Thu, 7 Mar 2013 17:14:12 +0000 (12:14 -0500)] 
Minor verbiology

12 years agoMissed in last commit
Alan T. DeKok [Thu, 7 Mar 2013 14:54:26 +0000 (09:54 -0500)] 
Missed in last commit

12 years agoNote recent changes
Alan T. DeKok [Thu, 7 Mar 2013 14:48:57 +0000 (09:48 -0500)] 
Note recent changes

12 years agodon't count status server requests in internal stats
Jakob Hirsch [Wed, 6 Mar 2013 17:34:52 +0000 (18:34 +0100)] 
don't count status server requests in internal stats

Requests to to status server should not be added to the internal counters,
notably the Access-Accept replies. See also the thread in
http://lists.freeradius.org/pipermail/freeradius-devel/2013-March/007801.html

12 years agoDon't dlclose() modules on "radiusd -m"
Alan T. DeKok [Thu, 7 Mar 2013 14:28:56 +0000 (09:28 -0500)] 
Don't dlclose() modules on "radiusd -m"

It's a bit counter-intuitive to the meaning of "-m", but
it means that the libraries hang around, so that valgrind
can find symbols in them.

12 years agoClean up the text before 2.2.1
Alan T. DeKok [Wed, 6 Mar 2013 15:20:28 +0000 (10:20 -0500)] 
Clean up the text before 2.2.1

And mention DHCP, too

12 years agoApparently -y is needed too
Arran Cudbard-Bell [Wed, 6 Mar 2013 14:59:20 +0000 (09:59 -0500)] 
Apparently -y is needed too

12 years agoFix userparse function
Alan T. DeKok [Wed, 6 Mar 2013 14:03:30 +0000 (09:03 -0500)] 
Fix userparse function

Remove quadratic addition of vp to list.  Instead, keep track
of the current tail, insert it there, and then add the entire list
in one swell foop.

Also check if we're returning T_OP_INVALID, and if so, free the
intermediate VPs.  This ensures that we either return something,
or an error and nothing else.

It also means that the caller doesn't have to worry about freeing
intermediate VPs if there's a parse error on later ones

12 years agoFix Travis retardation
Arran Cudbard-Bell [Wed, 6 Mar 2013 02:56:35 +0000 (21:56 -0500)] 
Fix Travis retardation

12 years agoAdd -y to work around Travis/apt-get retardation
Arran Cudbard-Bell [Mon, 4 Mar 2013 23:35:05 +0000 (18:35 -0500)] 
Add -y to work around Travis/apt-get retardation

12 years agoWhitespace fixes
Arran Cudbard-Bell [Mon, 4 Mar 2013 23:33:37 +0000 (18:33 -0500)] 
Whitespace fixes

12 years agoRemove old readme
Arran Cudbard-Bell [Mon, 4 Mar 2013 23:32:47 +0000 (18:32 -0500)] 
Remove old readme

12 years agoAdded DHCP-Relay-IP-Address
Alan T. DeKok [Mon, 4 Mar 2013 19:47:36 +0000 (14:47 -0500)] 
Added DHCP-Relay-IP-Address

only in the reply, which is copied from the original giaddr

12 years agoRemove last hack
Alan T. DeKok [Mon, 4 Mar 2013 19:40:25 +0000 (14:40 -0500)] 
Remove last hack

12 years agoDon't encode giaddr on server messages
Alan T. DeKok [Mon, 4 Mar 2013 16:00:58 +0000 (11:00 -0500)] 
Don't encode giaddr on server messages

It does nothing other than fingerpint FR as a DHCP server.
It's supposed to be zero in server packets

12 years agoClarify we're using giaddr from the reply, not the request
Alan T. DeKok [Mon, 4 Mar 2013 15:58:35 +0000 (10:58 -0500)] 
Clarify we're using giaddr from the reply, not the request

12 years agoAdded "encoding" text
Alan T. DeKok [Sun, 3 Mar 2013 16:46:22 +0000 (08:46 -0800)] 
Added "encoding" text

12 years agoAdded 0x... for numbers
Alan T. DeKok [Sun, 3 Mar 2013 16:45:04 +0000 (11:45 -0500)] 
Added 0x... for numbers

12 years agoFix error strings to make more sense
Alan T. DeKok [Thu, 21 Feb 2013 14:34:31 +0000 (09:34 -0500)] 
Fix error strings to make more sense

12 years agoMore descriptive debugging messages
Alan T. DeKok [Sun, 3 Mar 2013 04:12:43 +0000 (20:12 -0800)] 
More descriptive debugging messages

12 years agoPrint option only N times, not N + 1
Alan T. DeKok [Sun, 3 Mar 2013 03:40:09 +0000 (19:40 -0800)] 
Print option only N times, not N + 1

12 years agoGenerate certificates before running tests
Arran Cudbard-Bell [Thu, 28 Feb 2013 01:56:17 +0000 (20:56 -0500)] 
Generate certificates before running tests

12 years agoOuput the last few lines of logs if the server fails to start
Arran Cudbard-Bell [Thu, 28 Feb 2013 01:48:45 +0000 (20:48 -0500)] 
Ouput the last few lines of logs if the server fails to start

12 years agoConvert README to .rst
Arran Cudbard-Bell [Thu, 28 Feb 2013 01:39:42 +0000 (20:39 -0500)] 
Convert README to .rst

12 years agoTurn on caching
Arran Cudbard-Bell [Tue, 26 Feb 2013 17:26:01 +0000 (12:26 -0500)] 
Turn on caching

12 years agoFix typo
Arran Cudbard-Bell [Tue, 26 Feb 2013 16:24:54 +0000 (11:24 -0500)] 
Fix typo

12 years agoFixup tests
Arran Cudbard-Bell [Tue, 26 Feb 2013 16:20:22 +0000 (11:20 -0500)] 
Fixup tests

12 years agoAdd .travis.yml
Arran Cudbard-Bell [Tue, 26 Feb 2013 15:55:51 +0000 (10:55 -0500)] 
Add .travis.yml

12 years agoFix redis configure script
Arran Cudbard-Bell [Tue, 26 Feb 2013 05:55:45 +0000 (00:55 -0500)] 
Fix redis configure script

12 years agoMerge pull request #192 from candlerb/candlerb/expand_xlat
Arran Cudbard-Bell [Tue, 26 Feb 2013 15:51:18 +0000 (07:51 -0800)] 
Merge pull request #192 from candlerb/candlerb/expand_xlat

rlm_redis argument splitting for v2.x.x

12 years agoMake EAP-Key-Name things work
Alan T. DeKok [Wed, 20 Feb 2013 13:40:54 +0000 (08:40 -0500)] 
Make EAP-Key-Name things work

12 years agoPrint out more helpful text for operations error
Alan T. DeKok [Tue, 19 Feb 2013 14:53:44 +0000 (09:53 -0500)] 
Print out more helpful text for operations error

12 years agoAccessing a list global to the module means it's thread un-safe
Alan T. DeKok [Tue, 19 Feb 2013 01:56:47 +0000 (20:56 -0500)] 
Accessing a list global to the module means it's thread un-safe

The list should probably be changed to an RBtree for speed.

12 years agoNote recent changes
Alan T. DeKok [Mon, 18 Feb 2013 19:14:10 +0000 (14:14 -0500)] 
Note recent changes

12 years agoFree modules before main config
Alan T. DeKok [Mon, 18 Feb 2013 19:07:46 +0000 (14:07 -0500)] 
Free modules before main config

Now that the modules are cleaned up correctly

12 years agoCall cf_section_parse_free before freeing sub-modules
Alan T. DeKok [Mon, 18 Feb 2013 19:02:43 +0000 (14:02 -0500)] 
Call cf_section_parse_free before freeing sub-modules

12 years agoNo longer need to free conf file stuff manually.
Alan T. DeKok [Mon, 18 Feb 2013 19:07:04 +0000 (14:07 -0500)] 
No longer need to free conf file stuff manually.

12 years agoCall cf_section_parse_free before calling the module detach
Alan T. DeKok [Mon, 18 Feb 2013 19:01:56 +0000 (14:01 -0500)] 
Call cf_section_parse_free before calling the module detach

12 years agocf_section_parse_free() recurses into sub-sections
Alan T. DeKok [Mon, 18 Feb 2013 19:01:32 +0000 (14:01 -0500)] 
cf_section_parse_free() recurses into sub-sections

12 years agoOne more check for size > 253
Alan T. DeKok [Mon, 18 Feb 2013 18:23:18 +0000 (13:23 -0500)] 
One more check for size > 253

12 years agoCheck Ascend Secret length
Alan T. DeKok [Mon, 18 Feb 2013 18:32:55 +0000 (13:32 -0500)] 
Check Ascend Secret length

12 years agoFree tlv on error condition
Alan T. DeKok [Mon, 18 Feb 2013 18:25:24 +0000 (13:25 -0500)] 
Free tlv on error condition

12 years agomypriority can be -1, too
Alan T. DeKok [Fri, 15 Feb 2013 22:19:37 +0000 (17:19 -0500)] 
mypriority can be -1, too

12 years agoFix bug in unused addport functionality
Alan T. DeKok [Sun, 17 Feb 2013 22:45:06 +0000 (17:45 -0500)] 
Fix bug in unused addport functionality

12 years agoNo socket filename is a startup error
Alan T. DeKok [Sun, 17 Feb 2013 22:43:05 +0000 (17:43 -0500)] 
No socket filename is a startup error

12 years agouint for array checks
Alan T. DeKok [Sun, 17 Feb 2013 22:33:36 +0000 (17:33 -0500)] 
uint for array checks

12 years agoCheck for NULL string
Alan T. DeKok [Sun, 17 Feb 2013 22:32:07 +0000 (17:32 -0500)] 
Check for NULL string

12 years agoCheck for more NULL
Alan T. DeKok [Sun, 17 Feb 2013 22:31:08 +0000 (17:31 -0500)] 
Check for more NULL

12 years agoEnsure pointer is initialized
Alan T. DeKok [Sun, 17 Feb 2013 22:29:03 +0000 (17:29 -0500)] 
Ensure pointer is initialized

12 years agoDon't check for array existence
Alan T. DeKok [Sun, 17 Feb 2013 22:25:24 +0000 (17:25 -0500)] 
Don't check for array existence

12 years agoFix typo
Alan T. DeKok [Sun, 17 Feb 2013 18:36:44 +0000 (13:36 -0500)] 
Fix typo

12 years agoFix race condition in conf file
Alan T. DeKok [Sun, 17 Feb 2013 18:32:03 +0000 (13:32 -0500)] 
Fix race condition in conf file

Closes Coverity #720457

12 years agoCheck fro =~ and !~
Alan T. DeKok [Sun, 17 Feb 2013 18:27:16 +0000 (13:27 -0500)] 
Check fro =~ and !~

12 years agoClear memory using correct size
Alan T. DeKok [Sun, 17 Feb 2013 16:53:57 +0000 (11:53 -0500)] 
Clear memory using correct size

Closes Coverity #720439, 40, 41

12 years agoDon't expand variables if cs==NULL
Alan T. DeKok [Sun, 17 Feb 2013 16:45:43 +0000 (11:45 -0500)] 
Don't expand variables if cs==NULL

Closes Coverity #720373

12 years agovalue may be NULL
Alan T. DeKok [Sun, 17 Feb 2013 16:11:30 +0000 (11:11 -0500)] 
value may be NULL

If the admin misconfigures things, oh well

12 years agoadd missing break
Alan T. DeKok [Sun, 17 Feb 2013 02:39:06 +0000 (21:39 -0500)] 
add missing break

12 years agoCheck size of buffer for raw attributes
Alan T. DeKok [Sun, 17 Feb 2013 02:24:34 +0000 (21:24 -0500)] 
Check size of buffer for raw attributes

12 years agoEAP-Key-Name is octets, not printable text
Alan T. DeKok [Fri, 15 Feb 2013 13:36:44 +0000 (08:36 -0500)] 
EAP-Key-Name is octets, not printable text

12 years agoDon't use radius_paircreate in a library
Alan T. DeKok [Fri, 15 Feb 2013 13:35:55 +0000 (08:35 -0500)] 
Don't use radius_paircreate in a library

12 years agorlm_rediswho: fix unlang conditional expansion 192/head
Brian Candler [Fri, 15 Feb 2013 09:30:48 +0000 (09:30 +0000)] 
rlm_rediswho: fix unlang conditional expansion

12 years agoRemove superfluous redis_escape_func 189/head
Brian Candler [Thu, 14 Feb 2013 12:15:46 +0000 (12:15 +0000)] 
Remove superfluous redis_escape_func

12 years agorlm_redis argument splitting
Brian Candler [Sat, 9 Feb 2013 10:20:10 +0000 (10:20 +0000)] 
rlm_redis argument splitting

rlm_redis_query now splits the query into separate arguments and expands
each one individually.

This allows for both string literals and expansions to contain spaces, e.g.

    %{redis:LPUSH 'my key' %{User-Name}}

12 years agoRemove quotes from quoted argv entries
Brian Candler [Fri, 8 Feb 2013 18:55:56 +0000 (18:55 +0000)] 
Remove quotes from quoted argv entries

12 years agoFactor out argv splitting into rad_expand_xlat
Brian Candler [Fri, 8 Feb 2013 17:41:58 +0000 (17:41 +0000)] 
Factor out argv splitting into rad_expand_xlat

12 years agoMerge pull request #191 from candlerb/candlerb/redis_fixes_v2.x.x
Arran Cudbard-Bell [Fri, 15 Feb 2013 05:25:12 +0000 (21:25 -0800)] 
Merge pull request #191 from candlerb/candlerb/redis_fixes_v2.x.x

Bug fixes for rlm_redis v2.x.x

12 years agoUpdate the example to show EAP-Key-Name
Alan T. DeKok [Thu, 14 Feb 2013 16:56:34 +0000 (11:56 -0500)] 
Update the example to show EAP-Key-Name

12 years agoAdded preliminary support for EAP-Key-Name
Alan T. DeKok [Thu, 14 Feb 2013 16:48:37 +0000 (11:48 -0500)] 
Added preliminary support for EAP-Key-Name

We use EAP-Session-Id internally, as not everyone wants to send
EAP-Key-Name in a packet.  The eaptls_gen_eap_key() function
generates the EAP-Session-Id.  The eaptls_success() function
calls the "gen key" function on success.  This means that
the key is available on all TLS-based EAP methods

If someone wants to send EAP-Key-Name, they should use unlang
to make EAP-Session-Id to EAP-Key-Name

12 years agorlm_rediswho: fix trim functionality 191/head
Brian Candler [Fri, 8 Feb 2013 12:30:34 +0000 (12:30 +0000)] 
rlm_rediswho: fix trim functionality

(query result is not available after redis_finish_query has been called)

12 years agorlm_rediswho: initialize rcode for Accounting-On and Accounting-Off requests
Brian Candler [Sat, 9 Feb 2013 10:04:41 +0000 (10:04 +0000)] 
rlm_rediswho: initialize rcode for Accounting-On and Accounting-Off requests

12 years agoNote recent changes
Alan T. DeKok [Tue, 12 Feb 2013 15:17:48 +0000 (10:17 -0500)] 
Note recent changes

12 years agoPrune changelog from before 2.2.0
Alan T. DeKok [Tue, 12 Feb 2013 15:13:49 +0000 (10:13 -0500)] 
Prune changelog from before 2.2.0

12 years agoActually print out encoded options in debug mode.
Alan T. DeKok [Tue, 12 Feb 2013 15:10:21 +0000 (10:10 -0500)] 
Actually print out encoded options in debug mode.

12 years agoAdded radmin command "hup main.log". Closes issue #121
Alan T. DeKok [Tue, 12 Feb 2013 14:56:29 +0000 (09:56 -0500)] 
Added radmin command "hup main.log".  Closes issue #121

12 years agoAs found on the net
Alan T. DeKok [Mon, 11 Feb 2013 13:13:41 +0000 (08:13 -0500)] 
As found on the net

12 years agoTrack priorities for default action return
Alan T. DeKok [Fri, 8 Feb 2013 17:08:01 +0000 (12:08 -0500)] 
Track priorities for default action return

If the default action is return, take it ONLY if we're at priority 0

12 years agoClarify handling of priority and result.
Alan T. DeKok [Fri, 8 Feb 2013 16:50:30 +0000 (11:50 -0500)] 
Clarify handling of priority and result.

12 years agoUpdate share/dictionary.erx
guydavies [Wed, 6 Feb 2013 14:13:54 +0000 (15:13 +0100)] 
Update share/dictionary.erx

12 years agoLimit the number of entries in the cache. Closes #156
Alan T. DeKok [Wed, 6 Feb 2013 18:07:13 +0000 (13:07 -0500)] 
Limit the number of entries in the cache.  Closes #156

12 years agoFix typo
Alan T. DeKok [Wed, 6 Feb 2013 17:57:17 +0000 (12:57 -0500)] 
Fix typo

12 years agoUpdate sections inherit actions *and* priority
Alan T. DeKok [Wed, 6 Feb 2013 17:49:46 +0000 (12:49 -0500)] 
Update sections inherit actions *and* priority

Closs #107

12 years agoStartup check for mismatched OpenSSL library versions
Arran Cudbard-Bell [Wed, 6 Feb 2013 01:19:50 +0000 (20:19 -0500)] 
Startup check for mismatched OpenSSL library versions

Print OpenSSL version in debug output

Conflicts:
src/main/version.c

12 years agoUpdate to match last commit
Alan T. DeKok [Mon, 4 Feb 2013 13:50:15 +0000 (08:50 -0500)] 
Update to match last commit