freeradius.git
19 years agoAutoconf2.13-regenerated for release_1_0_1
phampson [Tue, 14 Sep 2004 12:29:06 +0000 (12:29 +0000)]
Autoconf2.13-regenerated for
Release 1.0.1

19 years agoRelease 1.0.1
phampson [Tue, 14 Sep 2004 12:21:14 +0000 (12:21 +0000)]
Release 1.0.1

19 years ago Pull fix from the head
aland [Fri, 10 Sep 2004 15:06:44 +0000 (15:06 +0000)]
Pull fix from the head

19 years ago Pull patch from the head
aland [Fri, 10 Sep 2004 14:51:48 +0000 (14:51 +0000)]
Pull patch from the head

19 years ago Pull regex fix from the head
aland [Thu, 9 Sep 2004 14:31:06 +0000 (14:31 +0000)]
Pull regex fix from the head

19 years agoPrepare the debian/ directory for 1.0.1 release.
phampson [Thu, 2 Sep 2004 10:57:00 +0000 (10:57 +0000)]
Prepare the debian/ directory for 1.0.1 release.

19 years agoUpdated with 1.0.1 fixes
phampson [Thu, 2 Sep 2004 10:52:03 +0000 (10:52 +0000)]
Updated with 1.0.1 fixes

19 years ago Pull fix from the head
aland [Wed, 1 Sep 2004 19:30:48 +0000 (19:30 +0000)]
Pull fix from the head

19 years ago Pull fix from the HEAD
aland [Mon, 30 Aug 2004 19:07:18 +0000 (19:07 +0000)]
Pull fix from the HEAD

19 years ago It's now 1.0.1-pre0
aland [Mon, 30 Aug 2004 17:58:09 +0000 (17:58 +0000)]
It's now 1.0.1-pre0

19 years ago Pull fixes from the HEAD
aland [Mon, 30 Aug 2004 17:56:18 +0000 (17:56 +0000)]
Pull fixes from the HEAD

19 years ago Pull fixes from the HEAD
aland [Mon, 30 Aug 2004 17:49:45 +0000 (17:49 +0000)]
Pull fixes from the HEAD

19 years ago Pull fixes 1.126, 1.127, 1.128 from HEAD
aland [Mon, 30 Aug 2004 17:48:31 +0000 (17:48 +0000)]
Pull fixes 1.126, 1.127, 1.128 from HEAD

19 years ago Corrected typo, as found by Kostas Zorbadelos.
aland [Mon, 30 Aug 2004 15:34:34 +0000 (15:34 +0000)]
Corrected typo, as found by Kostas Zorbadelos.

19 years agonasty bug that causes new files created by logrotate to have the wrong permissions...
pnixon [Sat, 28 Aug 2004 10:32:32 +0000 (10:32 +0000)]
nasty bug that causes new files created by logrotate to have the wrong permissions if radiusd runs as anything but the root user

19 years agonasty bug that causes new files created by logrotate to have the wrong permissions...
pnixon [Sat, 28 Aug 2004 10:26:45 +0000 (10:26 +0000)]
nasty bug that causes new files created by logrotate to have the wrong permissions if radiusd runs as anything by the root user

19 years ago When returning after failed to decrypt attributes, free the pair
aland [Fri, 27 Aug 2004 21:38:59 +0000 (21:38 +0000)]
When returning after failed to decrypt attributes, free the pair
we just allocated.

This fixes a memory leak.

19 years ago After running valgrind to get errors, clean up the source, and
aland [Fri, 27 Aug 2004 21:21:37 +0000 (21:21 +0000)]
After running valgrind to get errors, clean up the source, and
discover problems with the dictionaries (sigh)

dict.c now allows duplicate VALUE definitions, so long as both the
name and value are the same.  If they differ, it complains.

Given the new complaints, we've also updated the dictionaries.

19 years ago Cleanup request list, if asked
aland [Fri, 27 Aug 2004 20:30:05 +0000 (20:30 +0000)]
Cleanup request list, if asked

