freeradius.git
15 years agoDEBUG -> RDEBUG, and related changes
Alan T. DeKok [Sun, 17 Aug 2008 08:10:44 +0000 (10:10 +0200)]
DEBUG -> RDEBUG, and related changes

15 years agoUse new debugging functions (RDEBUG, radlog_request)
Alan T. DeKok [Sun, 17 Aug 2008 07:50:06 +0000 (09:50 +0200)]
Use new debugging functions (RDEBUG, radlog_request)

15 years agoWe don't use pthread functions, so delete them.
Alan T. DeKok [Sun, 17 Aug 2008 07:45:28 +0000 (09:45 +0200)]
We don't use pthread functions, so delete them.

15 years agoDEBUG -> RDEBUG
Alan T. DeKok [Sun, 17 Aug 2008 06:53:21 +0000 (08:53 +0200)]
DEBUG -> RDEBUG

15 years agoDEBUG -> RDEBUG
Alan T. DeKok [Sun, 17 Aug 2008 06:52:00 +0000 (08:52 +0200)]
DEBUG -> RDEBUG

15 years agoDEBUG -> RDEBUG
Alan T. DeKok [Sun, 17 Aug 2008 06:49:13 +0000 (08:49 +0200)]
DEBUG -> RDEBUG

15 years agoDEBUG -> RDEBUG
Alan T. DeKok [Sun, 17 Aug 2008 06:47:01 +0000 (08:47 +0200)]
DEBUG -> RDEBUG

15 years agoDEBUG -> RDEBUG
Alan T. DeKok [Sun, 17 Aug 2008 06:46:06 +0000 (08:46 +0200)]
DEBUG -> RDEBUG

15 years agoDEBUG -> RDEBUG
Alan T. DeKok [Sun, 17 Aug 2008 06:44:49 +0000 (08:44 +0200)]
DEBUG -> RDEBUG

15 years agoDEBUG -> RDEBUG
Alan T. DeKok [Sun, 17 Aug 2008 06:43:54 +0000 (08:43 +0200)]
DEBUG -> RDEBUG

15 years agoAdded dBCSPwd == LM-Password
Alan T. DeKok [Sat, 16 Aug 2008 09:01:05 +0000 (11:01 +0200)]
Added dBCSPwd == LM-Password

As noted on

http://msdn.microsoft.com/en-us/library/ms675480(VS.85).aspx

15 years agoDEBUG -> RDEBUG
Alan T. DeKok [Thu, 14 Aug 2008 15:17:45 +0000 (17:17 +0200)]
DEBUG -> RDEBUG

15 years agoDEBUG -> RDEBUG
Alan T. DeKok [Wed, 13 Aug 2008 12:37:50 +0000 (14:37 +0200)]
DEBUG -> RDEBUG

15 years agoUse new radlog_request function
Alan T. DeKok [Wed, 13 Aug 2008 12:36:48 +0000 (14:36 +0200)]
Use new radlog_request function

15 years agoSet request->username to be Stripped-User-Name
Alan T. DeKok [Wed, 13 Aug 2008 10:07:49 +0000 (12:07 +0200)]
Set request->username to be Stripped-User-Name

15 years agoMore examples for Acct-Status-Type
Alan T. DeKok [Wed, 13 Aug 2008 09:31:01 +0000 (11:31 +0200)]
More examples for Acct-Status-Type

15 years agoAllow suppression of more log messages
Alan T. DeKok [Wed, 13 Aug 2008 09:29:20 +0000 (11:29 +0200)]
Allow suppression of more log messages

15 years agoIncrease buffer size for log messages
Alan T. DeKok [Wed, 13 Aug 2008 09:23:13 +0000 (11:23 +0200)]
Increase buffer size for log messages

15 years agoFixed typo
Alan T. DeKok [Wed, 13 Aug 2008 09:02:19 +0000 (11:02 +0200)]
Fixed typo

15 years agoMore comments
Alan T. DeKok [Wed, 13 Aug 2008 09:02:01 +0000 (11:02 +0200)]
More comments

15 years agoPrint internal tunnel attributes in debug mode
Alan T. DeKok [Thu, 7 Aug 2008 08:10:27 +0000 (10:10 +0200)]
Print internal tunnel attributes in debug mode

Also clean up messages so that they are consistent across TTLS/PEAP.

