freeradius.git
17 years ago In pairmove(), do NOT blindly move all of the attributes over if
aland [Thu, 24 Aug 2006 23:49:47 +0000 (23:49 +0000)]
In pairmove(), do NOT blindly move all of the attributes over if
*to == NULL.  We still have to pay attention to the operators.

If the operators are comparison ones, then do NOT move them to
the "*to" list, as they're not needed.

17 years ago Don't copy User-Password to Cleartext-Password, if the User-Password
aland [Thu, 24 Aug 2006 23:27:20 +0000 (23:27 +0000)]
Don't copy User-Password to Cleartext-Password, if the User-Password
already exists.

17 years ago If debugging, set output to stdout.
aland [Thu, 24 Aug 2006 18:57:01 +0000 (18:57 +0000)]
If debugging, set output to stdout.

Print server version on startup

update text for reloading configuration files

17 years ago Until we read radiusd.conf, all errors should go to stderr.
aland [Wed, 23 Aug 2006 20:37:14 +0000 (20:37 +0000)]
Until we read radiusd.conf, all errors should go to stderr.

Once we read radiusd.conf, we've initialized the logging
destination, and all errors should go there.

17 years ago Be a little more paranoid about initialization.
aland [Tue, 22 Aug 2006 23:02:15 +0000 (23:02 +0000)]
Be a little more paranoid about initialization.

17 years ago Allow empty check lines.
aland [Tue, 22 Aug 2006 18:19:56 +0000 (18:19 +0000)]
    Allow empty check lines.

        This closes bug #380.

17 years ago Be a little more aggressive about shrinking the TLS fragment
aland [Tue, 22 Aug 2006 16:20:26 +0000 (16:20 +0000)]
Be a little more aggressive about shrinking the TLS fragment
size when given a Framed-MTU.

This closes bug #383.

17 years ago Free more entries in the config.
aland [Tue, 22 Aug 2006 16:08:49 +0000 (16:08 +0000)]
Free more entries in the config.

This closes bug #385

17 years ago Install new files hash.h and packet.h too and remove "freeradius-devel"
nbk [Mon, 21 Aug 2006 09:47:48 +0000 (09:47 +0000)]
Install new files hash.h and packet.h too and remove "freeradius-devel"
from the #include directives in the copy to be found in the destination
directory. An external program could now use the FreeRADIUS libradius
with a #include <freeradius/libradius.h>

17 years ago Pulled from branch_1_1
aland [Fri, 18 Aug 2006 16:23:22 +0000 (16:23 +0000)]
Pulled from branch_1_1

17 years agoadded a couple of extra services that should start b4 radiusd
pnixon [Fri, 18 Aug 2006 13:27:50 +0000 (13:27 +0000)]
added a couple of extra services that should start b4 radiusd

17 years agoAdd LSB compatible init info
pnixon [Fri, 18 Aug 2006 13:23:57 +0000 (13:23 +0000)]
Add LSB compatible init info

17 years agoupdate to start AFTER db backends
pnixon [Fri, 18 Aug 2006 12:24:09 +0000 (12:24 +0000)]
update to start AFTER db backends

17 years ago The patch in the downstream Debian package to run radclient with
nbk [Fri, 18 Aug 2006 11:58:04 +0000 (11:58 +0000)]
The patch in the downstream Debian package to run radclient with
a non-privileged user removes the permissions again on upgrade.
Instead, we always leave the file /etc/freeradius/dictionary with
the default permissions.

17 years ago The patch in the downstream Debian package to run radclient with
nbk [Fri, 18 Aug 2006 11:57:53 +0000 (11:57 +0000)]
The patch in the downstream Debian package to run radclient with
a non-privileged user removes the permissions again on upgrade.
Instead, we always leave the file /etc/freeradius/dictionary with
the default permissions.

17 years agoAdd X-Ascend-Session-Svr-Key so Packet of Disconnect works
pnixon [Fri, 18 Aug 2006 10:50:30 +0000 (10:50 +0000)]
Add X-Ascend-Session-Svr-Key so Packet of Disconnect works

