]> git.ipfire.org Git - thirdparty/freeradius-server.git/log
thirdparty/freeradius-server.git
13 years agoPrint out src ip address and port as well 129/head
Arran Cudbard-Bell [Sat, 10 Nov 2012 18:50:05 +0000 (18:50 +0000)] 
Print out src ip address and port as well

13 years agoAllow src ipaddr to be set on a per client basis
Arran Cudbard-Bell [Sat, 10 Nov 2012 18:49:40 +0000 (18:49 +0000)] 
Allow src ipaddr to be set on a per client basis

13 years agoUpdate raddb/README.rst
Arran Cudbard-Bell [Fri, 9 Nov 2012 08:32:30 +0000 (08:32 +0000)] 
Update raddb/README.rst

13 years agoFormatting fixes
Arran Cudbard-Bell [Thu, 8 Nov 2012 16:21:55 +0000 (16:21 +0000)] 
Formatting fixes

13 years agoFix typo
Arran Cudbard-Bell [Thu, 8 Nov 2012 08:06:06 +0000 (08:06 +0000)] 
Fix typo

13 years agoMerge pull request #127 from mcnewton/fixups
Alan DeKok [Wed, 7 Nov 2012 22:54:03 +0000 (14:54 -0800)] 
Merge pull request #127 from mcnewton/fixups

line endings and radmin compile

13 years agobuild rlm_dhcp with BOILER=yes 127/head
Matthew Newton [Wed, 7 Nov 2012 22:45:47 +0000 (22:45 +0000)] 
build rlm_dhcp with BOILER=yes

13 years agomake radmin compile with BOILER=yes
Matthew Newton [Wed, 7 Nov 2012 22:14:31 +0000 (22:14 +0000)] 
make radmin compile with BOILER=yes

13 years agoauto line ending and Id fixups
Matthew Newton [Wed, 7 Nov 2012 22:11:19 +0000 (22:11 +0000)] 
auto line ending and Id fixups

13 years agoUpdate output_list after creating coa request
Alan T. DeKok [Wed, 7 Nov 2012 21:40:21 +0000 (16:40 -0500)] 
Update output_list after creating coa request

13 years agoCreate coa / disconnect when it's referenced
Alan T. DeKok [Wed, 7 Nov 2012 20:36:51 +0000 (15:36 -0500)] 
Create coa / disconnect when it's referenced

13 years agoFix issue between boilermake, gcc, and perl compiler flags
Arran Cudbard-Bell [Wed, 7 Nov 2012 19:12:14 +0000 (19:12 +0000)] 
Fix issue between boilermake, gcc, and perl compiler flags

13 years agoDon't print out commands we run
Alan T. DeKok [Wed, 7 Nov 2012 15:43:34 +0000 (10:43 -0500)] 
Don't print out commands we run

13 years agoRemove dependency on directories for installation
Alan T. DeKok [Wed, 7 Nov 2012 15:37:41 +0000 (10:37 -0500)] 
Remove dependency on directories for installation

just create the directory

13 years agoRemove dhcp.c from sources list
Arran Cudbard-Bell [Wed, 7 Nov 2012 15:27:41 +0000 (15:27 +0000)] 
Remove dhcp.c from sources list

13 years agoA run-time error is an error, not an assert
Alan T. DeKok [Wed, 7 Nov 2012 14:14:26 +0000 (09:14 -0500)] 
A run-time error is an error, not an assert

13 years agoFixup .gitignore files to ignore more things
Arran Cudbard-Bell [Wed, 7 Nov 2012 13:09:34 +0000 (13:09 +0000)] 
Fixup .gitignore files to ignore more things

13 years agoRemove old feature defines from src/include/radiusd.h
Arran Cudbard-Bell [Wed, 7 Nov 2012 13:01:36 +0000 (13:01 +0000)] 
Remove old feature defines from src/include/radiusd.h

13 years agoUpdate boiler make build system to generate dynamic headers
Arran Cudbard-Bell [Wed, 7 Nov 2012 13:01:03 +0000 (13:01 +0000)] 
Update boiler make build system to generate dynamic headers

