]> git.ipfire.org Git - thirdparty/freeradius-server.git/log
thirdparty/freeradius-server.git
13 years agoNew checkrad version patch (Juniper) 144/head
dragon9k [Fri, 7 Dec 2012 17:29:01 +0000 (15:29 -0200)] 
New checkrad version patch (Juniper)

I would like to submit a new version of this Patch for FR 2.20, which uses snmpget instead of snmpwalk (to increase performance).

It also fixes a problem with checkrad complaining about lack of $ in the "out" variable.

13 years agoFix typo
Alan T. DeKok [Fri, 7 Dec 2012 16:54:22 +0000 (11:54 -0500)] 
Fix typo

13 years agoAdded preliminary WITH_EDIR again.
Alan T. DeKok [Fri, 7 Dec 2012 15:10:05 +0000 (10:10 -0500)] 
Added preliminary WITH_EDIR again.

Based on a patch from Olivier Beytrison

13 years agoDon't link to modules, it breaks things
Arran Cudbard-Bell [Thu, 6 Dec 2012 21:26:48 +0000 (21:26 +0000)] 
Don't link to modules, it breaks things

13 years agoMerge pull request #143 from tobiasbrunner/eap-ttls-avp-length
Alan DeKok [Thu, 6 Dec 2012 16:55:46 +0000 (08:55 -0800)] 
Merge pull request #143 from tobiasbrunner/eap-ttls-avp-length

Allow EAP-Message APVs > 253 octets in EAP-TTLS module

13 years agoMore debugging improvements
Arran Cudbard-Bell [Wed, 5 Dec 2012 23:22:59 +0000 (23:22 +0000)] 
More debugging improvements

Print EAP session 'state' value in more places, so we can track sessions
easily in the debug log.

13 years agoAllow EAP-Message APVs > 253 octets in EAP-TTLS module 143/head
Tobias Brunner [Wed, 5 Dec 2012 11:51:31 +0000 (12:51 +0100)] 
Allow EAP-Message APVs > 253 octets in EAP-TTLS module

According to RFC 5281, section 11.2.1 tunneled EAP packets that are
larger than 253 octets MUST be contained in a single EAP-Message AVP.

Also fixed the debug statement.

13 years agoDie attrmap die
Arran Cudbard-Bell [Wed, 5 Dec 2012 13:49:58 +0000 (13:49 +0000)] 
Die attrmap die

13 years agoFix suppression of blocked thread messages
Alan T. DeKok [Wed, 5 Dec 2012 12:28:24 +0000 (07:28 -0500)] 
Fix suppression of blocked thread messages

So that it's once per second

13 years agoMinor debugging tweaks
Arran Cudbard-Bell [Wed, 5 Dec 2012 12:15:29 +0000 (12:15 +0000)] 
Minor debugging tweaks

13 years agoWe don't know the expanded value until after calling pairxlatmove
Arran Cudbard-Bell [Wed, 5 Dec 2012 11:08:48 +0000 (11:08 +0000)] 
We don't know the expanded value until after calling pairxlatmove

13 years agoConvert strings and octet strings of 8 bytes or less to integers too
Arran Cudbard-Bell [Wed, 5 Dec 2012 00:03:45 +0000 (00:03 +0000)] 
Convert strings and octet strings of 8 bytes or less to integers too

13 years agoRemove last traces of do_xlat from rlm_ldap, add %{xlat:<attribute>} expansion
Arran Cudbard-Bell [Tue, 4 Dec 2012 23:30:14 +0000 (23:30 +0000)] 
Remove last traces of do_xlat from rlm_ldap, add %{xlat:<attribute>} expansion

13 years agoRemove completely pointless strcpys
Arran Cudbard-Bell [Tue, 4 Dec 2012 22:51:32 +0000 (22:51 +0000)] 
Remove completely pointless strcpys

13 years agoIncrease priority of all connection open/close messages in connection pool to L_INFO
Arran Cudbard-Bell [Tue, 4 Dec 2012 10:12:44 +0000 (10:12 +0000)] 
Increase priority of all connection open/close messages in connection pool to L_INFO

Decrease the priority of all database open/close messages to debug

13 years agoFix memory leak in radius_get_vp
Arran Cudbard-Bell [Mon, 3 Dec 2012 21:28:31 +0000 (21:28 +0000)] 
Fix memory leak in radius_get_vp

13 years agoPatch freeradius.monitrc file so it works out of the box with debian/ubuntu
Arran Cudbard-Bell [Mon, 3 Dec 2012 18:57:49 +0000 (18:57 +0000)] 
Patch freeradius.monitrc file so it works out of the box with debian/ubuntu

