freeradius.git
15 years agoDecode WiMAX non-TLV's properly.
Alan T. DeKok [Wed, 17 Sep 2008 09:22:10 +0000 (11:22 +0200)]
Decode WiMAX non-TLV's properly.

And TLV's that are continued, too

15 years agoTLV's are 0x
Alan T. DeKok [Wed, 17 Sep 2008 09:21:30 +0000 (11:21 +0200)]
TLV's are 0x

15 years agoMore printf's
Alan T. DeKok [Tue, 16 Sep 2008 09:46:50 +0000 (11:46 +0200)]
More printf's

15 years agoDocument new options
Alan T. DeKok [Mon, 15 Sep 2008 15:01:19 +0000 (17:01 +0200)]
Document new options

15 years agoOutput to file
Alan T. DeKok [Mon, 15 Sep 2008 14:59:19 +0000 (16:59 +0200)]
Output to file

15 years agoMore info for home server list
Alan T. DeKok [Mon, 15 Sep 2008 14:33:18 +0000 (16:33 +0200)]
More info for home server list

15 years agoAdded -i <file>, and ignore comments
Alan T. DeKok [Mon, 15 Sep 2008 10:48:03 +0000 (12:48 +0200)]
Added -i <file>, and ignore comments

15 years agoadded "outstanding" to home_server stats
Alan T. DeKok [Mon, 15 Sep 2008 09:27:42 +0000 (11:27 +0200)]
added "outstanding" to home_server stats

15 years agoSimplify code some more
Alan T. DeKok [Mon, 15 Sep 2008 09:00:18 +0000 (11:00 +0200)]
Simplify code some more

15 years agoGet/set home server state alive/dead
Alan T. DeKok [Mon, 15 Sep 2008 08:49:44 +0000 (10:49 +0200)]
Get/set home server state alive/dead

15 years agoMore checks for weird systems
Alan T. DeKok [Sun, 14 Sep 2008 14:21:23 +0000 (16:21 +0200)]
More checks for weird systems

15 years agoCorrected typo
Alan T. DeKok [Sun, 14 Sep 2008 14:13:42 +0000 (16:13 +0200)]
Corrected typo

15 years agoBuild on systems without MSG_DONTWAIT
Alan T. DeKok [Sun, 14 Sep 2008 14:12:41 +0000 (16:12 +0200)]
Build on systems without MSG_DONTWAIT

15 years agomore #ifdef wrappers
Alan T. DeKok [Sun, 14 Sep 2008 14:07:39 +0000 (16:07 +0200)]
more #ifdef wrappers

15 years agoMore #ifdef wrappers
Alan T. DeKok [Sun, 14 Sep 2008 14:05:31 +0000 (16:05 +0200)]
More #ifdef wrappers

15 years agoRemoved need for global NO_SUCH_CHILD_PID
Alan T. DeKok [Sun, 14 Sep 2008 14:00:58 +0000 (16:00 +0200)]
Removed need for global NO_SUCH_CHILD_PID

15 years agoRemoved need for NO_SUCH_CHILD_PID
Alan T. DeKok [Sun, 14 Sep 2008 13:52:24 +0000 (15:52 +0200)]
Removed need for NO_SUCH_CHILD_PID

15 years agoeof -> at_eof
Alan T. DeKok [Sun, 14 Sep 2008 13:22:31 +0000 (15:22 +0200)]
eof -> at_eof

15 years agoCorrect placement of bracket for non-IPv6 systems
Alan T. DeKok [Sun, 14 Sep 2008 13:19:15 +0000 (15:19 +0200)]
Correct placement of bracket for non-IPv6 systems

15 years agoDon't insert message type twice
Alan T. DeKok [Sun, 14 Sep 2008 13:15:40 +0000 (15:15 +0200)]
Don't insert message type twice

15 years agoANSI prototypes
Alan T. DeKok [Sun, 14 Sep 2008 12:57:50 +0000 (14:57 +0200)]
ANSI prototypes

