freeradius.git
11 years agoDon't quote yes/no
Alan T. DeKok [Mon, 21 Jan 2013 19:13:18 +0000 (14:13 -0500)]
Don't quote yes/no

11 years agoselected array should be reinitialized on each
Arran Cudbard-Bell [Mon, 21 Jan 2013 11:29:22 +0000 (11:29 +0000)]
selected array should be reinitialized on each
iteration of i to avoid more than one "selected" operator
in the dropdown.

As posted by Octavio Alvarez.

11 years agoUpdate src/main/version.c
Arran Cudbard-Bell [Mon, 21 Jan 2013 00:40:23 +0000 (00:40 +0000)]
Update src/main/version.c

11 years agoUpdate COPYRIGHT
Arran Cudbard-Bell [Mon, 21 Jan 2013 00:37:35 +0000 (00:37 +0000)]
Update COPYRIGHT

11 years agoReplace credits with a link to the Acknowledgements wiki page
Arran Cudbard-Bell [Sun, 20 Jan 2013 22:25:20 +0000 (22:25 +0000)]
Replace credits with a link to the Acknowledgements wiki page

11 years agoUse of 'op' instead of 'operator', and declare it as an FR_TOKEN.
Arran Cudbard-Bell [Sun, 20 Jan 2013 13:09:57 +0000 (13:09 +0000)]
Use of 'op' instead of 'operator', and declare it as an FR_TOKEN.

Operator conflicts with a C++ keyword.

11 years agoRemove @version, doxygen seems to parse $id ok
Arran Cudbard-Bell [Sun, 20 Jan 2013 12:42:55 +0000 (12:42 +0000)]
Remove @version, doxygen seems to parse $id ok

Add callback docs for connection API

11 years agoDecode VSA TLVs, too
Alan T. DeKok [Sat, 19 Jan 2013 14:19:53 +0000 (09:19 -0500)]
Decode VSA TLVs, too

11 years agoMerge pull request #169 from olivierbeytrison/master
Arran Cudbard-Bell [Thu, 17 Jan 2013 07:15:21 +0000 (23:15 -0800)]
Merge pull request #169 from olivierbeytrison/master

Logic was incorrect in cache_add if control:Cache-Merge was set to no

11 years agowrong logic for cache merge
Olivier Beytrison [Thu, 17 Jan 2013 07:12:38 +0000 (08:12 +0100)]
wrong logic for cache merge

11 years agoDynamically resolve dictionary entrys for control attrs
Arran Cudbard-Bell [Wed, 16 Jan 2013 19:44:17 +0000 (19:44 +0000)]
Dynamically resolve dictionary entrys for control attrs

Add control:Cache-Merge, when set to no makes the cache 'wo'

11 years agoFix minor issues
Arran Cudbard-Bell [Wed, 16 Jan 2013 17:06:11 +0000 (17:06 +0000)]
Fix minor issues

11 years agoUpdate LDAP default config
Arran Cudbard-Bell [Wed, 16 Jan 2013 17:04:01 +0000 (17:04 +0000)]
Update LDAP default config

11 years agoSwitch to using explicit template types
Arran Cudbard-Bell [Wed, 16 Jan 2013 14:30:08 +0000 (14:30 +0000)]
Switch to using explicit template types

Add support for copying lists to rlm_cache

Add more sanity checks to rlm_ldap and rlm_cache

Reformat more code in rlm_ldap

11 years agoFixup documentation for valuepair.c
Arran Cudbard-Bell [Tue, 15 Jan 2013 17:58:48 +0000 (17:58 +0000)]
Fixup documentation for valuepair.c

11 years agoUpdate rlm_cache to use the attrmap API
Arran Cudbard-Bell [Tue, 15 Jan 2013 17:49:04 +0000 (17:49 +0000)]
Update rlm_cache to use the attrmap API

Improve rlm_cache debugging

Make copying attributes into current requests dependent on whether the src/dst lists are not the same

11 years agoMinor formatting
Arran Cudbard-Bell [Tue, 15 Jan 2013 17:47:33 +0000 (17:47 +0000)]
Minor formatting

11 years agoUpdate attrmap functions to be more flexible, and add CS to map function from rlm_ldap
Arran Cudbard-Bell [Tue, 15 Jan 2013 17:47:10 +0000 (17:47 +0000)]
Update attrmap functions to be more flexible, and add CS to map function from rlm_ldap

