freeradius.git
17 years ago Added support for regular expressions via (foo =~ /foo/)
aland [Mon, 28 May 2007 09:36:55 +0000 (09:36 +0000)]
Added support for regular expressions via (foo =~ /foo/)

Made the parser a little more forgiving

17 years ago Added more quotes
aland [Mon, 28 May 2007 09:35:47 +0000 (09:35 +0000)]
Added more quotes

17 years ago Add support for "update foo" to the configuration file reader,
aland [Mon, 28 May 2007 08:58:54 +0000 (08:58 +0000)]
Add support for "update foo" to the configuration file reader,
and support for back-ticks, which execute an external program

17 years ago Use new getstring() function to parse conf_pair's
aland [Mon, 28 May 2007 08:57:20 +0000 (08:57 +0000)]
Use new getstring() function to parse conf_pair's

17 years ago Added def for invalid realms
aland [Mon, 28 May 2007 08:56:13 +0000 (08:56 +0000)]
Added def for invalid realms

17 years ago Added getstring() to support the conf files
aland [Mon, 28 May 2007 08:40:22 +0000 (08:40 +0000)]
Added getstring() to support the conf files

17 years ago Do slightly more work to catch stupid clients that send the packet
aland [Fri, 25 May 2007 12:31:42 +0000 (12:31 +0000)]
Do slightly more work to catch stupid clients that send the packet
with the same size.

17 years ago Template-ize the build rules
aland [Fri, 25 May 2007 12:25:35 +0000 (12:25 +0000)]
Template-ize the build rules

17 years ago Cleaned up source code so it's better organized, and so it
aland [Fri, 25 May 2007 12:23:00 +0000 (12:23 +0000)]
Cleaned up source code so it's better organized, and so it
handles IPv6

17 years ago Disable udpfromto until such time as it fully supports IPv6
aland [Fri, 25 May 2007 11:20:34 +0000 (11:20 +0000)]
Disable udpfromto until such time as it fully supports IPv6

17 years ago If we can't use udpfromto, return OK. The send/recv functions
aland [Fri, 25 May 2007 11:17:52 +0000 (11:17 +0000)]
If we can't use udpfromto, return OK.  The send/recv functions
already handle the #ifdef's properly.

17 years ago Added note to close bug #450
aland [Fri, 25 May 2007 11:09:17 +0000 (11:09 +0000)]
Added note to close bug #450

17 years ago Include sys/socket.h
aland [Fri, 25 May 2007 09:58:26 +0000 (09:58 +0000)]
Include sys/socket.h

17 years ago Add a Cygwin check
aland [Fri, 25 May 2007 09:57:15 +0000 (09:57 +0000)]
Add a Cygwin check

17 years ago Add checks for more versions of FreeBSD, from bug #454
aland [Fri, 25 May 2007 09:55:18 +0000 (09:55 +0000)]
Add checks for more versions of FreeBSD, from bug #454

17 years ago Add patch from bug #453
aland [Fri, 25 May 2007 09:51:04 +0000 (09:51 +0000)]
Add patch from bug #453

17 years ago Add new complex conditions in radiusd.conf
aland [Fri, 25 May 2007 09:46:42 +0000 (09:46 +0000)]
Add new complex conditions in radiusd.conf

17 years ago Added Nexans dictionary, as posted to the list.
aland [Fri, 25 May 2007 09:25:01 +0000 (09:25 +0000)]
Added Nexans dictionary, as posted to the list.

17 years ago handle OTP_RC_IPIN error from otpd-2.2.1+
fcusack [Fri, 25 May 2007 00:44:20 +0000 (00:44 +0000)]
handle OTP_RC_IPIN error from otpd-2.2.1+

17 years ago handle OTP_RC_NEXTPASSCODE error from otpd-2.2.1+
fcusack [Thu, 24 May 2007 23:42:51 +0000 (23:42 +0000)]
handle OTP_RC_NEXTPASSCODE error from otpd-2.2.1+

17 years ago update copyright year
fcusack [Wed, 23 May 2007 22:19:48 +0000 (22:19 +0000)]
update copyright year