15 years agoClean up XML output
Alan T. DeKok [Sun, 14 Sep 2008 10:24:10 +0000 (12:24 +0200)]
Clean up XML output

15 years agoRearrange XML output
Alan T. DeKok [Sun, 14 Sep 2008 10:23:58 +0000 (12:23 +0200)]
Rearrange XML output

15 years agoAdded help
Alan T. DeKok [Sun, 14 Sep 2008 06:52:44 +0000 (08:52 +0200)]
Added help

15 years agoadd client file <filename>
Alan T. DeKok [Sun, 14 Sep 2008 05:49:01 +0000 (07:49 +0200)]
add client file <filename>

15 years agoOne more flag to client_read
Alan T. DeKok [Sun, 14 Sep 2008 05:48:40 +0000 (07:48 +0200)]
One more flag to client_read

15 years agoUse macro for debug_packet
Alan T. DeKok [Sat, 13 Sep 2008 19:02:59 +0000 (21:02 +0200)]
Use macro for debug_packet

15 years agoUpdated text
Alan T. DeKok [Sat, 13 Sep 2008 16:26:58 +0000 (18:26 +0200)]
Updated text

15 years agoMake buffer really large
Alan T. DeKok [Sat, 13 Sep 2008 16:26:14 +0000 (18:26 +0200)]
Make buffer really large

15 years agoLoads more commands for clients && home servers
Alan T. DeKok [Sat, 13 Sep 2008 16:02:09 +0000 (18:02 +0200)]
Loads more commands for clients && home servers

15 years agoDump config as-read to FILE*
Alan T. DeKok [Sat, 13 Sep 2008 16:01:15 +0000 (18:01 +0200)]
Dump config as-read to FILE*

15 years agoAdded more 'const'
Alan T. DeKok [Sat, 13 Sep 2008 16:00:53 +0000 (18:00 +0200)]
Added more 'const'

15 years agoRemoved "show config". It's a duplicate
Alan T. DeKok [Sat, 13 Sep 2008 14:53:12 +0000 (16:53 +0200)]
Removed "show config".  It's a duplicate

15 years agoadded many more commands
Alan T. DeKok [Sat, 13 Sep 2008 14:29:43 +0000 (16:29 +0200)]
added many more commands

15 years agoAdded declaration for proxy stats
Alan T. DeKok [Sat, 13 Sep 2008 14:29:18 +0000 (16:29 +0200)]
Added declaration for proxy stats

15 years agoAdded API to manage home servers by internal number
Alan T. DeKok [Sat, 13 Sep 2008 14:29:04 +0000 (16:29 +0200)]
Added API to manage home servers by internal number

15 years agoDocument mode
Alan T. DeKok [Sat, 13 Sep 2008 08:08:01 +0000 (10:08 +0200)]
Document mode

15 years agoSet r/w mode, and mark commands as read or write
Alan T. DeKok [Sat, 13 Sep 2008 08:02:56 +0000 (10:02 +0200)]
Set r/w mode, and mark commands as read or write

15 years agoDebug packets only if NOT in debugging mode.
Alan T. DeKok [Fri, 12 Sep 2008 12:28:56 +0000 (14:28 +0200)]
Debug packets only if NOT in debugging mode.

15 years agoUse new dictionaries
Alan T. DeKok [Fri, 12 Sep 2008 12:27:34 +0000 (14:27 +0200)]
Use new dictionaries

15 years agoNew dictionary
Alan T. DeKok [Fri, 12 Sep 2008 12:27:23 +0000 (14:27 +0200)]
New dictionary

15 years agoPrint out correct packet information...
Alan T. DeKok [Fri, 12 Sep 2008 08:30:51 +0000 (10:30 +0200)]
Print out correct packet information...

15 years agoNew RFC.
Alan T. DeKok [Fri, 12 Sep 2008 07:40:44 +0000 (09:40 +0200)]
New RFC.

