freeradius.git
20 years ago Add scripts to automatically generate test certificates.
aland [Fri, 23 Jan 2004 17:02:31 +0000 (17:02 +0000)]
Add scripts to automatically generate test certificates.

20 years ago corrected typo
aland [Thu, 22 Jan 2004 19:43:29 +0000 (19:43 +0000)]
corrected typo

20 years ago More attempts to get MySQL working
aland [Thu, 22 Jan 2004 18:23:19 +0000 (18:23 +0000)]
More attempts to get MySQL working

20 years ago Added big warnings about old & untested features
aland [Thu, 22 Jan 2004 16:47:50 +0000 (16:47 +0000)]
Added big warnings about old & untested features

20 years ago Fix typos
aland [Thu, 22 Jan 2004 16:30:38 +0000 (16:30 +0000)]
Fix typos

20 years ago Update sample password
aland [Thu, 22 Jan 2004 16:30:19 +0000 (16:30 +0000)]
Update sample password

20 years ago Install radeapclient, too
aland [Thu, 22 Jan 2004 15:35:28 +0000 (15:35 +0000)]
Install radeapclient, too

20 years ago ${module.submodule.item} now works properly
aland [Wed, 21 Jan 2004 20:52:42 +0000 (20:52 +0000)]
${module.submodule.item} now works properly

20 years ago Enhanced configuration file variable expansion, hopefully
aland [Wed, 21 Jan 2004 20:35:11 +0000 (20:35 +0000)]
Enhanced configuration file variable expansion, hopefully
without breaking anything.

OLD: ${foo} means "foo in current section, OR foo in main section}
e.g. ${logdir}

NEW: ${foo} means the same as before
     ${.foo} means "foo in current section ONLY", just in case
             there are name conflicts.
     ${..foo} means "foo in the section enclosing this section"
     ${main.module.submodule.foo} should be obvious...

For now, we need "main" in there, but a commit in the next few
days should remove that restriction...

20 years ago fixed "ChalX" to "RandX".
mcr [Wed, 21 Jan 2004 00:39:55 +0000 (00:39 +0000)]
fixed "ChalX" to "RandX".
added Autz-Type:=, which is really needed for basic testing.

20 years ago Look for stripped user name, then user name, in group cmp.
aland [Tue, 20 Jan 2004 16:31:02 +0000 (16:31 +0000)]
Look for stripped user name, then user name, in group cmp.

20 years ago Use a better name for the SQL stuff.
aland [Mon, 19 Jan 2004 19:09:45 +0000 (19:09 +0000)]
Use a better name for the SQL stuff.

Bug noted by Keith Yoder

20 years ago Don't return "OK" until the TLV success packet was sent back.
aland [Mon, 19 Jan 2004 19:08:21 +0000 (19:08 +0000)]
Don't return "OK" until the TLV success packet was sent back.

Bug & patch noted by Mike Saywell

20 years agoImported changes from downstream Debian packaging.
phampson [Sun, 18 Jan 2004 07:57:11 +0000 (07:57 +0000)]
Imported changes from downstream Debian packaging.

20 years ago* Add a message when adding a user in the badusers table
kkalev [Fri, 16 Jan 2004 14:47:29 +0000 (14:47 +0000)]
* Add a message when adding a user in the badusers table
* Close sql connections in add_badusers.php3

20 years ago* Add the ability to erase rows from the badusers table
kkalev [Fri, 16 Jan 2004 13:50:06 +0000 (13:50 +0000)]
* Add the ability to erase rows from the badusers table
* In log_badlogins for multiple logins if it is a mppp attempt, log it

20 years agores should be int not unsigned
kkalev [Fri, 16 Jan 2004 13:20:20 +0000 (13:20 +0000)]
res should be int not unsigned

20 years ago Updated text about how to use authentication
aland [Wed, 14 Jan 2004 16:32:28 +0000 (16:32 +0000)]
Updated text about how to use authentication

20 years ago Look for mysql_config, and believe it, if it exists.
aland [Tue, 13 Jan 2004 20:03:18 +0000 (20:03 +0000)]
Look for mysql_config, and believe it, if it exists.

We *could* use mysql_config to set cflags & libs in this script,
and double-check that they work, but when I tried that, it always
failed, even though trying the same tests by hand worked.  <sigh>

20 years ago Move the "waitpid" code to after the check for error in select,
aland [Tue, 13 Jan 2004 17:05:36 +0000 (17:05 +0000)]
Move the "waitpid" code to after the check for error in select,
which means that we don't clobber errno.

