freeradius.git
11 years agoupdate of Copyright date in recently updated files
Alan Buxey [Sun, 19 Aug 2012 20:41:38 +0000 (21:41 +0100)]
update of Copyright date in recently updated files

2012 printed by code and marked in headers

11 years agorlm_wimax is now stable
Alan T. DeKok [Fri, 17 Aug 2012 15:25:26 +0000 (17:25 +0200)]
rlm_wimax is now stable

11 years agoIf there's no pool{} configuration, use the defaults
Alan T. DeKok [Tue, 14 Aug 2012 14:08:03 +0000 (16:08 +0200)]
If there's no pool{} configuration, use the defaults

11 years agoSQL could be used just for xlat, or ip pool.
Alan T. DeKok [Tue, 14 Aug 2012 10:01:12 +0000 (12:01 +0200)]
SQL could be used just for xlat, or ip pool.

The post-auth && accounting sections are NOT mandatory

11 years agoRemoved references to sqltrace
Alan T. DeKok [Tue, 14 Aug 2012 07:16:42 +0000 (09:16 +0200)]
Removed references to sqltrace

Having it in each module is ridiculous

11 years agoRemove unused variable
Alan T. DeKok [Mon, 13 Aug 2012 15:01:17 +0000 (17:01 +0200)]
Remove unused variable

11 years agoRemove unused code
Alan T. DeKok [Sat, 11 Aug 2012 07:24:07 +0000 (09:24 +0200)]
Remove unused code

11 years agoRemove compiler warning
Alan T. DeKok [Sat, 11 Aug 2012 07:23:56 +0000 (09:23 +0200)]
Remove compiler warning

11 years agoAdd accounting-on / off statements
Alan T. DeKok [Fri, 10 Aug 2012 09:19:51 +0000 (11:19 +0200)]
Add accounting-on / off statements

11 years agoUpdated example
Alan T. DeKok [Thu, 9 Aug 2012 13:03:18 +0000 (15:03 +0200)]
Updated example

11 years agoIgnore regex comparisons, too
Alan T. DeKok [Wed, 1 Aug 2012 22:56:50 +0000 (15:56 -0700)]
Ignore regex comparisons, too

11 years agoV6-enable the log filename
Alan T. DeKok [Wed, 1 Aug 2012 22:55:26 +0000 (15:55 -0700)]
V6-enable the log filename

11 years agoDocument changes to SQL
Alan T. DeKok [Fri, 10 Aug 2012 13:53:34 +0000 (15:53 +0200)]
Document changes to SQL

11 years agoAllow rlm_sql_null, and minor fixes to the sql logging
Alan T. DeKok [Fri, 10 Aug 2012 13:47:12 +0000 (15:47 +0200)]
Allow rlm_sql_null, and minor fixes to the sql logging

So that we can avoid the "sql_log" module

11 years agoAdded NULL sql driver. It does nothing.
Alan T. DeKok [Fri, 10 Aug 2012 12:17:03 +0000 (14:17 +0200)]
Added NULL sql driver.  It does nothing.

11 years agoClean up SQL "tracefile" code
Alan T. DeKok [Fri, 10 Aug 2012 10:45:37 +0000 (12:45 +0200)]
Clean up SQL "tracefile" code

There is now just a "logfile" configuration.  There is no need
to have "trace=yes" and "tracefile".

Since the logfile also locks the file, we can probably get rid of
the sql_log module.

Also document the "logfile" directive in the dialup.conf files

11 years agoFind the query in the relevant section.
Alan T. DeKok [Fri, 10 Aug 2012 10:41:59 +0000 (12:41 +0200)]
Find the query in the relevant section.

The previous code used "base", which was never initialized

11 years ago"Executing query" is not an error message
Alan T. DeKok [Fri, 10 Aug 2012 10:34:51 +0000 (12:34 +0200)]
"Executing query" is not an error message

It's a debug message

11 years agoFix typo
Arran Cudbard-Bell [Thu, 9 Aug 2012 13:03:29 +0000 (15:03 +0200)]
Fix typo

11 years agoFix typo
Alan T. DeKok [Thu, 2 Aug 2012 17:20:20 +0000 (10:20 -0700)]
Fix typo

11 years agoRename confusing attr
Alan T. DeKok [Thu, 2 Aug 2012 16:29:18 +0000 (09:29 -0700)]
Rename confusing attr