15 years agoShow debug settings
Alan T. DeKok [Thu, 11 Sep 2008 13:06:01 +0000 (15:06 +0200)]
Show debug settings

15 years agoMake it clearer about debug log file
Alan T. DeKok [Thu, 11 Sep 2008 11:15:46 +0000 (13:15 +0200)]
Make it clearer about debug log file

15 years agoIgnore more binaries
Alan T. DeKok [Thu, 11 Sep 2008 11:14:59 +0000 (13:14 +0200)]
Ignore more binaries

15 years agoUse 'name'
Alan T. DeKok [Thu, 11 Sep 2008 11:05:46 +0000 (13:05 +0200)]
Use 'name'

15 years agoAdded 'name' for use with -n
Alan T. DeKok [Thu, 11 Sep 2008 11:05:34 +0000 (13:05 +0200)]
Added 'name' for use with -n

15 years agoMoved check for debug conditions
Alan T. DeKok [Thu, 11 Sep 2008 10:34:55 +0000 (12:34 +0200)]
Moved check for debug conditions

It now happens inside of the child thread, which is better.
(and works)

Added 'debug_packet' function, which dumps the entire packet to
the debug output, but ONLY if requested...

15 years agoDEBUG -> RDEBUG
Alan T. DeKok [Thu, 11 Sep 2008 10:21:55 +0000 (12:21 +0200)]
DEBUG -> RDEBUG

Note previous change to log.c

15 years agoSet radlog to NULL while calling radius_xlat
Alan T. DeKok [Thu, 11 Sep 2008 10:21:12 +0000 (12:21 +0200)]
Set radlog to NULL while calling radius_xlat

This prevents infinite expansion when recursing...

15 years agoproxy_listener MAY be NULL, even if proxy isn't.
Alan T. DeKok [Thu, 11 Sep 2008 09:13:32 +0000 (11:13 +0200)]
proxy_listener MAY be NULL, even if proxy isn't.

For requests proxied internally... damn.

15 years agoFix debug output
Alan T. DeKok [Thu, 11 Sep 2008 07:43:26 +0000 (09:43 +0200)]
Fix debug output

15 years agoNote changes for 2.1.1
Alan T. DeKok [Thu, 11 Sep 2008 07:19:57 +0000 (09:19 +0200)]
Note changes for 2.1.1

15 years agoCorrect conversion of WiMAX attributes to VP's
Alan T. DeKok [Wed, 10 Sep 2008 02:40:21 +0000 (04:40 +0200)]
Correct conversion of WiMAX attributes to VP's

The last change to handle NON-continued TLV's broke the
code for non-TLV's.  We've re-arranged it to be clearer,
and added code to create non-TLV's

15 years agoRevert "Pretty-print VSA's a little better"
Alan T. DeKok [Tue, 9 Sep 2008 16:10:48 +0000 (18:10 +0200)]
Revert "Pretty-print VSA's a little better"

This reverts commit 56e138ba72573a36ccfc415dd7bdb5fd6e95a27a.

It seems to really screw things up...

15 years agoCorrected dictionary
Alan T. DeKok [Tue, 9 Sep 2008 16:00:39 +0000 (18:00 +0200)]
Corrected dictionary

15 years agoMore documentation for radmin and examples
Alan T. DeKok [Tue, 9 Sep 2008 12:37:35 +0000 (14:37 +0200)]
More documentation for radmin and examples

15 years agoAdd "debug condition" command
Alan T. DeKok [Tue, 9 Sep 2008 10:47:36 +0000 (12:47 +0200)]
Add "debug condition" command

15 years agoSet per-request flag based on debug condition
Alan T. DeKok [Tue, 9 Sep 2008 10:44:26 +0000 (12:44 +0200)]
Set per-request flag based on debug condition

This is an "unlang" condition that is evaluated in the main
server thread.  If it evaluates to TRUE, the debug flag for
this request is set to 2.