13 years agoRemove another invalid assert
Arran Cudbard-Bell [Mon, 3 Dec 2012 13:07:24 +0000 (13:07 +0000)] 
Remove another invalid assert

13 years agoRemove config item for num_pings_to_alive, it's a duplicate of num_answers_to_alive...
Arran Cudbard-Bell [Mon, 3 Dec 2012 13:05:27 +0000 (13:05 +0000)] 
Remove config item for num_pings_to_alive, it's a duplicate of num_answers_to_alive and can mess up the value

13 years agoAlways use fcntl for file locking
Arran Cudbard-Bell [Sun, 2 Dec 2012 20:57:34 +0000 (20:57 +0000)] 
Always use fcntl for file locking

13 years agoMove listen sections into default server
Arran Cudbard-Bell [Sun, 2 Dec 2012 17:50:32 +0000 (17:50 +0000)] 
Move listen sections into default server

13 years agoRemove invalid asserts
Arran Cudbard-Bell [Sun, 2 Dec 2012 15:06:11 +0000 (15:06 +0000)] 
Remove invalid asserts

13 years agoMark child state as done if we couldnt send the CoA-Request
Arran Cudbard-Bell [Sun, 2 Dec 2012 14:26:37 +0000 (14:26 +0000)] 
Mark child state as done if we couldnt send the CoA-Request

13 years agoMove code that modifies request when looking up home_server into its own function
Arran Cudbard-Bell [Sun, 2 Dec 2012 14:12:54 +0000 (14:12 +0000)] 
Move code that modifies request when looking up home_server into its own function

13 years agoHandle empty lists better
Arran Cudbard-Bell [Sun, 2 Dec 2012 12:39:10 +0000 (12:39 +0000)] 
Handle empty lists better

13 years agoTrim off newlines and returns
Arran Cudbard-Bell [Sun, 2 Dec 2012 11:03:16 +0000 (11:03 +0000)] 
Trim off newlines and returns

13 years agoRemove release arg from linker (causes issues on linux)
Arran Cudbard-Bell [Sun, 2 Dec 2012 10:52:19 +0000 (10:52 +0000)] 
Remove release arg from linker (causes issues on linux)

13 years agoAdd module failure message to rlm_exec
Arran Cudbard-Bell [Sun, 2 Dec 2012 10:24:51 +0000 (10:24 +0000)] 
Add module failure message to rlm_exec

13 years agoMore consistent
Arran Cudbard-Bell [Sun, 2 Dec 2012 00:12:02 +0000 (00:12 +0000)] 
More consistent

13 years agoWe'll figure something out for attribute comparison debugging later...
Arran Cudbard-Bell [Sat, 1 Dec 2012 23:44:43 +0000 (23:44 +0000)] 
We'll figure something out for attribute comparison debugging later...

13 years agoAdd even more debugging messages, and a sane check for group membership based on...
Arran Cudbard-Bell [Sat, 1 Dec 2012 23:27:36 +0000 (23:27 +0000)] 
Add even more debugging messages, and a sane check for group membership based on attributes

13 years agogroupcmp debug messages should probably include the module and instance name
Arran Cudbard-Bell [Sat, 1 Dec 2012 22:39:14 +0000 (22:39 +0000)] 
groupcmp debug messages should probably include the module and instance name

13 years agoMinor debug message tweaks
Arran Cudbard-Bell [Sat, 1 Dec 2012 22:13:28 +0000 (22:13 +0000)] 
Minor debug message tweaks

13 years agoMake rlm_ldap debug messages suck less
Arran Cudbard-Bell [Sat, 1 Dec 2012 21:53:18 +0000 (21:53 +0000)] 
Make rlm_ldap debug messages suck less

13 years agoHard wrap at 80 coolumns for legacy editors
Arran Cudbard-Bell [Sat, 1 Dec 2012 19:52:09 +0000 (19:52 +0000)] 
Hard wrap at 80 coolumns for legacy editors

13 years agoRename groupmemb_filt
Arran Cudbard-Bell [Sat, 1 Dec 2012 19:33:57 +0000 (19:33 +0000)] 
Rename groupmemb_filt

13 years agoWrite group filter expansion to the correct buffer
Arran Cudbard-Bell [Sat, 1 Dec 2012 19:33:08 +0000 (19:33 +0000)] 
Write group filter expansion to the correct buffer

13 years agoQuieten some sql warnings
Arran Cudbard-Bell [Sat, 1 Dec 2012 18:03:34 +0000 (18:03 +0000)] 
Quieten some sql warnings

