freeradius.git
11 years agoMerge pull request #83 from arr2036/v2.1.x
Arran Cudbard-Bell [Tue, 4 Sep 2012 16:46:00 +0000 (09:46 -0700)]
Merge pull request #83 from arr2036/v2.1.x

Add option to disable krb5 cache

11 years agoAdd option to disable krb5 cache
Arran Cudbard-Bell [Tue, 28 Aug 2012 10:20:06 +0000 (11:20 +0100)]
Add option to disable krb5 cache

11 years agoMerge pull request #81 from fajarnugraha/v2.1.x-redhat-20120904
Alan DeKok [Tue, 4 Sep 2012 07:40:37 +0000 (00:40 -0700)]
Merge pull request #81 from fajarnugraha/v2.1.x-redhat-20120904

redhat package fix

11 years agoredhat: remove freeradius-postgres-sql.patch
Fajar A. Nugraha [Tue, 4 Sep 2012 06:49:48 +0000 (13:49 +0700)]
redhat: remove freeradius-postgres-sql.patch

Obsoleted by commit 607109d and 87ab12b

11 years agoredhat: rlm_cache && rlm_wimax are now "stable"
Fajar A. Nugraha [Tue, 4 Sep 2012 06:46:48 +0000 (13:46 +0700)]
redhat: rlm_cache && rlm_wimax are now "stable"

Adjust spec and patch to accomodate commit aee30b9

11 years agoTweak file read/parse errors, they're confusing when that's all you see
Arran Cudbard-Bell [Mon, 3 Sep 2012 11:00:38 +0000 (12:00 +0100)]
Tweak file read/parse errors, they're confusing when that's all you see

11 years agoAdd configuration check on restart/reload
Arran Cudbard-Bell [Fri, 31 Aug 2012 14:49:21 +0000 (15:49 +0100)]
Add configuration check on restart/reload
Add configtest option
Switch to lsb functions for start/stop

11 years agoUpdate the most visible copyright notices
Arran Cudbard-Bell [Fri, 31 Aug 2012 09:55:41 +0000 (10:55 +0100)]
Update the most visible copyright notices

11 years agoPaircreate in v2 doesn't take vendor
Arran Cudbard-Bell [Thu, 30 Aug 2012 13:13:32 +0000 (15:13 +0200)]
Paircreate in v2 doesn't take vendor

11 years agoAdd BT dictionary
Arran Cudbard-Bell [Thu, 30 Aug 2012 12:34:02 +0000 (13:34 +0100)]
Add BT dictionary

11 years agoNote more recent changes
Arran Cudbard-Bell [Wed, 29 Aug 2012 18:02:28 +0000 (19:02 +0100)]
Note more recent changes

11 years agoUnique indexes for everybody!
Arran Cudbard-Bell [Wed, 29 Aug 2012 17:57:23 +0000 (18:57 +0100)]
Unique indexes for everybody!

11 years agoCheck for NULL secret on dynamic clients
Alan T. DeKok [Wed, 29 Aug 2012 16:40:03 +0000 (18:40 +0200)]
Check for NULL secret on dynamic clients

11 years agoCorrect wiki link
Arran Cudbard-Bell [Wed, 29 Aug 2012 14:24:33 +0000 (15:24 +0100)]
Correct wiki link

11 years agoAdd additional attributes to support features on the 7750 service router
Arran Cudbard-Bell [Wed, 29 Aug 2012 14:18:42 +0000 (15:18 +0100)]
Add additional attributes to support features on the 7750 service router

11 years agoAdd entry hit stats
Arran Cudbard-Bell [Tue, 28 Aug 2012 15:26:10 +0000 (16:26 +0100)]
Add entry hit stats

11 years agoChange variable names inline with HEAD
Arran Cudbard-Bell [Mon, 27 Aug 2012 19:41:39 +0000 (20:41 +0100)]
Change variable names inline with HEAD

11 years agoAdd xlat support for retrieving specific attributes from the cache
Arran Cudbard-Bell [Sun, 26 Aug 2012 22:14:42 +0000 (23:14 +0100)]
Add xlat support for retrieving specific attributes from the cache

11 years agoUnblocked, not blocked
Alan T. DeKok [Fri, 24 Aug 2012 15:44:02 +0000 (17:44 +0200)]
Unblocked, not blocked

11 years agoTrack blocked / non-blocked state
Alan T. DeKok [Fri, 24 Aug 2012 15:30:18 +0000 (17:30 +0200)]
Track blocked / non-blocked state

If a REQUEST transitions from OK to STOP_PROCESSING during
a module call, say WHICH module did this.