This code should really be re-factored to put the inner tunnel stuff
all in one common file.

15 years agoDon't use one buffer for two purposes
Alan T. DeKok [Wed, 30 Jul 2008 10:32:37 +0000 (12:32 +0200)]
Don't use one buffer for two purposes

15 years agore-initialize session_tail on empty list, too
Alan T. DeKok [Wed, 23 Jul 2008 06:45:26 +0000 (08:45 +0200)]
re-initialize session_tail on empty list, too

15 years agoFixed typos
Alan T. DeKok [Tue, 22 Jul 2008 19:54:11 +0000 (21:54 +0200)]
Fixed typos

15 years agoMark linelog as stable
Alan T. DeKok [Sun, 20 Jul 2008 15:38:37 +0000 (17:38 +0200)]
Mark linelog as stable

15 years agoMake CA && Server certs depend on their cnf files
Alan T. DeKok [Sun, 20 Jul 2008 13:43:20 +0000 (15:43 +0200)]
Make CA && Server certs depend on their cnf files

15 years agoRely on rules in Makefile to build everything
Alan T. DeKok [Sun, 20 Jul 2008 13:42:34 +0000 (15:42 +0200)]
Rely on rules in Makefile to build everything

15 years agoNew SNMP code!
Alan T. DeKok [Sun, 20 Jul 2008 08:16:21 +0000 (10:16 +0200)]
New SNMP code!

15 years agoDocument rlm_linelog, and expand it's capabilities
Alan T. DeKok [Sun, 20 Jul 2008 07:49:09 +0000 (09:49 +0200)]
Document rlm_linelog, and expand it's capabilities

15 years agoAllow parentcs to be NULL when referencing sections
Alan T. DeKok [Sun, 20 Jul 2008 07:19:18 +0000 (09:19 +0200)]
Allow parentcs to be NULL when referencing sections

15 years agoUpdates as found on the net
Alan T. DeKok [Sat, 19 Jul 2008 10:25:17 +0000 (12:25 +0200)]
Updates as found on the net

15 years agoAs found on the net, with URL included.
Alan T. DeKok [Sat, 19 Jul 2008 10:21:32 +0000 (12:21 +0200)]
As found on the net, with URL included.

15 years agoBuild on systems without IPv6 support
Alan T. DeKok [Fri, 18 Jul 2008 12:16:48 +0000 (14:16 +0200)]
Build on systems without IPv6 support

15 years agofflush the log fp when debugging pair lists
Alan T. DeKok [Thu, 17 Jul 2008 08:16:51 +0000 (10:16 +0200)]
fflush the log fp when debugging pair lists

15 years agoUse DEBUG in instantiate, not RDEBUG
Alan T. DeKok [Sun, 13 Jul 2008 15:31:35 +0000 (17:31 +0200)]
Use DEBUG in instantiate, not RDEBUG

15 years agoUse new RDEBUG macro
Alan T. DeKok [Wed, 9 Jul 2008 16:07:02 +0000 (18:07 +0200)]
Use new RDEBUG macro

15 years agoUse new RDEBUG macro
Alan T. DeKok [Wed, 9 Jul 2008 16:05:00 +0000 (18:05 +0200)]
Use new RDEBUG macro

15 years agoSet request->module to EAP type for clarity
Alan T. DeKok [Wed, 9 Jul 2008 16:04:23 +0000 (18:04 +0200)]
Set request->module to EAP type for clarity

15 years agoTurn on developer flags if .git exists, too
Alan T. DeKok [Wed, 9 Jul 2008 16:03:30 +0000 (18:03 +0200)]
Turn on developer flags if .git exists, too

15 years agoLots of .gitignore files
Alan T. DeKok [Wed, 9 Jul 2008 16:02:57 +0000 (18:02 +0200)]
Lots of .gitignore files

15 years agoFix compiler warnings and potential crash
Alan T. DeKok [Wed, 9 Jul 2008 16:02:26 +0000 (18:02 +0200)]
Fix compiler warnings and potential crash

15 years agoFake requests inherit debugging from their parent
Alan T. DeKok [Wed, 9 Jul 2008 16:02:04 +0000 (18:02 +0200)]
Fake requests inherit debugging from their parent

15 years agoUse new RDEBUG macro in rlm_eap
Alan T. DeKok [Wed, 9 Jul 2008 14:36:58 +0000 (16:36 +0200)]
Use new RDEBUG macro in rlm_eap