13 years agoVPT should be const in callback
Arran Cudbard-Bell [Sat, 1 Dec 2012 17:59:29 +0000 (17:59 +0000)] 
VPT should be const in callback

13 years agoFix return of radius_get_vp
Arran Cudbard-Bell [Sat, 1 Dec 2012 17:54:19 +0000 (17:54 +0000)] 
Fix return of radius_get_vp

Use radius_pairmove, adds fancy debugging information

13 years agoDont fail if the update section is specified but empty
Arran Cudbard-Bell [Sat, 1 Dec 2012 17:31:50 +0000 (17:31 +0000)] 
Dont fail if the update section is specified but empty

13 years agoCheck for JSON-C library as well
Arran Cudbard-Bell [Sat, 1 Dec 2012 16:19:56 +0000 (16:19 +0000)] 
Check for JSON-C library as well

13 years agoDont segfault when destroying connection pool when we don't have a 'pool' section
Arran Cudbard-Bell [Sat, 1 Dec 2012 14:41:09 +0000 (14:41 +0000)] 
Dont segfault when destroying connection pool when we don't have a 'pool' section

13 years agoAttrs array should be const char * const *
Arran Cudbard-Bell [Sat, 1 Dec 2012 14:13:54 +0000 (14:13 +0000)] 
Attrs array should be const char * const *

13 years agoRemove unused variable
Arran Cudbard-Bell [Sat, 1 Dec 2012 14:09:04 +0000 (14:09 +0000)] 
Remove unused variable

13 years agoradius_xlat should return size_t
Arran Cudbard-Bell [Sat, 1 Dec 2012 12:34:28 +0000 (12:34 +0000)] 
radius_xlat should return size_t

13 years agoFixup missed bool conversions
Arran Cudbard-Bell [Sat, 1 Dec 2012 12:29:33 +0000 (12:29 +0000)] 
Fixup missed bool conversions

13 years agoIgnore test files
Arran Cudbard-Bell [Sat, 1 Dec 2012 12:29:20 +0000 (12:29 +0000)] 
Ignore test files

13 years agoConvert spaces to tabs
Arran Cudbard-Bell [Fri, 30 Nov 2012 17:18:53 +0000 (17:18 +0000)] 
Convert spaces to tabs

13 years agoSwitch to using new config based attribute map
Arran Cudbard-Bell [Fri, 30 Nov 2012 17:11:40 +0000 (17:11 +0000)] 
Switch to using new config based attribute map

13 years agoDeclare radius_xlat return as size_t
Arran Cudbard-Bell [Fri, 30 Nov 2012 15:54:47 +0000 (15:54 +0000)] 
Declare radius_xlat return as size_t

13 years agoAdd attribute mapping functions to valuepair.c, and refactor previous list/request...
Arran Cudbard-Bell [Fri, 30 Nov 2012 15:53:56 +0000 (15:53 +0000)] 
Add attribute mapping functions to valuepair.c, and refactor previous list/request resolution functions

13 years agoDA should be const in pairalloc
Arran Cudbard-Bell [Fri, 30 Nov 2012 15:51:41 +0000 (15:51 +0000)] 
DA should be const in pairalloc

13 years agoAdd cf_pair_value_type function to return whether the string was double or single...
Arran Cudbard-Bell [Fri, 30 Nov 2012 15:46:23 +0000 (15:46 +0000)] 
Add cf_pair_value_type function to return whether the string was double or single quoted

13 years agoRemove 'did work' warning, as it'll always be triggered if you're just using the...
Arran Cudbard-Bell [Sun, 25 Nov 2012 14:41:37 +0000 (14:41 +0000)] 
Remove 'did work' warning, as it'll always be triggered if you're just using the module for group lookups

Print out DN we resolved for the user

13 years agoFix typo in comparison, so that we check the return of write()
Alan T. DeKok [Sat, 1 Dec 2012 00:38:53 +0000 (19:38 -0500)] 
Fix typo in comparison, so that we check the return of write()

13 years agoFix compiler warnings
Alan T. DeKok [Sat, 1 Dec 2012 00:36:24 +0000 (19:36 -0500)] 
Fix compiler warnings

13 years agoUnsigned integer for compiler warning
Alan T. DeKok [Sat, 1 Dec 2012 00:32:16 +0000 (19:32 -0500)] 
Unsigned integer for compiler warning

13 years agoSimplify rules
Alan T. DeKok [Sat, 1 Dec 2012 00:30:59 +0000 (19:30 -0500)] 
Simplify rules

