]> git.ipfire.org Git - thirdparty/freeradius-server.git/log
thirdparty/freeradius-server.git
13 years agoPrevent all threads from blocking if the resource were managing connections for appea... 70/head
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

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

13 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.

13 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

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

13 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

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

13 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

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

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

13 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

13 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

13 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

13 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

13 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)

13 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

13 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

13 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

13 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

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

13 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

13 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

13 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

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

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

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

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

13 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

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

13 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

13 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

13 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.

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

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

13 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

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

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

13 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

13 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

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

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

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

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

13 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

13 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

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

13 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

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

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

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

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

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

13 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

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

13 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

13 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

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

13 years agomake xlat() take "const char *fmt"
Alan T. DeKok [Mon, 28 May 2012 16:02:23 +0000 (18:02 +0200)] 
make xlat() take "const char *fmt"

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

13 years agoIdentity is an ASCII string
Alan T. DeKok [Wed, 16 May 2012 09:21:59 +0000 (11:21 +0200)] 
Identity is an ASCII string

to get rid of compiler warnings

it probably should be UTF-8

13 years agofix data types
Alan T. DeKok [Wed, 16 May 2012 09:19:23 +0000 (11:19 +0200)] 
fix data types

unsigned char  --> uint8_t
unsigned short --> uint16_t

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

13 years agoFix error message
Alan T. DeKok [Sun, 13 May 2012 15:00:56 +0000 (17:00 +0200)] 
Fix error message

13 years agoFix compiler warnings
Alan T. DeKok [Fri, 11 May 2012 09:06:21 +0000 (11:06 +0200)] 
Fix compiler warnings

13 years agoAdded module configuration
Alan T. DeKok [Wed, 9 May 2012 13:47:21 +0000 (15:47 +0200)] 
Added module configuration

13 years agoFix typo in target name
Alan T. DeKok [Mon, 7 May 2012 19:13:39 +0000 (21:13 +0200)] 
Fix typo in target name

13 years agoMakefile for new build system
Alan T. DeKok [Mon, 7 May 2012 18:57:15 +0000 (20:57 +0200)] 
Makefile for new build system

13 years agoEnsure variable initialization
Alan T. DeKok [Mon, 7 May 2012 18:11:09 +0000 (20:11 +0200)] 
Ensure variable initialization

13 years agoRemove unused function
Alan T. DeKok [Mon, 7 May 2012 18:10:49 +0000 (20:10 +0200)] 
Remove unused function

13 years agoReturn success
Alan T. DeKok [Mon, 7 May 2012 18:10:39 +0000 (20:10 +0200)] 
Return success

13 years agoFix typo
Alan T. DeKok [Mon, 11 Jun 2012 09:50:38 +0000 (11:50 +0200)] 
Fix typo

13 years agoMajor version is now 3, not 2
Alan T. DeKok [Fri, 1 Jun 2012 10:39:47 +0000 (12:39 +0200)] 
Major version is now 3, not 2

13 years agoFix comment typo 59/head
Stelian Ionescu [Tue, 29 May 2012 15:39:37 +0000 (17:39 +0200)] 
Fix comment typo

13 years agoAdded database support from v2.1.x branch
Alan T. DeKok [Tue, 29 May 2012 08:42:10 +0000 (10:42 +0200)] 
Added database support from v2.1.x branch

13 years agoFix typo
Alan T. DeKok [Tue, 29 May 2012 08:10:15 +0000 (10:10 +0200)] 
Fix typo

13 years agoFNV-1a: xor then multiply, not multiply then xor
Alan T. DeKok [Mon, 28 May 2012 15:42:06 +0000 (17:42 +0200)] 
FNV-1a: xor then multiply, not multiply then xor

it has much better properties

13 years agoAdd missing define
Alan T. DeKok [Mon, 28 May 2012 06:13:04 +0000 (08:13 +0200)] 
Add missing define

13 years agoVP may be NULL
Alan T. DeKok [Sat, 26 May 2012 08:32:58 +0000 (10:32 +0200)] 
VP may be NULL

13 years agoAdded support for CoA proxying via Operator-Name
Alan T. DeKok [Wed, 23 May 2012 13:29:48 +0000 (15:29 +0200)] 
Added support for CoA proxying via Operator-Name

and examples

