freeradius.git
16 years ago Remove "strict dependencies". It's not needed
aland [Mon, 7 Jan 2008 12:30:35 +0000 (12:30 +0000)]
Remove "strict dependencies".  It's not needed

16 years ago Merge the patches sent by the dialupadmin users in the past for
nbk [Mon, 7 Jan 2008 09:31:48 +0000 (09:31 +0000)]
Merge the patches sent by the dialupadmin users in the past for
the 1.x series.

16 years ago client->nastype may be freed later by client_free()
nbk [Sun, 6 Jan 2008 17:32:05 +0000 (17:32 +0000)]
client->nastype may be freed later by client_free()

16 years ago Add missing case T_OP_GE
nbk [Sun, 6 Jan 2008 17:31:08 +0000 (17:31 +0000)]
Add missing case T_OP_GE

16 years ago Fix some compiler warnings.
nbk [Sun, 6 Jan 2008 17:28:54 +0000 (17:28 +0000)]
Fix some compiler warnings.

16 years ago Fix more signedness warnings.
nbk [Sun, 6 Jan 2008 17:27:41 +0000 (17:27 +0000)]
Fix more signedness warnings.

16 years ago Fix some compiler warnings.
nbk [Sun, 6 Jan 2008 03:03:09 +0000 (03:03 +0000)]
Fix some compiler warnings.

16 years ago Prototype for function client_listener_find() in main/listen.c
nbk [Sun, 6 Jan 2008 02:38:48 +0000 (02:38 +0000)]
Prototype for function client_listener_find() in main/listen.c

16 years ago Corrected typo.
nbk [Sun, 6 Jan 2008 01:53:58 +0000 (01:53 +0000)]
Corrected typo.

16 years agoAdd --without-rlm_eap_ikev2 and remove BuildDep as no standard SUSE install has libea...
pnixon [Sat, 5 Jan 2008 22:30:40 +0000 (22:30 +0000)]
Add --without-rlm_eap_ikev2 and remove BuildDep as no standard SUSE install has libeap-ikev2 (yet)

16 years agoUpdate to FreeRADIUS Server 2.0.0 (Sync with openSUSE Build Service)
pnixon [Sat, 5 Jan 2008 22:14:10 +0000 (22:14 +0000)]
Update to FreeRADIUS Server 2.0.0 (Sync with openSUSE Build Service)

16 years ago Fix some compiler warnings.
nbk [Sat, 5 Jan 2008 18:56:32 +0000 (18:56 +0000)]
Fix some compiler warnings.

16 years ago Fix more signedness warnings.
nbk [Sat, 5 Jan 2008 18:51:50 +0000 (18:51 +0000)]
Fix more signedness warnings.

16 years ago Include udpfromto.h
nbk [Sat, 5 Jan 2008 17:58:44 +0000 (17:58 +0000)]
Include udpfromto.h

16 years ago Now that rlm_python is stable, we need python-dev in Build-Depends.
nbk [Sat, 5 Jan 2008 17:55:08 +0000 (17:55 +0000)]
Now that rlm_python is stable, we need python-dev in Build-Depends.

16 years ago Regenerate from configure.in
nbk [Sat, 5 Jan 2008 17:14:35 +0000 (17:14 +0000)]
Regenerate from configure.in

16 years ago Update configure scripts of the SQL submodules so they look like the
nbk [Sat, 5 Jan 2008 17:12:08 +0000 (17:12 +0000)]
Update configure scripts of the SQL submodules so they look like the
others in the source tree.

16 years agoRemove freetds from the docs as we no longer have it
pnixon [Sat, 5 Jan 2008 15:08:49 +0000 (15:08 +0000)]
Remove freetds from the docs as we no longer have it

16 years agoGet rid of freetds as we no longer have that code in tree
pnixon [Sat, 5 Jan 2008 15:02:20 +0000 (15:02 +0000)]
Get rid of freetds as we no longer have that code in tree

16 years ago Note valgrind usage
aland [Sat, 5 Jan 2008 13:39:14 +0000 (13:39 +0000)]
Note valgrind usage