13 years agoRemove unused variables
Alan T. DeKok [Sat, 1 Dec 2012 00:30:49 +0000 (19:30 -0500)] 
Remove unused variables

13 years agoMerge branch 'master' of github.com:FreeRADIUS/freeradius-server
Alan T. DeKok [Thu, 29 Nov 2012 13:53:39 +0000 (08:53 -0500)] 
Merge branch 'master' of github.com:FreeRADIUS/freeradius-server

13 years agoMerge pull request #137 from alanbuxey/master
Arran Cudbard-Bell [Wed, 28 Nov 2012 21:47:20 +0000 (13:47 -0800)] 
Merge pull request #137 from alanbuxey/master

adjusted filter and improved performance

13 years agooptimised and adjusted filter 137/head
Alan Buxey [Wed, 28 Nov 2012 21:42:48 +0000 (21:42 +0000)] 
optimised and adjusted filter

no longer case insensitive and not storing match

13 years agoMerge pull request #136 from tobiasbrunner/eap-sim-identity
Arran Cudbard-Bell [Wed, 28 Nov 2012 16:30:21 +0000 (08:30 -0800)] 
Merge pull request #136 from tobiasbrunner/eap-sim-identity

Properly parse identity in EAP-SIM module

13 years agoMake rbtree's thread-safe.
Alan T. DeKok [Wed, 28 Nov 2012 15:23:06 +0000 (10:23 -0500)] 
Make rbtree's thread-safe.

The create function now has a flag about mutexes.  If set,
all reads/writes are protected by the mutex

13 years agoProperly parse identity in EAP-SIM module 136/head
Tobias Brunner [Wed, 28 Nov 2012 10:30:21 +0000 (11:30 +0100)] 
Properly parse identity in EAP-SIM module

The encoding is given in RFC 4186, section 10.8.

13 years agoAdd some missed src file reps
Arran Cudbard-Bell [Tue, 27 Nov 2012 22:52:25 +0000 (22:52 +0000)] 
Add some missed src file reps

