aland [Fri, 31 Jan 2003 16:10:37 +0000 (16:10 +0000)]
Allow no output pairs if we're not waiting.
aland [Fri, 31 Jan 2003 15:14:40 +0000 (15:14 +0000)]
Removed 'static' functions from the radiusd header file.
If we're not threaded, then (as of now), we have no child
processes, so we don't need to catch SIGCHLD.
aland [Thu, 30 Jan 2003 17:35:35 +0000 (17:35 +0000)]
If we don't have threads, then force the server to never spawn
child processes to handle requests. The child processes can NEVER
return information to the main server, as they don't share memory.
This means duplicate requests are processed twice, and proxying
doesn't work.
The solution is to disable the child forks in non-threaded mode,
until such time as someone implements shared memory.
kkalev [Wed, 29 Jan 2003 22:42:48 +0000 (22:42 +0000)]
Add a few comments in the tot_stats and monthly_tot_stats scripts
aland [Wed, 29 Jan 2003 20:11:44 +0000 (20:11 +0000)]
Added sample configuration for rlm_exec
aland [Wed, 29 Jan 2003 20:02:09 +0000 (20:02 +0000)]
Allow exec in authenticate sections, too.
aland [Wed, 29 Jan 2003 19:53:07 +0000 (19:53 +0000)]
Last stage of getting rlm_exec to work in multiple sections.
With a little more work, all of the Exec-Program, etc. functionality
can move out of the server core, and into this module.
aland [Wed, 29 Jan 2003 15:26:13 +0000 (15:26 +0000)]
How to build the server on XP, using Cygwin, by Philip Blow
aland [Wed, 29 Jan 2003 15:23:55 +0000 (15:23 +0000)]
Look for CC
aland [Tue, 28 Jan 2003 19:28:09 +0000 (19:28 +0000)]
Create a strvalue when we're creating a NAS-IP-Address attribute.
aland [Tue, 28 Jan 2003 16:21:52 +0000 (16:21 +0000)]
A little cleaner information for error messages
kkalev [Tue, 28 Jan 2003 15:59:16 +0000 (15:59 +0000)]
Add two new tables totacct and mtotacct containing per user aggregated statistics for each day and month
respectively. Also add two corresponding scripts in the bin folder, tot_stats and monthly_tot_stats. Lastly,
create a new page, user_stats.php3 which will show the top users in connections or connections duration based
on the data in the totacct table.
kkalev [Tue, 28 Jan 2003 15:32:19 +0000 (15:32 +0000)]
Add a column Admin in the badusers table which will contain the administrator username if that is available
kkalev [Tue, 28 Jan 2003 14:14:53 +0000 (14:14 +0000)]
In user_new show a select box with all the available groups. Based on an idea by Karel Stadler (kstadler)
aland [Mon, 27 Jan 2003 18:21:27 +0000 (18:21 +0000)]
Added preliminary large file support, with macros stolen from INN.
Large file support is off by default, until the code is audited
& checked for use of off_t. For details, see:
http://freshmeat.net/articles/view/709/
kkalev [Mon, 27 Jan 2003 17:34:45 +0000 (17:34 +0000)]
Add an entry about using InnoDB for mysql
aland [Mon, 27 Jan 2003 16:12:31 +0000 (16:12 +0000)]
Delayed commit from friday.
kkalev [Sun, 26 Jan 2003 16:54:12 +0000 (16:54 +0000)]
Do a write lock in radacct before truncating it in truncate_radacct
aland [Fri, 24 Jan 2003 21:31:46 +0000 (21:31 +0000)]
Pass reasonable values to other routines, instead of NULL's
Bug found by Wichert Akkerman.
aland [Fri, 24 Jan 2003 21:06:39 +0000 (21:06 +0000)]
Define datadir
aland [Fri, 24 Jan 2003 20:40:25 +0000 (20:40 +0000)]
Made exec program return the VP's which were parsed from the
executed program. This allows the caller to decide what to
do with them.
aland [Fri, 24 Jan 2003 18:19:34 +0000 (18:19 +0000)]
Now that we have ${datadir}, we can install the documentation
in (usually) /usr/local/share/doc/freeradius-version
aland [Fri, 24 Jan 2003 18:18:56 +0000 (18:18 +0000)]
Don't make the HTML versions of the RFC's unless specifically asked.
aland [Fri, 24 Jan 2003 18:05:53 +0000 (18:05 +0000)]
OK, datadir is now ${prefix}/share, which is what it's supposed
to be.
Added a new 'dictdir' variable, to tell us where the dictionaries
are located. It's defined as ${datadir}/freeradius
aland [Fri, 24 Jan 2003 16:25:01 +0000 (16:25 +0000)]
Patch from Wichert Akkerman to increase the size of some fields
to a more useful value.
pam [Fri, 24 Jan 2003 13:35:30 +0000 (13:35 +0000)]
Changed instruction flow in ldap_groupcmp() to improve make code easier to
understand.
pam [Fri, 24 Jan 2003 12:53:03 +0000 (12:53 +0000)]
Make more consistent use of defines in buffer size definitions
Use sizeof() to specify buffer size in function calls.
pam [Fri, 24 Jan 2003 12:04:54 +0000 (12:04 +0000)]
Remove search/replace generated typo
aland [Thu, 23 Jan 2003 21:01:20 +0000 (21:01 +0000)]
Re-formatted, and added more attributes found on the net.
aland [Thu, 23 Jan 2003 20:54:46 +0000 (20:54 +0000)]
Don't use strncmp.
aland [Thu, 23 Jan 2003 20:02:20 +0000 (20:02 +0000)]
Make 'datadir' point to '.../share/freeradius', instead of
adding 'freeradius' on elsewhere. This makes the config a little
more consistent.
aland [Thu, 23 Jan 2003 19:50:15 +0000 (19:50 +0000)]
Add preliminary stage of 'exec' module, which currently only
supports calling via xlat.
aland [Thu, 23 Jan 2003 19:48:59 +0000 (19:48 +0000)]
Modified the 'exec program' functionality to be thread-safe
(no more 'static' buffers)
Made it slightly more configurable, in preparation for allowing
xlat's via exec.
aland [Thu, 23 Jan 2003 19:15:18 +0000 (19:15 +0000)]
More hacks for hacking fork() to work with threaded systems.
Change the book-keeping to be O(1), instead of O(n), in the
number of exec'd programs. This makes the server behave better
under load.
aland [Thu, 23 Jan 2003 17:00:11 +0000 (17:00 +0000)]
Updated the install, config file, and config reader to look for
dictionary files in $(datadir)/freeradius
It's not versioned, because we don't expect there to be conflicts
between versions.
RPMs, DEBs, etc. definitions haven't been updated, and should be.
aland [Thu, 23 Jan 2003 16:46:00 +0000 (16:46 +0000)]
Delete these files from raddb, as they're being moved to ../share
I've logged into the CVS repository, and copied the CVS version
controlled files over to ../share, so we don't lose any history.
aland [Wed, 22 Jan 2003 23:26:37 +0000 (23:26 +0000)]
Don't say how to include it in the main dictionary, it's done
by default.
aland [Wed, 22 Jan 2003 23:25:52 +0000 (23:25 +0000)]
More vendor dictionaries found on the net.
aland [Tue, 21 Jan 2003 19:52:31 +0000 (19:52 +0000)]
More attributes found on the net.
aland [Tue, 21 Jan 2003 19:29:38 +0000 (19:29 +0000)]
Updated with dictionaries and entries from Yard RADIUS
aland [Tue, 21 Jan 2003 19:18:52 +0000 (19:18 +0000)]
Cleanups & additions from Wichert Akkerman
aland [Tue, 21 Jan 2003 19:14:23 +0000 (19:14 +0000)]
Updated with more descriptions and examples from Chris Brotsos
kkalev [Tue, 21 Jan 2003 08:44:05 +0000 (08:44 +0000)]
Stress out the fact that the Pool-Name attribute is a check item.
aland [Mon, 20 Jan 2003 18:22:16 +0000 (18:22 +0000)]
Updated for latest set of fixes to MAC OSX.
aland [Mon, 20 Jan 2003 18:15:40 +0000 (18:15 +0000)]
Added notes about why you don't want users to authenticate to
the SQL database.
pam [Mon, 20 Jan 2003 15:45:25 +0000 (15:45 +0000)]
Documented Ldap-Group hadnling group DNs
Reformated document to 78-character long lines
pam [Mon, 20 Jan 2003 15:38:41 +0000 (15:38 +0000)]
Extend ldap_groupcmp to handle DNs as Ldap-Group attribute.
aland [Fri, 17 Jan 2003 17:00:11 +0000 (17:00 +0000)]
Mark some targets as phony, so that case-insensitive systems
like MACOSX don't get excited that INSTALL exists, and refuse
to 'make install'
aland [Fri, 17 Jan 2003 16:47:36 +0000 (16:47 +0000)]
Darwin is a BSD-style OS, so utmp doesn't have ut_user, it has
ut_name.
kkalev [Thu, 16 Jan 2003 21:51:15 +0000 (21:51 +0000)]
Add a few comments about PostAuth-Type,Acct-Type and Session-Type in the
Autz-Type file. Add links for these section types to Autz-Type
kkalev [Tue, 14 Jan 2003 15:44:16 +0000 (15:44 +0000)]
Work even if we have multiple attributes
kkalev [Tue, 14 Jan 2003 13:10:09 +0000 (13:10 +0000)]
Add support for Acct-Type,Session-Type and PostAuth-Type
aland [Mon, 13 Jan 2003 18:37:21 +0000 (18:37 +0000)]
Reset vp->strvalue after adding port to IP address, so that the
strvalue of the attribute is correct.
aland [Mon, 13 Jan 2003 16:15:56 +0000 (16:15 +0000)]
When we set the IP address in vp->lvalue, set the string value,
too. This way they're kept in sync.
kkalev [Mon, 13 Jan 2003 08:01:43 +0000 (08:01 +0000)]
Fix a small problem with debugging
cmiller [Mon, 13 Jan 2003 02:05:25 +0000 (02:05 +0000)]
debian: rename daemon to "freeradiusd" to be polite to other potential
packages. Creating compatibility symlink for now.
debian: use system libtool, really, this time.
kkalev [Sun, 12 Jan 2003 11:15:03 +0000 (11:15 +0000)]
Fix a small bug in lib/ldap/create_user.php3. Unset the mod array before adding any values to it
kkalev [Sun, 12 Jan 2003 11:07:07 +0000 (11:07 +0000)]
Add a missing {
kkalev [Sun, 12 Jan 2003 11:03:13 +0000 (11:03 +0000)]
Make things a little bit more simple in lib/ldap/change_attrs.php3
kkalev [Sun, 12 Jan 2003 10:55:14 +0000 (10:55 +0000)]
Add a few missing {
kkalev [Sat, 11 Jan 2003 23:29:24 +0000 (23:29 +0000)]
Don't include user_info.php3 in the user_test page.
kkalev [Sat, 11 Jan 2003 18:46:34 +0000 (18:46 +0000)]
Add ldap_debug in admin.conf
kkalev [Sat, 11 Jan 2003 18:45:32 +0000 (18:45 +0000)]
In debug, output the sql queries in italic. Refer to enabling debugging in the FAQ
kkalev [Sat, 11 Jan 2003 18:33:10 +0000 (18:33 +0000)]
* Add a directive ldap_debug. Add debuging statements in the ldap library
* Add debug statements in the pg driver
kkalev [Sat, 11 Jan 2003 16:54:48 +0000 (16:54 +0000)]
Also update the admin.conf
kkalev [Sat, 11 Jan 2003 16:53:06 +0000 (16:53 +0000)]
Add a directive sql_debug. Add debuging statements in the sql library
aland [Fri, 10 Jan 2003 15:03:51 +0000 (15:03 +0000)]
Added notes from the list
kkalev [Fri, 10 Jan 2003 09:04:05 +0000 (09:04 +0000)]
Create a daily instance of the counter module and also add it the
instantiate section so that people don't get confused
fcusack [Fri, 10 Jan 2003 07:04:08 +0000 (07:04 +0000)]
break stale locks on syncdata
aland [Thu, 9 Jan 2003 20:36:05 +0000 (20:36 +0000)]
One more delete of builddbm stuff
aland [Thu, 9 Jan 2003 20:35:28 +0000 (20:35 +0000)]
Removed builddbm. It hasn't been used for ages.
aland [Wed, 8 Jan 2003 20:38:55 +0000 (20:38 +0000)]
Removed unnecessary variable to simplify things.
pnixon [Mon, 6 Jan 2003 10:44:16 +0000 (10:44 +0000)]
Update logrotate to rotate sqltrace.sql
This file can get huge if sql debugging is enabled, and on linux, if this file reached 2GB radiusd will stop.
kkalev [Mon, 6 Jan 2003 10:20:34 +0000 (10:20 +0000)]
Move the files module in the correct place in the authorize section.
Bug noted by Wisam Najim <wnajim@emirates.net.ae>
kkalev [Mon, 6 Jan 2003 10:15:06 +0000 (10:15 +0000)]
Delete duplicate attributes from the radiusprofile definition.
Bug reported by "Gerald (Jerry) Carter" <jerry@samba.org>
aland [Thu, 2 Jan 2003 18:29:52 +0000 (18:29 +0000)]
make octet counter bigint, to allow it to grow past 2G.
Based on list comments from Klaus Heck
aland [Thu, 2 Jan 2003 18:27:59 +0000 (18:27 +0000)]
Correct typo in syntax, and check for pid file before using it.
Patch from pavelsh
kkalev [Wed, 1 Jan 2003 23:30:29 +0000 (23:30 +0000)]
In log_badlogins create a separate sql input file for each sql server and append sql commands to it. If the
sql command succeeds we delete the corresponding input file. That way if an sql server is down we store the
accounting info in the input file and then send it all when it comes back up.
kkalev [Mon, 30 Dec 2002 10:15:15 +0000 (10:15 +0000)]
Add sql_connect_timeout and sql_extra_servers configuration directives to be
used by the log_badlogins script
kkalev [Sat, 28 Dec 2002 11:33:20 +0000 (11:33 +0000)]
Add more error messages when interacting with the SQL database
kkalev [Sat, 28 Dec 2002 10:47:09 +0000 (10:47 +0000)]
Only run for Accounting-Stop packets in accounting
kkalev [Tue, 24 Dec 2002 21:45:14 +0000 (21:45 +0000)]
Set default values for the server and basedn parameters
aland [Tue, 24 Dec 2002 16:49:34 +0000 (16:49 +0000)]
Define 'datadir' in make files.
New make file for the 'doc' directory, so that we actually
install the documentation along with the server.
Updated make file for the 'doc/rfc' directory, which assume that
perl exists... but that can be fixed later.
aland [Mon, 23 Dec 2002 20:31:59 +0000 (20:31 +0000)]
Add calls to the new post_proxy section.
Patch from Chris Brotsos
aland [Mon, 23 Dec 2002 20:28:09 +0000 (20:28 +0000)]
Now that we're about to add post-proxying, add a configuration
section which allows us to do:
receive packet
authorize
proxy -> home server
home server replies
post_proxy
MAYBE authorize
send reply packet
The MAYBE is set to 'yes' for backwards compatibility. The reason
is that proxy replies should really NOT be sent through the
'authorize' stage again.
Patch from Chris Brotsos
aland [Mon, 23 Dec 2002 20:05:56 +0000 (20:05 +0000)]
Update text for new proxying
kkalev [Sun, 22 Dec 2002 15:44:14 +0000 (15:44 +0000)]
Add sql_use_http_credentials configuration directive to connect to the sql database using the http user
credentials (that way there can be more than one administrator usernames, each with different privileges
on the sql database).
kkalev [Fri, 20 Dec 2002 15:33:21 +0000 (15:33 +0000)]
Make schema work for openldap 2.1. Patch from Wolfgang Rosenauer <stark@suse.de>
aland [Fri, 20 Dec 2002 15:31:26 +0000 (15:31 +0000)]
Patch to look for dbm functions in std libs
from Andrei Koulik
kkalev [Thu, 19 Dec 2002 09:11:10 +0000 (09:11 +0000)]
Check that the reset time is not never before reseting the db in the instantiate section
aland [Wed, 18 Dec 2002 19:04:40 +0000 (19:04 +0000)]
Meaningless white-space changes
aland [Wed, 11 Dec 2002 21:46:55 +0000 (21:46 +0000)]
Clean ups and code re-arrangements
aland [Wed, 11 Dec 2002 19:18:10 +0000 (19:18 +0000)]
Made the name buffer a little bigger...
aland [Wed, 11 Dec 2002 16:05:12 +0000 (16:05 +0000)]
Remove commented-out code
aland [Wed, 11 Dec 2002 16:04:17 +0000 (16:04 +0000)]
Use 'sizeof', instead of hard-coded numbers.
Patch from David Kerry
kkalev [Tue, 10 Dec 2002 21:06:56 +0000 (21:06 +0000)]
Put the counter module in the end of the authorize section
aland [Tue, 10 Dec 2002 20:18:15 +0000 (20:18 +0000)]
Trivial fix to print error message, from Thomas Krantz
aland [Tue, 10 Dec 2002 15:34:06 +0000 (15:34 +0000)]
Data is int, not int*
aland [Tue, 10 Dec 2002 14:52:11 +0000 (14:52 +0000)]
SQL doesn't do authentication, so change that in the examples.
aland [Mon, 9 Dec 2002 18:45:38 +0000 (18:45 +0000)]
Use the correct string for error printing, instead of an
uninitialized buffer