hartwick [Wed, 18 Oct 2000 15:04:08 +0000 (15:04 +0000)]
Replace strchr() with strrchr()
aland [Wed, 18 Oct 2000 14:54:59 +0000 (14:54 +0000)]
removed the old dynamic log code. It's no longer needed, as the
new rlm_detail does it better.
Updated include files, to remove un-needed ones.
aland [Wed, 18 Oct 2000 14:50:12 +0000 (14:50 +0000)]
minor changes to posix-ise it, and use sizeof()
hartwick [Wed, 18 Oct 2000 14:48:05 +0000 (14:48 +0000)]
Update the section on the detail files.
hartwick [Wed, 18 Oct 2000 14:41:00 +0000 (14:41 +0000)]
Remove the detail file creation. This was moved to rlm_detail.
hartwick [Wed, 18 Oct 2000 14:24:10 +0000 (14:24 +0000)]
- Add some additional date expansions (%Y, %y, %m, %d)
- Sorted the comment and code for the expansions into alphabetical
order.
hartwick [Wed, 18 Oct 2000 14:19:12 +0000 (14:19 +0000)]
Fix a couple of spelling mistakes in some comments.
hartwick [Wed, 18 Oct 2000 14:16:42 +0000 (14:16 +0000)]
Seperate the detail file generation from rlm_files.
hartwick [Wed, 18 Oct 2000 14:08:12 +0000 (14:08 +0000)]
Correct a spelling mistake.
hartwick [Wed, 18 Oct 2000 14:07:18 +0000 (14:07 +0000)]
Documentation for detail module
aland [Wed, 18 Oct 2000 13:41:48 +0000 (13:41 +0000)]
Use %p to print out pointers, not %x
pacman [Wed, 18 Oct 2000 07:13:10 +0000 (07:13 +0000)]
Followup to removing dead radutmp-cache code: remove the dead loggedin
variable.
pacman [Wed, 18 Oct 2000 06:24:21 +0000 (06:24 +0000)]
radutmp cache is dead code and doesn't belong in rlm_unix anyway. Removed.
pacman [Tue, 17 Oct 2000 23:24:37 +0000 (23:24 +0000)]
"No previous prototype for unique_detach"
pacman [Tue, 17 Oct 2000 22:57:50 +0000 (22:57 +0000)]
Provide the necessary hints for gcc -Wformat to work on our printf-like
functions, and fix a couple of format string bugs that were exposed by the
resulting warnings.
pacman [Tue, 17 Oct 2000 21:05:37 +0000 (21:05 +0000)]
"notsuffix" realm flag was recognized in raddb/realms but not in radiusd.conf
accdias [Tue, 17 Oct 2000 16:44:17 +0000 (16:44 +0000)]
accdias: Updated doc/README.cisco with contributions of Chris Parker
pacman [Tue, 17 Oct 2000 06:23:21 +0000 (06:23 +0000)]
Quiet many instances of "warning: passing arg N of str___ discards const from
pointer target type"
pacman [Tue, 17 Oct 2000 04:41:48 +0000 (04:41 +0000)]
update with todo items recently brought up on the mailing list, and add my
personal wishlist
jcarneal [Mon, 16 Oct 2000 20:06:48 +0000 (20:06 +0000)]
Jeff Carneal <jeff@apex.net>
1. Added rlm_acct_unique to modules list
2. moved 'preprocess' before 'realm' in authorize block per
discussion on the list
jcarneal [Mon, 16 Oct 2000 19:55:14 +0000 (19:55 +0000)]
Jeff Carneal <jeff@apex.net>
1. print warning when we have multiple auth-types in a request
2. if it's a proxy reply and there's not an explicit reject
then it is accepted
jcarneal [Mon, 16 Oct 2000 19:53:18 +0000 (19:53 +0000)]
Jeff Carneal <jeff@apex.net>
Now returns RLM_MODULE_UPDATED instead of RLM_MODULE_OK in
realm_authorize. This prevents module_authorize from going
thru the whole list of auth modules when we know we have
to proxy.
jcarneal [Sun, 15 Oct 2000 16:26:47 +0000 (16:26 +0000)]
Jeff Carneal <jeff@apex.net>
Added support for spaces in the 'key' string in radiusd.conf. And damnit
Alan, stop finding things like this :)
jcarneal [Sun, 15 Oct 2000 16:23:47 +0000 (16:23 +0000)]
Jeff Carneal <jeff@apex.net>
Trivial doc change to reflect the allowance of spaces in 'key'
jcarneal [Sat, 14 Oct 2000 16:31:50 +0000 (16:31 +0000)]
Jeff Carneal <jeff@apex.net>
Minor bug fix.
jcarneal [Sat, 14 Oct 2000 16:01:40 +0000 (16:01 +0000)]
Jeff Carneal <jeff@apex.net>
Trivial changes to rlm_acct_unique doc.
jcarneal [Sat, 14 Oct 2000 16:00:16 +0000 (16:00 +0000)]
Committing file for Alan Curry <pacman-radius@cqc.com> documenting
the RLM code interface.
jcarneal [Sat, 14 Oct 2000 15:56:15 +0000 (15:56 +0000)]
Jeff Carneal <jeff@apex.net>
Added a coupld DEBUGs to rlm_realms.c. Another bug was causing the
conditions around it to meet, but I had no way to tell until running
gdb. This will save others that trouble when debugging.
jcarneal [Fri, 13 Oct 2000 23:44:19 +0000 (23:44 +0000)]
Jeff Carneal <jeff@apex.net>
rlm_acct_unique documentation
jcarneal [Fri, 13 Oct 2000 23:17:17 +0000 (23:17 +0000)]
Jeff Carneal <jeff@apex.net>
Fixed several bugs in rlm_acct_unique. Added support for:
acct_unique {
key = Attr1,Attr2,Attr3
}
in radiusd.conf. Seems to work, time will tell...
jcarneal [Fri, 13 Oct 2000 22:56:30 +0000 (22:56 +0000)]
Jeff Carneal <jeff@apex.net>
Fixed several bugs in rlm_acct_unique, and added in support for
acct_unique {
key = Attr1,Attr2,Attr3
}
in radiusd.conf.
aland [Fri, 13 Oct 2000 20:41:39 +0000 (20:41 +0000)]
If the proxy reply was an authentication reject, then reject
the user immediately, without going through the authorization
and authentication stages again.
aland [Fri, 13 Oct 2000 16:26:15 +0000 (16:26 +0000)]
added "missing.h", pointed out by Chris Parker <cparker@starnetusa.net>
aland [Fri, 13 Oct 2000 16:24:58 +0000 (16:24 +0000)]
bail out of the sanity chekcs if it finds a normal RADIUS attribute
with ID 0. That's not allowed...
jcarneal [Thu, 12 Oct 2000 22:19:52 +0000 (22:19 +0000)]
Jeff Carneal <jeff@apex.net>
Bugfix. Line 233 of proxy.c read:
if ((realm->ipaddr = htonl(INADDR_LOOPBACK)) &&
That was clobbering the realm->ipaddr. Should be:
if ((realm->ipaddr == htonl(INADDR_LOOPBACK)) &&
Bug caused the proxy request to always be send to localhost.
jcarneal [Thu, 12 Oct 2000 21:43:30 +0000 (21:43 +0000)]
From Jeff Carneal <jeff@apex.net>
Bugfix. The getservbyname() was after the read_config files, causing
files.c to think (and assign) auth_port=0 to realms entries when a
port was not specified in the 'realms' file.
jcarneal [Thu, 12 Oct 2000 13:51:15 +0000 (13:51 +0000)]
Jeff Carneal <jeff@apex.net>
Adding DEBUGs to read_config_files. Often little troubles like DNS
will cause a config file read to hang and the user previously had no
way to debug it.
jcarneal [Wed, 11 Oct 2000 18:10:40 +0000 (18:10 +0000)]
<jeff@apex.net> Trivial change to doc file
aland [Wed, 11 Oct 2000 16:48:28 +0000 (16:48 +0000)]
removed un-needed header files.
Added stdlib.h, to define malloc()
aland [Wed, 11 Oct 2000 16:47:33 +0000 (16:47 +0000)]
updated for new 'radlog', instead of 'log'
aland [Wed, 11 Oct 2000 15:48:03 +0000 (15:48 +0000)]
updated comments...
aland [Wed, 11 Oct 2000 15:40:52 +0000 (15:40 +0000)]
set the length for the NEW attribute, not the OLD one.
aland [Tue, 10 Oct 2000 14:42:24 +0000 (14:42 +0000)]
remove un-used configuration entries
jcarneal [Mon, 9 Oct 2000 16:25:46 +0000 (16:25 +0000)]
Added 'default=??'
jcarneal [Mon, 9 Oct 2000 16:22:51 +0000 (16:22 +0000)]
Fixed 80-char width
aland [Fri, 6 Oct 2000 19:13:15 +0000 (19:13 +0000)]
re-formatting of code.
Do NOT free the packet raw data after parsing it into VALUE_PAIR
structures. This allows other code (e.g. rlm_raw_log) to look
at the raw data received by the server.
aland [Fri, 6 Oct 2000 15:58:47 +0000 (15:58 +0000)]
update for INADDR_NONE
aland [Fri, 6 Oct 2000 15:57:06 +0000 (15:57 +0000)]
one more update to ip_addr()
aland [Fri, 6 Oct 2000 15:52:27 +0000 (15:52 +0000)]
ip_getaddr() now returns INADDR_NONE if it was unable to do the
DNS lookup. It also checks if the address looked up via DNS is
a legal 32-bit address. If not, it returns INADDR_NONE
Fixed radiusd & radzap for this change.
aland [Thu, 5 Oct 2000 16:54:27 +0000 (16:54 +0000)]
Patch from "Alan Curry" <pacman-radius@cqc.com>
Update the module return codes to have the following values:
Reject, Fail, OK, Handled, Invalid, Userlock, Notfound, No-op
Updated
Previously, there were only the first 4.
This patch does *not* include the fail-over & 'modcall' code
aland [Thu, 5 Oct 2000 16:40:19 +0000 (16:40 +0000)]
changed the name from Cistron to FreeRADIUS
aland [Thu, 5 Oct 2000 15:47:32 +0000 (15:47 +0000)]
Authtype grouping patch from "Alan Curry" <pacman-radius@cqc.com>
This patch allows you to have configurable fail-over for the
authentication types, and to set the authentication types for
each authentication module.
jcarneal [Tue, 3 Oct 2000 19:50:25 +0000 (19:50 +0000)]
Jeff Carneal (jeff@apex.net)
Oops, it's 'radiusd.conf' not 'radius.conf'
jcarneal [Tue, 3 Oct 2000 17:09:43 +0000 (17:09 +0000)]
Script by Jeff Carneal (jeff@apex.net)
Script used to generate random usernames and passwords for testing
jcarneal [Tue, 3 Oct 2000 17:08:12 +0000 (17:08 +0000)]
Doc file from Jeff Carneal <jeff@apex.net>
Describes methods of testing auth speed on your radius server
jcarneal [Tue, 3 Oct 2000 15:07:29 +0000 (15:07 +0000)]
Trivial change to document to reflect radius.conf instead of -c option.
aland [Tue, 3 Oct 2000 14:36:36 +0000 (14:36 +0000)]
SMUX patches from Jochen Friedrich <jochen+freeradius-devel@scram.de>
aland [Mon, 2 Oct 2000 21:58:42 +0000 (21:58 +0000)]
Patch from "Alan Curry" <pacman-radius@cqc.com>
Clean up the code for loading modules
aland [Mon, 2 Oct 2000 21:46:51 +0000 (21:46 +0000)]
more SNMP patches from Jochen Friedrich <jochen+freeradius-devel@scram.de>
aland [Mon, 2 Oct 2000 20:13:07 +0000 (20:13 +0000)]
re-arranged code to make it work right
aland [Mon, 2 Oct 2000 19:52:48 +0000 (19:52 +0000)]
removed the check_items && reply_items from the authorize and
authenticate functions. This makes the code look a little cleaner.
aland [Mon, 2 Oct 2000 19:33:13 +0000 (19:33 +0000)]
fix up the code so fewer parameters are being passed to internal
functions check_expiration && rad_check_password. All of the
information they need is now in the REQUEST* structure.
Fixed some 'FIXME's added earlier today, so that the user-message
is added to the REJECT messages
aland [Mon, 2 Oct 2000 15:30:52 +0000 (15:30 +0000)]
Create the request->reply data structure as soon as the request
passes a number of sanity checks. After this point (rad_process),
the server will send a reply (reject or otherwise), so we might
as well have the reply structure sitting around.
Updated authorization, authentication, and accounting to
use request->reply everywhere.
Updated the module functions to pull the check/reply items out of
the 'request' structure, instead of passing them around as
seperate variables.
All of the modules still need to be updated for this new API.
The changes in auth.c drop the 'user_msg'. There are a bunch
of 'FIXME's in the source now.
aland [Mon, 2 Oct 2000 14:47:52 +0000 (14:47 +0000)]
commited fix so that the module builds without the user collision
code.
jcarneal [Sun, 1 Oct 2000 23:03:29 +0000 (23:03 +0000)]
Documentation for user collision code
jcarneal [Sun, 1 Oct 2000 22:05:45 +0000 (22:05 +0000)]
Added user collision code to cached passwd. Changed authenticate function to accept and pass check/reply pairs
jcarneal [Sun, 1 Oct 2000 22:03:59 +0000 (22:03 +0000)]
Added user collision code to cached passwd
jcarneal [Sun, 1 Oct 2000 21:59:53 +0000 (21:59 +0000)]
Bugfix for DEFAULT users with user collision code
jcarneal [Sun, 1 Oct 2000 21:59:14 +0000 (21:59 +0000)]
Updated xxx_authenticate() to accept check/reply pairs
jcarneal [Sun, 1 Oct 2000 21:58:34 +0000 (21:58 +0000)]
Changed module_authenicate function to accept check/reply pairs
jcarneal [Sun, 1 Oct 2000 21:57:59 +0000 (21:57 +0000)]
Changed rad_check_password() to pass user_reply to authenticate funciton
jcarneal [Sun, 1 Oct 2000 21:56:58 +0000 (21:56 +0000)]
Changed module_authenticate function parameters
jcarneal [Sat, 30 Sep 2000 21:50:58 +0000 (21:50 +0000)]
Added user collision code for users file only
jcarneal [Sat, 30 Sep 2000 21:50:07 +0000 (21:50 +0000)]
Added DEBUG for user collide code
jcarneal [Sat, 30 Sep 2000 21:49:28 +0000 (21:49 +0000)]
Added --with-user-collide
jcarneal [Sat, 30 Sep 2000 21:48:46 +0000 (21:48 +0000)]
Added #undef WITH_USERCOLLIDE
jcarneal [Sat, 30 Sep 2000 21:47:14 +0000 (21:47 +0000)]
Added --with-usercollide option (hopefully correctly)
aland [Fri, 29 Sep 2000 18:52:09 +0000 (18:52 +0000)]
Gnome MIB for FreeRADIUS, as submitted by
Jochen Friedrich <jochen+freeradius-devel@scram.de>
For others, see:
http://www.gxsnmp.org/nic/
jcarneal [Fri, 29 Sep 2000 17:21:19 +0000 (17:21 +0000)]
Added trivial patch to show which list a module is added to during debug
aland [Fri, 29 Sep 2000 14:43:37 +0000 (14:43 +0000)]
added 'static const char rcsid[]', so we can tell which version
of what is being built
aland [Fri, 29 Sep 2000 14:41:06 +0000 (14:41 +0000)]
minor bug fix by Jochen Friedrich <jochen+freeradius-devel@scram.de>
aland [Thu, 28 Sep 2000 19:36:24 +0000 (19:36 +0000)]
new attributes from Chris Adams <cmadams@hiwaay.net>
aland [Thu, 28 Sep 2000 19:27:43 +0000 (19:27 +0000)]
redback dictionary supplied by Chris Adams <cmadams@hiwaay.net>
From http://hiwaay.net/~cmadams/files/cistron/
jcarneal [Thu, 28 Sep 2000 00:19:44 +0000 (00:19 +0000)]
Added ability to send multiple, distinct packets.
aland [Tue, 26 Sep 2000 20:45:47 +0000 (20:45 +0000)]
let's see people get credit for their work...
aland [Tue, 26 Sep 2000 20:39:24 +0000 (20:39 +0000)]
snmp / SMUX changes to make the server listen on the smux FD,
and handle snmp / smux requests.
Not tested.
aland [Tue, 26 Sep 2000 20:38:26 +0000 (20:38 +0000)]
minor cleanups and code changes
aland [Tue, 26 Sep 2000 20:06:26 +0000 (20:06 +0000)]
new header file, for simplicity
aland [Tue, 26 Sep 2000 19:55:07 +0000 (19:55 +0000)]
added WITH_SNMP to output
aland [Tue, 26 Sep 2000 17:16:48 +0000 (17:16 +0000)]
smux header file, from patch by
Jochen Friedrich <jochen+freeradius-devel@scram.de>
aland [Tue, 26 Sep 2000 17:14:41 +0000 (17:14 +0000)]
adding SNMP / SMUX support to the server, from patches by
Jochen Friedrich <jochen+freeradius-devel@scram.de>
- adding sources to the tree
- updating make file
aland [Tue, 26 Sep 2000 17:02:09 +0000 (17:02 +0000)]
first step of snmp/smux patches from
Jochen Friedrich <jochen+freeradius-devel@scram.de>
- configuration settings, no source code changes
aland [Tue, 26 Sep 2000 16:18:44 +0000 (16:18 +0000)]
grr... corrected dumb typo
aland [Tue, 26 Sep 2000 15:57:30 +0000 (15:57 +0000)]
print pid's as (int) to radiusd.pid
if proxy_retry_delay == 0, then don't bother doing proxy retries,
as we assume that proxy+synchronous == TRUE.
aland [Mon, 25 Sep 2000 20:11:22 +0000 (20:11 +0000)]
added targets for radzap.o and radwho.o
aland [Mon, 25 Sep 2000 20:07:59 +0000 (20:07 +0000)]
re-arranged #include lines
aland [Mon, 25 Sep 2000 20:02:54 +0000 (20:02 +0000)]
added explicit targets for conffile.c, log.c, and timestr.c
aland [Mon, 25 Sep 2000 19:56:23 +0000 (19:56 +0000)]
cleaning up #include files
aland [Mon, 25 Sep 2000 19:55:57 +0000 (19:55 +0000)]
updated rcsid, instead of sccs_id
aland [Mon, 25 Sep 2000 19:50:52 +0000 (19:50 +0000)]
cleaning up #include files