freeradius.git
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.

15 years agoInitialize sockaddr_un
Alan T. DeKok [Thu, 4 Sep 2008 12:00:16 +0000 (14:00 +0200)]
Initialize sockaddr_un

15 years agoUse new API for find_module_instance
Alan T. DeKok [Thu, 4 Sep 2008 09:53:40 +0000 (11:53 +0200)]
Use new API for find_module_instance

15 years agoDocument radmin
Alan T. DeKok [Thu, 4 Sep 2008 09:10:29 +0000 (11:10 +0200)]
Document radmin

15 years ago-lreadline && getpeereid checks
Alan T. DeKok [Thu, 4 Sep 2008 09:01:45 +0000 (11:01 +0200)]
-lreadline && getpeereid checks

15 years agoDocument radmin
Alan T. DeKok [Thu, 4 Sep 2008 08:54:50 +0000 (10:54 +0200)]
Document radmin

15 years agoBuild radmin by default
Alan T. DeKok [Thu, 4 Sep 2008 08:47:58 +0000 (10:47 +0200)]
Build radmin by default

15 years agor/w socket magic && version number
Alan T. DeKok [Thu, 4 Sep 2008 08:47:43 +0000 (10:47 +0200)]
r/w socket magic && version number

15 years agoAdded uid/gid checking
Alan T. DeKok [Thu, 4 Sep 2008 08:36:18 +0000 (10:36 +0200)]
Added uid/gid checking

15 years agoLeverage configure checks && use select
Alan T. DeKok [Thu, 4 Sep 2008 08:35:03 +0000 (10:35 +0200)]
Leverage configure checks && use select

15 years agoMore ifdef's for conditional builds
Alan T. DeKok [Thu, 4 Sep 2008 06:57:51 +0000 (08:57 +0200)]
More ifdef's for conditional builds

15 years agoLook for new header files
Alan T. DeKok [Thu, 4 Sep 2008 06:40:59 +0000 (08:40 +0200)]
Look for new header files

15 years agoWrappers around listen types
Alan T. DeKok [Wed, 3 Sep 2008 14:00:14 +0000 (16:00 +0200)]
Wrappers around listen types

15 years agoSet default socket address && usage
Alan T. DeKok [Wed, 3 Sep 2008 10:17:35 +0000 (12:17 +0200)]
Set default socket address && usage

15 years agoAdded example of control socket
Alan T. DeKok [Wed, 3 Sep 2008 10:12:18 +0000 (12:12 +0200)]
Added example of control socket

15 years agoAdd dynamic clients module
Alan T. DeKok [Wed, 3 Sep 2008 10:03:09 +0000 (12:03 +0200)]
Add dynamic clients module

15 years agoAdd radmin tool.
Alan T. DeKok [Wed, 3 Sep 2008 10:02:49 +0000 (12:02 +0200)]
Add radmin tool.

15 years agoNew command sockets.
Alan T. DeKok [Wed, 3 Sep 2008 10:01:41 +0000 (12:01 +0200)]
New command sockets.

15 years agoevent_fd_delete API
Alan T. DeKok [Wed, 3 Sep 2008 10:00:15 +0000 (12:00 +0200)]
event_fd_delete API

15 years agoNew module-specific HUP, and find without linking
Alan T. DeKok [Wed, 3 Sep 2008 09:57:19 +0000 (11:57 +0200)]
New module-specific HUP, and find without linking

15 years agoNew API's to update CONF_PAIRs, and get CONF_PARSERS
Alan T. DeKok [Wed, 3 Sep 2008 09:55:45 +0000 (11:55 +0200)]
New API's to update CONF_PAIRs, and get CONF_PARSERS

15 years agoHandle changed / deleted fd's a bit better
Alan T. DeKok [Wed, 3 Sep 2008 09:12:41 +0000 (11:12 +0200)]
Handle changed / deleted fd's a bit better

15 years agoSample for TTLS/EAP-MSCHAPv2
Alan T. DeKok [Mon, 1 Sep 2008 09:06:49 +0000 (11:06 +0200)]
Sample for TTLS/EAP-MSCHAPv2

15 years agoleverage rlm_dynamic_clients
Alan T. DeKok [Mon, 1 Sep 2008 09:05:51 +0000 (11:05 +0200)]
leverage rlm_dynamic_clients