13 years agoAdd features template
Arran Cudbard-Bell [Tue, 6 Nov 2012 21:57:11 +0000 (21:57 +0000)] 
Add features template

13 years agoAdd some additional defines to version output
Arran Cudbard-Bell [Tue, 6 Nov 2012 15:12:07 +0000 (15:12 +0000)] 
Add some additional defines to version output

13 years agoMove static feature defines from radiusd.h to features-h and use them as a template...
Arran Cudbard-Bell [Tue, 6 Nov 2012 14:40:54 +0000 (14:40 +0000)] 
Move static feature defines from radiusd.h to features-h and use them as a template for features.h as a temporary fix

Use -imacros to make features.h available everywhere

Commit missed autoconf.h.in file to include WITH_TCP and WITH_THREADS

13 years agoFixed typo in calculation of size of available buffer.
Vladimir Lettiev [Tue, 6 Nov 2012 08:21:21 +0000 (12:21 +0400)] 
Fixed typo in calculation of size of available buffer.

This resolves issue when $INCLUDE directive ignores files with
relative path.

13 years agoMerge pull request #126 from arr2036/autoconf_fellation
Arran Cudbard-Bell [Tue, 6 Nov 2012 12:25:31 +0000 (04:25 -0800)] 
Merge pull request #126 from arr2036/autoconf_fellation

Autoconf fellation

13 years agoFix typo that meant --with-ascend-binary=yes didn't set WITH_ASCEND_BINDARY 126/head
Arran Cudbard-Bell [Tue, 6 Nov 2012 12:10:06 +0000 (12:10 +0000)] 
Fix typo that meant --with-ascend-binary=yes didn't set WITH_ASCEND_BINDARY

Use autoconf to set WITH_TCP value, and write WITH_TCP to autoconf.h (and therefore features.h)

Write WITH_THREADS to autoconf.h (and therefore features.h)

13 years agoRemove redundant #include <freeradius-devel/autoconf.h>
Arran Cudbard-Bell [Tue, 6 Nov 2012 09:54:06 +0000 (09:54 +0000)] 
Remove redundant #include <freeradius-devel/autoconf.h>

13 years agoMake autoconf.h available everywhere implicitly using -imacros
Arran Cudbard-Bell [Mon, 5 Nov 2012 20:41:51 +0000 (20:41 +0000)] 
Make autoconf.h available everywhere implicitly using -imacros

13 years agoFix redefinition issues by undefining conflicting defines if were building a module
Arran Cudbard-Bell [Mon, 5 Nov 2012 20:38:25 +0000 (20:38 +0000)] 
Fix redefinition issues by undefining conflicting defines if were building a module

13 years agoSubstitute autoconf defines in missing.h and tls.h at build time to avoid including...
Arran Cudbard-Bell [Mon, 5 Nov 2012 20:20:11 +0000 (20:20 +0000)] 
Substitute autoconf defines in missing.h and tls.h at build time to avoid including autoconf.h

Move some function checks from libradius.h to missing.h

Rename ASCEND_BINARY to WITH_ASCEND_BINARY so it gets copied to features.h

13 years agoBasic language definition for bbedit
Arran Cudbard-Bell [Sun, 4 Nov 2012 17:40:06 +0000 (17:40 +0000)] 
Basic language definition for bbedit

13 years agoEnable experimental module build on --enable-developer
Arran Cudbard-Bell [Sat, 3 Nov 2012 21:43:50 +0000 (21:43 +0000)] 
Enable experimental module build on --enable-developer

13 years agoAdd missing rlm_dhcp module
Arran Cudbard-Bell [Sat, 3 Nov 2012 21:43:04 +0000 (21:43 +0000)] 
Add missing rlm_dhcp module

13 years agoRemove acct_unique from raddb makefile
Arran Cudbard-Bell [Sat, 3 Nov 2012 18:46:11 +0000 (18:46 +0000)] 
Remove acct_unique from raddb makefile

13 years agoAdded missing space
Alan T. DeKok [Sat, 3 Nov 2012 19:40:17 +0000 (15:40 -0400)] 
Added missing space

13 years agoAdd Tmp-Octets-*
Arran Cudbard-Bell [Sat, 3 Nov 2012 17:38:56 +0000 (17:38 +0000)] 
Add Tmp-Octets-*