11 years agoFixed to be compatible with 3.0
Alan T. DeKok [Fri, 24 Aug 2012 12:48:13 +0000 (14:48 +0200)]
Fixed to be compatible with 3.0

11 years agoNote recent changes
Alan T. DeKok [Fri, 24 Aug 2012 09:48:03 +0000 (11:48 +0200)]
Note recent changes

11 years agorlm_cache && rlm_wimax are now "stable".
Alan T. DeKok [Fri, 24 Aug 2012 09:45:56 +0000 (11:45 +0200)]
rlm_cache && rlm_wimax are now "stable".

Re-ordered the list so it's alphabetical

11 years agoAdd all algorithms
Alan T. DeKok [Fri, 24 Aug 2012 09:44:24 +0000 (11:44 +0200)]
Add all algorithms

Apparently OpenSSL knows about various cipher methods, but refuses
to use them unless you say "pretty please".

11 years agoAdd 'Cache-Status-Only' control attribute, to check the status of
Arran Cudbard-Bell [Thu, 23 Aug 2012 15:58:50 +0000 (16:58 +0100)]
Add 'Cache-Status-Only' control attribute, to check the status of
an entry, but not add or merge it.

Update documentation.

Only control:Cache-TTL may extend the TTL of an entry, or expire an entry.

11 years agoFix name so it works
Alan T. DeKok [Thu, 23 Aug 2012 14:11:44 +0000 (16:11 +0200)]
Fix name so it works

11 years agoAdd Redback Service-Error-Cause values
robert [Thu, 11 Aug 2011 08:52:50 +0000 (12:52 +0400)]
Add Redback Service-Error-Cause values

11 years agoAdd has_tag to Service attributes
robert [Thu, 11 Aug 2011 08:48:51 +0000 (12:48 +0400)]
Add has_tag to Service attributes

11 years agoAdded rlm_cache
Alan T. DeKok [Thu, 23 Aug 2012 12:24:57 +0000 (14:24 +0200)]
Added rlm_cache

11 years agoAdded Cache-TTL attribute
Alan T. DeKok [Thu, 23 Aug 2012 12:24:27 +0000 (14:24 +0200)]
Added Cache-TTL attribute

11 years agoAdded cf_pair_operator(). Seems useful.
Alan T. DeKok [Thu, 23 Aug 2012 12:24:07 +0000 (14:24 +0200)]
Added cf_pair_operator().  Seems useful.

11 years agoOutput the name of the file were reading
Arran Cudbard-Bell [Wed, 22 Aug 2012 22:51:12 +0000 (23:51 +0100)]
Output the name of the file were reading

11 years agoFix typo
Arran Cudbard-Bell [Wed, 22 Aug 2012 16:17:24 +0000 (18:17 +0200)]
Fix typo

11 years agoFix and document max_uses
Arran Cudbard-Bell [Wed, 22 Aug 2012 15:24:52 +0000 (16:24 +0100)]
Fix and document max_uses

11 years agoUpdate src/modules/rlm_ldap/rlm_ldap.c
Arran Cudbard-Bell [Wed, 22 Aug 2012 13:50:53 +0000 (15:50 +0200)]
Update src/modules/rlm_ldap/rlm_ldap.c

Add debug message noting the closure

11 years agoAdded "max_uses" parameter
Alan T. DeKok [Wed, 22 Aug 2012 13:32:22 +0000 (15:32 +0200)]
Added "max_uses" parameter

11 years agoNuke the '[' on expansion
Alan T. DeKok [Wed, 22 Aug 2012 07:58:09 +0000 (09:58 +0200)]
Nuke the '[' on expansion

11 years agoNote recent changes
Alan T. DeKok [Tue, 21 Aug 2012 13:35:31 +0000 (15:35 +0200)]
Note recent changes

11 years agoAccounting only needs select, insert, update
Alan T. DeKok [Tue, 21 Aug 2012 13:33:50 +0000 (15:33 +0200)]
Accounting only needs select, insert, update

Not delete.  Not table mods

11 years agoe table name, not "radius.table"
Alan T. DeKok [Tue, 21 Aug 2012 13:32:47 +0000 (15:32 +0200)]
e table name, not "radius.table"

11 years agoUse max_queue_size when initializing the queues
Alan T. DeKok [Tue, 21 Aug 2012 13:31:09 +0000 (15:31 +0200)]
Use max_queue_size when initializing the queues

11 years agoClarify error message
Alan T. DeKok [Mon, 20 Aug 2012 09:29:09 +0000 (11:29 +0200)]
Clarify error message