Bug found by Robby Griffin

20 years ago Stupid RedHat stuff. Their OpenSSL uses kerberos by default,
aland [Tue, 13 Jan 2004 16:07:01 +0000 (16:07 +0000)]
Stupid RedHat stuff.  Their OpenSSL uses kerberos by default,
so packages which *don't* want to use Kerberos have to set
RedHat-specific magic, so that OpenSSL will work.

20 years ago Make !* work.
aland [Mon, 12 Jan 2004 21:07:26 +0000 (21:07 +0000)]
Make !* work.

patch from oe Maimon

20 years ago Correct type of PID used in signal handler.
aland [Mon, 12 Jan 2004 20:24:43 +0000 (20:24 +0000)]
Correct type of PID used in signal handler.

Patch from Andrew Belashov

20 years ago Print timestamp as an unsigned long, which works a little better
aland [Mon, 12 Jan 2004 20:21:11 +0000 (20:21 +0000)]
Print timestamp as an unsigned long, which works a little better
on 64-bit systems.

Patch from Andrew Belashov

20 years ago When printing 'size_t' numbers, we *really* should be using %zu.
aland [Mon, 12 Jan 2004 20:18:33 +0000 (20:18 +0000)]
When printing 'size_t' numbers, we *really* should be using %zu.

The 'z' says "the following thing is a size_t"
The 'u' says "unsigned", as ssize_t exists

The problem is that we don't know how prevalent 'z' is.  It's
in Linux, NetBSD, FreeBSD, and Solaris, so using it *should* be OK.

In the short term, it's easier to cast the functions returning
size_t to (int), SOLELY for purposes of printing.  If the value
doesn't fit into an int, then only the debugging messages will
be wrong, as this change doesn't affect the code logic at all.

Patch from Andrew Belashov, tested on 64-bit sparc systems

20 years ago Minor additional documentation
aland [Mon, 12 Jan 2004 18:27:08 +0000 (18:27 +0000)]
Minor additional documentation

20 years ago Cleaned up request handling logic. I'm not sure what I was
aland [Mon, 12 Jan 2004 18:23:57 +0000 (18:23 +0000)]
Cleaned up request handling logic.  I'm not sure what I was
thinking before, but this makes sense.

20 years ago Added a large amount of text, which walks through the configurable
aland [Mon, 12 Jan 2004 18:21:33 +0000 (18:21 +0000)]
Added a large amount of text, which walks through the configurable
fail-over in steps.  I finally understand what it does...

20 years ago Allow "redundant", "group", and "append" as section names,
aland [Mon, 12 Jan 2004 18:20:43 +0000 (18:20 +0000)]
Allow "redundant", "group", and "append" as section names,
even if they're not modules.

They're used by the configurable fail-over code (which has
apparently been broken in the CVS head for a while, due to the
lack of this patch)

20 years ago Reserve priority zero for future use
aland [Mon, 12 Jan 2004 18:19:06 +0000 (18:19 +0000)]
Reserve priority zero for future use

20 years ago Minor formatting to be pretty
aland [Mon, 12 Jan 2004 18:18:23 +0000 (18:18 +0000)]
Minor formatting to be pretty

20 years ago Pass *all* VP's to the exec'd program, instead of leaving the
aland [Mon, 12 Jan 2004 18:18:00 +0000 (18:18 +0000)]
Pass *all* VP's to the exec'd program, instead of leaving the
last one

20 years ago FCNTL locks work across processes. For threads, we need an
aland [Mon, 12 Jan 2004 18:17:27 +0000 (18:17 +0000)]
FCNTL locks work across processes.  For threads, we need an
additional mutex

20 years ago Added comments about LD_LIBRARY_PATH, and pre-loading libraries,
aland [Mon, 12 Jan 2004 18:15:59 +0000 (18:15 +0000)]
Added comments about LD_LIBRARY_PATH, and pre-loading libraries,
so that local craziness with OpenSSL and MySQL may be worked around

20 years ago Make unlimited login-time work.
aland [Mon, 12 Jan 2004 18:12:49 +0000 (18:12 +0000)]
Make unlimited login-time work.

patch from Dmitry Lebkov

20 years ago From Dustin Doris
aland [Mon, 12 Jan 2004 18:09:13 +0000 (18:09 +0000)]
From Dustin Doris