11 years agoFix typo in cache config item name
Arran Cudbard-Bell [Tue, 15 Jan 2013 17:45:09 +0000 (17:45 +0000)]
Fix typo in cache config item name

11 years agoAdd function for printing lists to request debug log
Arran Cudbard-Bell [Tue, 15 Jan 2013 17:42:57 +0000 (17:42 +0000)]
Add function for printing lists to request debug log

11 years agoMerge pull request #166 from olivierbeytrison/master
Arran Cudbard-Bell [Mon, 14 Jan 2013 10:51:47 +0000 (02:51 -0800)]
Merge pull request #166 from olivierbeytrison/master

rlm_cache : Operator not retrieved in cache_verify

11 years agoAdd missing cf_pair_operator to cache_verify
Olivier Beytrison [Mon, 14 Jan 2013 10:48:31 +0000 (11:48 +0100)]
Add missing cf_pair_operator to cache_verify

11 years agoAdd index files for module and client
Arran Cudbard-Bell [Fri, 11 Jan 2013 23:24:48 +0000 (23:24 +0000)]
Add index files for module and client

11 years agoMove license declarations outside of file descriptions
Arran Cudbard-Bell [Fri, 11 Jan 2013 23:17:53 +0000 (23:17 +0000)]
Move license declarations outside of file descriptions

11 years agoDefine HAVE_JSON when generating docs
Arran Cudbard-Bell [Fri, 11 Jan 2013 20:16:16 +0000 (20:16 +0000)]
Define HAVE_JSON when generating docs

11 years agoFix minor formatting issue
Arran Cudbard-Bell [Fri, 11 Jan 2013 20:01:00 +0000 (20:01 +0000)]
Fix minor formatting issue

11 years agoMore doxygen tweaking
Arran Cudbard-Bell [Fri, 11 Jan 2013 19:10:58 +0000 (19:10 +0000)]
More doxygen tweaking

11 years agoAdd documentation to modules.h
Arran Cudbard-Bell [Fri, 11 Jan 2013 15:27:51 +0000 (15:27 +0000)]
Add documentation to modules.h

Add proper return code type rlm_rcode_t, and update signatures of all module functions that return rcodes

11 years agoMerge pull request #163 from alanbuxey/master
Arran Cudbard-Bell [Wed, 9 Jan 2013 23:25:17 +0000 (15:25 -0800)]
Merge pull request #163 from alanbuxey/master

CUI MD5 shouldnt change if User plays with format of their identity  , new F5 dictionary entry

11 years agoadded new dictionary entry
Alan Buxey [Wed, 9 Jan 2013 23:19:50 +0000 (23:19 +0000)]
added new dictionary entry

as per
http://support.f5.com/kb/en-us/solutions/public/11000/400/sol11431.html

11 years agomake CUI MD5 not reliant on case of User-Name
Alan Buxey [Wed, 9 Jan 2013 23:19:35 +0000 (23:19 +0000)]
make CUI MD5 not reliant on case of User-Name

MD5 for CUI would change if User put their name in different case

11 years agoAdd stats on last packet sent / recv for home server
Alan T. DeKok [Tue, 8 Jan 2013 18:14:49 +0000 (13:14 -0500)]
Add stats on last packet sent / recv for home server

11 years agoUpdates for new changes
Alan T. DeKok [Mon, 7 Jan 2013 23:44:35 +0000 (18:44 -0500)]
Updates for new changes

11 years agoBe more graceful about reporting home server state
Alan T. DeKok [Mon, 7 Jan 2013 23:43:51 +0000 (18:43 -0500)]
Be more graceful about reporting home server state

11 years agoAdd "unknown" for home server state
Alan T. DeKok [Mon, 7 Jan 2013 23:12:49 +0000 (18:12 -0500)]
Add "unknown" for home server state

11 years agoAdd documentation for the connection pool API
Arran Cudbard-Bell [Mon, 7 Jan 2013 19:25:17 +0000 (19:25 +0000)]
Add documentation for the connection pool API

Update some weird argument names and field names so they make more sense.

11 years agoMerge pull request #161 from philmayers/sqlnull
Arran Cudbard-Bell [Mon, 7 Jan 2013 16:52:53 +0000 (08:52 -0800)]
Merge pull request #161 from philmayers/sqlnull

specify TARGET for rlm_sql_null

11 years agospecify TARGET for rlm_sql_null
Phil Mayers [Mon, 7 Jan 2013 16:45:50 +0000 (16:45 +0000)]
specify TARGET for rlm_sql_null