11 years agoCommented out "unix" (radwho) and "radutmp"
Alan T. DeKok [Mon, 13 Aug 2012 13:19:32 +0000 (15:19 +0200)]
Commented out "unix" (radwho) and "radutmp"

These are used less and less.

11 years agoRemove Client-IP-Address so Acct-Unique-Session-ID stays constant, if request is...
Arran Cudbard-Bell [Mon, 20 Aug 2012 14:27:15 +0000 (15:27 +0100)]
Remove Client-IP-Address so Acct-Unique-Session-ID stays constant, if request is routed via load balancer

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 agoProduce warnings on OpenSSL problems, rather than crash.
Alan T. DeKok [Thu, 9 Aug 2012 15:54:54 +0000 (17:54 +0200)]
Produce warnings on OpenSSL problems, rather than crash.

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

11 years agodon't chgrp syslog
Matthew Newton [Sun, 8 Apr 2012 21:02:55 +0000 (22:02 +0100)]
don't chgrp syslog

11 years agoNote recent changes
Alan T. DeKok [Tue, 7 Aug 2012 13:01:09 +0000 (15:01 +0200)]
Note recent changes

11 years agoMerge pull request #75 from fajarnugraha/v2.1.x-redhat-2.2.0
Arran Cudbard-Bell [Fri, 10 Aug 2012 07:25:53 +0000 (00:25 -0700)]
Merge pull request #75 from fajarnugraha/v2.1.x-redhat-2.2.0

Fix redhat package to build and run cleanly for 2.2.0

11 years agoredhat:add '--with-system-libltdl' to fix build error on RHEL6
Fajar A. Nugraha [Fri, 10 Aug 2012 06:59:31 +0000 (13:59 +0700)]
redhat:add '--with-system-libltdl' to fix build error on RHEL6

11 years agoredhat:fix extra files caused by incorrect patch backup option
Fajar A. Nugraha [Fri, 10 Aug 2012 06:17:13 +0000 (13:17 +0700)]
redhat:fix extra files caused by incorrect patch backup option