17 years agoAdd XAscendSessionSvrKey to allow Packet of Disconnect
pnixon [Fri, 18 Aug 2006 10:22:36 +0000 (10:22 +0000)]
Add XAscendSessionSvrKey to allow Packet of Disconnect

17 years ago Use correct catch for lines that are too long\18
aland [Fri, 18 Aug 2006 00:08:37 +0000 (00:08 +0000)]
Use correct catch for lines that are too long\18

17 years ago Don't free cs if it was uninitialized
aland [Thu, 17 Aug 2006 23:49:26 +0000 (23:49 +0000)]
Don't free cs if it was uninitialized

17 years ago Pulled from branch_1_1. Untested!
aland [Thu, 17 Aug 2006 21:41:00 +0000 (21:41 +0000)]
Pulled from branch_1_1.  Untested!

Didn't pull doc/examples/postgresql.sql

17 years agomake the field names match the rest of FreeRADIUS
pnixon [Thu, 17 Aug 2006 14:20:52 +0000 (14:20 +0000)]
make the field names match the rest of FreeRADIUS

17 years agoClean up radippool to make its style closer to the rest of FreeRADIUS
pnixon [Thu, 17 Aug 2006 14:09:26 +0000 (14:09 +0000)]
Clean up radippool to make its style closer to the rest of FreeRADIUS

17 years ago Add Oracle to the list of supported drivers.
nbk [Thu, 17 Aug 2006 12:20:41 +0000 (12:20 +0000)]
Add Oracle to the list of supported drivers.
Thanks to Alexander Serkin <als@cell.ru>

17 years ago Add Oracle to the list of supported drivers.
nbk [Thu, 17 Aug 2006 12:20:19 +0000 (12:20 +0000)]
Add Oracle to the list of supported drivers.
Thanks to Alexander Serkin <als@cell.ru>

17 years agoSync a few changes from cvs head
pnixon [Thu, 17 Aug 2006 12:13:24 +0000 (12:13 +0000)]
Sync a few changes from cvs head

17 years ago Regenerate radpaths.h if a later run of ./configure has rewritten
nbk [Wed, 16 Aug 2006 21:43:18 +0000 (21:43 +0000)]
Regenerate radpaths.h if a later run of ./configure has rewritten
build-radpaths-h. This prevents from using the pathnames of the
previous build, which won't work if the configure options were
different.

17 years ago Regenerate radpaths.h if a later run of ./configure has rewritten
nbk [Wed, 16 Aug 2006 21:42:30 +0000 (21:42 +0000)]
Regenerate radpaths.h if a later run of ./configure has rewritten
build-radpaths-h. This prevents from using the pathnames of the
previous build, which won't work if the configure options were
different.

17 years ago Verify Access-Challenge, too. Bug found by Mitaine Yoann
aland [Wed, 16 Aug 2006 20:04:33 +0000 (20:04 +0000)]
Verify Access-Challenge, too.  Bug found by Mitaine Yoann

17 years ago Verify Access-Challenge, too. That's a dumb bug, found by
aland [Wed, 16 Aug 2006 20:03:35 +0000 (20:03 +0000)]
Verify Access-Challenge, too.  That's a dumb bug, found by
Mitaine Yoann

17 years agoSome initial sqlippool documentation and schema update
pnixon [Wed, 16 Aug 2006 17:42:25 +0000 (17:42 +0000)]
Some initial sqlippool documentation and schema update

17 years agoMajor updates to module to make it standalone. It no longer needs to know what the...
pnixon [Wed, 16 Aug 2006 17:06:49 +0000 (17:06 +0000)]
Major updates to module to make it standalone. It no longer needs to know what the ip pool config is at startup, infact it no longer cares as each query is check against the table so new pools can be added, deleted and extended on the fly without a reload.

17 years ago Now that we have Cleartext-Password and Password-With-Header, use
aland [Tue, 15 Aug 2006 20:46:48 +0000 (20:46 +0000)]
Now that we have Cleartext-Password and Password-With-Header, use
them.  i.e.