13 years agoAdded support for CoA realms
Alan T. DeKok [Wed, 23 May 2012 13:26:12 +0000 (15:26 +0200)] 
Added support for CoA realms

13 years agoEdit installation instructions
Arran Cudbard-Bell [Fri, 11 May 2012 21:11:44 +0000 (00:11 +0300)] 
Edit installation instructions

13 years agoFix typo so that it builds
Alan T. DeKok [Thu, 10 May 2012 07:29:10 +0000 (09:29 +0200)] 
Fix typo so that it builds

13 years agoMissed in earlier commit
Alan T. DeKok [Sun, 6 May 2012 13:40:14 +0000 (15:40 +0200)] 
Missed in earlier commit

13 years agoCorrect calculation of currently outstanding
Alan T. DeKok [Sun, 6 May 2012 09:13:39 +0000 (11:13 +0200)] 
Correct calculation of currently outstanding

13 years agoKeep track of requests sent (oops)
Alan T. DeKok [Sun, 6 May 2012 08:59:19 +0000 (10:59 +0200)] 
Keep track of requests sent (oops)

13 years agoAdded timeout statistics for home servers
Alan T. DeKok [Sat, 5 May 2012 14:43:48 +0000 (16:43 +0200)] 
Added timeout statistics for home servers

13 years agoDon't use public str2argv
Alan T. DeKok [Fri, 4 May 2012 15:28:48 +0000 (17:28 +0200)] 
Don't use public str2argv

13 years agoAdded %{hex:...}
Alan T. DeKok [Fri, 4 May 2012 15:14:08 +0000 (17:14 +0200)] 
Added %{hex:...}

Will print the hex version of the contents of the attribute.

Mainly useful for integers, IPaddresses, etc.

13 years agoExpose str2argv()
Alan T. DeKok [Fri, 4 May 2012 09:34:45 +0000 (11:34 +0200)] 
Expose str2argv()

13 years agoMove log to outside of mutex lock
Alan T. DeKok [Thu, 3 May 2012 13:53:47 +0000 (15:53 +0200)] 
Move log to outside of mutex lock

13 years agoOnly manage connections on release
Alan T. DeKok [Thu, 3 May 2012 13:51:33 +0000 (15:51 +0200)] 
Only manage connections on release

So there's less work to do

13 years agoMore debug messages
Alan T. DeKok [Wed, 2 May 2012 18:27:01 +0000 (20:27 +0200)] 
More debug messages

13 years agodelete means release, too
Alan T. DeKok [Wed, 2 May 2012 17:23:49 +0000 (19:23 +0200)] 
delete means release, too

13 years agoFix typo
Alan T. DeKok [Wed, 2 May 2012 11:53:01 +0000 (13:53 +0200)] 
Fix typo

13 years agoConvert hash to key
Alan T. DeKok [Tue, 1 May 2012 16:00:38 +0000 (18:00 +0200)] 
Convert hash to key

So that we can have the same hash in two different systems

13 years agoAbsolutely horrible hacks to get radmin on a TCP socket.
Alan T. DeKok [Mon, 30 Apr 2012 14:24:40 +0000 (16:24 +0200)] 
Absolutely horrible hacks to get radmin on a TCP socket.

We're pulling the rug out from under the code multiple times,
and casting pointers of type "foo" to type "bar" repeatedly.
Trust us, we know what we're doing!

radmin now requires a CHAP-style challenge/response when using
TCP sockets.  It's crap, but it's better than nothing

13 years agoAdd radmin target && makefile
Alan T. DeKok [Mon, 30 Apr 2012 13:23:32 +0000 (15:23 +0200)] 
Add radmin target && makefile

13 years ago"sometimes" module which generates random errors for testing
Alan T. DeKok [Sun, 29 Apr 2012 19:56:38 +0000 (21:56 +0200)] 
"sometimes" module which generates random errors for testing

13 years agoAdded notifications for thread start, stop, and max_threads
Alan T. DeKok [Sun, 29 Apr 2012 17:08:46 +0000 (19:08 +0200)] 
Added notifications for thread start, stop, and max_threads

13 years agoRate limit some triggers.
Alan T. DeKok [Sun, 29 Apr 2012 16:59:25 +0000 (18:59 +0200)] 
Rate limit some triggers.

e.g. LDAP query timeout