20 years ago For Mikrotik routers
aland [Sat, 10 Jan 2004 15:50:40 +0000 (15:50 +0000)]
For Mikrotik routers

20 years ago Added dictionary for 3gpp2
aland [Fri, 9 Jan 2004 21:05:24 +0000 (21:05 +0000)]
Added dictionary for 3gpp2

20 years ago If there are no OpenSSL libraries, don't include them.
aland [Thu, 8 Jan 2004 17:03:54 +0000 (17:03 +0000)]
If there are no OpenSSL libraries, don't include them.

20 years ago Look for openssl/rand.h, too.
aland [Wed, 7 Jan 2004 20:38:51 +0000 (20:38 +0000)]
Look for openssl/rand.h, too.

20 years ago Hoist OpenSSL checks from a number of different places into
aland [Wed, 7 Jan 2004 20:38:16 +0000 (20:38 +0000)]
Hoist OpenSSL checks from a number of different places into
the top-level configuration file.  This now exports OPENSSL_INCLUDES
and OPENSSL_LIBS *only* if it decides that it likes what it finds.

This also adds Michael Griego's patch to check for OpenSSL version
greater than or equal to 0.9.7.

The various EAP types now have stupidly simply configuration scripts,
which just look for OPENSSL_INCLUDES and OPENSSL_LIBS, rather than
re-doing all of the header/lib checking themselves.

We've got to apply the same patch to LDAP & X99_Token, but they
still work..

20 years ago A little cleaner check for identity & username.
aland [Wed, 7 Jan 2004 18:13:53 +0000 (18:13 +0000)]
A little cleaner check for identity & username.

Patch from Michael Griego.

Hmm... the new code looks fairly duplicate.  We could factor
it into a function for less code...

20 years ago Updated the debugging message to make a little more sense.
aland [Wed, 7 Jan 2004 17:55:12 +0000 (17:55 +0000)]
Updated the debugging message to make a little more sense.

20 years ago Add script which sets LD_LIBRARY_PATH, etc, so that OpenSSL
aland [Wed, 7 Jan 2004 17:07:41 +0000 (17:07 +0000)]
Add script which sets LD_LIBRARY_PATH, etc, so that OpenSSL
weirdness can be taken care of.

It should also work for MySQL...

20 years ago When finding MS-CHAP attributes, do "Auth-Type = MSCHAP", rather
aland [Wed, 7 Jan 2004 15:55:26 +0000 (15:55 +0000)]
When finding MS-CHAP attributes, do "Auth-Type = MSCHAP", rather
than ":=".  This means it won't over-ride any previous setting
of auth-type "accept" or "reject"

20 years ago Clean up the examples
aland [Mon, 5 Jan 2004 17:06:35 +0000 (17:06 +0000)]
Clean up the examples

20 years ago More description of the dictionaries & how they work.
aland [Mon, 5 Jan 2004 17:06:16 +0000 (17:06 +0000)]
More description of the dictionaries & how they work.

20 years ago Minor updates to the text.
aland [Mon, 5 Jan 2004 17:05:46 +0000 (17:05 +0000)]
Minor updates to the text.

Don't talk about disabling it.  We don't want the users to do that.

20 years ago When we have a stop record, don't compare it to unused entries.
aland [Mon, 5 Jan 2004 17:05:09 +0000 (17:05 +0000)]
When we have a stop record, don't compare it to unused entries.

This means that if we get two duplicate stops, the second one will
cause the server to complain.  Previously, the server *may* have
complained, but not necessarily...

20 years ago Use NAS-Port, not NAS-Port-Id in acct_unique.
aland [Mon, 5 Jan 2004 17:03:54 +0000 (17:03 +0000)]
Use NAS-Port, not NAS-Port-Id in acct_unique.

The module should really be fixed to use xlat's...

20 years ago Removed text saying there is a restriction on the number of
aland [Mon, 5 Jan 2004 17:03:18 +0000 (17:03 +0000)]
Removed text saying there is a restriction on the number of
load-balancing realms

20 years ago Removed restriction that there be no more than 32 load-balancing
aland [Mon, 5 Jan 2004 17:02:31 +0000 (17:02 +0000)]
Removed restriction that there be no more than 32 load-balancing
realms, by implementing a new algorithm, which walks the list once,
and picks 1 of N.  (See the Camel Book)

20 years ago Updated "readvp2" (only used by radclient) to be a little more
aland [Mon, 5 Jan 2004 17:01:19 +0000 (17:01 +0000)]
Updated "readvp2" (only used by radclient) to be a little more
tolerant of its input, and to NOT leak memory if there was an
error reading the VP's