15 years agoAllow single / double-quoted strings in parser
Alan T. DeKok [Tue, 9 Sep 2008 09:47:17 +0000 (11:47 +0200)]
Allow single / double-quoted strings in parser

15 years agoMerge branch 'master' of /home/aland/git/git.freeradius.org/ into vs
Alan T. DeKok [Tue, 9 Sep 2008 09:05:18 +0000 (11:05 +0200)]
Merge branch 'master' of /home/aland/git/git.freeradius.org/ into vs

15 years agoDocument %{debug: ...}
Alan T. DeKok [Tue, 9 Sep 2008 08:55:26 +0000 (10:55 +0200)]
Document %{debug: ...}

15 years agoMerge branch 'master' of ../git.freeradius.org into vs
Alan T. DeKok [Tue, 9 Sep 2008 08:05:28 +0000 (10:05 +0200)]
Merge branch 'master' of ../git.freeradius.org into vs

15 years agoAdd dynamic clients without a directory
Alan T. DeKok [Tue, 9 Sep 2008 08:04:59 +0000 (10:04 +0200)]
Add dynamic clients without a directory

15 years agoFrom bug #591
Alan T. DeKok [Mon, 8 Sep 2008 19:12:38 +0000 (21:12 +0200)]
From bug #591

15 years agoAdded debug level && debug file commands
Alan T. DeKok [Mon, 8 Sep 2008 13:53:43 +0000 (15:53 +0200)]
Added debug level && debug file commands

15 years agoBetter checks for quiet && readline
Alan T. DeKok [Mon, 8 Sep 2008 13:19:34 +0000 (15:19 +0200)]
Better checks for quiet && readline

15 years agounlink it only if it exists
Alan T. DeKok [Mon, 8 Sep 2008 13:12:56 +0000 (15:12 +0200)]
unlink it only if it exists

15 years agoMore sanity checks on domain socket
Alan T. DeKok [Mon, 8 Sep 2008 13:11:09 +0000 (15:11 +0200)]
More sanity checks on domain socket

15 years agoBetter checks for -lreadline && <readline.h>
Alan T. DeKok [Mon, 8 Sep 2008 13:10:25 +0000 (15:10 +0200)]
Better checks for -lreadline && <readline.h>

15 years agoReference local libltdl
Alan T. DeKok [Mon, 8 Sep 2008 12:57:36 +0000 (14:57 +0200)]
Reference local libltdl

15 years agoMore complete checks for readline
Alan T. DeKok [Mon, 8 Sep 2008 10:23:46 +0000 (12:23 +0200)]
More complete checks for readline

15 years agoAdded radconf2xml
Alan T. DeKok [Sun, 7 Sep 2008 16:15:11 +0000 (18:15 +0200)]
Added radconf2xml

15 years agoUse new xml commands
Alan T. DeKok [Sun, 7 Sep 2008 16:13:39 +0000 (18:13 +0200)]
Use new xml commands

15 years agoMake reconnect work
Alan T. DeKok [Sun, 7 Sep 2008 16:13:15 +0000 (18:13 +0200)]
Make reconnect work

15 years agoAdded simple pair/section to XML functions
Alan T. DeKok [Sun, 7 Sep 2008 16:00:13 +0000 (18:00 +0200)]
Added simple pair/section to XML functions

15 years agoMore documentation
Alan T. DeKok [Sun, 7 Sep 2008 15:11:47 +0000 (17:11 +0200)]
More documentation

15 years agoUse new instance methods from SQL
Alan T. DeKok [Sun, 7 Sep 2008 06:06:41 +0000 (08:06 +0200)]
Use new instance methods from SQL

So that we don't have to link to rlm_sql, too.

15 years agoExported methods in the instance data structure
Alan T. DeKok [Sun, 7 Sep 2008 06:05:54 +0000 (08:05 +0200)]
Exported methods in the instance data structure