16 years ago Added RCSID macros
aland [Sat, 5 Jan 2008 03:14:22 +0000 (03:14 +0000)]
Added RCSID macros

16 years ago Catch corner cases / race conditions on no response to proxied
aland [Sat, 5 Jan 2008 02:58:16 +0000 (02:58 +0000)]
    Catch corner cases / race conditions on no response to proxied
        requests, and interaction with max_request_time,

        At max_request_time:

        - If !request->child_pid, don't print "killing child"

        - If we DO have child threads, mark the request as STOP, and
        wait for something to happen.

        - If we DON'T have child threads, just delete the request, as
        it's done.

        The post proxy fail handler calls wait_a_bit, which now MAY
        delete the request.  So move it's use of "wait_a_bit" to the
        end of the function, and note that the request may be deleted.

        We now have a *different* corner case where at max_request_time,
        the server can still queue the request (threaded), OR respond
        to it (unthreaded), before noticing that it's at
max_request_time.  That should be OK, though, and safer than the
alternatives.

If people don't like this, they should set the home server
response window to something LESS than max_request_time.

16 years ago Remove --enable-strict-dependencies from the top-level "configure"
nbk [Sat, 5 Jan 2008 02:45:02 +0000 (02:45 +0000)]
Remove --enable-strict-dependencies from the top-level "configure"
flags. Debian doesn't have a package for libeap-ikev2, so it's
impossible to meet all the dependencies.

16 years ago Declare variables before code
nbk [Sat, 5 Jan 2008 02:36:46 +0000 (02:36 +0000)]
Declare variables before code

16 years ago Cleaned up error messages.
aland [Sat, 5 Jan 2008 02:18:42 +0000 (02:18 +0000)]
Cleaned up error messages.

If there's no response to a proxied request, we run the request
through the post-proxy-fail handler, which calls post-handler,
which eventually tries to proxy it again.  Since it's already
in the request hash, we get an error message saying that we
can't insert it into the request hash.

The fix is to NOT try to proxy it if request->proxy exists.
We also check for that, and request->in_proxy_hash in
successfully_proxied_request.

We may want to call remove_from_proxy_hash() in no response to
proxied request, too.

16 years ago Note unused parameters with a gcc attribute.
nbk [Sat, 5 Jan 2008 02:03:18 +0000 (02:03 +0000)]
Note unused parameters with a gcc attribute.

16 years ago Removed unused variables
aland [Sat, 5 Jan 2008 01:55:26 +0000 (01:55 +0000)]
Removed unused variables

16 years ago Be a little more forgiving about parsing realms.
aland [Sat, 5 Jan 2008 01:54:48 +0000 (01:54 +0000)]
Be a little more forgiving about parsing realms.

16 years ago Re-arrange parsing of things so that people's existing
aland [Sat, 5 Jan 2008 01:26:16 +0000 (01:26 +0000)]
Re-arrange parsing of things so that people's existing
configurations are more likely to work.

16 years ago Declare variables before code
nbk [Sat, 5 Jan 2008 01:06:51 +0000 (01:06 +0000)]
Declare variables before code

16 years ago Renamed 2.0.0-pre2 to 2.0.0, in preparation for the release.
nbk [Sat, 5 Jan 2008 00:39:43 +0000 (00:39 +0000)]
Renamed 2.0.0-pre2 to 2.0.0, in preparation for the release.

16 years ago Update Standards-Version to 3.7.3 (no changes required).
nbk [Sat, 5 Jan 2008 00:35:21 +0000 (00:35 +0000)]
Update Standards-Version to 3.7.3 (no changes required).

16 years ago Make installation directories before installing stuff in them.
aland [Fri, 4 Jan 2008 13:27:24 +0000 (13:27 +0000)]
Make installation directories before installing stuff in them.
No idea why this is necessary, but what the heck...

16 years ago Declare variables before code
aland [Fri, 4 Jan 2008 13:22:53 +0000 (13:22 +0000)]
Declare variables before code

16 years ago Declare buffers before code
aland [Fri, 4 Jan 2008 13:21:30 +0000 (13:21 +0000)]
Declare buffers before code