19 years ago Include commented-out code which can be used to debug memory usage
aland [Fri, 27 Aug 2004 18:56:55 +0000 (18:56 +0000)]
Include commented-out code which can be used to debug memory usage
and allocation

19 years ago xlat_free() function, for memory debugging
aland [Fri, 27 Aug 2004 18:52:28 +0000 (18:52 +0000)]
xlat_free() function, for memory debugging

19 years ago Export dict_free()
aland [Fri, 27 Aug 2004 18:46:10 +0000 (18:46 +0000)]
Export dict_free()

When creating the tree of values by name, tell the tree code
that we call "free", to get rid of the entries in it, so we don't
have leaks when calling dict_free()

19 years ago Removed unnecessary xfree, and all references to it
aland [Fri, 27 Aug 2004 18:22:07 +0000 (18:22 +0000)]
Removed unnecessary xfree, and all references to it

19 years ago Fix compiler warnings.
aland [Fri, 27 Aug 2004 15:34:35 +0000 (15:34 +0000)]
Fix compiler warnings.

19 years ago Don't permit retards to enter strange values in the dictionaries
aland [Thu, 26 Aug 2004 21:43:24 +0000 (21:43 +0000)]
Don't permit retards to enter strange values in the dictionaries

19 years ago USR style attributes have to have at least 8 octets of
aland [Thu, 26 Aug 2004 21:22:38 +0000 (21:22 +0000)]
USR style attributes have to have at least 8 octets of
vendor data.

Once again, a bug found by a retard.

19 years ago Fix remote crash, as given in a report by a retard who didn't bother
aland [Thu, 26 Aug 2004 20:52:57 +0000 (20:52 +0000)]
Fix remote crash, as given in a report by a retard who didn't bother
contacting us before publishing vulnerabilities.

He shall remain nameless.

The short summary is that Ascend-Send-Secret, like Tunnel-Password,
requires an "original" packet to decode the attribute.  The check
was added for Tunnel-Password, but not Ascend-Send-Secret

19 years ago Add 'test'
aland [Thu, 26 Aug 2004 20:47:50 +0000 (20:47 +0000)]
Add 'test'

19 years ago Updates as posted to the list today
aland [Mon, 23 Aug 2004 18:10:05 +0000 (18:10 +0000)]
Updates as posted to the list today

19 years ago If we're printing to a string for xlat's, don't bother escaping
aland [Wed, 18 Aug 2004 20:58:11 +0000 (20:58 +0000)]
If we're printing to a string for xlat's, don't bother escaping
characters, as the user-specified escape function will do that
for us

19 years ago Change include order to get rid of compiler warnings
aland [Wed, 18 Aug 2004 20:31:34 +0000 (20:31 +0000)]
Change include order to get rid of compiler warnings

19 years agoGender-neutralise sentence by removing personal pronoun.
phampson [Wed, 18 Aug 2004 03:39:26 +0000 (03:39 +0000)]
Gender-neutralise sentence by removing personal pronoun.

19 years agoCorrect manpage section in TH entry.
phampson [Wed, 18 Aug 2004 03:38:58 +0000 (03:38 +0000)]
Correct manpage section in TH entry.

19 years agoRegenerate using autoconf 2.59 from configure.in after:
phampson [Wed, 18 Aug 2004 03:33:15 +0000 (03:33 +0000)]
Regenerate using autoconf 2.59 from configure.in after:
EAP/SIM doesn't depend on OpenSSL. All crypto's done in libeap, and that
all appears to be using SHA1 from libradius anyway.

19 years agoEAP/SIM doesn't depend on OpenSSL. All crypto's done in libeap, and that
phampson [Wed, 18 Aug 2004 03:30:09 +0000 (03:30 +0000)]
EAP/SIM doesn't depend on OpenSSL. All crypto's done in libeap, and that
all appears to be using SHA1 from libradius anyway.

19 years ago Don't use bzero
aland [Tue, 17 Aug 2004 18:38:44 +0000 (18:38 +0000)]
Don't use bzero

