Alan T. DeKok [Wed, 9 Jul 2008 16:02:57 +0000 (18:02 +0200)]
Lots of .gitignore files
Alan T. DeKok [Wed, 9 Jul 2008 16:02:26 +0000 (18:02 +0200)]
Fix compiler warnings and potential crash
Alan T. DeKok [Wed, 9 Jul 2008 16:02:04 +0000 (18:02 +0200)]
Fake requests inherit debugging from their parent
Alan T. DeKok [Wed, 9 Jul 2008 14:36:58 +0000 (16:36 +0200)]
Use new RDEBUG macro in rlm_eap
Alan T. DeKok [Wed, 9 Jul 2008 14:01:43 +0000 (16:01 +0200)]
Clean up enforcement of EAP "max_sessions"
Don't add a State attribute if we couldn't remember the session.
On EAP FAIL, discard any previously encoded reply, and create
a new one
Alan T. DeKok [Tue, 8 Jul 2008 11:11:54 +0000 (13:11 +0200)]
Full statistics are available only on a statistics socket
Alan T. DeKok [Mon, 7 Jul 2008 09:17:33 +0000 (11:17 +0200)]
We no longer have SNMP
aland [Thu, 3 Jul 2008 13:25:32 +0000 (13:25 +0000)]
EPIPE means that writing is impossible, as the pipe is dead
aland [Thu, 3 Jul 2008 13:05:08 +0000 (13:05 +0000)]
"request" was deleted...
aland [Thu, 3 Jul 2008 11:52:08 +0000 (11:52 +0000)]
Reading global clients list is required...
aland [Wed, 2 Jul 2008 16:00:15 +0000 (16:00 +0000)]
Load clients only from listen sockets, not from mainconfig.
This allows us to die if no clients are defined...
aland [Wed, 2 Jul 2008 15:59:20 +0000 (15:59 +0000)]
Corrected error message
aland [Wed, 2 Jul 2008 09:48:02 +0000 (09:48 +0000)]
Added MIB RFC's
aland [Wed, 2 Jul 2008 01:17:08 +0000 (01:17 +0000)]
Removed refs to radius_snmp.c && smux.c
aland [Tue, 1 Jul 2008 15:41:37 +0000 (15:41 +0000)]
New attributes, as defined in RFC 5090.
NOT included in the default dictionary because of conflicts
with existing Digest attributes, and with VSA's that stomp on
the standard attribute space
aland [Tue, 1 Jul 2008 15:33:57 +0000 (15:33 +0000)]
New Digest RFC
aland [Tue, 1 Jul 2008 13:36:47 +0000 (13:36 +0000)]
Allow `/path/to/program args`, too. This replaces much
of rlm_exec. But it doesn't let you control which args get
passed to the program...
aland [Tue, 1 Jul 2008 13:12:14 +0000 (13:12 +0000)]
Note new %{exec:....} in config files
aland [Tue, 1 Jul 2008 12:25:28 +0000 (12:25 +0000)]
Allow in-line xlat's. The parser is horrible, but this feature
is nice...
aland [Tue, 1 Jul 2008 10:47:12 +0000 (10:47 +0000)]
Make this build, too. radwho shouldn't really need to
load the entire config files...
aland [Tue, 1 Jul 2008 10:13:11 +0000 (10:13 +0000)]
Added 'debug_file". where debugging output goes
aland [Mon, 30 Jun 2008 14:51:55 +0000 (14:51 +0000)]
Document configurable logging
aland [Mon, 30 Jun 2008 11:46:31 +0000 (11:46 +0000)]
DEBUG -> RDEBUG
aland [Mon, 30 Jun 2008 11:44:05 +0000 (11:44 +0000)]
Allow controllable log file output, based on xlat.
Warning... it can slow the server down a lot.
aland [Mon, 30 Jun 2008 09:41:55 +0000 (09:41 +0000)]
DEBUG -> RDEBUG
aland [Mon, 30 Jun 2008 09:32:34 +0000 (09:32 +0000)]
Use new RDEBUG macros
aland [Mon, 30 Jun 2008 09:31:36 +0000 (09:31 +0000)]
Use new RDEBUG macro
aland [Mon, 30 Jun 2008 09:30:40 +0000 (09:30 +0000)]
Use "" for server core && module
aland [Mon, 30 Jun 2008 09:30:14 +0000 (09:30 +0000)]
Set request->radlog if debugging
aland [Mon, 30 Jun 2008 09:29:44 +0000 (09:29 +0000)]
New function %{debug: 1}, which sets the debug level per request
aland [Mon, 30 Jun 2008 09:29:18 +0000 (09:29 +0000)]
Define RDEBUG macros which implicitely take a "request",
and call the new function radlog_request()
Define new function radlog_request(), which should make it
much easier to do configurable logging
aland [Mon, 30 Jun 2008 08:29:15 +0000 (08:29 +0000)]
New attributes from Arran
aland [Sun, 29 Jun 2008 15:04:53 +0000 (15:04 +0000)]
Rename variable to chtime. ctime is already used...
aland [Sun, 29 Jun 2008 07:14:53 +0000 (07:14 +0000)]
Allow policy to set message type. Otherwise, use reasonable
defaults
aland [Sun, 29 Jun 2008 07:08:20 +0000 (07:08 +0000)]
Allow Inform. Delete unused code
aland [Thu, 26 Jun 2008 09:20:17 +0000 (09:20 +0000)]
RFC 2865 Section 5.43 says Login-LAT-Port is a string, not
an integer. That shows how many people use this...
aland [Tue, 24 Jun 2008 09:41:50 +0000 (09:41 +0000)]
Document max_sessions
aland [Tue, 24 Jun 2008 09:39:46 +0000 (09:39 +0000)]
Added "max_sessions" to EAP configuration, which helps protect
against DoS attacks. It's currently set to 2048, which should
be plenty for most systems.
If the limit is reached, the code also tries to expire a few
of the older sessions, which can create room for new ones.
aland [Sun, 22 Jun 2008 17:56:30 +0000 (17:56 +0000)]
Increase field sizes. Patch from bug #517
aland [Sun, 22 Jun 2008 12:06:37 +0000 (12:06 +0000)]
Remove more SNMP stuff
aland [Sun, 22 Jun 2008 12:05:26 +0000 (12:05 +0000)]
Fix stats counting
aland [Sun, 22 Jun 2008 09:19:36 +0000 (09:19 +0000)]
Document response window
aland [Sun, 22 Jun 2008 09:13:09 +0000 (09:13 +0000)]
Dictionary for exponential moving average
aland [Sun, 22 Jun 2008 09:07:38 +0000 (09:07 +0000)]
Track Exponential moving average of response times for
home servers.
For some reason in debug mode, the "window" times are MUCH
large than the "10 x window" times after 1k packets. And
occasionally it seems to think that the response time is 2s,
but again only in debug mode
aland [Sat, 21 Jun 2008 16:50:26 +0000 (16:50 +0000)]
No more SNMP.
aland [Sat, 21 Jun 2008 16:37:07 +0000 (16:37 +0000)]
Documentation
aland [Sat, 21 Jun 2008 16:14:07 +0000 (16:14 +0000)]
Add start && hup time
aland [Sat, 21 Jun 2008 15:54:34 +0000 (15:54 +0000)]
Missed in last commit
aland [Sat, 21 Jun 2008 15:53:09 +0000 (15:53 +0000)]
Remove ALL references to SNMP from the server source.
Much, much better!
aland [Sat, 21 Jun 2008 15:23:50 +0000 (15:23 +0000)]
Replace fr_client_stats_t with fr_stats_t. They have the
same information, so one isn't needed...
aland [Sat, 21 Jun 2008 07:57:32 +0000 (07:57 +0000)]
Statistics are available only from a "type = status" socket
aland [Sat, 21 Jun 2008 06:09:16 +0000 (06:09 +0000)]
Some dhcp relays (e.g. udhcp) discard packets larger than
300 bytes.
aland [Fri, 20 Jun 2008 19:23:20 +0000 (19:23 +0000)]
Whoops... add stats.c
aland [Fri, 20 Jun 2008 17:38:16 +0000 (17:38 +0000)]
Example of listen "type = status"
aland [Fri, 20 Jun 2008 17:33:54 +0000 (17:33 +0000)]
Add listen type "status" for status-server and statistics
aland [Fri, 20 Jun 2008 13:47:11 +0000 (13:47 +0000)]
More stats for home servers
aland [Fri, 20 Jun 2008 13:17:19 +0000 (13:17 +0000)]
Don't over-write previous status_check value
aland [Fri, 20 Jun 2008 12:32:36 +0000 (12:32 +0000)]
Home server proxy stuff
aland [Fri, 20 Jun 2008 12:31:44 +0000 (12:31 +0000)]
Include statistics per-home-server
aland [Fri, 20 Jun 2008 12:16:58 +0000 (12:16 +0000)]
Fixed typo
aland [Fri, 20 Jun 2008 10:10:59 +0000 (10:10 +0000)]
Updates as per bug #568
aland [Fri, 20 Jun 2008 09:55:48 +0000 (09:55 +0000)]
Simplify stats stuff
aland [Fri, 20 Jun 2008 09:46:26 +0000 (09:46 +0000)]
Note changes
aland [Fri, 20 Jun 2008 09:27:49 +0000 (09:27 +0000)]
Reformatted
aland [Fri, 20 Jun 2008 09:27:30 +0000 (09:27 +0000)]
Allow more slicing && dicing of statistics.
aland [Fri, 20 Jun 2008 08:38:17 +0000 (08:38 +0000)]
Fix the patch
aland [Fri, 20 Jun 2008 07:26:10 +0000 (07:26 +0000)]
Thread queue stats && per-client stats
aland [Fri, 20 Jun 2008 06:15:09 +0000 (06:15 +0000)]
Status-Server packets go to the head of the queue
aland [Fri, 20 Jun 2008 06:12:13 +0000 (06:12 +0000)]
OR flags set by admin into the packet
aland [Thu, 19 Jun 2008 15:03:20 +0000 (15:03 +0000)]
Reformatting
aland [Thu, 19 Jun 2008 14:49:48 +0000 (14:49 +0000)]
Expose more statistics
aland [Thu, 19 Jun 2008 14:40:46 +0000 (14:40 +0000)]
Removed last bit of SNMP from the statistics
aland [Thu, 19 Jun 2008 14:16:31 +0000 (14:16 +0000)]
Make stats secret...
aland [Thu, 19 Jun 2008 14:09:43 +0000 (14:09 +0000)]
Separate stats from SNMP. We can now do stats without SNMP
aland [Thu, 19 Jun 2008 13:03:51 +0000 (13:03 +0000)]
added statistics attributes
aland [Thu, 19 Jun 2008 13:03:09 +0000 (13:03 +0000)]
Added statistics gathering via RADIUS packets, to replace
SNMP code that doesn't work.
aland [Thu, 19 Jun 2008 12:51:17 +0000 (12:51 +0000)]
Randomize the vector more for -c
aland [Thu, 19 Jun 2008 09:30:02 +0000 (09:30 +0000)]
Remove length restrictions on dictionary names
aland [Wed, 18 Jun 2008 14:09:21 +0000 (14:09 +0000)]
Hacks for relay ports
aland [Wed, 18 Jun 2008 09:17:42 +0000 (09:17 +0000)]
Added oracle file
aland [Wed, 18 Jun 2008 09:11:54 +0000 (09:11 +0000)]
Initialize variable..
aland [Wed, 18 Jun 2008 05:50:37 +0000 (05:50 +0000)]
Copy gateway IP from original packet
aland [Tue, 17 Jun 2008 13:42:38 +0000 (13:42 +0000)]
Notes about decoupled accounting
aland [Tue, 17 Jun 2008 13:37:04 +0000 (13:37 +0000)]
It's "server", not "virtual_server"
aland [Tue, 17 Jun 2008 13:33:38 +0000 (13:33 +0000)]
Moved example to "modules" directory
aland [Tue, 17 Jun 2008 08:32:13 +0000 (08:32 +0000)]
Made compatible with 2.0.5
aland [Tue, 17 Jun 2008 05:23:31 +0000 (05:23 +0000)]
check-radiusd-config no longer exists
aland [Mon, 16 Jun 2008 08:21:59 +0000 (08:21 +0000)]
Pull fr_socket() code into the listener, to enable binding
to a device BEFORE binding to an IP address
aland [Sat, 14 Jun 2008 14:52:50 +0000 (14:52 +0000)]
Added '' around target of WHERE clause
aland [Fri, 13 Jun 2008 17:32:41 +0000 (17:32 +0000)]
Added more attributes, as per bug #561
aland [Fri, 13 Jun 2008 17:27:41 +0000 (17:27 +0000)]
Added "security" section back. Closes #566
aland [Fri, 13 Jun 2008 14:08:24 +0000 (14:08 +0000)]
Note dynamic clients
aland [Fri, 13 Jun 2008 12:30:06 +0000 (12:30 +0000)]
The feature everyone's been waiting for.
aland [Tue, 10 Jun 2008 08:58:59 +0000 (08:58 +0000)]
Use new functions to copy sockaddr to ipaddr
aland [Tue, 10 Jun 2008 07:58:41 +0000 (07:58 +0000)]
Corrected typos
aland [Tue, 10 Jun 2008 07:51:04 +0000 (07:51 +0000)]
Use new functions to copy sockaddr to ipaddr
aland [Tue, 10 Jun 2008 07:42:27 +0000 (07:42 +0000)]
use new sockaddr to ipaddr functions
aland [Tue, 10 Jun 2008 07:39:42 +0000 (07:39 +0000)]
Use new functions to copy sockaddr to ipaddr
aland [Tue, 10 Jun 2008 07:37:59 +0000 (07:37 +0000)]
There are more and more conversions from sockaddr to
fr_ipaddr_t. Let's wrap them in a function.
aland [Tue, 10 Jun 2008 04:08:50 +0000 (04:08 +0000)]
Corrected brackets on db_dir