16 years ago Client may be IPv6, too
aland [Fri, 4 Jan 2008 09:46:57 +0000 (09:46 +0000)]
Client may be IPv6, too

16 years ago Patches from Apple to build without <membershipPriv.h>
aland [Fri, 4 Jan 2008 09:44:29 +0000 (09:44 +0000)]
Patches from Apple to build without <membershipPriv.h>

16 years ago It's ldflags, not libs... that may help
aland [Thu, 3 Jan 2008 22:44:47 +0000 (22:44 +0000)]
It's ldflags, not libs... that may help

16 years ago Removed unused prototypes and functions
aland [Thu, 3 Jan 2008 10:17:55 +0000 (10:17 +0000)]
Removed unused prototypes and functions

16 years ago Don't call client_* functions.
aland [Thu, 3 Jan 2008 09:54:53 +0000 (09:54 +0000)]
Don't call client_* functions.

16 years ago Don't call client_find. The REQUEST now holds a pointer to
aland [Thu, 3 Jan 2008 09:53:16 +0000 (09:53 +0000)]
Don't call client_find.  The REQUEST now holds a pointer to
the client structure

16 years ago Updated copyrights
aland [Thu, 3 Jan 2008 08:19:49 +0000 (08:19 +0000)]
Updated copyrights

16 years ago clean it up even more
aland [Wed, 2 Jan 2008 15:14:47 +0000 (15:14 +0000)]
clean it up even more

16 years ago Notes on eap2
aland [Wed, 2 Jan 2008 07:26:19 +0000 (07:26 +0000)]
Notes on eap2

16 years ago Add "require_message_authenticator" to client config, so that
aland [Tue, 1 Jan 2008 17:29:11 +0000 (17:29 +0000)]
Add "require_message_authenticator" to client config, so that
we can force some kind of security on the protocol

16 years ago Much better way of starting the server and running the tests
aland [Tue, 1 Jan 2008 15:25:22 +0000 (15:25 +0000)]
Much better way of starting the server and running the tests

16 years ago Revert last commit
aland [Tue, 1 Jan 2008 15:08:26 +0000 (15:08 +0000)]
Revert last commit

16 years ago Use Merit
aland [Tue, 1 Jan 2008 15:08:04 +0000 (15:08 +0000)]
Use Merit

16 years ago New dictionary from EAP-SRP
aland [Tue, 1 Jan 2008 15:06:48 +0000 (15:06 +0000)]
New dictionary from EAP-SRP

16 years ago Removed obseleted RFC's
aland [Mon, 31 Dec 2007 16:49:33 +0000 (16:49 +0000)]
Removed obseleted RFC's

16 years ago fix typo...
aland [Mon, 31 Dec 2007 14:45:55 +0000 (14:45 +0000)]
fix typo...

16 years ago note changes
aland [Mon, 31 Dec 2007 14:45:25 +0000 (14:45 +0000)]
note changes

16 years ago Note changes to test harness
aland [Mon, 31 Dec 2007 14:44:28 +0000 (14:44 +0000)]
Note changes to test harness

16 years ago Better test harness using virtual servers
aland [Mon, 31 Dec 2007 14:44:11 +0000 (14:44 +0000)]
Better test harness using virtual servers

16 years ago Better way of handling dictionaries
aland [Mon, 31 Dec 2007 14:18:50 +0000 (14:18 +0000)]
Better way of handling dictionaries

16 years ago If '-n' isn't used, the argument is by default progname
aland [Mon, 31 Dec 2007 12:47:51 +0000 (12:47 +0000)]
If '-n' isn't used, the argument is by default progname

16 years ago*** empty log message ***
aland [Mon, 31 Dec 2007 12:46:03 +0000 (12:46 +0000)]
*** empty log message ***

16 years ago Add "dictionary" config item, so dictionaries don't have to
aland [Mon, 31 Dec 2007 10:50:39 +0000 (10:50 +0000)]
Add "dictionary" config item, so dictionaries don't have to
be in raddb_dir.  Used mostly for testing...