Move PW_PASSWORD to PW_USER_PASSWORD if it's looking in the request
Move PW_PASSWORD to PW_CLEARTEXT_PASSWORD if it's in the config items
Move PW_USER_PASSWORD to PW_CLEARTEXT_PASSWORD if in config items

Update messages that complain about "known good" password from
User-Password to Cleartext-Password

Update auth.c to rewrite User-Password in config items to
Cleartext-Password, and to print out a big warning message.

Update rlm_pap to use Password-With-Header, but to still accept
User-Password in config items for the same thing, and then delete
User-Password if it had a header.

Still need to update ldap configuration.

17 years ago Added Password-With-Header, so we don't have too many meanings
aland [Tue, 15 Aug 2006 18:49:25 +0000 (18:49 +0000)]
Added Password-With-Header, so we don't have too many meanings
for User-Password.  This is mainly used by rlm_ldap, but the intent
is to have this string contain "{header}stuff", and rlm_pap
can turn that into a well-known password

17 years ago Replaced EAP-MD5-Password with Cleartext-Password
aland [Tue, 15 Aug 2006 18:40:18 +0000 (18:40 +0000)]
Replaced EAP-MD5-Password with Cleartext-Password

17 years ago Define Cleartext-Password, for general consumption
aland [Tue, 15 Aug 2006 18:29:25 +0000 (18:29 +0000)]
Define Cleartext-Password, for general consumption

17 years ago Don't complain about Auth-Type Accept or Reject
aland [Mon, 14 Aug 2006 22:36:34 +0000 (22:36 +0000)]
Don't complain about Auth-Type Accept or Reject

17 years ago allow number of days, too
aland [Tue, 1 Aug 2006 22:09:28 +0000 (22:09 +0000)]
allow number of days, too

17 years ago Document the setup of sqlcounter against a PostgreSQL database.
nbk [Sat, 29 Jul 2006 19:43:30 +0000 (19:43 +0000)]
Document the setup of sqlcounter against a PostgreSQL database.
Patch from Stephen Gran <sgran@debian.org>

17 years ago Document the setup of sqlcounter against a PostgreSQL database.
nbk [Sat, 29 Jul 2006 19:39:23 +0000 (19:39 +0000)]
Document the setup of sqlcounter against a PostgreSQL database.
Patch from Stephen Gran <sgran@debian.org>

17 years ago Be smarter and faster about aliases.
aland [Fri, 28 Jul 2006 21:46:11 +0000 (21:46 +0000)]
Be smarter and faster about aliases.

Don't allow aliases between attributes of differing types.

Note that enforcing that the target of the alias has values means
that the aliased attribute is of the correct type: integer, etc.

17 years ago Added support for native "byte" and "short", which are used by
aland [Fri, 28 Jul 2006 17:34:13 +0000 (17:34 +0000)]
Added support for native "byte" and "short", which are used by
some vendors.

Added support for VALUE-ALIAS, to minimize the number of copies
of VALUEs of the same name, for different ATTRIBUTEs

17 years ago Merged from CVS head
aland [Wed, 26 Jul 2006 23:00:19 +0000 (23:00 +0000)]
Merged from CVS head

17 years ago As posted to the list
aland [Wed, 26 Jul 2006 22:57:30 +0000 (22:57 +0000)]
As posted to the list

17 years agofile dictionary.tropos was added on branch branch_1_1 on 2006-07-26 23:00:20 +0000
aland [Wed, 26 Jul 2006 22:57:30 +0000 (22:57 +0000)]
file dictionary.tropos was added on branch branch_1_1 on 2006-07-26 23:00:20 +0000

17 years ago More checks for diameter length
aland [Mon, 24 Jul 2006 23:08:44 +0000 (23:08 +0000)]
More checks for diameter length

17 years ago Decode multiple Diameter attributes from inside one or more
aland [Mon, 24 Jul 2006 21:53:08 +0000 (21:53 +0000)]
Decode multiple Diameter attributes from inside one or more
Extended-Attributes.

It's inefficient (i.e. copying data to yet another buffer on the
stack), but it works, and handles pretty much anything we can throw
at it.