11 years agoScript to convert ISC dhcp lease files into sqlippool entries.
Arran Cudbard-Bell [Wed, 1 Aug 2012 18:05:10 +0000 (19:05 +0100)]
Script to convert ISC dhcp lease files into sqlippool entries.

11 years agoNext update time may be NULL
Alan T. DeKok [Mon, 30 Jul 2012 22:49:23 +0000 (15:49 -0700)]
Next update time may be NULL

11 years agoCheck for NULL parameters to functions
Alan T. DeKok [Mon, 30 Jul 2012 16:48:20 +0000 (18:48 +0200)]
Check for NULL parameters to functions

11 years agoCheck for NULL parameter
Alan T. DeKok [Mon, 30 Jul 2012 16:48:04 +0000 (18:48 +0200)]
Check for NULL parameter

11 years agoCall globfree() if glob() returns error.
Alan T. DeKok [Sat, 28 Jul 2012 14:32:19 +0000 (10:32 -0400)]
Call globfree() if glob() returns error.

Closes bug #207.

glob may PARTIALLY fill out the data before returning error
(sigh)

11 years agoMerge branch 'master' of github.com:alandekok/freeradius-server
Alan T. DeKok [Mon, 30 Jul 2012 16:00:34 +0000 (18:00 +0200)]
Merge branch 'master' of github.com:alandekok/freeradius-server

11 years agoDump invalid diameter attrs in TTLS inner tunnel
Alan T. DeKok [Fri, 27 Jul 2012 20:51:14 +0000 (16:51 -0400)]
Dump invalid diameter attrs in TTLS inner tunnel

11 years agoUsers can specify their own default branch on a per remote basis
Arran Cudbard-Bell [Fri, 27 Jul 2012 18:04:02 +0000 (20:04 +0200)]
Users can specify their own default branch on a per remote basis

11 years agoUpdate scripts/git/post-receive
Arran Cudbard-Bell [Fri, 27 Jul 2012 18:01:15 +0000 (20:01 +0200)]
Update scripts/git/post-receive

11 years agopush to remote servers
Arran Cudbard-Bell [Fri, 27 Jul 2012 18:00:23 +0000 (20:00 +0200)]
push to remote servers

11 years agoless verbose config verification
Arran Cudbard-Bell [Fri, 27 Jul 2012 17:45:43 +0000 (19:45 +0200)]
less verbose config verification

11 years agoRemoved unused module.
Alan T. DeKok [Thu, 26 Jul 2012 13:33:57 +0000 (09:33 -0400)]
Removed unused module.

This module does nothing useful

11 years agoFix typo interim-update not update...
Arran Cudbard-Bell [Tue, 24 Jul 2012 16:59:45 +0000 (18:59 +0200)]
Fix typo interim-update not update...

11 years agoAdd reference based query selection for accounting and post-auth
Arran Cudbard-Bell [Sun, 22 Jul 2012 22:08:12 +0000 (23:08 +0100)]
Add reference based query selection for accounting and post-auth

Add per section query log for accounting and post-auth

Update dialup.conf files to use new format

11 years agoTrigger whitespace removal via '"\EOL'
Alan T. DeKok [Tue, 24 Jul 2012 13:44:32 +0000 (09:44 -0400)]
Trigger whitespace removal via '"\EOL'

foo = "\
bar \
baz"

 --> foo = "bar baz"

Makes dealing with long queries much easier.

11 years agoUse "\\n pattern at beginning of lines to trigger whitespace removal
Arran Cudbard-Bell [Mon, 23 Jul 2012 16:15:23 +0000 (18:15 +0200)]
Use "\\n pattern at beginning of lines to trigger whitespace removal

11 years agoFix alignment for 8 space tabs
Arran Cudbard-Bell [Mon, 23 Jul 2012 16:12:59 +0000 (18:12 +0200)]
Fix alignment for 8 space tabs

11 years agoUpdate ndb schema to be inline with normal mysql schema
Arran Cudbard-Bell [Mon, 23 Jul 2012 11:01:08 +0000 (12:01 +0100)]
Update ndb schema to be inline with normal mysql schema

11 years agoShould use integer:Event-Timestamp for Unix timestamp format
Arran Cudbard-Bell [Mon, 23 Jul 2012 10:58:15 +0000 (11:58 +0100)]
Should use integer:Event-Timestamp for Unix timestamp format