20 years ago Add UDPFROMTO stuff.
aland [Mon, 5 Jan 2004 16:59:52 +0000 (16:59 +0000)]
Add UDPFROMTO stuff.

Print source port when signature is invalid

20 years ago Now that we handle things a little better, don't do such strict
aland [Mon, 5 Jan 2004 16:58:32 +0000 (16:58 +0000)]
Now that we handle things a little better, don't do such strict
checking for # of entries returned

20 years ago Include PEAP & MSCHAPv2 EAP sub-types, too.
aland [Mon, 5 Jan 2004 16:57:50 +0000 (16:57 +0000)]
Include PEAP & MSCHAPv2 EAP sub-types, too.

20 years ago Updates from RFC 2822 and RFC 3576
aland [Mon, 5 Jan 2004 16:57:00 +0000 (16:57 +0000)]
Updates from RFC 2822 and RFC 3576

20 years agoAdded 'accounting' and 'pre-proxy' method calls.
cparker [Fri, 2 Jan 2004 23:45:18 +0000 (23:45 +0000)]
Added 'accounting' and 'pre-proxy' method calls.

20 years ago Build it only if WITH_UDPFROMTO is defined
aland [Fri, 2 Jan 2004 19:28:16 +0000 (19:28 +0000)]
Build it only if WITH_UDPFROMTO is defined

20 years ago added test-SIM case.
mcr [Mon, 29 Dec 2003 01:21:08 +0000 (01:21 +0000)]
added test-SIM case.

20 years ago if the un-marshalling fails, then fail the packet.
mcr [Mon, 29 Dec 2003 01:13:43 +0000 (01:13 +0000)]
if the un-marshalling fails, then fail the packet.

20 years ago As posted to the list by Keith Yoder
aland [Tue, 23 Dec 2003 20:16:14 +0000 (20:16 +0000)]
As posted to the list by Keith Yoder

20 years agoSmall fix in user_finger.php3
kkalev [Mon, 22 Dec 2003 15:18:51 +0000 (15:18 +0000)]
Small fix in user_finger.php3

20 years agoMisplaced arguments in strncpy
kkalev [Mon, 22 Dec 2003 12:32:12 +0000 (12:32 +0000)]
Misplaced arguments in strncpy

20 years ago Patch from Tiago Pierezan Camargo
aland [Fri, 19 Dec 2003 20:19:23 +0000 (20:19 +0000)]
Patch from Tiago Pierezan Camargo

Be a little more forgiving about string attributes in Cisco
AV-Pair's.

20 years ago Potential patch
aland [Fri, 19 Dec 2003 19:53:03 +0000 (19:53 +0000)]
Potential patch

20 years ago Allow integer timestamps, too.
aland [Fri, 19 Dec 2003 19:49:44 +0000 (19:49 +0000)]
Allow integer timestamps, too.

Patch from James Nedila

20 years ago Removed last vestiges of NAS-Port-Id meaning the integer attribute
aland [Fri, 19 Dec 2003 19:46:47 +0000 (19:46 +0000)]
Removed last vestiges of NAS-Port-Id meaning the integer attribute

20 years ago Patch to change ctime_r to CTIME_R, which is now a macro, which
aland [Fri, 19 Dec 2003 19:25:32 +0000 (19:25 +0000)]
Patch to change ctime_r to CTIME_R, which is now a macro, which
works properly on different platforms.  (Hello, Solaris... who
needs to follow Posix?)

Patch from Oliver Graf

20 years ago Minor cleanups
aland [Fri, 19 Dec 2003 19:03:56 +0000 (19:03 +0000)]
Minor cleanups

20 years ago Added SQL to a number of sections, commented-out
aland [Thu, 18 Dec 2003 16:04:54 +0000 (16:04 +0000)]
Added SQL to a number of sections, commented-out

20 years ago small amount of documentation on using EAP-SIM authentication.
mcr [Tue, 16 Dec 2003 03:50:34 +0000 (03:50 +0000)]
small amount of documentation on using EAP-SIM authentication.

20 years ago what to put into /etc/raddb/users for eapsim-XX tests.
mcr [Tue, 16 Dec 2003 02:33:05 +0000 (02:33 +0000)]
what to put into /etc/raddb/users for eapsim-XX tests.