This should simplify rlm_sqlippool, and anything else that
needs access to SQL get/release socket, and set_user_name

15 years agoWe don't need to initialize SQL any more
Alan T. DeKok [Sun, 7 Sep 2008 06:03:30 +0000 (08:03 +0200)]
We don't need to initialize SQL any more

This also leaked an SQL socket.  Ugh.

15 years agoSimplified API && code in preparation for next step
Alan T. DeKok [Sun, 7 Sep 2008 05:57:10 +0000 (07:57 +0200)]
Simplified API && code in preparation for next step

15 years agoAdded '-e command'
Alan T. DeKok [Sun, 7 Sep 2008 05:25:43 +0000 (07:25 +0200)]
Added '-e command'

15 years agousage, change preference of -d && -f
Alan T. DeKok [Sat, 6 Sep 2008 12:17:15 +0000 (14:17 +0200)]
usage, change preference of -d && -f

15 years agoKill children only if we have children
Alan T. DeKok [Sat, 6 Sep 2008 12:16:43 +0000 (14:16 +0200)]
Kill children only if we have children

15 years agoParse control socket from radiusd.conf
Alan T. DeKok [Sat, 6 Sep 2008 08:35:45 +0000 (10:35 +0200)]
Parse control socket from radiusd.conf

15 years agoMake work with -q, and input from a pipe
Alan T. DeKok [Fri, 5 Sep 2008 15:27:15 +0000 (17:27 +0200)]
Make work with -q, and input from a pipe

15 years agoPrint GPL. Use getopt
Alan T. DeKok [Fri, 5 Sep 2008 15:20:45 +0000 (17:20 +0200)]
Print GPL.  Use getopt

15 years agoEnable set config, and fix control socket
Alan T. DeKok [Fri, 5 Sep 2008 15:03:29 +0000 (17:03 +0200)]
Enable set config, and fix control socket

15 years agoMinor cleanups to reuse more code
Alan T. DeKok [Fri, 5 Sep 2008 15:03:10 +0000 (17:03 +0200)]
Minor cleanups to reuse more code

15 years agoRe-arrange braces to fix problems.
Alan T. DeKok [Fri, 5 Sep 2008 15:02:01 +0000 (17:02 +0200)]
Re-arrange braces to fix problems.

15 years agoAdded radmin
Alan T. DeKok [Fri, 5 Sep 2008 14:17:30 +0000 (16:17 +0200)]
Added radmin

15 years agoStupid debian date stuff release_2_1_0
Alan T. DeKok [Fri, 5 Sep 2008 13:27:57 +0000 (15:27 +0200)]
Stupid debian date stuff

15 years agoUpdated dates
Alan T. DeKok [Fri, 5 Sep 2008 11:20:58 +0000 (13:20 +0200)]
Updated dates

15 years agoCorrected typo
Alan T. DeKok [Fri, 5 Sep 2008 05:18:09 +0000 (07:18 +0200)]
Corrected typo

15 years agoNote 2.1.0
Alan T. DeKok [Thu, 4 Sep 2008 14:12:46 +0000 (16:12 +0200)]
Note 2.1.0

15 years agoToo many cool things to make it 2.0.6
Alan T. DeKok [Thu, 4 Sep 2008 14:08:16 +0000 (16:08 +0200)]
Too many cool things to make it 2.0.6

15 years agoSet more sockets to KNOWN
Alan T. DeKok [Thu, 4 Sep 2008 12:26:29 +0000 (14:26 +0200)]
Set more sockets to KNOWN

15 years agoMore messages && printing
Alan T. DeKok [Thu, 4 Sep 2008 12:10:53 +0000 (14:10 +0200)]
More messages && printing

15 years agoMove HUP code to per-module, not global
Alan T. DeKok [Thu, 4 Sep 2008 12:10:28 +0000 (14:10 +0200)]
Move HUP code to per-module, not global

This allows an infinite number of HUP's, and also multiple hups
for one module.