11 years agoCompletely decode Vendor-Specific inside of Diameter AVPs
Alan T. DeKok [Sat, 21 Jul 2012 01:03:18 +0000 (21:03 -0400)]
Completely decode Vendor-Specific inside of Diameter AVPs

11 years agoManually pull fixes from v2.1.x
Alan T. DeKok [Sat, 21 Jul 2012 00:49:33 +0000 (20:49 -0400)]
Manually pull fixes from v2.1.x

41bb275514c30318a6d83d34c16dc1a940418e1e
75d10dab714aa5c5c99f18b4e8d768b671771cc4
39e04c5bdd77503f09d4fdcea8f5b52d4bc69683

11 years agoMerge pull request #70 from arr2036/connpool_block
Alan DeKok [Thu, 19 Jul 2012 13:35:07 +0000 (06:35 -0700)]
Merge pull request #70 from arr2036/connpool_block

Prevent all threads from blocking if the resource were managing connecti...

11 years agoPrevent all threads from blocking if the resource were managing connections for appea...
Arran Cudbard-Bell [Thu, 19 Jul 2012 11:26:22 +0000 (12:26 +0100)]
Prevent all threads from blocking if the resource were managing connections for appears to be unavailable

11 years agoFixup SQL error message
Arran Cudbard-Bell [Wed, 18 Jul 2012 22:20:50 +0000 (23:20 +0100)]
Fixup SQL error message

11 years agoUse Event-Timestamp for MySQL and remove acctdelay columns.
Arran Cudbard-Bell [Wed, 18 Jul 2012 21:43:28 +0000 (22:43 +0100)]
Use Event-Timestamp for MySQL and remove acctdelay columns.

Store acctupdate and use it to calculate acctinterval (this helps with dead session detection).

Remove xascendsession column, its dumb having vendor specific stuff in the default schema.

Add unique index constraint on acctuniqueid so that the alternate query fires correctly.

11 years agoAdd Event-Timestamp for accounting packets
Alan T. DeKok [Wed, 18 Jul 2012 21:30:10 +0000 (17:30 -0400)]
Add Event-Timestamp for accounting packets

11 years agoRemove duplicate log message
Arran Cudbard-Bell [Wed, 18 Jul 2012 08:10:04 +0000 (09:10 +0100)]
Remove duplicate log message

11 years agoMerge pull request #69 from arr2036/policy.d
Arran Cudbard-Bell [Wed, 18 Jul 2012 07:59:07 +0000 (00:59 -0700)]
Merge pull request #69 from arr2036/policy.d

Move policy.conf stanzas into individual configuration files

11 years agoMove policy.conf stanzas into individual configuration files
Arran Cudbard-Bell [Tue, 17 Jul 2012 20:43:16 +0000 (21:43 +0100)]
Move policy.conf stanzas into individual configuration files

11 years agoMerge pull request #68 from arr2036/rlm_sql_reconnection_fix
Arran Cudbard-Bell [Tue, 17 Jul 2012 22:00:09 +0000 (15:00 -0700)]
Merge pull request #68 from arr2036/rlm_sql_reconnection_fix

Rlm sql reconnection fix

11 years agoFix sqlhwippool
Arran Cudbard-Bell [Tue, 17 Jul 2012 20:24:29 +0000 (21:24 +0100)]
Fix sqlhwippool

11 years agoFix ippool too
Arran Cudbard-Bell [Tue, 17 Jul 2012 20:20:23 +0000 (21:20 +0100)]
Fix ippool too

11 years agoMinor fixes and reformatting to keep VT100 and Emacs users happy
Arran Cudbard-Bell [Tue, 17 Jul 2012 19:55:21 +0000 (20:55 +0100)]
Minor fixes and reformatting to keep VT100 and Emacs users happy

11 years agoMerge pull request #59 from sionescu/master
Arran Cudbard-Bell [Tue, 17 Jul 2012 19:30:47 +0000 (12:30 -0700)]
Merge pull request #59 from sionescu/master

Fix comment typo

11 years agoRewrite the horrible horrible SQL accounting code
Arran Cudbard-Bell [Tue, 17 Jul 2012 14:19:41 +0000 (15:19 +0100)]
Rewrite the horrible horrible SQL accounting code

Return SQL_DOWN if we cant get a new socket

Cleanup handling of null queries