11 years agoDon't include references they're too verbose
Arran Cudbard-Bell [Mon, 7 Jan 2013 11:09:46 +0000 (11:09 +0000)]
Don't include references they're too verbose

Define multivalued TAGs properly

11 years agoEnable additional doxygen features
Arran Cudbard-Bell [Mon, 7 Jan 2013 10:51:52 +0000 (10:51 +0000)]
Enable additional doxygen features

11 years agoAs posted to the list
Alan T. DeKok [Fri, 4 Jan 2013 12:59:02 +0000 (07:59 -0500)]
As posted to the list

11 years agoMerge branch 'master' of github.com:FreeRADIUS/freeradius-server
Alan T. DeKok [Fri, 4 Jan 2013 12:55:05 +0000 (07:55 -0500)]
Merge branch 'master' of github.com:FreeRADIUS/freeradius-server

11 years agoFix more null string checks docs_marker_master mail_marker_master
Arran Cudbard-Bell [Wed, 2 Jan 2013 12:31:59 +0000 (12:31 +0000)]
Fix more null string checks

11 years agoMinor fixes in rlm_rest
Arran Cudbard-Bell [Mon, 31 Dec 2012 11:36:35 +0000 (11:36 +0000)]
Minor fixes in rlm_rest

11 years agoUpdate doxygen documentation
Arran Cudbard-Bell [Sun, 30 Dec 2012 23:34:06 +0000 (23:34 +0000)]
Update doxygen documentation

11 years agoinitial support for multi-valued attributes in rlm_cache
Olivier Beytrison [Fri, 21 Dec 2012 14:46:23 +0000 (15:46 +0100)]
initial support for multi-valued attributes in rlm_cache

11 years agoFix warning
Arran Cudbard-Bell [Sun, 30 Dec 2012 12:38:03 +0000 (12:38 +0000)]
Fix warning

11 years agoAdd support for tags to remaining functions in lib/valuepair.c
Arran Cudbard-Bell [Sat, 29 Dec 2012 23:26:56 +0000 (23:26 +0000)]
Add support for tags to remaining functions in lib/valuepair.c

11 years agoAllow TLVs in the standard space, too.
Alan T. DeKok [Fri, 28 Dec 2012 13:35:22 +0000 (08:35 -0500)]
Allow TLVs in the standard space, too.

The next step will be to fix the digest module to use the new
format, and to update the dictionaries.

11 years agoComplain if we can't run radclient
Alan T. DeKok [Fri, 28 Dec 2012 13:26:57 +0000 (08:26 -0500)]
Complain if we can't run radclient

11 years agoRestructure how attributes are packed
Alan T. DeKok [Thu, 27 Dec 2012 17:09:10 +0000 (12:09 -0500)]
Restructure how attributes are packed

so that we can potentially allow TLVs in the standard space

11 years agoSimplify "extended" handling.
Alan T. DeKok [Thu, 27 Dec 2012 13:12:06 +0000 (08:12 -0500)]
Simplify "extended" handling.

"extended", "long-extended" and "evs" types get the flags.extended = 1

The various other code then keys off of "flags.extended", rather than
using the VENDORPEC_EXTENDED hack.

11 years agoRemove old unused code
Alan T. DeKok [Tue, 25 Dec 2012 13:59:23 +0000 (08:59 -0500)]
Remove old unused code

11 years agoCast to quiet compiler
Alan T. DeKok [Tue, 25 Dec 2012 13:58:46 +0000 (08:58 -0500)]
Cast to quiet compiler

11 years agoCasts to quiet compiler
Alan T. DeKok [Tue, 25 Dec 2012 13:56:26 +0000 (08:56 -0500)]
Casts to quiet compiler

11 years agoAlways respect Response-Packet-Type for authentication requests
Arran Cudbard-Bell [Fri, 21 Dec 2012 15:13:11 +0000 (15:13 +0000)]
Always respect Response-Packet-Type for authentication requests

11 years agoMinor cleanups
Alan T. DeKok [Fri, 21 Dec 2012 12:43:52 +0000 (07:43 -0500)]
Minor cleanups

Added documentation on new data types.  Re-arranged dictionaries
to make a bit more sense.

11 years agoMove Message-Authenticator code
Alan T. DeKok [Fri, 21 Dec 2012 12:16:04 +0000 (07:16 -0500)]
Move Message-Authenticator code