13 years agoFix quoting for git program check
Arran Cudbard-Bell [Sat, 3 Nov 2012 15:30:51 +0000 (15:30 +0000)] 
Fix quoting for git program check

13 years agoERX-Dhcp-Options is actually raw options from the DHCP packet
Arran Cudbard-Bell [Sat, 3 Nov 2012 15:26:32 +0000 (15:26 +0000)] 
ERX-Dhcp-Options is actually raw options from the DHCP packet

13 years agoSkip compile sources if they won't be linked to a lib/exe
Alan T. DeKok [Sat, 3 Nov 2012 12:53:12 +0000 (08:53 -0400)] 
Skip compile sources if they won't be linked to a lib/exe

13 years agoAdd warning if we don't have json-c
Arran Cudbard-Bell [Fri, 2 Nov 2012 11:42:43 +0000 (11:42 +0000)] 
Add warning if we don't have json-c

13 years agoUse official libcurl macros to configure libcurl
Arran Cudbard-Bell [Fri, 2 Nov 2012 11:15:11 +0000 (11:15 +0000)] 
Use official libcurl macros to configure libcurl

13 years agoDon't pass --enable-developer by default
Arran Cudbard-Bell [Fri, 2 Nov 2012 10:10:22 +0000 (10:10 +0000)] 
Don't pass --enable-developer by default

13 years agoRemove -O2 and replace -g with -g3 if building from git or configured with --enable...
Arran Cudbard-Bell [Fri, 2 Nov 2012 09:53:35 +0000 (09:53 +0000)] 
Remove -O2 and replace -g with -g3 if building from git or configured with --enable-developer
Fix warning in libreadline autoconf macro

13 years agoMore $Id$ fixes
Arran Cudbard-Bell [Thu, 1 Nov 2012 15:36:20 +0000 (15:36 +0000)] 
More $Id$ fixes

13 years agoFixup $Id header for rlm_securid.c
Arran Cudbard-Bell [Thu, 1 Nov 2012 15:32:20 +0000 (15:32 +0000)] 
Fixup $Id header for rlm_securid.c

13 years agoFix for autoconf 2.69
Arran Cudbard-Bell [Thu, 1 Nov 2012 15:26:24 +0000 (15:26 +0000)] 
Fix for autoconf 2.69

13 years agoMove dhcp_options: xlat to rlm_dhcp module
Arran Cudbard-Bell [Thu, 1 Nov 2012 14:18:01 +0000 (14:18 +0000)] 
Move dhcp_options: xlat to rlm_dhcp module

13 years agoMake $Id$ work again
Arran Cudbard-Bell [Thu, 1 Nov 2012 12:57:15 +0000 (12:57 +0000)] 
Make $Id$ work again

13 years agoAdded rad_data2vp() to mirror rad_vp2data()
Alan T. DeKok [Thu, 1 Nov 2012 08:23:55 +0000 (09:23 +0100)] 
Added rad_data2vp() to mirror rad_vp2data()

13 years agoFix whitespace
Arran Cudbard-Bell [Thu, 1 Nov 2012 08:02:38 +0000 (08:02 +0000)] 
Fix whitespace

13 years agoFix some lazily resolved symbol named
Arran Cudbard-Bell [Wed, 31 Oct 2012 21:56:26 +0000 (21:56 +0000)] 
Fix some lazily resolved symbol named

13 years agoAdd dhcp_option: xlat to decode DHCP options packed into RADIUS attributes
Arran Cudbard-Bell [Wed, 31 Oct 2012 18:04:05 +0000 (18:04 +0000)] 
Add dhcp_option: xlat to decode DHCP options packed into RADIUS attributes

13 years agoMake rlm_rest build without cjson
Arran Cudbard-Bell [Tue, 30 Oct 2012 19:28:54 +0000 (19:28 +0000)] 
Make rlm_rest build without cjson

13 years agoUpdate TLS section to conform to standard used in rlm_ldap and other places...
Arran Cudbard-Bell [Tue, 30 Oct 2012 19:07:12 +0000 (19:07 +0000)] 
Update TLS section to conform to standard used in rlm_ldap and other places...