17 years ago Check header length, too
aland [Mon, 17 Jul 2006 19:07:37 +0000 (19:07 +0000)]
Check header length, too

17 years ago Check length of Diameter headers, too
aland [Mon, 17 Jul 2006 19:06:25 +0000 (19:06 +0000)]
Check length of Diameter headers, too

17 years ago Update the comments to document the current nas_query. The previous
nbk [Sun, 16 Jul 2006 10:43:13 +0000 (10:43 +0000)]
Update the comments to document the current nas_query. The previous
description was a little confusing. (closes: #374)

17 years ago Install the documentation files under the directory
nbk [Sat, 15 Jul 2006 17:22:58 +0000 (17:22 +0000)]
Install the documentation files under the directory
/usr/share/doc/freeradius-%{version}

17 years ago Install the documentation under the directory $(docdir).
nbk [Sat, 15 Jul 2006 17:16:51 +0000 (17:16 +0000)]
Install the documentation under the directory $(docdir).

17 years ago Get a variable "docdir" from configure, too.
nbk [Sat, 15 Jul 2006 17:15:59 +0000 (17:15 +0000)]
Get a variable "docdir" from configure, too.

17 years ago Regenerate from configure.in 1.198.2.15.2.10 using autoconf 2.59.
nbk [Sat, 15 Jul 2006 17:14:54 +0000 (17:14 +0000)]
Regenerate from configure.in 1.198.2.15.2.10 using autoconf 2.59.

17 years ago Add an option --with-docdir, so we can chose the directory where
nbk [Sat, 15 Jul 2006 17:04:59 +0000 (17:04 +0000)]
Add an option --with-docdir, so we can chose the directory where
the documentation files will be installed.

17 years ago Install the documentation under the directory $(docdir).
nbk [Sat, 15 Jul 2006 16:43:48 +0000 (16:43 +0000)]
Install the documentation under the directory $(docdir).

17 years ago Get a variable "docdir" from configure, too.
nbk [Sat, 15 Jul 2006 16:41:26 +0000 (16:41 +0000)]
Get a variable "docdir" from configure, too.

17 years ago Regenerate from configure.in 1.231 using autoconf 2.59.
nbk [Sat, 15 Jul 2006 16:39:49 +0000 (16:39 +0000)]
Regenerate from configure.in 1.231 using autoconf 2.59.

17 years ago Add an option --with-docdir, so we can chose the directory where
nbk [Sat, 15 Jul 2006 16:36:22 +0000 (16:36 +0000)]
Add an option --with-docdir, so we can chose the directory where
the documentation files will be installed.

17 years ago Add Alvarion hack to preaccounting
aland [Fri, 14 Jul 2006 16:54:11 +0000 (16:54 +0000)]
Add Alvarion hack to preaccounting

17 years ago Add Alvarion hack to preaccounting
aland [Fri, 14 Jul 2006 16:53:45 +0000 (16:53 +0000)]
Add Alvarion hack to preaccounting

17 years ago Yank & de-allocate ID after verifying signature, not before!
aland [Thu, 13 Jul 2006 23:57:37 +0000 (23:57 +0000)]
Yank & de-allocate ID after verifying signature, not before!

17 years ago Hack for Breezecom nonsense
aland [Thu, 13 Jul 2006 23:32:56 +0000 (23:32 +0000)]
Hack for Breezecom nonsense

17 years ago Hack for breezecom nonsense. Untested.
aland [Thu, 13 Jul 2006 23:32:32 +0000 (23:32 +0000)]
Hack for breezecom nonsense.  Untested.

17 years ago return NULL not 0 for consistency
aland [Thu, 13 Jul 2006 23:32:08 +0000 (23:32 +0000)]
return NULL not 0 for consistency

17 years ago Make VENDOR publicly accessible, it's needed.
aland [Thu, 13 Jul 2006 21:21:04 +0000 (21:21 +0000)]
Make VENDOR publicly accessible, it's needed.

17 years ago Pull off the top bit, too for VENDOR, due to recent Diameter
aland [Thu, 13 Jul 2006 21:17:24 +0000 (21:17 +0000)]
Pull off the top bit, too for VENDOR, due to recent Diameter
integration hacks

17 years agofile dictionary.alvarion was added on branch branch_1_1 on 2006-07-26 23:00:19 +0000
aland [Thu, 13 Jul 2006 21:11:33 +0000 (21:11 +0000)]
file dictionary.alvarion was added on branch branch_1_1 on 2006-07-26 23:00:19 +0000

17 years ago Add dictionary, generated via a Perl script, because the vendor
aland [Thu, 13 Jul 2006 21:11:32 +0000 (21:11 +0000)]
Add dictionary, generated via a Perl script, because the vendor
has a weird scheme for handling them.

17 years ago Don't go up too far in open braces. Otherwise:
aland [Thu, 13 Jul 2006 20:54:17 +0000 (20:54 +0000)]
Don't go up too far in open braces.  Otherwise:

                Reply-Message = `%{Reply-Message:-x%{User-Name}x}

        will return 'xbob', rather than 'xbobx'

17 years ago Rename index to count, to avoid compiler warnings.
aland [Thu, 13 Jul 2006 16:40:54 +0000 (16:40 +0000)]
Rename index to count, to avoid compiler warnings.

Don't go up too far in open braces.  Otherwise:

Reply-Message = `%{Reply-Message:-x%{User-Name}x}

will return 'xbob', rather than 'xbobx'

17 years ago Get downstream changelog and update it for 1.1.3.
nbk [Thu, 13 Jul 2006 16:12:44 +0000 (16:12 +0000)]
Get downstream changelog and update it for 1.1.3.

17 years ago Imported changes from downstream Debian packaging.
nbk [Thu, 13 Jul 2006 16:12:11 +0000 (16:12 +0000)]
Imported changes from downstream Debian packaging.

17 years ago Build-Depends: libtool (>= 1.5)
nbk [Thu, 13 Jul 2006 16:10:10 +0000 (16:10 +0000)]
Build-Depends: libtool (>= 1.5)

17 years ago Update after autotools upgrade:
nbk [Thu, 13 Jul 2006 16:06:40 +0000 (16:06 +0000)]
Update after autotools upgrade:
- ./configure flags
- system libtool

17 years ago Fix errors in initscript when trying to reload even if the
nbk [Thu, 13 Jul 2006 15:59:13 +0000 (15:59 +0000)]
Fix errors in initscript when trying to reload even if the
server isn't running.

17 years ago The CVS head is currently 2.0.0-pre0.
nbk [Thu, 13 Jul 2006 15:51:30 +0000 (15:51 +0000)]
The CVS head is currently 2.0.0-pre0.

17 years ago Fix errors in initscript when trying to reload even if the
nbk [Thu, 13 Jul 2006 15:48:58 +0000 (15:48 +0000)]
Fix errors in initscript when trying to reload even if the
server isn't running.

17 years ago Imported changes from downstream Debian packaging.
nbk [Thu, 13 Jul 2006 15:47:17 +0000 (15:47 +0000)]
Imported changes from downstream Debian packaging.

17 years ago Implement initial support for Extended-Attribute, as per
aland [Wed, 12 Jul 2006 18:13:02 +0000 (18:13 +0000)]
Implement initial support for Extended-Attribute, as per
draft-wolff-radext-ext-attribute-00.txt

17 years ago Remove freeradius.undocumented as we don't install links to
nbk [Tue, 11 Jul 2006 13:52:38 +0000 (13:52 +0000)]
Remove freeradius.undocumented as we don't install links to
undocumented(7) anymore (not recommended since policy 3.5.8.0)

17 years ago Remove freeradius.undocumented as we don't install links to
nbk [Tue, 11 Jul 2006 13:52:15 +0000 (13:52 +0000)]
Remove freeradius.undocumented as we don't install links to
undocumented(7) anymore (not recommended since policy 3.5.8.0)

17 years ago When reading the detail file, look for Packet-Src-IP-Address,
aland [Fri, 7 Jul 2006 21:51:23 +0000 (21:51 +0000)]
When reading the detail file, look for Packet-Src-IP-Address,
and set it appropriately, so that acct_unique_id works.

See also recent changes to rlm_detail, which are required for
this change to be useful

17 years ago Add "log_packet_header" config, which will log src/dst ip/port.
aland [Fri, 7 Jul 2006 21:44:56 +0000 (21:44 +0000)]
Add "log_packet_header" config, which will log src/dst ip/port.

This will let acct_unique_id work properly with radrelay,
because it depends on Client-IP-Address.  This was noted today
on -devel by Guy Fraser

17 years ago Be a little more forgiving about accepting attributes without names
aland [Fri, 7 Jul 2006 21:43:46 +0000 (21:43 +0000)]
Be a little more forgiving about accepting attributes without names

17 years ago When printing IPv6 address, print IPv6 ones...
aland [Fri, 7 Jul 2006 21:11:03 +0000 (21:11 +0000)]
When printing IPv6 address, print IPv6 ones...

17 years ago un-break last change
aland [Fri, 7 Jul 2006 18:10:48 +0000 (18:10 +0000)]
un-break last change

17 years ago Remove ${srcdir} stuff, which isn't necessary, and wasn't in
aland [Fri, 7 Jul 2006 18:00:16 +0000 (18:00 +0000)]
Remove ${srcdir} stuff, which isn't necessary, and wasn't in
the configure.in in CVS

17 years ago Update for branch_1_1 (vp_strvalue, FR header locations).
fcusack [Fri, 7 Jul 2006 01:04:21 +0000 (01:04 +0000)]
Update for branch_1_1 (vp_strvalue, FR header locations).
How the 'F' did this ever work.

17 years ago Bump version to 1.1.3
aland [Thu, 6 Jul 2006 23:58:33 +0000 (23:58 +0000)]
Bump version to 1.1.3

17 years ago make reconfig
aland [Thu, 6 Jul 2006 19:17:52 +0000 (19:17 +0000)]
make reconfig
cvs diff `find . -name configure.in -print` > foo
grep ^Index: foo | sed 's/Index: //' > list
cvs commit `cat list`

17 years ago A better way to do "make reconfig", that doesn't miss anything.
aland [Thu, 6 Jul 2006 19:16:41 +0000 (19:16 +0000)]
A better way to do "make reconfig", that doesn't miss anything.

Ported from CVS head

17 years ago A better way to do "make reconfig".
aland [Thu, 6 Jul 2006 19:16:20 +0000 (19:16 +0000)]
A better way to do "make reconfig".

17 years ago Add reconfig target
aland [Thu, 6 Jul 2006 16:55:35 +0000 (16:55 +0000)]
Add reconfig target

17 years ago Pull reconfig from head
aland [Thu, 6 Jul 2006 16:54:34 +0000 (16:54 +0000)]
Pull reconfig from head

17 years ago Add reconfig target
aland [Thu, 6 Jul 2006 16:54:27 +0000 (16:54 +0000)]
Add reconfig target

17 years ago port reconfig target from head
aland [Thu, 6 Jul 2006 16:42:56 +0000 (16:42 +0000)]
port reconfig target from head

17 years ago Add reconfig target, make it recursive, and use it only if
aland [Thu, 6 Jul 2006 16:42:03 +0000 (16:42 +0000)]
Add reconfig target, make it recursive, and use it only if
there's a configure script

17 years ago Move the test for "deletestalesessions". (closes #373)
nbk [Thu, 6 Jul 2006 14:37:32 +0000 (14:37 +0000)]
Move the test for "deletestalesessions". (closes #373)

Patch from Kevin Bonner <keb@pa.net>

17 years ago Update for new hash table
aland [Wed, 5 Jul 2006 17:08:31 +0000 (17:08 +0000)]
Update for new hash table

17 years agoimport from branch_1_1:
fcusack [Sat, 1 Jul 2006 00:14:58 +0000 (00:14 +0000)]
import from branch_1_1:
fix (reverse) selection of challenge and response vp's