20 years ago test cases for EAP-SIM.
mcr [Tue, 16 Dec 2003 02:32:42 +0000 (02:32 +0000)]
test cases for EAP-SIM.

20 years ago Set src IP & port for reply, based on the dst IP & port
aland [Mon, 15 Dec 2003 20:27:35 +0000 (20:27 +0000)]
Set src IP & port for reply, based on the dst IP & port
that the request came from.

20 years ago Include udpfromto.c
aland [Mon, 15 Dec 2003 20:23:57 +0000 (20:23 +0000)]
Include udpfromto.c

20 years ago Part 2.
aland [Mon, 15 Dec 2003 20:22:08 +0000 (20:22 +0000)]
Part 2.

Include header & C implementation, from Jan Berkel and
Miquel van Smoorenburg

20 years ago Part 1 of patch from Jan Berkel, based on Miquel's patch.
aland [Mon, 15 Dec 2003 20:18:20 +0000 (20:18 +0000)]
Part 1 of patch from Jan Berkel, based on Miquel's patch.

./configure --with-udpfromto=yes

now sets options saying to use 'recvmsg' and 'sendmsg' for sending
RADIUS packets, which allows the destination address to be
discovered during receive, and to be set during send.

This should solve a number of the IP Alias problems that people
have had.

20 years ago* Huge PostgreSQL compatibility patch by Guy Fraser <guy@incentre.net>
kkalev [Mon, 15 Dec 2003 16:55:28 +0000 (16:55 +0000)]
* Huge PostgreSQL compatibility patch by Guy Fraser <guy@incentre.net>
* Also support the Crypt-Password attribute in lib/sql/password_check.php3. Patch by Guy Fraser <guy@incentre.net>

20 years agoA minor patch to return if pairmake() fails by James Nedila
kkalev [Sun, 14 Dec 2003 00:18:48 +0000 (00:18 +0000)]
A minor patch to return if pairmake() fails by James Nedila

20 years ago Don't bother waiting for child threads if there are none.
aland [Fri, 12 Dec 2003 21:49:52 +0000 (21:49 +0000)]
Don't bother waiting for child threads if there are none.

20 years ago Corrected typo.
aland [Fri, 12 Dec 2003 14:44:37 +0000 (14:44 +0000)]
Corrected typo.

Note by Robert Fitzsimons

20 years ago Moved request list walking functions from radiusd to request_list
aland [Thu, 11 Dec 2003 22:36:10 +0000 (22:36 +0000)]
Moved request list walking functions from radiusd to request_list

radiusd.c was way too big.  It's more managable now.

20 years ago A slightly better way of incrementing SNMP counters, which doesn't
aland [Wed, 10 Dec 2003 20:54:11 +0000 (20:54 +0000)]
A slightly better way of incrementing SNMP counters, which doesn't
clutter the code so much.

20 years ago Keep more SNMP statistics about packets dropped, sent, etc.
aland [Wed, 10 Dec 2003 20:41:42 +0000 (20:41 +0000)]
Keep more SNMP statistics about packets dropped, sent, etc.

20 years ago Minor re-arrangement
aland [Wed, 10 Dec 2003 20:03:22 +0000 (20:03 +0000)]
Minor re-arrangement

20 years ago When checking new request or proxy reply, don't bother checking
aland [Wed, 10 Dec 2003 19:49:15 +0000 (19:49 +0000)]
When checking new request or proxy reply, don't bother checking
request->child_pid, as it may not be set.  However, request->finished
will always be 0 if the request is "active", so we rely on that,
instead.

In proxy_ok() look for request->proxy_reply, to catch duplicate
replies from the home server.  It's odd that we didn't do that before.

In the thread code, now check if child_pid is non-empty.  If so,
busy-wait for 100 milliseconds, to wait for the other thread to
finish.  If so, continue.  If not, kill the entire server, as
it's too busy to process requests.

20 years agopostauth functionality thanks to Guy Fraser <guy@incentre.net> with modifications...
pnixon [Wed, 10 Dec 2003 15:20:39 +0000 (15:20 +0000)]
postauth functionality thanks to Guy Fraser <guy@incentre.net> with modifications by me.

20 years agoUse the User-Password attribute instead of Password in user_test.php3
kkalev [Tue, 9 Dec 2003 14:21:18 +0000 (14:21 +0000)]
Use the User-Password attribute instead of Password in user_test.php3

20 years agoBugger, date_sub has a slightly different syntax than standard SQL, update call to...
wichert [Tue, 9 Dec 2003 12:35:43 +0000 (12:35 +0000)]
Bugger, date_sub has a slightly different syntax than standard SQL, update call to match