13 years agoFixup rlm_rest escape function
Arran Cudbard-Bell [Tue, 30 Oct 2012 19:08:53 +0000 (19:08 +0000)] 
Fixup rlm_rest escape function

13 years agoIgnore config.h files
Arran Cudbard-Bell [Tue, 30 Oct 2012 19:10:46 +0000 (19:10 +0000)] 
Ignore config.h files

13 years agore-add the expect_password option
Arran Cudbard-Bell [Tue, 30 Oct 2012 13:00:08 +0000 (13:00 +0000)] 
re-add the expect_password option

13 years agoFixup xlat calls in rlm_ldap to work with new function prototypes
Arran Cudbard-Bell [Tue, 30 Oct 2012 12:29:13 +0000 (12:29 +0000)] 
Fixup xlat calls in rlm_ldap to work with new function prototypes

13 years agoMassive rewrite of the LDAP module.
Alan T. DeKok [Thu, 13 Sep 2012 10:54:15 +0000 (12:54 +0200)] 
Massive rewrite of the LDAP module.

It now uses the connection pool API.  The code is MUCH clearer.

13 years agoC != PHP
Arran Cudbard-Bell [Mon, 29 Oct 2012 15:32:19 +0000 (15:32 +0000)] 
C != PHP

13 years agoarg needs to be a buffer
Arran Cudbard-Bell [Mon, 29 Oct 2012 06:41:06 +0000 (06:41 +0000)] 
arg needs to be a buffer

13 years agoMark home server zombie only after response_window
Alan T. DeKok [Sun, 28 Oct 2012 09:10:46 +0000 (10:10 +0100)] 
Mark home server zombie only after response_window

When the "response_window" has been hit, THEN go mark the home
server zombie.  Not before.

13 years agoSet the home server "last packet" only on original packets
Alan T. DeKok [Sun, 28 Oct 2012 09:06:36 +0000 (10:06 +0100)] 
Set the home server "last packet" only on original packets

And not on retransmits.

13 years agoFixup some warnings in rlm_perl
Arran Cudbard-Bell [Sun, 28 Oct 2012 12:56:13 +0000 (12:56 +0000)] 
Fixup some warnings in rlm_perl

13 years agoHandle tagged attributes with multiple values in rlm_perl.
Chris Mikkelson [Wed, 8 Feb 2012 19:14:11 +0000 (13:14 -0600)] 
Handle tagged attributes with multiple values in rlm_perl.

13 years agoAdd tag matching to pairdelete and paircopy2
Arran Cudbard-Bell [Sun, 28 Oct 2012 11:47:46 +0000 (11:47 +0000)] 
Add tag matching to pairdelete and paircopy2

13 years agoMore version fixes for master branch
Arran Cudbard-Bell [Sat, 27 Oct 2012 21:05:55 +0000 (22:05 +0100)] 
More version fixes for master branch

Should pass RADIUSD_VERSION_STRING as release

13 years agoUpdate configure script
Arran Cudbard-Bell [Sat, 27 Oct 2012 20:21:52 +0000 (22:21 +0200)] 
Update configure script

13 years agoChange version constants to be more useful
Arran Cudbard-Bell [Sat, 27 Oct 2012 20:07:58 +0000 (21:07 +0100)] 
Change version constants to be more useful

Configure script now sets:
* RADIUSD_MAJOR_VERSION
* RADIUSD_MINOR_VERSION
* RADIUSD_INCRM_VERSION
* RADIUSD_VERSION (integer representation of version)
* RADIUSD_VERSION_STRING
* RADIUSD_VERSION_COMMIT (latest commit hash if building from a git repo)

Git hash is also displayed in utilities that display version

13 years agoMore fixes to make it work with system libtool && jlibtool
Alan T. DeKok [Sat, 27 Oct 2012 15:57:19 +0000 (17:57 +0200)] 
More fixes to make it work with system libtool && jlibtool

13 years agoTry to fix "home server dead" code
Alan T. DeKok [Sat, 27 Oct 2012 11:45:43 +0000 (13:45 +0200)] 
Try to fix "home server dead" code

It was pretty horrific, and didn't make sense.  This simplification
seems to work