from a generic place to a better place

11 years agoCan't compare pairs of two different types
Alan T. DeKok [Fri, 21 Dec 2012 11:54:56 +0000 (06:54 -0500)]
Can't compare pairs of two different types

11 years agoAdd descriptive error messages
Alan T. DeKok [Thu, 20 Dec 2012 19:07:47 +0000 (14:07 -0500)]
Add descriptive error messages

11 years agoAdd missing "break"
Alan T. DeKok [Thu, 20 Dec 2012 19:07:09 +0000 (14:07 -0500)]
Add missing "break"

11 years agoDocument new types
Alan T. DeKok [Thu, 20 Dec 2012 18:30:40 +0000 (13:30 -0500)]
Document new types

11 years agoForcibly clear out prefixes in ipv4prefix
Alan T. DeKok [Thu, 20 Dec 2012 18:25:46 +0000 (13:25 -0500)]
Forcibly clear out prefixes in ipv4prefix

If the other guy sends 127.0.0.1/8, it really means 127.0.0.0/8

11 years agoFix typo in ipv4prefix size
Alan T. DeKok [Thu, 20 Dec 2012 18:25:29 +0000 (13:25 -0500)]
Fix typo in ipv4prefix size

11 years agoEnforce dots in realm only if a realm exists
Alan T. DeKok [Thu, 20 Dec 2012 14:44:47 +0000 (09:44 -0500)]
Enforce dots in realm only if a realm exists

Otherwise the historic "bob / bob" test user doesn't work

11 years agoAdded "++" to keep in sync with src/include/token.h
Alan T. DeKok [Thu, 20 Dec 2012 14:44:15 +0000 (09:44 -0500)]
Added "++" to keep in sync with src/include/token.h

This is why new enum fields are added at the END of the enum!

11 years agoAdd IPv4prefix data type for RFC 6572
Alan T. DeKok [Thu, 20 Dec 2012 14:18:41 +0000 (09:18 -0500)]
Add IPv4prefix data type for RFC 6572

11 years agoDictionary for RFC 6572
Alan T. DeKok [Thu, 20 Dec 2012 13:00:11 +0000 (08:00 -0500)]
Dictionary for RFC 6572

11 years agoDictionary for RFC 6519
Alan T. DeKok [Thu, 20 Dec 2012 12:45:42 +0000 (07:45 -0500)]
Dictionary for RFC 6519

11 years agoSETFD for O_NONBLOCK
Alan T. DeKok [Thu, 20 Dec 2012 12:08:31 +0000 (07:08 -0500)]
SETFD for O_NONBLOCK

From Debian Bug #696250

11 years agoMerge pull request #158 from olivierbeytrison/master
Arran Cudbard-Bell [Thu, 20 Dec 2012 07:19:59 +0000 (23:19 -0800)]
Merge pull request #158 from olivierbeytrison/master

missing space in rlm_eap/mem.c

11 years agofix-typo
Olivier Beytrison [Thu, 20 Dec 2012 06:59:22 +0000 (07:59 +0100)]
fix-typo

11 years agoSet Post-Proxy-Type Reject if the request was rejected by the proxy server
Arran Cudbard-Bell [Wed, 19 Dec 2012 18:50:57 +0000 (18:50 +0000)]
Set Post-Proxy-Type Reject if the request was rejected by the proxy server

11 years agoAttempt to reconnect all the connections
Arran Cudbard-Bell [Tue, 18 Dec 2012 11:43:44 +0000 (11:43 +0000)]
Attempt to reconnect all the connections

Attempt to reconnect on modify

11 years agoUse async call so we can timeout on ldap modifications
Arran Cudbard-Bell [Sat, 15 Dec 2012 14:24:25 +0000 (14:24 +0000)]
Use async call so we can timeout on ldap modifications

11 years agoFix condition
Arran Cudbard-Bell [Fri, 14 Dec 2012 18:50:12 +0000 (18:50 +0000)]
Fix condition

11 years agoFix typo
Arran Cudbard-Bell [Fri, 14 Dec 2012 18:36:05 +0000 (18:36 +0000)]
Fix typo

11 years agoAllow for multiple inserts in one transaction.
Alan T. DeKok [Fri, 14 Dec 2012 16:13:29 +0000 (17:13 +0100)]
Allow for multiple inserts in one transaction.

Patch from Uwe Meyer-Gruhl