15 years agoClean up enforcement of EAP "max_sessions"
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

15 years agoFull statistics are available only on a statistics socket
Alan T. DeKok [Tue, 8 Jul 2008 11:11:54 +0000 (13:11 +0200)]
Full statistics are available only on a statistics socket

15 years agoWe no longer have SNMP
Alan T. DeKok [Mon, 7 Jul 2008 09:17:33 +0000 (11:17 +0200)]
We no longer have SNMP

15 years ago EPIPE means that writing is impossible, as the pipe is dead
aland [Thu, 3 Jul 2008 13:25:32 +0000 (13:25 +0000)]
EPIPE means that writing is impossible, as the pipe is dead

15 years ago "request" was deleted...
aland [Thu, 3 Jul 2008 13:05:08 +0000 (13:05 +0000)]
"request" was deleted...

15 years ago Reading global clients list is required...
aland [Thu, 3 Jul 2008 11:52:08 +0000 (11:52 +0000)]
Reading global clients list is required...

15 years ago Load clients only from listen sockets, not from mainconfig.
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...

15 years ago Corrected error message
aland [Wed, 2 Jul 2008 15:59:20 +0000 (15:59 +0000)]
Corrected error message

15 years ago Added MIB RFC's
aland [Wed, 2 Jul 2008 09:48:02 +0000 (09:48 +0000)]
Added MIB RFC's

15 years ago Removed refs to radius_snmp.c && smux.c
aland [Wed, 2 Jul 2008 01:17:08 +0000 (01:17 +0000)]
Removed refs to radius_snmp.c && smux.c

15 years ago New attributes, as defined in RFC 5090.
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

15 years ago New Digest RFC
aland [Tue, 1 Jul 2008 15:33:57 +0000 (15:33 +0000)]
New Digest RFC

15 years ago Allow `/path/to/program args`, too. This replaces much
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...

15 years ago Note new %{exec:....} in config files
aland [Tue, 1 Jul 2008 13:12:14 +0000 (13:12 +0000)]
Note new %{exec:....} in config files

15 years ago Allow in-line xlat's. The parser is horrible, but this feature
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...

15 years ago Make this build, too. radwho shouldn't really need to
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...

15 years ago Added 'debug_file". where debugging output goes
aland [Tue, 1 Jul 2008 10:13:11 +0000 (10:13 +0000)]
Added 'debug_file". where debugging output goes

15 years ago Document configurable logging
aland [Mon, 30 Jun 2008 14:51:55 +0000 (14:51 +0000)]
Document configurable logging

15 years ago DEBUG -> RDEBUG
aland [Mon, 30 Jun 2008 11:46:31 +0000 (11:46 +0000)]
DEBUG -> RDEBUG

15 years ago Allow controllable log file output, based on xlat.
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.

15 years ago DEBUG -> RDEBUG
aland [Mon, 30 Jun 2008 09:41:55 +0000 (09:41 +0000)]
DEBUG -> RDEBUG

15 years ago Use new RDEBUG macros
aland [Mon, 30 Jun 2008 09:32:34 +0000 (09:32 +0000)]
Use new RDEBUG macros

15 years ago Use new RDEBUG macro
aland [Mon, 30 Jun 2008 09:31:36 +0000 (09:31 +0000)]
Use new RDEBUG macro

15 years ago Use "" for server core && module
aland [Mon, 30 Jun 2008 09:30:40 +0000 (09:30 +0000)]
Use "" for server core && module

15 years ago Set request->radlog if debugging
aland [Mon, 30 Jun 2008 09:30:14 +0000 (09:30 +0000)]
Set request->radlog if debugging

15 years ago New function %{debug: 1}, which sets the debug level per request
aland [Mon, 30 Jun 2008 09:29:44 +0000 (09:29 +0000)]
New function %{debug: 1}, which sets the debug level per request

15 years ago Define RDEBUG macros which implicitely take a "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

15 years ago New attributes from Arran
aland [Mon, 30 Jun 2008 08:29:15 +0000 (08:29 +0000)]
New attributes from Arran

15 years ago Rename variable to chtime. ctime is already used...
aland [Sun, 29 Jun 2008 15:04:53 +0000 (15:04 +0000)]
Rename variable to chtime.  ctime is already used...