13 years agoMinor formatting fixes
Arran Cudbard-Bell [Sat, 27 Oct 2012 10:26:35 +0000 (11:26 +0100)] 
Minor formatting fixes

13 years agoMerge pull request #118 from philmayers/cache-locking
Arran Cudbard-Bell [Sat, 27 Oct 2012 10:14:55 +0000 (03:14 -0700)] 
Merge pull request #118 from philmayers/cache-locking

add locking to rlm_cache

13 years agoadd locking to rlm_cache 118/head
Phil Mayers [Fri, 26 Oct 2012 15:47:35 +0000 (16:47 +0100)] 
add locking to rlm_cache

13 years agoAfter running it through the formatter
Alan T. DeKok [Sat, 27 Oct 2012 08:00:36 +0000 (10:00 +0200)] 
After running it through the formatter

13 years agoFixes to work with system libtool
Alan T. DeKok [Sat, 27 Oct 2012 07:08:18 +0000 (09:08 +0200)] 
Fixes to work with system libtool

13 years agoRemove last shred of libtool
Alan T. DeKok [Sat, 27 Oct 2012 06:59:06 +0000 (08:59 +0200)] 
Remove last shred of libtool

WARNING: don't do "autoreconf", as it adds libtool back!
Instead, do "autoconf".

13 years agoUse redis escape function
Alan T. DeKok [Fri, 26 Oct 2012 11:46:05 +0000 (13:46 +0200)] 
Use redis escape function

13 years agoUnderstand extended format attrs, too
Alan T. DeKok [Thu, 25 Oct 2012 12:03:56 +0000 (14:03 +0200)] 
Understand extended format attrs, too

13 years agoCreate threads as joinable, not detached.
Iliya Peregoudov [Thu, 25 Oct 2012 07:29:42 +0000 (11:29 +0400)] 
Create threads as joinable, not detached.
Stop and join all threads before detaching modules.

This prevents a crash on exit where the modules are free'd before
the threads stop using them.

13 years agoAdd proxim dictionary
Arran Cudbard-Bell [Thu, 25 Oct 2012 09:53:36 +0000 (10:53 +0100)] 
Add proxim dictionary

13 years agoPass correct arguments to memcpy
Alan T. DeKok [Thu, 25 Oct 2012 08:10:22 +0000 (10:10 +0200)] 
Pass correct arguments to memcpy

Copying pointers means you pass a pointer to the pointer.

13 years agoMerge branch 'master' of github.com:FreeRADIUS/freeradius-server
Alan T. DeKok [Thu, 25 Oct 2012 08:04:48 +0000 (10:04 +0200)] 
Merge branch 'master' of github.com:FreeRADIUS/freeradius-server

13 years agoMerge pull request #112 from armitasp/master
Arran Cudbard-Bell [Wed, 24 Oct 2012 07:13:34 +0000 (00:13 -0700)] 
Merge pull request #112 from armitasp/master

Minor formatting fix. add_cui should be add-cui

13 years agoMinor formatting fix. add_cui should be add-cui 112/head
Scott Armitage [Tue, 23 Oct 2012 19:36:11 +0000 (20:36 +0100)] 
Minor formatting fix. add_cui should be add-cui

13 years agoMore formatting fixes
Arran Cudbard-Bell [Tue, 23 Oct 2012 13:08:19 +0000 (14:08 +0100)] 
More formatting fixes

13 years agoImprove Kerberos support when using Heimdal
Ryan Steinmetz [Tue, 23 Oct 2012 11:30:33 +0000 (12:30 +0100)] 
Improve Kerberos support when using Heimdal

- Allow specifying a keytab location
- Improved logging

Patch obtained from Thomas Kula <kula@tproa.net>

- Fix krb_auth parameters/casting
- Use strlcpy() instead of strncpy()
- Fix style issues

13 years agoDon't complain if there are triggers don't exist
Alan T. DeKok [Mon, 22 Oct 2012 15:45:44 +0000 (17:45 +0200)] 
Don't complain if there are triggers don't exist

13 years agoFixup formatting and errors in cui policy and dependencies
Arran Cudbard-Bell [Mon, 22 Oct 2012 09:23:07 +0000 (10:23 +0100)] 
Fixup formatting and errors in cui policy and dependencies