19 years agoMove a few header() calls after including config.php3 so that we have access to the...
kkalev [Sat, 14 Aug 2004 15:41:50 +0000 (15:41 +0000)]
Move a few header() calls after including config.php3 so that we have access to the relevant
variables.

19 years ago Implemented a module to permit/deny requests based on attributes.
aland [Fri, 13 Aug 2004 18:33:16 +0000 (18:33 +0000)]
Implemented a module to permit/deny requests based on attributes.

It's different from rlm_attr_filter, in that it doesn't add
attributes to the packet, it just filters requests.

19 years agoIn rlm_mschap always register the mschap xlat. If we have multiple module
kkalev [Wed, 11 Aug 2004 12:01:35 +0000 (12:01 +0000)]
In rlm_mschap always register the mschap xlat. If we have multiple module
instances then we also register an xlat for each instance.
We add 2 new xlats:

%{mschap: NT-Hash <password>}, %{mschap: LM-Hash <password>}

which returned the corresponding encrypted hash. The rlm_pap module has
been updated to use them in order to also provide support for NT/LM
encryption schemes.
Update radiusd.conf with the 2 new encryption scheme options for rlm_pap

19 years agoMove a few paircompare functions for specific attributes from the server core
kkalev [Tue, 10 Aug 2004 12:40:05 +0000 (12:40 +0000)]
Move a few paircompare functions for specific attributes from the server core
(src/main/valuepair.c) to the rlm_expr module (we could probably just create
another module, but rlm_expr can do also). That way we keep the server core
as small as possible.

19 years agoIn user_state also take into account any open sessions when calculating daily/weekly...
kkalev [Mon, 9 Aug 2004 15:37:46 +0000 (15:37 +0000)]
In user_state also take into account any open sessions when calculating daily/weekly usage.
Add two more lines in the output stating the number of current open sessions and the time used.

19 years agoMore updates
kkalev [Mon, 9 Aug 2004 15:31:57 +0000 (15:31 +0000)]
More updates

19 years agoMove the Login-Time,Current-Time,Expiration attribute handling to separate
kkalev [Mon, 9 Aug 2004 15:31:05 +0000 (15:31 +0000)]
Move the Login-Time,Current-Time,Expiration attribute handling to separate
modules, rlm_logintime and rlm_expiration. Move timestr.c to rlm_logintime.
Update makefiles and radiusd.conf

19 years ago Updated debug message, in the hope that a little more text would make
aland [Mon, 9 Aug 2004 13:36:33 +0000 (13:36 +0000)]
Updated debug message, in the hope that a little more text would make
people READ it.

19 years ago Deleted authenticate_query
aland [Sun, 8 Aug 2004 18:59:22 +0000 (18:59 +0000)]
Deleted authenticate_query

19 years agoFix operator escaping in lib/sql/change_attrs.php3
kkalev [Sat, 31 Jul 2004 07:30:57 +0000 (07:30 +0000)]
Fix operator escaping in lib/sql/change_attrs.php3

19 years agoWrong foreach in show_groups and group_new.
kkalev [Sat, 31 Jul 2004 06:57:11 +0000 (06:57 +0000)]
Wrong foreach in show_groups and group_new.

19 years agoAdd a help screen. The administrator can now also reset the counters.
kkalev [Fri, 30 Jul 2004 13:58:15 +0000 (13:58 +0000)]
Add a help screen. The administrator can now also reset the counters.

19 years agoSome stupid NASes (Cisco CSPS and Ericsson GGSN to name a couple) do not send AcctSes...
pnixon [Thu, 29 Jul 2004 15:01:46 +0000 (15:01 +0000)]
Some stupid NASes (Cisco CSPS and Ericsson GGSN to name a couple) do not send AcctSessionTime in Stop packets

