fcusack [Tue, 24 Oct 2006 05:36:08 +0000 (05:36 +0000)]
import from HEAD
add new header ident.h
fcusack [Tue, 24 Oct 2006 05:33:01 +0000 (05:33 +0000)]
add new header ident.h
fcusack [Tue, 24 Oct 2006 05:15:45 +0000 (05:15 +0000)]
import from HEAD
prevent rcsid from being optimized out
fcusack [Tue, 24 Oct 2006 04:45:13 +0000 (04:45 +0000)]
import from HEAD:
s/bad state/bad radstate/ to be clear that it's not token state
fcusack [Tue, 24 Oct 2006 04:40:58 +0000 (04:40 +0000)]
import from HEAD:
remove trailing "\n" from some radlog() calls
fcusack [Tue, 24 Oct 2006 04:38:04 +0000 (04:38 +0000)]
import from HEAD:
otp_putfd(): add disconnect arg, to allow just mutex release, avoiding
fd leak in radiusd and otpd
otp_verify(): otp_putfd(fdp, 0) on successful return, otp_putfd(fdp, 1)
on 2 error return cases that we missed
fcusack [Tue, 24 Oct 2006 04:34:24 +0000 (04:34 +0000)]
typo
fcusack [Tue, 24 Oct 2006 04:33:53 +0000 (04:33 +0000)]
no longer used
fcusack [Tue, 24 Oct 2006 04:20:54 +0000 (04:20 +0000)]
document rlm_otp fd leak fix
fcusack [Tue, 24 Oct 2006 04:02:37 +0000 (04:02 +0000)]
otp_putfd(): add disconnect arg, to allow just mutex release, avoiding
fd leak in radiusd and otpd
otp_verify(): otp_putfd(fdp, 0) on successful return, otp_putfd(fdp, 1)
on 2 error return cases that we missed
fcusack [Tue, 24 Oct 2006 03:19:06 +0000 (03:19 +0000)]
remove trailing "\n"s from some radlog() calls
aland [Fri, 20 Oct 2006 18:41:11 +0000 (18:41 +0000)]
fix stdarg.h
pnixon [Fri, 20 Oct 2006 15:14:03 +0000 (15:14 +0000)]
Cleanup
fcusack [Fri, 20 Oct 2006 05:12:08 +0000 (05:12 +0000)]
file ident.h was added on branch branch_1_1 on 2006-10-24 05:15:45 +0000
fcusack [Fri, 20 Oct 2006 05:12:07 +0000 (05:12 +0000)]
prevent rcsid from being optimized out
fcusack [Thu, 19 Oct 2006 07:56:10 +0000 (07:56 +0000)]
no longer appropriate
fcusack [Thu, 19 Oct 2006 07:55:56 +0000 (07:55 +0000)]
typo
aland [Wed, 18 Oct 2006 21:51:16 +0000 (21:51 +0000)]
Send MS-CHAP2-Success, which makes EAP-TTLS/MSCHAP work.
This closes bug #402
aland [Wed, 18 Oct 2006 21:49:47 +0000 (21:49 +0000)]
Send MS-CHAP2-Success, which makes EAP-TTLS/MSCHAP work
This closes bug #402
aland [Wed, 18 Oct 2006 21:11:09 +0000 (21:11 +0000)]
Print ntlm_auth failure reason in Module-Failure-Message
This closes bug #398, in this branch
aland [Wed, 18 Oct 2006 21:03:11 +0000 (21:03 +0000)]
Added preliminary code to support Firebird. Untested!
This closes bug #378
aland [Wed, 18 Oct 2006 19:15:14 +0000 (19:15 +0000)]
Pull notes from CVS head
aland [Wed, 18 Oct 2006 19:12:20 +0000 (19:12 +0000)]
Check return codes. This fixes bug #394
pnixon [Sat, 14 Oct 2006 16:02:53 +0000 (16:02 +0000)]
Further cleanup of the config file
aland [Mon, 9 Oct 2006 21:01:50 +0000 (21:01 +0000)]
re-arrange the "apply priority" code so that it does so properly
Update the debug printing so that it prints the childs name,
and not the parents name
aland [Mon, 9 Oct 2006 20:39:37 +0000 (20:39 +0000)]
print out module return code, too. This appears to have been
accidentally deleted
pnixon [Sun, 8 Oct 2006 18:02:42 +0000 (18:02 +0000)]
spelling error
aland [Fri, 6 Oct 2006 23:39:21 +0000 (23:39 +0000)]
Pull code from CVS head to split argv BEFORE radius_xlat, not
before
aland [Thu, 5 Oct 2006 22:01:47 +0000 (22:01 +0000)]
use struct sockaddr_storage, not struct sockaddr.
aland [Thu, 5 Oct 2006 21:35:18 +0000 (21:35 +0000)]
don't call librad_log
pnixon [Thu, 5 Oct 2006 13:19:08 +0000 (13:19 +0000)]
rename to radrelay
aland [Tue, 3 Oct 2006 21:46:43 +0000 (21:46 +0000)]
./scripts/min-includes +n <files listed here>
aland [Tue, 3 Oct 2006 18:34:14 +0000 (18:34 +0000)]
margin notes on which tokens have what numbers
aland [Tue, 3 Oct 2006 18:33:20 +0000 (18:33 +0000)]
Removed references to Livingston
pnixon [Tue, 3 Oct 2006 18:24:30 +0000 (18:24 +0000)]
Moved schema to main sql files
pnixon [Tue, 3 Oct 2006 18:19:59 +0000 (18:19 +0000)]
Add some indexes for sqlippool
pnixon [Tue, 3 Oct 2006 15:38:04 +0000 (15:38 +0000)]
radiusd is currently crashing for us in threaded mode (especially with proxied requests) so setting the startup scripts to single threaded until the problem is solved
pnixon [Tue, 3 Oct 2006 15:21:58 +0000 (15:21 +0000)]
Add acctlog config section
pnixon [Tue, 3 Oct 2006 14:03:08 +0000 (14:03 +0000)]
Add new module to do configurable logging of accounting packets to radiusd.log
pnixon [Tue, 3 Oct 2006 13:04:13 +0000 (13:04 +0000)]
Add config options for configurable logging
pnixon [Tue, 3 Oct 2006 10:59:06 +0000 (10:59 +0000)]
so that we dont leak on a HUP
pnixon [Tue, 3 Oct 2006 07:26:37 +0000 (07:26 +0000)]
New patch for configurable logging
pnixon [Tue, 3 Oct 2006 07:25:31 +0000 (07:25 +0000)]
Rollback this patch.
pnixon [Tue, 3 Oct 2006 06:48:20 +0000 (06:48 +0000)]
Logging update
aland [Mon, 2 Oct 2006 23:53:38 +0000 (23:53 +0000)]
Perl script (hokey as heck) to minimize the number of includes
that we have in C files.
It finds duplicate includes, and prints them out for user verification.
It optionally will also go through & nuke the duplicates
pnixon [Mon, 2 Oct 2006 09:45:00 +0000 (09:45 +0000)]
RFC 2865: The String field is one or more octets. The NAS may limit the maximum length of the User-Name but the ability to handle at least 63 octets is recommended.
mgriego [Sat, 30 Sep 2006 22:21:56 +0000 (22:21 +0000)]
Sleep for 1 second if the child hasn't returned yet before starting the
next iteration of the loop.
fcusack [Sat, 30 Sep 2006 01:38:56 +0000 (01:38 +0000)]
another state->radstate fix
fcusack [Sat, 30 Sep 2006 01:36:54 +0000 (01:36 +0000)]
s/bad state/bad radstate/ to be clear that it's not token state
pnixon [Fri, 29 Sep 2006 16:12:11 +0000 (16:12 +0000)]
Rename to symlink to avoid problems with startproc
aland [Thu, 28 Sep 2006 16:32:19 +0000 (16:32 +0000)]
Added a few more 16-bit vsa's
Added note that 16-bit Ascend VSA's are really Lucent ones
aland [Thu, 28 Sep 2006 16:25:32 +0000 (16:25 +0000)]
Set component and module when processing a request, and unset
them when done a component section.
pnixon [Thu, 28 Sep 2006 10:03:57 +0000 (10:03 +0000)]
Update paths to new doc/examples dir
aland [Wed, 27 Sep 2006 17:03:38 +0000 (17:03 +0000)]
Call proxy_listener->send, not listener->send
mgriego [Wed, 27 Sep 2006 14:15:56 +0000 (14:15 +0000)]
Fix a race condition when running in threaded mode. request->finished was
not being checked for requests that are non-duplicatable (ie accounting
requests). This was leading to a race condition where the list cleanup
code might get to the request before the responder was done processing it,
subsequently leading to an assertion failure on line 508.
pnixon [Fri, 22 Sep 2006 12:26:20 +0000 (12:26 +0000)]
Rename table for consistency
pnixon [Fri, 22 Sep 2006 11:59:16 +0000 (11:59 +0000)]
Kill this stupid check for NULL username.
aland [Thu, 21 Sep 2006 23:29:41 +0000 (23:29 +0000)]
Fix it more
aland [Thu, 21 Sep 2006 23:17:41 +0000 (23:17 +0000)]
Added rfc4590 to the the list
aland [Thu, 21 Sep 2006 23:17:02 +0000 (23:17 +0000)]
Added for Digest authentication
aland [Thu, 21 Sep 2006 23:16:48 +0000 (23:16 +0000)]
Be a little politer about what we print
pnixon [Thu, 21 Sep 2006 10:55:31 +0000 (10:55 +0000)]
Change %{P} to %{check:Pool-Name} to improve query readability
pnixon [Thu, 21 Sep 2006 09:21:55 +0000 (09:21 +0000)]
Remove mutexes and log Called/Calling-Station-Id when handing out IPs
pnixon [Wed, 20 Sep 2006 22:33:40 +0000 (22:33 +0000)]
Some additional docs
mgriego [Wed, 20 Sep 2006 03:09:36 +0000 (03:09 +0000)]
If we're using syslog, we have to parse the log {} section of the config
before trying to reference it for the syslog_facility. In addition, check
to make sure syslog_facility isn't NULL before using it to compare to avoid
a crash condition.
pnixon [Tue, 19 Sep 2006 17:54:36 +0000 (17:54 +0000)]
add sqlippool.conf
aland [Mon, 18 Sep 2006 17:47:10 +0000 (17:47 +0000)]
Calculate reply digest for Disconnect && CoA packets, too
aland [Mon, 18 Sep 2006 17:43:47 +0000 (17:43 +0000)]
Update the list of RFC's we handle, and update the creation
scripts to work a little better
pnixon [Mon, 18 Sep 2006 10:30:46 +0000 (10:30 +0000)]
Update to check the error codes properly so we only reconnect on errors that actually require a reconnect.
pnixon [Mon, 18 Sep 2006 10:28:49 +0000 (10:28 +0000)]
Add radippool
pnixon [Fri, 15 Sep 2006 15:05:10 +0000 (15:05 +0000)]
Fix service name
aland [Thu, 14 Sep 2006 17:52:46 +0000 (17:52 +0000)]
Reverted the change from 1.36 -> 1.37.
The operators are only for hacks like the "users" file, which
have a severely limited policy engine. With Perl, the script has
much more flexibility to decide which attributes to re-write,
which ones to delete, and which ones to leave alone. As a result,
the operators are unnecessary, and don't belong
aland [Thu, 14 Sep 2006 17:43:43 +0000 (17:43 +0000)]
Commited a fix for bug #390
aland [Thu, 14 Sep 2006 17:41:34 +0000 (17:41 +0000)]
Reverted change 1.38 -> 1.39. pairmove() uses operators, which
is unnecessary here. The Perl code can decide which attributes
should be in which lists, so the operators are entirely unnecessary.
In addition, pairmove() may leave attributes in the source list,
so the code in 1.39 has a memory leak, because it doesn't call
pairfree.
A fix for bug #390 will be committed separately.
aland [Thu, 14 Sep 2006 16:32:30 +0000 (16:32 +0000)]
Don't NULL self->request until after we're done using it
aland [Wed, 13 Sep 2006 18:55:23 +0000 (18:55 +0000)]
When walking over a section, handle the case of CONF_DATA
existing
pnixon [Wed, 13 Sep 2006 12:49:37 +0000 (12:49 +0000)]
Major cleanup of the queries (To match what we are running in production)
bjordanov [Wed, 13 Sep 2006 08:36:53 +0000 (08:36 +0000)]
Fixed bug id #390 Removed pairfree and Updated to use pairmove.
aland [Mon, 11 Sep 2006 21:54:56 +0000 (21:54 +0000)]
get rid of race condition on proxying by moving the rad_send()
to inside of the mutex lock in threads.c
aland [Mon, 11 Sep 2006 19:22:28 +0000 (19:22 +0000)]
abstract IP address comparisons
nbk [Mon, 11 Sep 2006 10:46:03 +0000 (10:46 +0000)]
We need to explicitly tell RPM to package the documentation, even
though the files are in the standard location. That fixes the error
"Installed (but unpackaged) file(s) found"
Patch from Sandworm <sandworm@mepd.hush.com>
pnixon [Sun, 10 Sep 2006 17:24:36 +0000 (17:24 +0000)]
Add dictionary.patton
pnixon [Sun, 10 Sep 2006 17:21:51 +0000 (17:21 +0000)]
Add a dictionary for patton
pnixon [Sun, 10 Sep 2006 17:21:51 +0000 (17:21 +0000)]
file dictionary.patton was added on branch branch_1_1 on 2006-09-10 17:24:36 +0000
pnixon [Wed, 6 Sep 2006 22:43:08 +0000 (22:43 +0000)]
Initial Start script for radrelay
aland [Wed, 6 Sep 2006 16:25:26 +0000 (16:25 +0000)]
Pick a proxy port for radrelay
aland [Tue, 5 Sep 2006 21:39:24 +0000 (21:39 +0000)]
Don't call cf_section_read() recursively. Instead, leverage the
fact that each section has a parent pointer to do it iteratively,
which means that we can catch more cases of mismatched braces
aland [Tue, 5 Sep 2006 19:45:16 +0000 (19:45 +0000)]
Catch more cases of start section without end, and end section
without start in the same file.
aland [Tue, 5 Sep 2006 19:43:07 +0000 (19:43 +0000)]
'X' means 'print output to stdout'
aland [Tue, 5 Sep 2006 17:42:10 +0000 (17:42 +0000)]
Separate reading of a file from $INCLUDEing a file.
This makes the code a little easier to understand...
aland [Tue, 5 Sep 2006 17:41:01 +0000 (17:41 +0000)]
Cleartext-Password is a "known good" password, too
pnixon [Mon, 4 Sep 2006 15:29:40 +0000 (15:29 +0000)]
Port module to new API (To stop it core dumping) and remove some other cruft
nbk [Sat, 2 Sep 2006 11:17:16 +0000 (11:17 +0000)]
Rework the /var/run on tmpfs patch and print an error if for some
reason /var/run is not writable.
pnixon [Sat, 2 Sep 2006 10:53:17 +0000 (10:53 +0000)]
Minor doc cleanups
aland [Fri, 1 Sep 2006 23:05:22 +0000 (23:05 +0000)]
All components and indices for module calling are now in a hash
table, which means that we can put it into 'struct mainconfig',
and handle HUP's better!
pnixon [Fri, 1 Sep 2006 22:55:52 +0000 (22:55 +0000)]
It might be a good idea to actually INSTALL the new sql directory I created last night.
aland [Fri, 1 Sep 2006 22:48:35 +0000 (22:48 +0000)]
Move the module lists to hash tables, which are simpler, and should
help with later fixes
aland [Fri, 1 Sep 2006 22:28:39 +0000 (22:28 +0000)]
cf_section_read() is called from two places:
1: recursively for a new section
2: recursively for $INCLUDE
In the second case, the things read from $INCLUDE must go
into the current section... hence some pretty bad hacks to get
that to work.
It was always broken... but the recent changes to sql/sql*.conf
highlighted it
nbk [Fri, 1 Sep 2006 20:02:36 +0000 (20:02 +0000)]
If the Makefile installs into /usr/share/doc/freeradius-%{version},
and the %doc directives use relative [to build dir] paths, the
Makefile-installed docs are removed. This is a quirk of rpm %doc
behavior. In order to preserve the Makefile-installed docs, we
have to install docs in the %install section rather than use %doc
in the %files section.
pnixon [Thu, 31 Aug 2006 22:21:12 +0000 (22:21 +0000)]
Minor updates following reorganisation of the sql config files