15 years agoDynamic clients can read files from a directory
Alan T. DeKok [Mon, 1 Sep 2008 09:05:02 +0000 (11:05 +0200)]
Dynamic clients can read files from a directory

i.e. create a dynamic client 192.168.0.0/16, and point
it to a directory.  When the server starts, it will read ALL
of the files in that directory, and try to add them as clients.

Later, the rlm_dynamic_clients module can re-read them...

15 years agoModule to read dynamic clients from files
Alan T. DeKok [Mon, 1 Sep 2008 09:03:37 +0000 (11:03 +0200)]
Module to read dynamic clients from files

15 years agoAdd forgotten line. Closes #585
Alan T. DeKok [Sun, 31 Aug 2008 16:01:40 +0000 (18:01 +0200)]
Add forgotten line.  Closes #585

15 years agoUse functions from libfreeradius
Alan T. DeKok [Fri, 29 Aug 2008 18:41:40 +0000 (20:41 +0200)]
Use functions from libfreeradius

Otherwise radeapclient won't build, because we don't (yet)
have a libfreeradius-server

15 years agoMark session as resumed
Alan T. DeKok [Fri, 29 Aug 2008 12:53:26 +0000 (14:53 +0200)]
Mark session as resumed

15 years agoAs posted to the list.
Alan T. DeKok [Thu, 28 Aug 2008 15:37:51 +0000 (17:37 +0200)]
As posted to the list.

15 years agoCheck return code of regcomp. Closes #583
Alan T. DeKok [Thu, 28 Aug 2008 14:14:33 +0000 (16:14 +0200)]
Check return code of regcomp.  Closes #583

15 years agoCorrected typo.
Alan T. DeKok [Thu, 28 Aug 2008 12:28:35 +0000 (14:28 +0200)]
Corrected typo.

15 years agoFix compiler warnings
Alan T. DeKok [Wed, 27 Aug 2008 14:40:36 +0000 (16:40 +0200)]
Fix compiler warnings

15 years agoLoad CA's only if CA file or CA path are set
Alan T. DeKok [Wed, 27 Aug 2008 14:37:58 +0000 (16:37 +0200)]
Load CA's only if CA file or CA path are set

Closes bug #477

15 years agoAdd sample inner-eap method
Alan T. DeKok [Wed, 27 Aug 2008 08:59:04 +0000 (10:59 +0200)]
Add sample inner-eap method

15 years agoAdded EAP RFC
Alan T. DeKok [Wed, 27 Aug 2008 01:07:22 +0000 (03:07 +0200)]
Added EAP RFC

15 years agoFix unsafe use of tmpfile. Signed-off-by: Stephen Gran <steve@lobefin.net>
Stephen Gran [Mon, 25 Aug 2008 13:18:19 +0000 (14:18 +0100)]
Fix unsafe use of tmpfile. Signed-off-by: Stephen Gran <steve@lobefin.net>

15 years agoCheck for __thread
Alan T. DeKok [Tue, 26 Aug 2008 13:27:23 +0000 (15:27 +0200)]
Check for __thread

For thread-local storage.

15 years agoUse thread-local storage for log messages
Alan T. DeKok [Tue, 26 Aug 2008 13:15:22 +0000 (15:15 +0200)]
Use thread-local storage for log messages

We try to use __thread where possible... it's better.

15 years agofr_strerror -> fr_strerror()
Alan T. DeKok [Tue, 26 Aug 2008 09:16:37 +0000 (11:16 +0200)]
fr_strerror -> fr_strerror()

This is in preparation for (perhaps) making the logging
functions thread-safe.

15 years agoRename librad_* to fr_*
Alan T. DeKok [Tue, 26 Aug 2008 08:34:55 +0000 (10:34 +0200)]
Rename librad_* to fr_*

perl -pi -e "s/librad_debug/fr_debug_flag/g;s/librad_log/fr_strerror_printf/g;s/librad_dodns/fr_dns_lookups/g;s/librad_perror/fr_perror/g;s/librad_max_attributes/fr_max_attributes/g;s/librad_safeprint/fr_print_string/g;s/librad_errstr/fr_strerror/g;"