19 years agoSome stupid NASes (Cisco CSPS and Ericsson GGSN to name a couple) do not send AcctSes...
pnixon [Thu, 29 Jul 2004 14:32:13 +0000 (14:32 +0000)]
Some stupid NASes (Cisco CSPS and Ericsson GGSN to name a couple) do not send AcctSessionTime in Stop packets

19 years ago fix from the head
aland [Tue, 27 Jul 2004 22:16:24 +0000 (22:16 +0000)]
fix from the head

19 years ago So says the contact at trapeze
aland [Tue, 27 Jul 2004 21:53:00 +0000 (21:53 +0000)]
So says the contact at trapeze

19 years agoUpdate the Authors file
kkalev [Tue, 27 Jul 2004 16:36:15 +0000 (16:36 +0000)]
Update the Authors file

19 years agoUse lower cased row names in badusers page
kkalev [Tue, 27 Jul 2004 16:29:25 +0000 (16:29 +0000)]
Use lower cased row names in badusers page

19 years ago* Add the style sheet in the content.html
kkalev [Tue, 27 Jul 2004 11:33:41 +0000 (11:33 +0000)]
* Add the style sheet in the content.html
* Enlarge the width for the left frame
* Make show_groups and the drop down menu in group_new work

19 years agoSmall fix to show_groups.php3
kkalev [Tue, 27 Jul 2004 04:27:08 +0000 (04:27 +0000)]
Small fix to show_groups.php3

19 years ago* Add a drop down menu with existing groups in group_new.php3
kkalev [Mon, 26 Jul 2004 21:13:06 +0000 (21:13 +0000)]
* Add a drop down menu with existing groups in group_new.php3
* Check for sql in show_groups.php3
* In lib/sql/group_info.php3 if $login is not set, find available groups and place them in
  $existing_groups along with a count of users per group. Use the functionality in group_new.php3
  and show_groups.php3
* Update TODO

19 years ago* A LOT of security related fixes. Now dialupadmin should hopefully be secure enough to
kkalev [Mon, 26 Jul 2004 20:37:38 +0000 (20:37 +0000)]
* A LOT of security related fixes. Now dialupadmin should hopefully be secure enough to
  be accessed by normal users (not administrators).
* Move a few elements in the CSS file from the body tag. Suggestion by Gary McKinney
* Update FAQ about using php with no sql support.
* Allow the user to select between viewing FAQ,HOWTO or README in the help page.
* Use $_SERVER instead of $HTTP_SERVER_VARS

19 years agoAdd nas_table definition. Add readclients directive in postgresql.conf
kkalev [Fri, 23 Jul 2004 08:29:37 +0000 (08:29 +0000)]
Add nas_table definition. Add readclients directive in postgresql.conf

19 years agoRelease 1.0.0! At last! release_1_0_0
phampson [Sat, 17 Jul 2004 06:31:03 +0000 (06:31 +0000)]
Release 1.0.0! At last!

19 years agoRelease 1.0.0! At last!
phampson [Sat, 17 Jul 2004 06:23:56 +0000 (06:23 +0000)]
Release 1.0.0! At last!

19 years ago We now have a man page
aland [Thu, 15 Jul 2004 15:04:17 +0000 (15:04 +0000)]
We now have a man page

19 years ago Length of match[i] = end - start, not just end.
aland [Wed, 14 Jul 2004 21:01:02 +0000 (21:01 +0000)]
Length of match[i] = end - start, not just end.

Patch pulled from the head

19 years agoFixed incorrect offset calculations when creating the %{1}, %{2}... entries.
mgriego [Wed, 14 Jul 2004 20:55:20 +0000 (20:55 +0000)]
Fixed incorrect offset calculations when creating the %{1}, %{2}... entries.

19 years ago Copy one-line patch from the head
aland [Tue, 13 Jul 2004 19:48:56 +0000 (19:48 +0000)]
Copy one-line patch from the head

19 years ago Catch bad modules, which pass NULL's to xlat
aland [Tue, 13 Jul 2004 19:31:13 +0000 (19:31 +0000)]
Catch bad modules, which pass NULL's to xlat