16 years ago Added '-n name' back again. It's too useful to live without
aland [Mon, 31 Dec 2007 04:22:06 +0000 (04:22 +0000)]
Added '-n name' back again.  It's too useful to live without

16 years ago Don't refer to config file by name
aland [Mon, 31 Dec 2007 04:18:00 +0000 (04:18 +0000)]
Don't refer to config file by name

16 years ago Cleaned up text, and added notes on 2.0
aland [Mon, 31 Dec 2007 04:10:04 +0000 (04:10 +0000)]
Cleaned up text, and added notes on 2.0

16 years ago Don't talk about clients and naslist
aland [Mon, 31 Dec 2007 04:05:57 +0000 (04:05 +0000)]
Don't talk about clients and naslist

16 years ago Install templates.conf, too
aland [Mon, 31 Dec 2007 03:40:31 +0000 (03:40 +0000)]
Install templates.conf, too

16 years ago Added common headers for "look and feel"
aland [Mon, 31 Dec 2007 03:40:14 +0000 (03:40 +0000)]
Added common headers for "look and feel"

16 years ago Common headers
aland [Mon, 31 Dec 2007 03:31:16 +0000 (03:31 +0000)]
Common headers

16 years ago Add common header to configuration files for "look and feel"
aland [Mon, 31 Dec 2007 03:26:59 +0000 (03:26 +0000)]
Add common header to configuration files for "look and feel"

16 years ago Update copyrights for the new year
aland [Mon, 31 Dec 2007 03:03:22 +0000 (03:03 +0000)]
Update copyrights for the new year

16 years ago -y is no longer supported. This closes #499
aland [Mon, 31 Dec 2007 02:57:41 +0000 (02:57 +0000)]
-y is no longer supported.  This closes #499

16 years ago Corrected typo
aland [Sun, 30 Dec 2007 08:41:41 +0000 (08:41 +0000)]
Corrected typo

16 years ago include new field
aland [Sat, 29 Dec 2007 12:43:56 +0000 (12:43 +0000)]
include new field

16 years ago Clean up example
aland [Sat, 29 Dec 2007 05:01:45 +0000 (05:01 +0000)]
Clean up example

16 years ago Make (!foo) work, which is easier to understand than (!(foo))
aland [Sat, 29 Dec 2007 04:59:00 +0000 (04:59 +0000)]
Make (!foo) work, which is easier to understand than (!(foo))

flush buffers on "print" statement

pay attention to "debug_print", which was previously ignored

16 years ago Set default site for config file
aland [Sat, 29 Dec 2007 04:39:31 +0000 (04:39 +0000)]
Set default site for config file

16 years ago Print passwords if we have them
aland [Sat, 29 Dec 2007 04:38:19 +0000 (04:38 +0000)]
Print passwords if we have them

16 years ago rlm_policy has been marked stable. Let's document it's
aland [Sat, 29 Dec 2007 04:33:26 +0000 (04:33 +0000)]
rlm_policy has been marked stable.  Let's document it's
configuration

16 years ago Added key (which is clear-text... what are they thinking?)
aland [Fri, 28 Dec 2007 21:12:08 +0000 (21:12 +0000)]
Added key (which is clear-text... what are they thinking?)

This closes #498

16 years ago Decrement references and free memory on error
aland [Fri, 28 Dec 2007 21:08:39 +0000 (21:08 +0000)]
Decrement references and free memory on error

16 years ago free memory on error
aland [Fri, 28 Dec 2007 21:02:14 +0000 (21:02 +0000)]
free memory on error

16 years ago Free memory *after* using it, not before
aland [Fri, 28 Dec 2007 20:58:42 +0000 (20:58 +0000)]
Free memory *after* using it, not before

16 years ago free module structure on error
aland [Fri, 28 Dec 2007 20:50:19 +0000 (20:50 +0000)]
free module structure on error

16 years ago Free listen structure on error
aland [Fri, 28 Dec 2007 20:48:45 +0000 (20:48 +0000)]
Free listen structure on error