15 years ago Allow policy to set message type. Otherwise, use reasonable
aland [Sun, 29 Jun 2008 07:14:53 +0000 (07:14 +0000)]
Allow policy to set message type.  Otherwise, use reasonable
defaults

15 years ago Allow Inform. Delete unused code
aland [Sun, 29 Jun 2008 07:08:20 +0000 (07:08 +0000)]
Allow Inform.  Delete unused code

15 years ago RFC 2865 Section 5.43 says Login-LAT-Port is a string, not
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...

15 years ago Document max_sessions
aland [Tue, 24 Jun 2008 09:41:50 +0000 (09:41 +0000)]
Document max_sessions

15 years ago Added "max_sessions" to EAP configuration, which helps protect
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.

15 years ago Increase field sizes. Patch from bug #517
aland [Sun, 22 Jun 2008 17:56:30 +0000 (17:56 +0000)]
Increase field sizes.  Patch from bug #517

15 years ago Remove more SNMP stuff
aland [Sun, 22 Jun 2008 12:06:37 +0000 (12:06 +0000)]
Remove more SNMP stuff

15 years ago Fix stats counting
aland [Sun, 22 Jun 2008 12:05:26 +0000 (12:05 +0000)]
Fix stats counting

15 years ago Document response window
aland [Sun, 22 Jun 2008 09:19:36 +0000 (09:19 +0000)]
Document response window

15 years ago Dictionary for exponential moving average
aland [Sun, 22 Jun 2008 09:13:09 +0000 (09:13 +0000)]
Dictionary for exponential moving average

15 years ago Track Exponential moving average of response times for
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

15 years ago No more SNMP.
aland [Sat, 21 Jun 2008 16:50:26 +0000 (16:50 +0000)]
No more SNMP.

15 years ago Documentation
aland [Sat, 21 Jun 2008 16:37:07 +0000 (16:37 +0000)]
Documentation

15 years ago Add start && hup time
aland [Sat, 21 Jun 2008 16:14:07 +0000 (16:14 +0000)]
Add start && hup time

15 years ago Missed in last commit
aland [Sat, 21 Jun 2008 15:54:34 +0000 (15:54 +0000)]
Missed in last commit

15 years ago Remove ALL references to SNMP from the server source.
aland [Sat, 21 Jun 2008 15:53:09 +0000 (15:53 +0000)]
Remove ALL references to SNMP from the server source.

Much, much better!

15 years ago Replace fr_client_stats_t with fr_stats_t. They have the
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...

15 years ago Statistics are available only from a "type = status" socket
aland [Sat, 21 Jun 2008 07:57:32 +0000 (07:57 +0000)]
Statistics are available only from a "type = status" socket

15 years ago Some dhcp relays (e.g. udhcp) discard packets larger than
aland [Sat, 21 Jun 2008 06:09:16 +0000 (06:09 +0000)]
Some dhcp relays (e.g. udhcp) discard packets larger than
300 bytes.

15 years ago Whoops... add stats.c
aland [Fri, 20 Jun 2008 19:23:20 +0000 (19:23 +0000)]
Whoops... add stats.c

15 years ago Example of listen "type = status"
aland [Fri, 20 Jun 2008 17:38:16 +0000 (17:38 +0000)]
Example of listen "type = status"

15 years ago Add listen type "status" for status-server and statistics
aland [Fri, 20 Jun 2008 17:33:54 +0000 (17:33 +0000)]
Add listen type "status" for status-server and statistics

15 years ago More stats for home servers
aland [Fri, 20 Jun 2008 13:47:11 +0000 (13:47 +0000)]
More stats for home servers

15 years ago Don't over-write previous status_check value
aland [Fri, 20 Jun 2008 13:17:19 +0000 (13:17 +0000)]
Don't over-write previous status_check value

15 years ago Home server proxy stuff
aland [Fri, 20 Jun 2008 12:32:36 +0000 (12:32 +0000)]
Home server proxy stuff

15 years ago Include statistics per-home-server
aland [Fri, 20 Jun 2008 12:31:44 +0000 (12:31 +0000)]
Include statistics per-home-server

15 years ago Fixed typo
aland [Fri, 20 Jun 2008 12:16:58 +0000 (12:16 +0000)]
Fixed typo

15 years ago Updates as per bug #568
aland [Fri, 20 Jun 2008 10:10:59 +0000 (10:10 +0000)]
Updates as per bug #568