Include sql cui queries by default, as the cuisql module won't be
instantiated in the default config.

Change cui_has_key value to make it clear that it should be changed.

Use string (yes/no) for bool in cui_require_operator_name for consistancy,
ideally the parser would pre-evaluate comparisons between literal strings,
but the performance hit does not outweigh consistency.

Remove spurious spaces around conditions.

Literal strings should be literal (i.e. single quotes).

Packet-Type is still provided by a magic xlat expension.

Substitute 8 spaces for tabs (config files have same formatting rules as C src)

Use outer.request:EAP-Message to check whether were in an inner or outer tunnel,
should be forwards compatible.

${} values are pre-expanded, so do not require double quotes.

control:Proxy-To-Realm is not a magic attribute, it's a standard attribute in the
control list (even when set by rlm_realm).

cui virtual module does not have xlat method, should use cuisql.

13 years agoMerge branch 'master' of github.com:FreeRADIUS/freeradius-server
Arran Cudbard-Bell [Mon, 22 Oct 2012 08:34:42 +0000 (09:34 +0100)] 
Merge branch 'master' of github.com:FreeRADIUS/freeradius-server

13 years agoMerge pull request #110 from armitasp/master
Arran Cudbard-Bell [Mon, 22 Oct 2012 08:33:44 +0000 (01:33 -0700)] 
Merge pull request #110 from armitasp/master

Updated CUI Policy

13 years agoMinor formatting fixes
Arran Cudbard-Bell [Sun, 21 Oct 2012 16:58:18 +0000 (17:58 +0100)] 
Minor formatting fixes

13 years agoChanged sites-available/default. Documented the use of cui 110/head
Scott Armitage [Sun, 21 Oct 2012 16:49:56 +0000 (17:49 +0100)] 
Changed sites-available/default. Documented the use of cui

13 years agoChanged sites-available/inner-tunnel. Documented the use of cui
Scott Armitage [Sun, 21 Oct 2012 16:28:17 +0000 (17:28 +0100)] 
Changed sites-available/inner-tunnel. Documented the use of cui

13 years agoChanged cui policy. Changed the updating of the cui in the database to occur in the...
Scott Armitage [Sun, 21 Oct 2012 16:13:31 +0000 (17:13 +0100)] 
Changed cui policy. Changed the updating of the cui in the database to occur in the cui.post-auth.  Changed mods-available/cui module name

13 years agoChanged cui policy. Added settings to (optionally) make requirement of operator name...
Scott Armitage [Sun, 21 Oct 2012 15:58:19 +0000 (16:58 +0100)] 
Changed cui policy. Added settings to (optionally) make requirement of operator name a pre-requisite for cui generation

13 years agoChanged cui policy. Added a cui.pre-proxy section to request a cui when proxying...
Scott Armitage [Sun, 21 Oct 2012 15:39:54 +0000 (16:39 +0100)] 
Changed cui policy. Added a cui.pre-proxy section to request a cui when proxying authentication requests

13 years agoChanged cui policy. cui.authorize requires a flag is set in client definition. This...
Scott Armitage [Sun, 21 Oct 2012 15:28:23 +0000 (16:28 +0100)] 
Changed cui policy. cui.authorize requires a flag is set in client definition.  This allows cui request on a per client basis

13 years agoAdded the cui hash to cui policy
Scott Armitage [Sun, 21 Oct 2012 15:20:13 +0000 (16:20 +0100)] 
Added the cui hash to cui policy

13 years agoMade packet data len "size_t".
Alan T. DeKok [Sat, 20 Oct 2012 07:37:36 +0000 (09:37 +0200)] 
Made packet data len "size_t".

Only one place needs it to be negative: the read from the socket.
For the rest of the code, it is ALWAYS positive.

As part of this, changed a few other variables, too.
And uses "%zu" for printing "size_t" variables.  C99 is everywhere.
If you want to build the server on a non-C99 compiler, go away.

13 years agoFix compiler warnings
Alan T. DeKok [Sat, 20 Oct 2012 07:26:22 +0000 (09:26 +0200)] 
Fix compiler warnings