11 years agoRun through *all* connections in the connection pool, to force connection API to...
Arran Cudbard-Bell [Tue, 17 Jul 2012 14:04:18 +0000 (15:04 +0100)]
Run through *all* connections in the connection pool, to force connection API to attempt to reconnect before failing a query.

Move connections errors into sql.c

Do not reconnect if we find a dead connection in sql_fetch_row

11 years agoAllow query functions to modify the sqlsocket pointer of the calling function (needed...
Arran Cudbard-Bell [Tue, 17 Jul 2012 10:23:43 +0000 (11:23 +0100)]
Allow query functions to modify the sqlsocket pointer of the calling function (needed for reconnecting)

11 years agoRemoved 'Password' It's wrong
Alan T. DeKok [Fri, 29 Jun 2012 11:45:52 +0000 (07:45 -0400)]
Removed 'Password'  It's wrong

11 years agoProxy_listener may be NULL
Alan T. DeKok [Wed, 27 Jun 2012 12:48:55 +0000 (08:48 -0400)]
Proxy_listener may be NULL

11 years agoproxy_listener may be NULL
Alan T. DeKok [Fri, 29 Jun 2012 21:55:10 +0000 (17:55 -0400)]
proxy_listener may be NULL

11 years agoNote Juniper is now allowed
Alan T. DeKok [Mon, 18 Jun 2012 13:34:06 +0000 (15:34 +0200)]
Note Juniper is now allowed

11 years agoAdded checks for juniper
Alan T. DeKok [Sat, 16 Jun 2012 07:35:11 +0000 (09:35 +0200)]
Added checks for juniper

11 years agoUse minute for the default detail writer/reader
Arran Cudbard-Bell [Thu, 12 Jul 2012 20:47:41 +0000 (21:47 +0100)]
Use minute for the default detail writer/reader

11 years agoAdd documentation for minute expansion
Arran Cudbard-Bell [Thu, 12 Jul 2012 20:27:14 +0000 (21:27 +0100)]
Add documentation for minute expansion

11 years agoNeed to mark the connection as unused before attempting to close it
Arran Cudbard-Bell [Wed, 11 Jul 2012 09:51:49 +0000 (10:51 +0100)]
Need to mark the connection as unused before attempting to close it

11 years agoFix typo
Arran Cudbard-Bell [Tue, 10 Jul 2012 19:30:40 +0000 (21:30 +0200)]
Fix typo

11 years agoUpdate copyright
Arran Cudbard-Bell [Thu, 5 Jul 2012 08:52:20 +0000 (09:52 +0100)]
Update copyright

11 years agoUse radmin for hupage
Arran Cudbard-Bell [Fri, 29 Jun 2012 14:48:45 +0000 (15:48 +0100)]
Use radmin for hupage

11 years agomysql/cui.sql changed clientipaddress length to support IPv6
ccspa [Fri, 29 Jun 2012 10:24:54 +0000 (11:24 +0100)]
mysql/cui.sql changed clientipaddress length to support IPv6

11 years agoMerge pull request #66 from armitasp/cui-changes
Arran Cudbard-Bell [Fri, 29 Jun 2012 07:34:40 +0000 (00:34 -0700)]
Merge pull request #66 from armitasp/cui-changes

Client-IP-Address with Packet-Src-IP-Address for cui

11 years agoClient-IP-Address with Packet-Src-IP-Address for cui
ccspa [Fri, 29 Jun 2012 07:10:00 +0000 (08:10 +0100)]
Client-IP-Address with Packet-Src-IP-Address for cui

11 years agoMerge pull request #63 from armitasp/a39e9f31242c93e99e417fb4496c8667f34ba7d1
Arran Cudbard-Bell [Thu, 28 Jun 2012 12:13:52 +0000 (05:13 -0700)]
Merge pull request #63 from armitasp/a39e9f31242c93e99e417fb4496c8667f34ba7d1

Added postgres sql and conf for cui

11 years agoMinor fixes as posted to list
Arran Cudbard-Bell [Thu, 28 Jun 2012 08:20:13 +0000 (10:20 +0200)]
Minor fixes as posted to list

11 years agoShould insert CUI into request list.
Arran Cudbard-Bell [Wed, 27 Jun 2012 22:56:32 +0000 (00:56 +0200)]
Should insert CUI into request list.

11 years agoAdded postgres sql and conf for cui
Scott Armitage [Wed, 27 Jun 2012 21:15:43 +0000 (22:15 +0100)]
Added postgres sql and conf for cui

11 years agoAdd gitignore
Arran Cudbard-Bell [Fri, 15 Jun 2012 15:22:54 +0000 (17:22 +0200)]
Add gitignore

11 years agoActually output stuff on check, and return exit code
Arran Cudbard-Bell [Fri, 15 Jun 2012 15:16:59 +0000 (18:16 +0300)]
Actually output stuff on check, and return exit code

11 years agoFix typo
Arran Cudbard-Bell [Fri, 15 Jun 2012 14:18:18 +0000 (17:18 +0300)]
Fix typo

11 years agoUpdate master
Arran Cudbard-Bell [Fri, 15 Jun 2012 10:51:44 +0000 (13:51 +0300)]
Update master

11 years agoAdd SMF manifest for solaris
Arran Cudbard-Bell [Fri, 15 Jun 2012 10:48:58 +0000 (12:48 +0200)]
Add SMF manifest for solaris

11 years agoLook for change password only in Microsoft attributes
Alan T. DeKok [Thu, 14 Jun 2012 10:02:14 +0000 (12:02 +0200)]
Look for change password only in Microsoft attributes

11 years agoClarify error messages
Alan T. DeKok [Wed, 13 Jun 2012 08:41:51 +0000 (10:41 +0200)]
Clarify error messages

11 years agoNew dictionary
Alan T. DeKok [Tue, 12 Jun 2012 17:36:19 +0000 (19:36 +0200)]
New dictionary

11 years agoClearer instructions
Alan T. DeKok [Mon, 4 Jun 2012 12:51:26 +0000 (14:51 +0200)]
Clearer instructions

11 years agoMore bad user names
Alan T. DeKok [Mon, 4 Jun 2012 12:44:44 +0000 (14:44 +0200)]
More bad user names

11 years agoLook for "Must change password", too
Alan T. DeKok [Wed, 13 Jun 2012 11:05:11 +0000 (13:05 +0200)]
Look for "Must change password", too

To key off of password changes

11 years agoUse Microsoft Vendor code instead of 0
Alan T. DeKok [Wed, 13 Jun 2012 11:04:51 +0000 (13:04 +0200)]
Use Microsoft Vendor code instead of 0

11 years agoIncrement correct counter
Alan T. DeKok [Fri, 1 Jun 2012 09:00:23 +0000 (11:00 +0200)]
Increment correct counter

11 years agoCoA proxying uses the CoA pool
Alan T. DeKok [Fri, 1 Jun 2012 08:45:45 +0000 (10:45 +0200)]
CoA proxying uses the CoA pool

11 years agoFix compiler warnings
Alan T. DeKok [Wed, 30 May 2012 14:05:52 +0000 (16:05 +0200)]
Fix compiler warnings

11 years agoFix compiler warnings
Alan T. DeKok [Wed, 30 May 2012 13:34:27 +0000 (15:34 +0200)]
Fix compiler warnings

11 years agoFix compiler warnings
Alan T. DeKok [Wed, 30 May 2012 13:34:09 +0000 (15:34 +0200)]
Fix compiler warnings

11 years agoFix compiler warning
Alan T. DeKok [Wed, 30 May 2012 13:27:46 +0000 (15:27 +0200)]
Fix compiler warning

11 years agoFix typo
Alan T. DeKok [Wed, 30 May 2012 13:07:13 +0000 (15:07 +0200)]
Fix typo

11 years agoPrototype for mschap_add_reply
Alan T. DeKok [Tue, 29 May 2012 19:21:10 +0000 (21:21 +0200)]
Prototype for mschap_add_reply

11 years agoMore "const"
Alan T. DeKok [Tue, 29 May 2012 15:11:20 +0000 (17:11 +0200)]
More "const"

11 years agoUse pointers rather than calling functions
Alan T. DeKok [Tue, 29 May 2012 11:08:29 +0000 (13:08 +0200)]
Use pointers rather than calling functions

11 years agoAdded "const" to more conffile functions
Alan T. DeKok [Tue, 29 May 2012 09:37:01 +0000 (11:37 +0200)]
Added "const" to more conffile functions

11 years agoRemove compiler warning
Alan T. DeKok [Tue, 29 May 2012 09:19:30 +0000 (11:19 +0200)]
Remove compiler warning