11 years agoredhat:include new raddb/modules/* in spec
Fajar A. Nugraha [Fri, 10 Aug 2012 06:15:20 +0000 (13:15 +0700)]
redhat:include new raddb/modules/* in spec

11 years agoredhat:force-enable rlm_wimax since '--with-modules="rlm_wimax"' is not enough
Fajar A. Nugraha [Fri, 10 Aug 2012 06:05:16 +0000 (13:05 +0700)]
redhat:force-enable rlm_wimax since '--with-modules="rlm_wimax"' is not enough

11 years agoredhat:import debian/patches/dhcp_sqlippool-comment-out-mysql.diff
Fajar A. Nugraha [Fri, 10 Aug 2012 05:54:27 +0000 (12:54 +0700)]
redhat:import debian/patches/dhcp_sqlippool-comment-out-mysql.diff

11 years agoredhat:adjust version number in freeradius.spec
Fajar A. Nugraha [Fri, 10 Aug 2012 05:51:03 +0000 (12:51 +0700)]
redhat:adjust version number in freeradius.spec

11 years agoredhat:remove patches already applied upstream
Fajar A. Nugraha [Fri, 10 Aug 2012 04:39:39 +0000 (11:39 +0700)]
redhat:remove patches already applied upstream

Removed:
* redhat/freeradius-man.patch
* redhat/freeradius-perl.patch
* redhat/freeradius-unix-passwd-expire.patch

Modified:redhat/freeradius.spec

11 years agoredhat:certs already use default_md=sha1, so remove it from patch
Fajar A. Nugraha [Fri, 10 Aug 2012 04:31:04 +0000 (11:31 +0700)]
redhat:certs already use default_md=sha1, so remove it from patch

11 years agoImport freeradius-2.1.12-3.el6.src.rpm
Fajar A. Nugraha [Fri, 10 Aug 2012 04:25:08 +0000 (11:25 +0700)]
Import freeradius-2.1.12-3.el6.src.rpm

Import spec and additional files from freeradius-2.1.12-3.el6.src.rpm
to redhat/

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

11 years agoMerge pull request #74 from fajarnugraha/v2.1.x-debian-package-fix
Arran Cudbard-Bell [Tue, 7 Aug 2012 07:13:40 +0000 (00:13 -0700)]
Merge pull request #74 from fajarnugraha/v2.1.x-debian-package-fix

Fix debian package to work even without freeradius-mysql

11 years agoFix debian package to work even without freeradius-mysql
Fajar A. Nugraha [Tue, 7 Aug 2012 06:30:28 +0000 (13:30 +0700)]
Fix debian package to work even without freeradius-mysql

Added a patch to comment-out the line referencing mysql on
modules/dhcp_sqlippool in the default debian package.
This is needed so that by default users installing "freeradius"
package can always start the server, even without
"freeeradius-mysql" package installed.

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

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 agoRemove extraneneous assert
Alan T. DeKok [Wed, 1 Aug 2012 22:53:49 +0000 (15:53 -0700)]
Remove extraneneous assert

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:47:12 +0000 (15:47 -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 agoFix warnings found by llvm scan
Alan T. DeKok [Mon, 30 Jul 2012 16:39:25 +0000 (18:39 +0200)]
Fix warnings found by llvm scan

11 years agoRemove extraneous initialization
Alan T. DeKok [Mon, 30 Jul 2012 16:35:34 +0000 (18:35 +0200)]
Remove extraneous initialization

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 agoFix typo
Alan T. DeKok [Sat, 21 Jul 2012 00:29:43 +0000 (20:29 -0400)]
Fix typo

11 years agoSimplify diameter_verify
Alan T. DeKok [Sat, 21 Jul 2012 00:07:18 +0000 (20:07 -0400)]
Simplify diameter_verify

It now verifies ONLY the format of the diameter attributes.
It does NOT verify the attribute #, vendor #, etc.  The diameter2vp
function now does that.

Ensure that attributes of length > 253 are silently ignored, rather
than causing failure

11 years agoBe more forgiving about decoding data in TTLS tunnels
Alan T. DeKok [Fri, 20 Jul 2012 23:29:34 +0000 (19:29 -0400)]
Be more forgiving about decoding data in TTLS tunnels

Allow unknown / invalid attrs as "raw" attributes.
Decode byte, short, IPv6*

11 years agoNote MySQL fixes
Alan T. DeKok [Thu, 19 Jul 2012 14:11:53 +0000 (10:11 -0400)]
Note MySQL fixes

11 years agoFix typo
Alan T. DeKok [Thu, 19 Jul 2012 13:37:56 +0000 (09:37 -0400)]
Fix typo

11 years agoSet InnoDB as the default on accounting and postauth tables.
Arran Cudbard-Bell [Wed, 18 Jul 2012 21:52:05 +0000 (23:52 +0200)]
Set InnoDB as the default on accounting and postauth tables.

11 years agoAdd unique index constraint on acctuniqueid so that the alternate query fires correctly.
Arran Cudbard-Bell [Wed, 18 Jul 2012 21:50:28 +0000 (23:50 +0200)]
Add unique index constraint on acctuniqueid so that the alternate query fires correctly.

11 years agoNote one letter expansions
Arran Cudbard-Bell [Wed, 18 Jul 2012 11:51:02 +0000 (13:51 +0200)]
Note one letter expansions

11 years agoNote recent changes
Alan T. DeKok [Sun, 15 Jul 2012 17:09:35 +0000 (13:09 -0400)]
Note recent changes

11 years agoLeave static variable alone. Closes bug #207
Alan T. DeKok [Fri, 6 Jul 2012 16:16:31 +0000 (12:16 -0400)]
Leave static variable alone.  Closes bug #207

11 years agoFree the correct data
Alan T. DeKok [Thu, 21 Jun 2012 13:42:12 +0000 (09:42 -0400)]
Free the correct data

11 years agoFix typo
Alan T. DeKok [Mon, 18 Jun 2012 14:25:53 +0000 (16:25 +0200)]
Fix typo

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 agoFix typo in help text
Alan T. DeKok [Sat, 16 Jun 2012 07:24:27 +0000 (09:24 +0200)]
Fix typo in help text

11 years agoPrint out results of check. Exit with return code of check
Alan T. DeKok [Fri, 15 Jun 2012 15:15:36 +0000 (17:15 +0200)]
Print out results of check.  Exit with return code of check

11 years agoFix bug
Alan T. DeKok [Wed, 13 Jun 2012 19:18:02 +0000 (21:18 +0200)]
Fix bug

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 agoUse minute for the default detail writer/reader
Arran Cudbard-Bell [Thu, 12 Jul 2012 20:40:17 +0000 (21:40 +0100)]
Use minute for the default detail writer/reader

11 years agoBackport Minute and Request ID expansions
Arran Cudbard-Bell [Thu, 12 Jul 2012 20:25:43 +0000 (21:25 +0100)]
Backport Minute and Request ID expansions

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 agoUpdate v2.1.x
Arran Cudbard-Bell [Thu, 28 Jun 2012 08:21:08 +0000 (10:21 +0200)]
Update v2.1.x

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

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