freeradius.git
11 years agodebug: should output previous level instead of the level that was just set.
Arran Cudbard-Bell [Thu, 27 Sep 2012 18:07:04 +0000 (19:07 +0100)]
debug: should output previous level instead of the level that was just set.

Don't set debug to 0 if no fmt string was passed, do nothing.

11 years agoUpdate share/dictionary.bskyb
Arran Cudbard-Bell [Thu, 27 Sep 2012 12:58:30 +0000 (14:58 +0200)]
Update share/dictionary.bskyb

11 years agoLatest updates
Arran Cudbard-Bell [Thu, 27 Sep 2012 12:57:52 +0000 (14:57 +0200)]
Latest updates

11 years agoRemove duplicate version/copyright info
Arran Cudbard-Bell [Tue, 25 Sep 2012 19:59:57 +0000 (20:59 +0100)]
Remove duplicate version/copyright info

Print compilation flags at DEBUG >= 3 (this is actually useful if you're using a package version)

11 years agoMore AL attributes to support their NAT features
Arran Cudbard-Bell [Tue, 25 Sep 2012 13:15:14 +0000 (14:15 +0100)]
More AL attributes to support their NAT features

11 years agoMove string manipulation functions from xlat.c to rlm_expr
Arran Cudbard-Bell [Thu, 20 Sep 2012 12:55:08 +0000 (13:55 +0100)]
Move string manipulation functions from xlat.c to rlm_expr

11 years agoRemove b from randstr and implement h (hex encoded b)
Arran Cudbard-Bell [Thu, 20 Sep 2012 12:54:16 +0000 (13:54 +0100)]
Remove b from randstr and implement h (hex encoded b)

11 years agoQuiet the compiler
Arran Cudbard-Bell [Wed, 19 Sep 2012 14:00:16 +0000 (15:00 +0100)]
Quiet the compiler

11 years agoAdd dictionary for BSkyB
Arran Cudbard-Bell [Wed, 19 Sep 2012 13:30:01 +0000 (14:30 +0100)]
Add dictionary for BSkyB

11 years agoDon't use ci to iterate over subsections if we might need to use it for logging later
Arran Cudbard-Bell [Tue, 18 Sep 2012 13:15:14 +0000 (14:15 +0100)]
Don't use ci to iterate over subsections if we might need to use it for logging later

11 years agoUpdate links that point to wiki pages
Arran Cudbard-Bell [Mon, 17 Sep 2012 12:52:45 +0000 (13:52 +0100)]
Update links that point to wiki pages

11 years agoAdd bounds check for max_queue_size
Arran Cudbard-Bell [Mon, 17 Sep 2012 12:42:51 +0000 (13:42 +0100)]
Add bounds check for max_queue_size

11 years agoAdd alphanumeric char class
Arran Cudbard-Bell [Sun, 16 Sep 2012 08:49:33 +0000 (09:49 +0100)]
Add alphanumeric char class

11 years agoAdd randstr expansion to generate random strings up to 256 bytes
Arran Cudbard-Bell [Sat, 15 Sep 2012 18:23:10 +0000 (19:23 +0100)]
Add randstr expansion to generate random strings up to 256 bytes

11 years agoProperly decode AT_IDENTITY in EAP-SIM
Alan T. DeKok [Fri, 14 Sep 2012 08:30:37 +0000 (10:30 +0200)]
Properly decode AT_IDENTITY in EAP-SIM

Patch from Iliya Peregoudov

11 years agoA bit more logging for EAP-SIM
Alan T. DeKok [Wed, 12 Sep 2012 13:43:15 +0000 (15:43 +0200)]
A bit more logging for EAP-SIM

11 years agoSkip OCSP if there's no host / port / url
Alan T. DeKok [Wed, 12 Sep 2012 12:35:51 +0000 (14:35 +0200)]
Skip OCSP if there's no host / port / url

11 years agoFix typo
Arran Cudbard-Bell [Fri, 14 Sep 2012 07:45:34 +0000 (08:45 +0100)]
Fix typo

11 years agogit show-ref works in more cases than git tag
Arran Cudbard-Bell [Thu, 13 Sep 2012 18:21:46 +0000 (19:21 +0100)]
git show-ref works in more cases than git tag

11 years agoMake %{Stripped-User-Name:-%{User-Name}} work again
Alan T. DeKok [Tue, 11 Sep 2012 08:08:10 +0000 (10:08 +0200)]
Make %{Stripped-User-Name:-%{User-Name}} work again

11 years agoUse %{%{...}:-...} everywhere in examples
Alan T. DeKok [Mon, 10 Sep 2012 14:43:31 +0000 (16:43 +0200)]
Use %{%{...}:-...} everywhere in examples

11 years agoAllow ${Foo-Bar:-%{...}} again release_2_2_0
Alan T. DeKok [Mon, 10 Sep 2012 11:51:34 +0000 (13:51 +0200)]
Allow ${Foo-Bar:-%{...}} again

11 years agoNote final changes
Alan T. DeKok [Mon, 10 Sep 2012 06:22:25 +0000 (08:22 +0200)]
Note final changes

11 years agoFix CVE-2012-3547. Found by Timo Warns
Alan T. DeKok [Mon, 10 Sep 2012 06:18:34 +0000 (08:18 +0200)]
Fix CVE-2012-3547.  Found by Timo Warns

11 years agoMerge pull request #85 from fajarnugraha/v2.1.x-suse-20120910
Arran Cudbard-Bell [Mon, 10 Sep 2012 07:25:05 +0000 (00:25 -0700)]
Merge pull request #85 from fajarnugraha/v2.1.x-suse-20120910

Fix suse package to build and run cleanly for 2.2.0

11 years agosuse: build fixes
Fajar A. Nugraha [Mon, 10 Sep 2012 06:40:14 +0000 (13:40 +0700)]
suse: build fixes

* drop libeap-ikev2-devel build requirement, as it's not available in
  the main opensuse repository. It will still be used if already
  installed.
* add "--with-system-libltdl"

11 years agosuse: imported freeradius-server-2.1.12-6.1.src.rpm
Fajar A. Nugraha [Mon, 10 Sep 2012 06:36:12 +0000 (13:36 +0700)]
suse: imported freeradius-server-2.1.12-6.1.src.rpm

Imported freeradius-server-2.1.12-6.1.src.rpm, from
Network:AAA repository of the OpenSUSE Project to suse/ directory
with the following exception (part of the original freeradius.spec):
* Specfile is freeradius.spec instead of freeradius-server.spec
* Version is 2.2.0, Release is 0

11 years agoDocument more changes
Arran Cudbard-Bell [Sat, 8 Sep 2012 20:51:41 +0000 (22:51 +0200)]
Document more changes

11 years agoMinor fixes
Arran Cudbard-Bell [Sat, 8 Sep 2012 20:16:39 +0000 (21:16 +0100)]
Minor fixes

11 years agoRemove duplicate declaration
Arran Cudbard-Bell [Fri, 7 Sep 2012 20:03:34 +0000 (22:03 +0200)]
Remove duplicate declaration

11 years agoDon't die if the clients file doesn't contain client <name> {}
Arran Cudbard-Bell [Fri, 7 Sep 2012 16:01:59 +0000 (17:01 +0100)]
Don't die if the clients file doesn't contain client <name> {}

11 years agoDon't die if the clients file doesn't contain client {}
Arran Cudbard-Bell [Fri, 7 Sep 2012 15:39:27 +0000 (16:39 +0100)]
Don't die if the clients file doesn't contain client {}

11 years agoHungroups and hints should default to NULL, so theyre disabled if omitted
Arran Cudbard-Bell [Fri, 7 Sep 2012 13:47:39 +0000 (14:47 +0100)]
Hungroups and hints should default to NULL, so theyre disabled if omitted

11 years agoUpdate src/modules/rlm_cache/rlm_cache.c
Arran Cudbard-Bell [Thu, 6 Sep 2012 16:55:27 +0000 (18:55 +0200)]
Update src/modules/rlm_cache/rlm_cache.c

11 years agoChange attribute section name
Arran Cudbard-Bell [Thu, 6 Sep 2012 16:54:26 +0000 (18:54 +0200)]
Change attribute section name

11 years agoAdd cache to accounting and preacct
Arran Cudbard-Bell [Thu, 6 Sep 2012 16:50:15 +0000 (18:50 +0200)]
Add cache to accounting and preacct

11 years agoCheck for more parse errors when reading dicts. Bug found by Coverity
Alan T. DeKok [Thu, 6 Sep 2012 09:32:16 +0000 (11:32 +0200)]
Check for more parse errors when reading dicts.  Bug found by Coverity

11 years agoDouble-check that we don't over-run the buffer
Alan T. DeKok [Thu, 6 Sep 2012 09:25:45 +0000 (11:25 +0200)]
Double-check that we don't over-run the buffer

11 years agoCheck for memset of zero
Alan T. DeKok [Thu, 6 Sep 2012 09:22:24 +0000 (11:22 +0200)]
Check for memset of zero

11 years agoClose directory when done with it. Bug found by Coverity
Alan T. DeKok [Thu, 6 Sep 2012 09:21:09 +0000 (11:21 +0200)]
Close directory when done with it.  Bug found by Coverity

11 years agoClose socket on error. Bug found by Coverity
Alan T. DeKok [Thu, 6 Sep 2012 09:18:15 +0000 (11:18 +0200)]
Close socket on error.  Bug found by Coverity

11 years agoClose FD if there's nothing to log. Bug found by Coverity
Alan T. DeKok [Thu, 6 Sep 2012 09:11:02 +0000 (11:11 +0200)]
Close FD if there's nothing to log.  Bug found by Coverity

11 years agoEnsure all fields are initialized
Alan T. DeKok [Thu, 6 Sep 2012 09:09:46 +0000 (11:09 +0200)]
Ensure all fields are initialized

11 years agoCommand sockets are debug messages, not info
Alan T. DeKok [Thu, 6 Sep 2012 09:28:18 +0000 (11:28 +0200)]
Command sockets are debug messages, not info

11 years agoFix possible bug
Alan T. DeKok [Thu, 6 Sep 2012 09:00:26 +0000 (11:00 +0200)]
Fix possible bug

11 years agoFix use after free. Bug found by Coverity
Alan T. DeKok [Thu, 6 Sep 2012 08:57:53 +0000 (10:57 +0200)]
Fix use after free.  Bug found by Coverity

11 years agoOnly log known Acct-Status-Types. Bug found by Coverity
Alan T. DeKok [Thu, 6 Sep 2012 08:55:03 +0000 (10:55 +0200)]
Only log known Acct-Status-Types.  Bug found by Coverity

11 years agoAdded script for monit
Alan T. DeKok [Sun, 2 Sep 2012 08:12:14 +0000 (10:12 +0200)]
Added script for monit

11 years agoAdd debug option
Arran Cudbard-Bell [Thu, 6 Sep 2012 08:58:19 +0000 (10:58 +0200)]
Add debug option

11 years agoAdd hup to default logrotate script
Arran Cudbard-Bell [Wed, 5 Sep 2012 17:46:25 +0000 (18:46 +0100)]
Add hup to default logrotate script

11 years agoAllow defaults to come from env
Arran Cudbard-Bell [Wed, 5 Sep 2012 17:23:13 +0000 (18:23 +0100)]
Allow defaults to come from env

11 years agoUpdate wiki link
Arran Cudbard-Bell [Wed, 5 Sep 2012 10:19:48 +0000 (12:19 +0200)]
Update wiki link

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