13 years agoInstall all SQL config files by default (they're needed by rlm_sql_null)
Arran Cudbard-Bell [Tue, 27 Nov 2012 22:45:03 +0000 (22:45 +0000)] 
Install all SQL config files by default (they're needed by rlm_sql_null)

13 years agoSwap STR2CST macro (no longer exists) for StringValuePtr
Arran Cudbard-Bell [Tue, 27 Nov 2012 22:06:46 +0000 (22:06 +0000)] 
Swap STR2CST macro (no longer exists) for StringValuePtr

13 years agoMore ruby configure fixes
Arran Cudbard-Bell [Tue, 27 Nov 2012 21:59:16 +0000 (21:59 +0000)] 
More ruby configure fixes

13 years agoMake rlm_ruby build for >= ruby 1.9.1
Arran Cudbard-Bell [Tue, 27 Nov 2012 21:54:12 +0000 (21:54 +0000)] 
Make rlm_ruby build for >= ruby 1.9.1

13 years agoFix indentation
Arran Cudbard-Bell [Tue, 27 Nov 2012 21:46:35 +0000 (21:46 +0000)] 
Fix indentation

13 years agoAdd boilermaker files for rlm_eap types
Arran Cudbard-Bell [Tue, 27 Nov 2012 21:46:11 +0000 (21:46 +0000)] 
Add boilermaker files for rlm_eap types

13 years agoWITH_TLS not defined if we don't have openssl
Arran Cudbard-Bell [Tue, 27 Nov 2012 20:45:02 +0000 (20:45 +0000)] 
WITH_TLS not defined if we don't have openssl

13 years agoDo globally writable checks on directories, too
Alan T. DeKok [Tue, 27 Nov 2012 16:15:14 +0000 (11:15 -0500)] 
Do globally writable checks on directories, too

13 years agoMore dependencies
Alan T. DeKok [Mon, 26 Nov 2012 15:28:48 +0000 (10:28 -0500)] 
More dependencies

13 years agoUse %s, it's better
Alan T. DeKok [Mon, 26 Nov 2012 15:11:31 +0000 (10:11 -0500)] 
Use %s, it's better

13 years agoFix check for alt include dir
Arran Cudbard-Bell [Sun, 25 Nov 2012 09:17:58 +0000 (09:17 +0000)] 
Fix check for alt include dir

13 years agoShould be AC_MSG_WARN
Arran Cudbard-Bell [Sat, 24 Nov 2012 21:48:02 +0000 (21:48 +0000)] 
Should be AC_MSG_WARN

13 years agoMinor fix
Arran Cudbard-Bell [Sat, 24 Nov 2012 18:52:19 +0000 (18:52 +0000)] 
Minor fix

13 years agoLook at multiple hash keys for header location
Arran Cudbard-Bell [Sat, 24 Nov 2012 18:51:27 +0000 (18:51 +0000)] 
Look at multiple hash keys for header location

13 years agoUse the non deprecated method of getting ruby config
Arran Cudbard-Bell [Sat, 24 Nov 2012 17:29:02 +0000 (17:29 +0000)] 
Use the non deprecated method of getting ruby config

13 years agoWe dont need to apply the sql patch anymore
Arran Cudbard-Bell [Sat, 24 Nov 2012 16:46:06 +0000 (16:46 +0000)] 
We dont need to apply the sql patch anymore

13 years agoFixup perl configure script
Arran Cudbard-Bell [Sat, 24 Nov 2012 16:33:39 +0000 (16:33 +0000)] 
Fixup perl configure script

13 years agoMove m4 includes for rlm_rest
Arran Cudbard-Bell [Sat, 24 Nov 2012 15:23:12 +0000 (15:23 +0000)] 
Move m4 includes for rlm_rest

13 years agoFixup ruby configure script
Arran Cudbard-Bell [Sat, 24 Nov 2012 15:18:52 +0000 (15:18 +0000)] 
Fixup ruby configure script

13 years agoReorganise SQL files
Arran Cudbard-Bell [Sat, 24 Nov 2012 12:42:33 +0000 (12:42 +0000)] 
Reorganise SQL files

Set cui to default to rlm_sql_null so that we can enable it by default

13 years agoEAP flavours need libfreeradius-eap as a prerequisite so they're linked against it
Arran Cudbard-Bell [Fri, 23 Nov 2012 16:59:36 +0000 (16:59 +0000)] 
EAP flavours need libfreeradius-eap as a prerequisite so they're linked against it

13 years agoMinor installation fixes
Arran Cudbard-Bell [Fri, 23 Nov 2012 14:55:48 +0000 (14:55 +0000)] 
Minor installation fixes

Link against json-c if available

13 years agoRemove files which are now dynamically generated
Arran Cudbard-Bell [Fri, 23 Nov 2012 14:40:12 +0000 (14:40 +0000)] 
Remove files which are now dynamically generated

13 years agoFix binary path
Arran Cudbard-Bell [Fri, 23 Nov 2012 14:31:52 +0000 (14:31 +0000)] 
Fix binary path

13 years agoMinor style issues in radiusd.mk
Arran Cudbard-Bell [Fri, 23 Nov 2012 14:21:27 +0000 (14:21 +0000)] 
Minor style issues in radiusd.mk

13 years agoAdd version definitions to installed headers
Arran Cudbard-Bell [Fri, 23 Nov 2012 13:51:12 +0000 (13:51 +0000)] 
Add version definitions to installed headers

Fix up displaying version in other utilities

13 years agoAs posted to the list
Alan T. DeKok [Thu, 22 Nov 2012 15:46:43 +0000 (10:46 -0500)] 
As posted to the list

13 years agoNope. That didn't work.
Alan T. DeKok [Thu, 22 Nov 2012 16:50:57 +0000 (11:50 -0500)] 
Nope.  That didn't work.

newXS has to be after perl_parse

13 years agoBe more forgiving about loaded modules
Alan T. DeKok [Thu, 22 Nov 2012 14:20:20 +0000 (09:20 -0500)] 
Be more forgiving about loaded modules

If they don't exist, don't complain

13 years agoRe-order directories for sanity
Alan T. DeKok [Thu, 22 Nov 2012 14:14:54 +0000 (09:14 -0500)] 
Re-order directories for sanity

installable files are in ${BUILD}/bin and ${BUILD/lib
ones which can be run from the build tree are ${BUILD}/bin/local

It's not perfect, but it seems to work for now.

13 years agoAdvance VP pointer when copying AVP lists to perl hashes
Arran Cudbard-Bell [Thu, 22 Nov 2012 13:49:10 +0000 (13:49 +0000)] 
Advance VP pointer when copying AVP lists to perl hashes

13 years agoRenamed checkrad
Alan T. DeKok [Thu, 22 Nov 2012 13:06:55 +0000 (08:06 -0500)] 
Renamed checkrad

13 years agoUse local path, not full path
Alan T. DeKok [Thu, 22 Nov 2012 13:05:51 +0000 (08:05 -0500)] 
Use local path, not full path