20 years agoAdd copyright to date_sub function
wichert [Tue, 9 Dec 2003 12:30:38 +0000 (12:30 +0000)]
Add copyright to date_sub function

20 years agoCreate DATE_SUB function which is used by the default alt_accounting_stop query
wichert [Tue, 9 Dec 2003 12:29:01 +0000 (12:29 +0000)]
Create DATE_SUB function which is used by the default alt_accounting_stop query

20 years agoDo not set RadAcctId to empty string, this is not allowed and postgres will pick...
wichert [Tue, 9 Dec 2003 12:27:48 +0000 (12:27 +0000)]
Do not set RadAcctId to empty string, this is not allowed and postgres will pick a number anyway since we use a serial type. Also fix the alt accounting stop query to it is valid SQL instead of a syntax error

20 years agoOnly call pairfree if we are using pairxlatmove not for pairadd
kkalev [Mon, 8 Dec 2003 16:35:35 +0000 (16:35 +0000)]
Only call pairfree if we are using pairxlatmove not for pairadd

20 years agoAlso be able to search in the proxy and proxy_reply structures in rlm_attr_rewrite
kkalev [Sun, 7 Dec 2003 16:19:04 +0000 (16:19 +0000)]
Also be able to search in the proxy and proxy_reply structures in rlm_attr_rewrite

20 years agoeap.h support for tunneled callbacks
aland [Sun, 7 Dec 2003 00:25:42 +0000 (00:25 +0000)]
eap.h support for tunneled callbacks
rlm_eap.c update request->proxy in authenticate
call tunneled callbacks in postproxy

types/rlm_eap_ttls/eap_ttls.h
types/rlm_eap_tls/eap_tls.h
move prototype for eapttls_process

types/rlm_eap_peap/eap_peap.h
include rlm_eap.h

types/rlm_eap_peap/rlm_eap_peap.c
types/rlm_eap_ttls/rlm_eap_ttls.c
handle "updated" return code from tunnel handler

types/rlm_eap_peap/peap.c
types/rlm_eap_ttls/ttls.c
hoist reply processing into it's own routine.
handle proxy replies

20 years ago Cosmetic changes in debugging messages
aland [Sun, 7 Dec 2003 00:22:07 +0000 (00:22 +0000)]
Cosmetic changes in debugging messages

20 years ago De-coupled the input requests from the thread management.
aland [Sun, 7 Dec 2003 00:16:13 +0000 (00:16 +0000)]
De-coupled the input requests from the thread management.

We now have a queue of input requests, which the new requests
get dropped into.  Asynchronously from that, the threads wait
on a thread-global semaphore, and then pick up requests from
the queue.

The queue is protected by a mutex, both for adding & deleting
requests.

The threads in the pool no longer have per-thread semaphores.

Semaphores are required here because the main handler thread
has to be able to signal the semaphore, and have that signal
remembered, even if there are no threads currently waiting on
the semaphore.  Further, the main handler has to be able to
signal the semaphore multiple times, when there are multiple
requests waiting, and all of the threads are busy.

If a thread wakes up and there is no request for it to process,
it simply goes back to waiting on the sempahore.  This makes
the process a little more fail-safe, in that we can ensure that
requests are never left forever in the queue, by signalling the
semaphores more than required.

20 years ago Re-arranged the rad_check_list & proxy_check_list code to make
aland [Fri, 5 Dec 2003 20:49:03 +0000 (20:49 +0000)]
Re-arranged the rad_check_list & proxy_check_list code to make
a little more sense.  The main request handling loop which does
select() is now a little smaller.

We now have a packet_ok() function, to see if the incoming packet
is acceptable.

We now have a request_ok() function, which sees if the request
(as a whole) is acceptable.

The old code mixed up a lot of the packet/request checking into
multiple functions which each did packet/request checking.  The
new code is a little more straightforward.

The idea is to fix the race condition in the proxy code (bug #7),
and to apply the pending multi-cpu patches, by adding a queue of
requests we're sitting on, but which haven't yet been given to a
thread.

The new code makes it a little clearer as to what changes have
to be made, and where, in order to add those features.

20 years ago container is a ptr, not a ptr to a ptr
aland [Fri, 5 Dec 2003 18:45:48 +0000 (18:45 +0000)]
container is a ptr, not a ptr to a ptr

Update casts to be prettier