11 years agoNew target to check for compiler warnings
Alan T. DeKok [Fri, 14 Dec 2012 13:02:53 +0000 (08:02 -0500)]
New target to check for compiler warnings

11 years agoFix compiler warnings
Alan T. DeKok [Fri, 14 Dec 2012 10:43:45 +0000 (05:43 -0500)]
Fix compiler warnings

11 years agoFix compiler warnings
Alan T. DeKok [Fri, 14 Dec 2012 10:39:24 +0000 (05:39 -0500)]
Fix compiler warnings

11 years agoFix compiler warning
Alan T. DeKok [Fri, 14 Dec 2012 10:25:45 +0000 (05:25 -0500)]
Fix compiler warning

11 years agoMove compile-time #warning to comment
Alan T. DeKok [Fri, 14 Dec 2012 10:25:07 +0000 (05:25 -0500)]
Move compile-time #warning to comment

11 years agoMove more messages outside of locks
Arran Cudbard-Bell [Thu, 13 Dec 2012 12:31:19 +0000 (12:31 +0000)]
Move more messages outside of locks

11 years agoDistinguish between idle and spare connections
Arran Cudbard-Bell [Wed, 12 Dec 2012 14:14:15 +0000 (14:14 +0000)]
Distinguish between idle and spare connections

Track last throttled time and use it to limit error messages

Add connection opened/failed messages

11 years agoFix duplicate connection close messages
Arran Cudbard-Bell [Wed, 12 Dec 2012 11:18:20 +0000 (11:18 +0000)]
Fix duplicate connection close messages

11 years agoAdd more debugging for when we bail out of spawning a new connection
Arran Cudbard-Bell [Wed, 12 Dec 2012 10:41:51 +0000 (10:41 +0000)]
Add more debugging for when we bail out of spawning a new connection

11 years agoIgnore right operand for !*
Arran Cudbard-Bell [Tue, 11 Dec 2012 22:17:13 +0000 (22:17 +0000)]
Ignore right operand for !*

11 years agoReturn noop if we did no work
Arran Cudbard-Bell [Tue, 11 Dec 2012 21:55:17 +0000 (21:55 +0000)]
Return noop if we did no work

11 years agoAdd missing module prefix to some log messages
Arran Cudbard-Bell [Tue, 11 Dec 2012 21:50:03 +0000 (21:50 +0000)]
Add missing module prefix to some log messages

11 years agoOnly allow ANY for !*
Arran Cudbard-Bell [Tue, 11 Dec 2012 16:26:49 +0000 (16:26 +0000)]
Only allow ANY for !*

11 years agoFix compiler warnings
Alan T. DeKok [Tue, 11 Dec 2012 15:22:53 +0000 (10:22 -0500)]
Fix compiler warnings

11 years agoPass msg_id into ldap_result
Arran Cudbard-Bell [Tue, 11 Dec 2012 14:08:06 +0000 (14:08 +0000)]
Pass msg_id into ldap_result

11 years agoRevert changes to LDAP bind
Arran Cudbard-Bell [Tue, 11 Dec 2012 13:39:55 +0000 (13:39 +0000)]
Revert changes to LDAP bind

11 years agoAlready have an ldap_errno
Arran Cudbard-Bell [Tue, 11 Dec 2012 12:46:31 +0000 (12:46 +0000)]
Already have an ldap_errno

11 years agoAdd warning about replacing multiple attributes
Arran Cudbard-Bell [Tue, 11 Dec 2012 12:09:02 +0000 (12:09 +0000)]
Add warning about replacing multiple attributes

Use zero length array for wildcard deletes

11 years agoMissed & operator
Arran Cudbard-Bell [Tue, 11 Dec 2012 11:28:02 +0000 (11:28 +0000)]
Missed & operator

11 years agoMore prettyfying
Arran Cudbard-Bell [Tue, 11 Dec 2012 11:21:56 +0000 (11:21 +0000)]
More prettyfying

11 years agoChange more return code checks to use != LDAP_SUCCESS
Arran Cudbard-Bell [Tue, 11 Dec 2012 11:15:27 +0000 (11:15 +0000)]
Change more return code checks to use != LDAP_SUCCESS

11 years agoShould allocate MAX_ATTRMAP + 1 for pointers
Arran Cudbard-Bell [Mon, 10 Dec 2012 23:44:43 +0000 (23:44 +0000)]
Should allocate MAX_ATTRMAP + 1 for pointers