16 years ago free vp on error
aland [Fri, 28 Dec 2007 20:46:40 +0000 (20:46 +0000)]
free vp on error

16 years ago use new cf_log_info.
aland [Fri, 28 Dec 2007 20:45:37 +0000 (20:45 +0000)]
use new cf_log_info.

free(rc) on error

16 years ago strdup may return NULL
aland [Fri, 28 Dec 2007 20:42:58 +0000 (20:42 +0000)]
strdup may return NULL

16 years ago Free policy on parse error
aland [Fri, 28 Dec 2007 20:40:22 +0000 (20:40 +0000)]
Free policy on parse error

16 years ago Fix compiler warnings
aland [Fri, 28 Dec 2007 20:39:30 +0000 (20:39 +0000)]
Fix compiler warnings

16 years ago Close fp on error
aland [Fri, 28 Dec 2007 20:33:50 +0000 (20:33 +0000)]
Close fp on error

16 years ago EAP-IKEv2 is type 49, not 47
aland [Fri, 28 Dec 2007 18:19:38 +0000 (18:19 +0000)]
EAP-IKEv2 is type 49, not 47

make EAP-IKEv2-AuthType integer, not string

16 years ago <sigh> Don't use AC_MSG_ERROR. It's stupid.
aland [Fri, 28 Dec 2007 08:16:13 +0000 (08:16 +0000)]
<sigh>  Don't use AC_MSG_ERROR.  It's stupid.

16 years ago Don't need config.h
aland [Thu, 27 Dec 2007 22:36:21 +0000 (22:36 +0000)]
Don't need config.h

16 years ago Based on Apple's patches to 1.1.4, with changes so that
aland [Thu, 27 Dec 2007 22:35:16 +0000 (22:35 +0000)]
Based on Apple's patches to 1.1.4, with changes so that
it might build.  (untested)

Much unused code has been deleted.  Configure script has been
regenerated.

16 years ago Added minor documentation for rlm_policy
aland [Thu, 27 Dec 2007 22:10:27 +0000 (22:10 +0000)]
Added minor documentation for rlm_policy

16 years ago It's in wide use in a number of places.
aland [Thu, 27 Dec 2007 21:43:13 +0000 (21:43 +0000)]
It's in wide use in a number of places.

16 years ago Patch from Joe Maimon to add more functionality
aland [Thu, 27 Dec 2007 21:42:49 +0000 (21:42 +0000)]
Patch from Joe Maimon to add more functionality

16 years ago Add EAP-IKEv2 attributes to the dictionary
aland [Thu, 27 Dec 2007 14:08:37 +0000 (14:08 +0000)]
Add EAP-IKEv2 attributes to the dictionary

16 years ago Add EAP-IKEv2
aland [Thu, 27 Dec 2007 14:03:54 +0000 (14:03 +0000)]
Add EAP-IKEv2

16 years ago Added sample EAP-IKEv2 configuration.
aland [Thu, 27 Dec 2007 14:02:59 +0000 (14:02 +0000)]
Added sample EAP-IKEv2 configuration.

It's weird... very weird.

16 years ago Added ikev2 from http://eap-ikev2.sourceforge.net/
aland [Thu, 27 Dec 2007 11:16:17 +0000 (11:16 +0000)]
Added ikev2 from eap-ikev2.sourceforge.net/

Note that chunks of the code are copied from elsewhere in
FreeRADIUS, without properly acknowledging copyright.  This has
been addressed in this checkin.

Other issues that need fixing:
- remove // comments
- fix variables declared in the middle of a function
- remove "getusersfile" function.  It is *completely*
  unnecessary
- code formatting and cleanups
The configuration has NOT been added.  That will be done
in a separate commit

16 years ago Remove support for deprecated command-line options
aland [Thu, 27 Dec 2007 09:17:22 +0000 (09:17 +0000)]
Remove support for deprecated command-line options

16 years ago Move log_foo into log { foo .. } for clarity.
aland [Thu, 27 Dec 2007 05:51:08 +0000 (05:51 +0000)]
Move log_foo into log { foo .. } for clarity.

Allow old-style log_foo for backwards compatibility.