19 years ago Added support for %{Attribute-Name[*]}
aland [Tue, 13 Jul 2004 15:48:53 +0000 (15:48 +0000)]
Added support for %{Attribute-Name[*]}

19 years ago Added support for %{Attribute-Name[#]}, which isn't the same
aland [Mon, 12 Jul 2004 18:38:08 +0000 (18:38 +0000)]
Added support for %{Attribute-Name[#]}, which isn't the same
as what the shell uses ($#foo[]), but it still makes sense.

19 years agoFix a small error in lib/sql/find.php3. This closes bug #103
kkalev [Mon, 12 Jul 2004 13:14:39 +0000 (13:14 +0000)]
Fix a small error in lib/sql/find.php3. This closes bug #103

19 years agoSet the general_username_mappings_file variable
kkalev [Fri, 9 Jul 2004 14:22:13 +0000 (14:22 +0000)]
Set the general_username_mappings_file variable

19 years agoSet general_restrict_nasadmin_access to no by default. It causes confusion.
kkalev [Fri, 9 Jul 2004 14:18:26 +0000 (14:18 +0000)]
Set general_restrict_nasadmin_access to no by default. It causes confusion.

19 years agoAdd a missing.php3 file with functions that may be missing from the PHP version used...
kkalev [Fri, 9 Jul 2004 12:14:39 +0000 (12:14 +0000)]
Add a missing.php3 file with functions that may be missing from the PHP version used. Include it
if a function is missing. Currently only array_change_key_case() is included

19 years ago* Use require_once instead of require when including xlat.php3
kkalev [Thu, 8 Jul 2004 11:48:18 +0000 (11:48 +0000)]
* Use require_once instead of require when including xlat.php3
* Add debug statements in sql connect functions

19 years agoUpdate for Debian Policy 3.6.1.1.
phampson [Tue, 6 Jul 2004 23:55:37 +0000 (23:55 +0000)]
Update for Debian Policy 3.6.1.1.
Change test for invoke-rc.d.

19 years agoUpdate the _comment_ regarding autotools-dev support.
phampson [Tue, 6 Jul 2004 23:43:21 +0000 (23:43 +0000)]
Update the _comment_ regarding autotools-dev support.
Seems someone already updated the _code_ for autoconf 2.52+

19 years agoUpdate Debian build scripts and changelog with net-snmp in ucd-snmp mode
phampson [Tue, 6 Jul 2004 23:34:05 +0000 (23:34 +0000)]
Update Debian build scripts and changelog with net-snmp in ucd-snmp mode
support.

19 years agoRerun autoconf after acinlude.m4 1.27 "use ucd-snmp-config.h with ucd-snmp"
phampson [Tue, 6 Jul 2004 23:26:05 +0000 (23:26 +0000)]
Rerun autoconf after acinlude.m4 1.27 "use ucd-snmp-config.h with ucd-snmp"

19 years agoRegenerate using aclocal 1.4-p6 after acinclude.m4 1.2
phampson [Tue, 6 Jul 2004 23:12:34 +0000 (23:12 +0000)]
Regenerate using aclocal 1.4-p6 after acinclude.m4 1.2

19 years agoInclude ucd-snmp/ucd-snmp-config.h when using ucd-snmp headers. This fixes
phampson [Tue, 6 Jul 2004 23:11:16 +0000 (23:11 +0000)]
Include ucd-snmp/ucd-snmp-config.h when using ucd-snmp headers. This fixes
net-snmp's ucd-snmp compatibility mode.

19 years agoAlso delete .lo files on clean
phampson [Tue, 6 Jul 2004 22:25:27 +0000 (22:25 +0000)]
Also delete .lo files on clean

19 years agoRemove other stuff that ends up in src/modules/lib. Maybe it shouldn't be
phampson [Tue, 6 Jul 2004 22:24:33 +0000 (22:24 +0000)]
Remove other stuff that ends up in src/modules/lib. Maybe it shouldn't be
there at all?

19 years agoClean up after ourselves by removing src/modules/rlm_sql/drivers/lib on clean
phampson [Tue, 6 Jul 2004 22:20:50 +0000 (22:20 +0000)]
Clean up after ourselves by removing src/modules/rlm_sql/drivers/lib on clean

19 years ago Move patch from the head
aland [Tue, 6 Jul 2004 19:29:41 +0000 (19:29 +0000)]
Move patch from the head

19 years agoDon't core dump when ldap.attrmap contains only one reply item
kkalev [Tue, 6 Jul 2004 19:07:17 +0000 (19:07 +0000)]
Don't core dump when ldap.attrmap contains only one reply item

19 years ago Removed dup
aland [Mon, 5 Jul 2004 19:03:32 +0000 (19:03 +0000)]
Removed dup

19 years ago As posted to the list
aland [Mon, 5 Jul 2004 16:06:41 +0000 (16:06 +0000)]
As posted to the list

19 years ago Move r1.159 from the head
aland [Mon, 5 Jul 2004 15:38:22 +0000 (15:38 +0000)]
Move r1.159 from the head

19 years ago Move r1.323 to the branch, so it will build on systems without
aland [Mon, 5 Jul 2004 15:36:08 +0000 (15:36 +0000)]
Move r1.323 to the branch, so it will build on systems without
pthreads

19 years ago Move "missing", so we don't have bogus complaints
aland [Mon, 5 Jul 2004 15:17:08 +0000 (15:17 +0000)]
Move "missing", so we don't have bogus complaints

19 years ago If we don't have pthreads, don't call thread pool functions
aland [Mon, 5 Jul 2004 15:16:48 +0000 (15:16 +0000)]
If we don't have pthreads, don't call thread pool functions

19 years ago Updates
aland [Fri, 2 Jul 2004 14:54:55 +0000 (14:54 +0000)]
Updates

19 years agoMake previous change work
kkalev [Fri, 2 Jul 2004 14:23:15 +0000 (14:23 +0000)]
Make previous change work

19 years agoUpdate documentation for ippool
kkalev [Thu, 1 Jul 2004 09:24:00 +0000 (09:24 +0000)]
Update documentation for ippool

19 years agoIf Pool-Name is set to DEFAULT we always run
kkalev [Thu, 1 Jul 2004 09:20:36 +0000 (09:20 +0000)]
If Pool-Name is set to DEFAULT we always run

19 years agoAlways use sql_escape_func when calling radius_xlat
kkalev [Wed, 30 Jun 2004 12:22:06 +0000 (12:22 +0000)]
Always use sql_escape_func when calling radius_xlat

19 years ago* Escape special characters in the sql password. This closes bug #96
kkalev [Tue, 29 Jun 2004 10:09:26 +0000 (10:09 +0000)]
* Escape special characters in the sql password. This closes bug #96
* Do an xlat for general_accounting_attrs_file and general_user_edit_attrs_file. That way we can
  have different mappings for each administrator.

19 years agoChange is_int to is_numeric. This closes Bug #90
kkalev [Tue, 29 Jun 2004 09:21:54 +0000 (09:21 +0000)]
Change is_int to is_numeric. This closes Bug #90

19 years ago Cleanups for presufcmp(), to make it make more sense...
aland [Thu, 24 Jun 2004 17:33:26 +0000 (17:33 +0000)]
Cleanups for presufcmp(), to make it make more sense...

19 years ago Don't use AC_OUTPUT_COMMANDS, as it has been deprecated and no
aland [Thu, 24 Jun 2004 14:24:07 +0000 (14:24 +0000)]
Don't use AC_OUTPUT_COMMANDS, as it has been deprecated and no
longer works, or gives a warning when you run autoconf.

Instead, use AC_CONFIG_COMMANDS

19 years ago Minor change to allow the server to run from local directory,
aland [Thu, 24 Jun 2004 14:05:36 +0000 (14:05 +0000)]
Minor change to allow the server to run from local directory,
without installing (for testing)