17 years agoimport from branch_1_1:
fcusack [Wed, 23 May 2007 22:08:38 +0000 (22:08 +0000)]
import from branch_1_1:
Should use (sizeof(array)/sizeof(array[0]) for looping over
the entries

This fixes Coverity bug #12

17 years agoimport from HEAD:
fcusack [Wed, 23 May 2007 21:20:00 +0000 (21:20 +0000)]
import from HEAD:
update otp_request_t to v2

17 years ago quiet Coverity (fixes Coverity bug #11)
fcusack [Wed, 23 May 2007 21:18:56 +0000 (21:18 +0000)]
quiet Coverity (fixes Coverity bug #11)

17 years ago regenerate from configure.in#1.1.2.6
fcusack [Wed, 23 May 2007 21:04:09 +0000 (21:04 +0000)]
regenerate from configure.in#1.1.2.6

17 years agoimport from HEAD:
fcusack [Wed, 23 May 2007 21:03:45 +0000 (21:03 +0000)]
import from HEAD:
don't need -Wno-cast-qual anymore

17 years ago otp_detach(): remove unused var
fcusack [Wed, 23 May 2007 21:00:35 +0000 (21:00 +0000)]
otp_detach(): remove unused var

17 years ago update otp_request_t to v2
fcusack [Wed, 23 May 2007 20:45:44 +0000 (20:45 +0000)]
update otp_request_t to v2

17 years ago update otp_request_t to v2
fcusack [Wed, 23 May 2007 20:37:04 +0000 (20:37 +0000)]
update otp_request_t to v2

17 years ago regenerate from configure.in#1.5
fcusack [Wed, 23 May 2007 20:29:24 +0000 (20:29 +0000)]
regenerate from configure.in#1.5

17 years ago don't need -Wno-cast-qual anymore
fcusack [Wed, 23 May 2007 20:28:54 +0000 (20:28 +0000)]
don't need -Wno-cast-qual anymore

17 years ago Clarified text
aland [Mon, 21 May 2007 09:23:27 +0000 (09:23 +0000)]
Clarified text

17 years ago Apparently it returns T_EOL sometimes...
aland [Wed, 16 May 2007 15:54:26 +0000 (15:54 +0000)]
Apparently it returns T_EOL sometimes...

17 years ago Fix return code. Clarify code for parsing configuration files
aland [Wed, 16 May 2007 12:21:46 +0000 (12:21 +0000)]
Fix return code.  Clarify code for parsing configuration files

17 years ago Corrected documentation
aland [Wed, 16 May 2007 10:23:29 +0000 (10:23 +0000)]
Corrected documentation

17 years ago Added one attribute, and the RFC that defines it
aland [Wed, 16 May 2007 10:06:36 +0000 (10:06 +0000)]
Added one attribute, and the RFC that defines it

17 years ago Document "auth+acct"
aland [Wed, 16 May 2007 08:56:58 +0000 (08:56 +0000)]
Document "auth+acct"

17 years ago Permit "pool" in realms, to point to pools of all "auth+acct"
aland [Wed, 16 May 2007 08:48:17 +0000 (08:48 +0000)]
Permit "pool" in realms, to point to pools of all "auth+acct"
home servers

17 years ago More sanity checks.
aland [Wed, 16 May 2007 08:42:55 +0000 (08:42 +0000)]
More sanity checks.

Allow home servers to be of type "auth+acct", where acct port
is the given port + 1.

17 years ago Add one more type missed on previous commit
aland [Wed, 16 May 2007 08:07:20 +0000 (08:07 +0000)]
Add one more type missed on previous commit

17 years ago Separate pools and home servers by type.
aland [Wed, 16 May 2007 08:01:50 +0000 (08:01 +0000)]
Separate pools and home servers by type.

17 years ago Be a little more rigorous in the parser.
aland [Wed, 16 May 2007 07:51:24 +0000 (07:51 +0000)]
Be a little more rigorous in the parser.

This fixes Coverity bug #48

17 years ago Be a little more rigorous when parsing
aland [Wed, 16 May 2007 07:49:49 +0000 (07:49 +0000)]
Be a little more rigorous when parsing

This fixes Coverity bug #48

17 years ago Remove unused variables.
aland [Wed, 16 May 2007 07:44:18 +0000 (07:44 +0000)]
Remove unused variables.

This fixes Coverity bugs #50, 51, 52, and 53

17 years ago Check return codes.
aland [Wed, 16 May 2007 07:41:37 +0000 (07:41 +0000)]
Check return codes.

This fixes Coverity bug #49

17 years ago Check return value.
aland [Wed, 16 May 2007 07:40:41 +0000 (07:40 +0000)]
Check return value.

This fixes Coverity bug #49

17 years ago Print out copyright statement when starting in debugging mode.
aland [Tue, 15 May 2007 15:32:08 +0000 (15:32 +0000)]
Print out copyright statement when starting in debugging mode.

17 years ago Added Azaire VSA's
aland [Tue, 15 May 2007 14:25:53 +0000 (14:25 +0000)]
Added Azaire VSA's

17 years ago Call it -pre1, as -pre0 has been around forever release_2_0_0_pre1
aland [Tue, 15 May 2007 12:48:04 +0000 (12:48 +0000)]
Call it -pre1, as -pre0 has been around forever

17 years ago Enable udpfromto by default. It's tested, and solves a lot of
aland [Tue, 15 May 2007 12:46:36 +0000 (12:46 +0000)]
Enable udpfromto by default.  It's tested, and solves a lot of
problems.

17 years ago Relax checks a little
aland [Tue, 15 May 2007 12:41:53 +0000 (12:41 +0000)]
Relax checks a little

17 years ago Port fix for Coverity bug #13 from 1.1.x
aland [Tue, 15 May 2007 10:23:03 +0000 (10:23 +0000)]
Port fix for Coverity bug #13 from 1.1.x

17 years ago Port fix for Coverity bug #22 from 1.1.x
aland [Tue, 15 May 2007 10:20:04 +0000 (10:20 +0000)]
Port fix for Coverity bug #22 from 1.1.x

17 years ago Port fix for Coverity bug #23 from 1.1.x
aland [Tue, 15 May 2007 10:18:03 +0000 (10:18 +0000)]
Port fix for Coverity bug #23 from 1.1.x

17 years ago Port fix for Coverity bug #25 from 1.1.x
aland [Tue, 15 May 2007 10:17:23 +0000 (10:17 +0000)]
Port fix for Coverity bug #25 from 1.1.x

17 years ago Port fix for Coverity bug #27 from 1.1.x
aland [Tue, 15 May 2007 10:14:54 +0000 (10:14 +0000)]
Port fix for Coverity bug #27 from 1.1.x

17 years ago Port fix for Coverity bug #37 from 1.1.x
aland [Tue, 15 May 2007 10:10:35 +0000 (10:10 +0000)]
Port fix for Coverity bug #37 from 1.1.x

17 years ago Port fix for Coverity bug #38 from 1.1.x
aland [Tue, 15 May 2007 10:09:20 +0000 (10:09 +0000)]
Port fix for Coverity bug #38 from 1.1.x

17 years ago Port fix for Coverity bug #29 from 1.1.x
aland [Tue, 15 May 2007 10:06:28 +0000 (10:06 +0000)]
Port fix for Coverity bug #29 from 1.1.x

17 years ago Port fix for Coverity bug #33 from 1.1.x
aland [Tue, 15 May 2007 10:04:50 +0000 (10:04 +0000)]
Port fix for Coverity bug #33 from 1.1.x

17 years ago Port fix for Coverity bug #41 from 1.1.x
aland [Tue, 15 May 2007 10:03:12 +0000 (10:03 +0000)]
Port fix for Coverity bug #41 from 1.1.x

17 years ago Port fix for Coverity bug #40 from 1.1.x
aland [Tue, 15 May 2007 10:02:19 +0000 (10:02 +0000)]
Port fix for Coverity bug #40 from 1.1.x

17 years ago Pull fix for Coverity bug #15 from 1.1.x
aland [Tue, 15 May 2007 09:58:25 +0000 (09:58 +0000)]
Pull fix for Coverity bug #15 from 1.1.x

17 years ago Pull suppression of "error in read client cert A" from 1.1.x
aland [Tue, 15 May 2007 09:56:26 +0000 (09:56 +0000)]
Pull suppression of "error in read client cert A" from 1.1.x

17 years ago Free "fake" on error.
aland [Tue, 15 May 2007 09:53:24 +0000 (09:53 +0000)]
Free "fake" on error.

This fixes Coverity bug #43

17 years ago Free "fake" on parse error.
aland [Tue, 15 May 2007 09:52:38 +0000 (09:52 +0000)]
Free "fake" on parse error.

This fixes Coverity bug #44

17 years ago Free "fake" on parse error.
aland [Tue, 15 May 2007 09:52:13 +0000 (09:52 +0000)]
Free "fake" on parse error.

This fixes Coverity bug #45

17 years ago Free "fake" on parse error.
aland [Tue, 15 May 2007 09:50:51 +0000 (09:50 +0000)]
Free "fake" on parse error.

This fixes Coverity bug #43

17 years ago Free "fake" on parse error.
aland [Tue, 15 May 2007 09:50:34 +0000 (09:50 +0000)]
Free "fake" on parse error.

This fixes Coverity bug #44

17 years ago Free "fake" on parse error.
aland [Tue, 15 May 2007 09:50:17 +0000 (09:50 +0000)]
Free "fake" on parse error.

This fixes Coverity bug #45

17 years ago Delete trailing whitespace.
nbk [Mon, 14 May 2007 22:26:57 +0000 (22:26 +0000)]
Delete trailing whitespace.

17 years ago Add new load balancing method "client-port-balance"
aland [Mon, 14 May 2007 11:17:32 +0000 (11:17 +0000)]
Add new load balancing method "client-port-balance"

This method should be removed when we have state tracking of EAP
proxies in a module

17 years ago In preparation for 2.0-pre0
aland [Mon, 14 May 2007 09:56:57 +0000 (09:56 +0000)]
In preparation for 2.0-pre0

17 years ago Update copyright dates
aland [Mon, 14 May 2007 09:43:44 +0000 (09:43 +0000)]
Update copyright dates

17 years ago Use "currently_outstanding" metric for load-balance. i.e. we choose
aland [Mon, 14 May 2007 09:42:51 +0000 (09:42 +0000)]
Use "currently_outstanding" metric for load-balance.  i.e. we choose
the home server with the lowest "currently_outstanding" number.
If there are multiple home servers with the same number, randomly
choose among them.

This means that when a home server is dead and doesn't respond,
the requests will immediately be load-balanced to any live servers

17 years ago Made language more consistent.
aland [Mon, 14 May 2007 07:54:58 +0000 (07:54 +0000)]
Made language more consistent.

When a home server first responds, decrement the
"currently_outstanding" counter.  This counter tracks the requests
being processed by the home server, NOT the number of retransmits

17 years agoAdd Novell's eDir OTP patch to branch_1_1 also (previously committed to cvs)
pnixon [Sun, 13 May 2007 22:00:28 +0000 (22:00 +0000)]
Add Novell's eDir OTP patch to branch_1_1 also (previously committed to cvs)

17 years agoAdd eDirectory Token / NMAS support thanks to Peter Lambrechtsen and Vinayak Hegde...
pnixon [Sun, 13 May 2007 21:41:42 +0000 (21:41 +0000)]
Add eDirectory Token / NMAS support thanks to Peter Lambrechtsen and Vinayak Hegde from Novell

17 years ago Use RTT && load_factor to prevent detail file reading from
aland [Fri, 11 May 2007 09:34:00 +0000 (09:34 +0000)]
Use RTT && load_factor to prevent detail file reading from
overloading the system.

17 years ago Pull xlat for NT-Hash and LM-Hash from CVS head
aland [Fri, 11 May 2007 09:02:52 +0000 (09:02 +0000)]
Pull xlat for NT-Hash and LM-Hash from CVS head

17 years ago Use strncasecmp, not strcasecmp
aland [Fri, 11 May 2007 08:58:19 +0000 (08:58 +0000)]
Use strncasecmp, not strcasecmp

17 years ago For old-style realms, make pools by realm name, not server name
aland [Fri, 11 May 2007 08:49:31 +0000 (08:49 +0000)]
For old-style realms, make pools by realm name, not server name

17 years ago Cleaned up debug messages.
aland [Fri, 11 May 2007 08:39:57 +0000 (08:39 +0000)]
Cleaned up debug messages.

Old-style "accthost" goes into acct_pool, not auth_pool

17 years ago Now that we have the "self signal" function, there's no need
aland [Thu, 10 May 2007 08:17:05 +0000 (08:17 +0000)]
Now that we have the "self signal" function, there's no need
to block signals in the child threads

17 years agoFix typo
pnixon [Wed, 9 May 2007 16:12:42 +0000 (16:12 +0000)]
Fix typo

17 years agoFixed small typo in dict
pnixon [Wed, 9 May 2007 15:18:53 +0000 (15:18 +0000)]
Fixed small typo in dict

17 years ago Don't try to install older SQL configs. They've been moved
aland [Wed, 9 May 2007 13:54:42 +0000 (13:54 +0000)]
Don't try to install older SQL configs.  They've been moved
to the "sql" directory

17 years ago Re-parent the SNMP MIBs to use our own OID, rather than gnome's
aland [Wed, 9 May 2007 13:41:35 +0000 (13:41 +0000)]
Re-parent the SNMP MIBs to use our own OID, rather than gnome's
OID.  Gnome also seems to be using 3317 rather than 3319, which
is what IANA says was assigned to them.

17 years ago struct timeval->tv_sec may not be time_t on MAC OS, 64-bit.
aland [Wed, 9 May 2007 13:16:00 +0000 (13:16 +0000)]
struct timeval->tv_sec may not be time_t on MAC OS, 64-bit.
i.e. struct timeval->tv_sec is 64-bit, and localtime_t() etc
take a 32-bit pointer.

If we need to remove "request->timestamp" in the future, we can
update the calls to localtime_r(), etc. to use an intermediate
variable, to avoid 32/64-bit issues.

17 years ago Initialize timestamp from received
aland [Wed, 9 May 2007 13:09:21 +0000 (13:09 +0000)]
Initialize timestamp from received

17 years ago print out attributes in a more standard method
aland [Wed, 9 May 2007 12:22:46 +0000 (12:22 +0000)]
print out attributes in a more standard method

17 years ago We're copying ranges of bytes fed to us from a regex parse.
aland [Tue, 8 May 2007 14:00:06 +0000 (14:00 +0000)]
We're copying ranges of bytes fed to us from a regex parse.
We need to use memcpy, not strlcpy.

17 years agoSplit queries into dialect specific files and add mysql support
pnixon [Tue, 8 May 2007 07:00:35 +0000 (07:00 +0000)]
Split queries into dialect specific files and add mysql support

17 years ago use new signal stuff
aland [Mon, 7 May 2007 17:31:25 +0000 (17:31 +0000)]
use new signal stuff

17 years agooops.. no need for the same column name twice..
pnixon [Fri, 4 May 2007 14:59:51 +0000 (14:59 +0000)]
oops.. no need for the same column name twice..

17 years ago Be more forgiving about corner cases
aland [Fri, 4 May 2007 13:00:15 +0000 (13:00 +0000)]
Be more forgiving about corner cases

17 years ago When adding a non-detail REQUEST to the queue, mark detail
aland [Fri, 4 May 2007 12:43:51 +0000 (12:43 +0000)]
When adding a non-detail REQUEST to the queue, mark detail
reading as not possible.

When a thread finishes a request, AND the queues are empty,
mark detail reading as possible.

17 years ago Cleanup up detail file handling a little. Fixed a memory
aland [Fri, 4 May 2007 12:42:38 +0000 (12:42 +0000)]
Cleanup up detail file handling a little.  Fixed a memory
leak (how did that get in again?).  It seems to work...

17 years ago Do more initialization
aland [Fri, 4 May 2007 11:57:08 +0000 (11:57 +0000)]
Do more initialization

17 years ago Added a self-pipe as per Emile's ideas at:
aland [Fri, 4 May 2007 09:18:08 +0000 (09:18 +0000)]
Added a self-pipe as per Emile's ideas at:

http://www.xs4all.nl/~evbergen/unix-signals.html

We don't need to handle more than 2-3 signals, so it all fits
into one byte.

Also added "detail" flag, so we can later add feedback from the
child threads.  If there are no queued requests, AND there's at
least one thread waiting for something to do, THEN it's OK to read
from the detail file.