]> git.ipfire.org Git - thirdparty/freeradius-server.git/log
thirdparty/freeradius-server.git
7 years agouse concat only for octets / string
Alan T. DeKok [Sun, 14 Jul 2019 18:20:54 +0000 (20:20 +0200)] 
use concat only for octets / string

7 years agouse MEM instead of explicit checks
Alan T. DeKok [Sun, 14 Jul 2019 18:18:39 +0000 (20:18 +0200)] 
use MEM instead of explicit checks

7 years agouse ADDR not PREFIX
Alan T. DeKok [Sun, 14 Jul 2019 18:17:02 +0000 (20:17 +0200)] 
use ADDR not PREFIX

because PREFIX is really only for RADIUS packets.

7 years agoupdate functionality, docs, and tests
Alan T. DeKok [Sat, 13 Jul 2019 15:52:00 +0000 (17:52 +0200)] 
update functionality, docs, and tests

the `csv` module can now be used in-line.

Next step, adding support for "extra" fields, as with /etc/group
When that's done, we can get rid of rlm_passwd.  Finally.

7 years agouse input names for lookups
Alan T. DeKok [Sat, 13 Jul 2019 15:36:51 +0000 (17:36 +0200)] 
use input names for lookups

7 years agogoto exit on success, not error
Alan T. DeKok [Sat, 13 Jul 2019 14:53:25 +0000 (16:53 +0200)] 
goto exit on success, not error

7 years agodoxygen
Alan T. DeKok [Sat, 13 Jul 2019 10:10:42 +0000 (12:10 +0200)] 
doxygen

7 years agoprint packets as decoded hex, not as one large hex blob
Alan T. DeKok [Sat, 13 Jul 2019 07:43:42 +0000 (09:43 +0200)] 
print packets as decoded hex, not as one large hex blob

7 years agofix debug output
Alan T. DeKok [Sat, 13 Jul 2019 07:19:49 +0000 (09:19 +0200)] 
fix debug output

7 years agominor cleanups
Alan T. DeKok [Sat, 13 Jul 2019 07:04:07 +0000 (09:04 +0200)] 
minor cleanups

7 years agoSet type of vector buffers
Arran Cudbard-Bell [Fri, 12 Jul 2019 21:12:32 +0000 (17:12 -0400)] 
Set type of vector buffers

7 years agoFix format specifier
Arran Cudbard-Bell [Fri, 12 Jul 2019 20:12:41 +0000 (16:12 -0400)] 
Fix format specifier

7 years agoUse correct format specifier
Arran Cudbard-Bell [Fri, 12 Jul 2019 17:28:04 +0000 (13:28 -0400)] 
Use correct format specifier

7 years agoMacro not used
Arran Cudbard-Bell [Fri, 12 Jul 2019 17:03:28 +0000 (13:03 -0400)] 
Macro not used

7 years agoRemove some uses of fr_log_fp
Arran Cudbard-Bell [Fri, 12 Jul 2019 16:52:20 +0000 (12:52 -0400)] 
Remove some uses of fr_log_fp

Should use the standard logging functions where available

7 years agoRemove fr_printf_log
Arran Cudbard-Bell [Fri, 12 Jul 2019 15:58:20 +0000 (11:58 -0400)] 
Remove fr_printf_log

7 years agoset debug level for requests, too
Alan T. DeKok [Fri, 12 Jul 2019 15:50:05 +0000 (17:50 +0200)] 
set debug level for requests, too

it may be better to have these as flags

7 years agonever hurts to close the socket FD, too
Alan T. DeKok [Fri, 12 Jul 2019 15:25:57 +0000 (17:25 +0200)] 
never hurts to close the socket FD, too

7 years agowe don't require a secret unless the server requires one
Alan T. DeKok [Fri, 12 Jul 2019 15:16:41 +0000 (17:16 +0200)] 
we don't require a secret unless the server requires one

7 years agoWe won't always have JIT support in libpcre2
Arran Cudbard-Bell [Fri, 12 Jul 2019 14:48:18 +0000 (10:48 -0400)] 
We won't always have JIT support in libpcre2

7 years agotrack alive clients by IP, not by pending packets
Alan T. DeKok [Wed, 10 Jul 2019 19:30:17 +0000 (21:30 +0200)] 
track alive clients by IP, not by pending packets

7 years agoscripts/asciidoc/pandoc-filter: Add checks for JSON.pm
Jorge Pereira [Tue, 9 Jul 2019 01:28:59 +0000 (22:28 -0300)] 
scripts/asciidoc/pandoc-filter: Add checks for JSON.pm

7 years agoVerify first if we could disable -Wdocumentation
Jorge Pereira [Tue, 9 Jul 2019 18:38:08 +0000 (15:38 -0300)] 
Verify first if we could disable -Wdocumentation

7 years agoconfigure.ac: Fix typo
Jorge Pereira [Tue, 9 Jul 2019 17:48:22 +0000 (14:48 -0300)] 
configure.ac: Fix typo

7 years agodon't clean adoc files tracked by git
Alan T. DeKok [Tue, 9 Jul 2019 13:29:01 +0000 (15:29 +0200)] 
don't clean adoc files tracked by git

7 years agoerror out on "build doc" targets when no tools are available
Alan T. DeKok [Tue, 9 Jul 2019 13:24:31 +0000 (15:24 +0200)] 
error out on "build doc" targets when no tools are available

7 years agodon't build docs on "make install"
Alan T. DeKok [Tue, 9 Jul 2019 13:13:47 +0000 (15:13 +0200)] 
don't build docs on "make install"

require "make install.doc", which makes sense for new CC-by-NC 4.0
license

7 years agoclang: Don't use '-Werror,-Wdocumentation' for some third headers.
Jorge Pereira [Tue, 9 Jul 2019 00:47:02 +0000 (21:47 -0300)] 
clang: Don't use '-Werror,-Wdocumentation' for some third headers.

7 years agoEmit virtual server name on validation errors
Arran Cudbard-Bell [Mon, 8 Jul 2019 18:28:25 +0000 (14:28 -0400)] 
Emit virtual server name on validation errors

7 years agoMinor cleanups in unlang compile
Arran Cudbard-Bell [Sun, 7 Jul 2019 01:07:20 +0000 (21:07 -0400)] 
Minor cleanups in unlang compile

Dup section name when building unlang group

7 years agorlm_ldap: Add 'allow_dangling_group_ref' option.
Jorge Pereira [Thu, 4 Jul 2019 18:30:33 +0000 (15:30 -0300)] 
rlm_ldap: Add 'allow_dangling_group_ref' option.

7 years agorlm_ldap: separare "noop" from "invalid".
Jorge Pereira [Thu, 4 Jul 2019 18:29:39 +0000 (15:29 -0300)] 
rlm_ldap: separare "noop" from "invalid".

7 years agorlm_postgresql: Honour query_timeout during connect
Terry Burton [Sun, 30 Jun 2019 00:33:50 +0000 (01:33 +0100)] 
rlm_postgresql: Honour query_timeout during connect

7 years agorlm-postgresql: Fail connection when receiving a signal other than EINTR.
Terry Burton [Fri, 28 Jun 2019 15:07:45 +0000 (16:07 +0100)] 
rlm-postgresql: Fail connection when receiving a signal other than EINTR.

7 years agoImplement query_timeout on socket read for rlm_postgresql
Terry Burton [Sun, 23 Jun 2019 23:56:25 +0000 (00:56 +0100)] 
Implement query_timeout on socket read for rlm_postgresql

7 years agoAdded Tripplite header to dictionary
Jeff Kawa [Thu, 27 Jun 2019 15:58:43 +0000 (10:58 -0500)] 
Added Tripplite header to dictionary

7 years agoAdd tripplite dictionary and update dictionary file to include tripplite dicitonary
Jeff Kawa [Thu, 27 Jun 2019 15:51:48 +0000 (10:51 -0500)] 
Add tripplite dictionary and update dictionary file to include tripplite dicitonary

7 years agoMerge pull request #2758 from elipsion/patch-1
Alan DeKok [Thu, 27 Jun 2019 14:05:13 +0000 (10:05 -0400)] 
Merge pull request #2758 from elipsion/patch-1

Update dictionary.rfc8045

7 years agoUpdate dictionary.rfc8045 2758/head
Erik Hansson [Thu, 27 Jun 2019 07:42:42 +0000 (09:42 +0200)] 
Update dictionary.rfc8045

7 years agoremove reference to old file
Alan T. DeKok [Wed, 26 Jun 2019 18:31:24 +0000 (14:31 -0400)] 
remove reference to old file

7 years agoadd description header
Alan T. DeKok [Wed, 26 Jun 2019 13:49:39 +0000 (09:49 -0400)] 
add description header

7 years agoremove whitespace
Alan T. DeKok [Wed, 26 Jun 2019 01:04:49 +0000 (21:04 -0400)] 
remove whitespace

7 years agoGo through the whole loop, even if we throw away information at the end
Dan Harkins [Wed, 26 Jun 2019 01:03:57 +0000 (21:03 -0400)] 
Go through the whole loop, even if we throw away information at the end

7 years agouse correct API
Alan T. DeKok [Tue, 25 Jun 2019 13:45:45 +0000 (09:45 -0400)] 
use correct API

7 years agomultiple fixes to get radmin fully working again
Alan T. DeKok [Tue, 25 Jun 2019 13:02:56 +0000 (09:02 -0400)] 
multiple fixes to get radmin fully working again

7 years agotypo. Fixes #2754
Alan T. DeKok [Mon, 24 Jun 2019 21:21:04 +0000 (17:21 -0400)] 
typo.  Fixes #2754

7 years agomake '-s' work again
Alan T. DeKok [Mon, 24 Jun 2019 12:27:43 +0000 (08:27 -0400)] 
make '-s' work again

7 years agomove code into separate function for re-use
Alan T. DeKok [Mon, 24 Jun 2019 12:20:22 +0000 (08:20 -0400)] 
move code into separate function for re-use

7 years agoMerge pull request #2752 from jpereira/v4/radmin2
Alan DeKok [Mon, 24 Jun 2019 11:53:42 +0000 (07:53 -0400)] 
Merge pull request #2752 from jpereira/v4/radmin2

radmin: Fix the parser

7 years agoradmin: Fix the parser 2752/head
Jorge Pereira [Mon, 24 Jun 2019 02:04:43 +0000 (23:04 -0300)] 
radmin: Fix the parser

7 years agotmpl: Let's use tmpl_is_$type()
Jorge Pereira [Sat, 22 Jun 2019 00:13:55 +0000 (21:13 -0300)] 
tmpl: Let's use tmpl_is_$type()

7 years agouse local talloc ctx for modules
Alan T. DeKok [Thu, 20 Jun 2019 17:15:01 +0000 (13:15 -0400)] 
use local talloc ctx for modules

because if we use the global ctx, AND it's mprotected, THEN
we can't open new connections after startup.  Because the new
connections link to the module and increase its reference count

7 years agodefault is in run_dir, not conf_dir
Alan T. DeKok [Thu, 20 Jun 2019 16:49:46 +0000 (12:49 -0400)] 
default is in run_dir, not conf_dir

7 years agoremove one more 'struct timeval'
Alan T. DeKok [Thu, 20 Jun 2019 16:41:56 +0000 (12:41 -0400)] 
remove one more 'struct timeval'

We don't use this header, but it's good to clean things up

7 years agoxlat_eval.c: verify if it's expected type
Jorge Pereira [Wed, 19 Jun 2019 02:45:34 +0000 (23:45 -0300)] 
xlat_eval.c: verify if it's expected type

7 years agorevert erroneous commit
Alan T. DeKok [Wed, 19 Jun 2019 21:13:12 +0000 (17:13 -0400)] 
revert erroneous commit

7 years agoMerge pull request #2751 from jpereira/v4/test-daemon-key
Alan DeKok [Wed, 19 Jun 2019 20:01:09 +0000 (16:01 -0400)] 
Merge pull request #2751 from jpereira/v4/test-daemon-key

src/tests/daemon: Democratic way to work on Mac/Linux without errors.

7 years agosrc/tests/daemon: Democratic way to work on Mac/Linux without errors. 2751/head
Jorge Pereira [Wed, 19 Jun 2019 19:35:42 +0000 (16:35 -0300)] 
src/tests/daemon: Democratic way to work on Mac/Linux without errors.

7 years agotypo
Alan T. DeKok [Wed, 19 Jun 2019 14:23:34 +0000 (10:23 -0400)] 
typo

7 years agoformatting
Alan T. DeKok [Wed, 19 Jun 2019 14:06:19 +0000 (10:06 -0400)] 
formatting

7 years agolink to xlat docs
Alan T. DeKok [Wed, 19 Jun 2019 13:56:28 +0000 (09:56 -0400)] 
link to xlat docs

7 years agoadd xlat documentation
Alan T. DeKok [Wed, 19 Jun 2019 13:55:31 +0000 (09:55 -0400)] 
add xlat documentation

7 years agomore "get rid of struct timeval".
Alan T. DeKok [Wed, 19 Jun 2019 11:18:08 +0000 (07:18 -0400)] 
more "get rid of struct timeval".

It's not enough to just convert fr_time_t to "struct timeval"
and go from there.  The entire use of timeval should be removed.

7 years agono longer need this
Alan T. DeKok [Wed, 19 Jun 2019 11:13:52 +0000 (07:13 -0400)] 
no longer need this

7 years agojust use ifconfig, instead of printing an error "hostid not found"
Alan T. DeKok [Tue, 18 Jun 2019 21:38:55 +0000 (17:38 -0400)] 
just use ifconfig, instead of printing an error "hostid not found"

7 years agoeapol_test: Build the stable 2.8 version
Jorge Pereira [Tue, 18 Jun 2019 20:59:09 +0000 (17:59 -0300)] 
eapol_test: Build the stable 2.8 version

7 years agotmpl: Add tmpl_is_$type() macros
Jorge Pereira [Wed, 19 Jun 2019 03:42:03 +0000 (00:42 -0300)] 
tmpl: Add tmpl_is_$type() macros

7 years agowe need timeval here for now
Alan T. DeKok [Tue, 18 Jun 2019 21:33:53 +0000 (17:33 -0400)] 
we need timeval here for now

7 years agoget rid of timeval
Alan T. DeKok [Tue, 18 Jun 2019 21:32:28 +0000 (17:32 -0400)] 
get rid of timeval

7 years agouse fr_time_t
Alan T. DeKok [Tue, 18 Jun 2019 21:27:49 +0000 (17:27 -0400)] 
use fr_time_t

7 years agodon't include timeval by default
Alan T. DeKok [Tue, 18 Jun 2019 20:41:14 +0000 (16:41 -0400)] 
don't include timeval by default

7 years agono more need for timeval
Alan T. DeKok [Tue, 18 Jun 2019 20:40:10 +0000 (16:40 -0400)] 
no more need for timeval

7 years agoget rid of more timeval things
Alan T. DeKok [Tue, 18 Jun 2019 20:36:06 +0000 (16:36 -0400)] 
get rid of more timeval things

7 years agothis is no longer needed
Alan T. DeKok [Tue, 18 Jun 2019 20:34:20 +0000 (16:34 -0400)] 
this is no longer needed

7 years agotypo
Alan T. DeKok [Tue, 18 Jun 2019 20:16:32 +0000 (16:16 -0400)] 
typo

7 years agomore doxygen
Alan T. DeKok [Tue, 18 Jun 2019 18:14:53 +0000 (14:14 -0400)] 
more doxygen

7 years agodoxygen
Alan T. DeKok [Tue, 18 Jun 2019 17:03:06 +0000 (13:03 -0400)] 
doxygen

7 years agoupdate for constant time calculates
Alan T. DeKok [Tue, 18 Jun 2019 15:45:36 +0000 (11:45 -0400)] 
update for constant time calculates

Patch largely from Dan Harkins

7 years agouse the correct module return code <sigh>
Alan T. DeKok [Tue, 18 Jun 2019 15:43:03 +0000 (11:43 -0400)] 
use the correct module return code <sigh>

7 years agofix install rules to use ADD_INSTALL_RULE.file
Alan T. DeKok [Tue, 18 Jun 2019 14:22:36 +0000 (10:22 -0400)] 
fix install rules to use ADD_INSTALL_RULE.file

which cleans things up a lot

7 years agonotes on ADD_INSTALL_RULE.dir
Alan T. DeKok [Tue, 18 Jun 2019 14:22:23 +0000 (10:22 -0400)] 
notes on ADD_INSTALL_RULE.dir

7 years agonew ADD_INSTALL_RULE.file function
Alan T. DeKok [Tue, 18 Jun 2019 14:01:19 +0000 (10:01 -0400)] 
new ADD_INSTALL_RULE.file function

which installs a normal file

7 years agorelax OpenSSL version checks for >=1.1.0
Alan T. DeKok [Mon, 17 Jun 2019 15:35:32 +0000 (11:35 -0400)] 
relax OpenSSL version checks for >=1.1.0

as they now export all of the APIs we need

7 years agomore cleanups
Alan T. DeKok [Sun, 16 Jun 2019 19:39:46 +0000 (15:39 -0400)] 
more cleanups

7 years agono need to list authors here.
Alan T. DeKok [Sun, 16 Jun 2019 19:37:36 +0000 (15:37 -0400)] 
no need to list authors here.

7 years agoupdated licence terms to reflect current reality
Alan T. DeKok [Sun, 16 Jun 2019 19:37:01 +0000 (15:37 -0400)] 
updated licence terms to reflect current reality

7 years agothese files were GPL'd a while ago
Alan T. DeKok [Sun, 16 Jun 2019 12:24:21 +0000 (08:24 -0400)] 
these files were GPL'd a while ago

7 years agoUse all the obscure keywords
Arran Cudbard-Bell [Sun, 16 Jun 2019 14:07:38 +0000 (22:07 +0800)] 
Use all the obscure keywords

7 years agoMerge pull request #2745 from elipsion/patch-1
Alan DeKok [Sun, 16 Jun 2019 11:26:07 +0000 (07:26 -0400)] 
Merge pull request #2745 from elipsion/patch-1

Update dictionary.rfc8045

7 years agoIntegrate method_names with the rest of the module_t initialiser
Arran Cudbard-Bell [Sun, 16 Jun 2019 07:13:56 +0000 (15:13 +0800)] 
Integrate method_names with the rest of the module_t initialiser

Because why not?  Not sure why this wasn't done to start with.

7 years agoUpdate dictionary.rfc8045 2745/head
Erik Hansson [Fri, 14 Jun 2019 08:35:14 +0000 (10:35 +0200)] 
Update dictionary.rfc8045

Add values for IP-Port-Alloc

7 years agohostid is linux specific, so lets not break tmux for our primary development environment
Arran Cudbard-Bell [Fri, 14 Jun 2019 03:07:24 +0000 (11:07 +0800)] 
hostid is linux specific, so lets not break tmux for our primary development environment

Looked for a mac UUID command, but didn't find anything suitable

7 years ago1970 called and they want their ifconfig back
Alexander Clouter [Thu, 14 Feb 2019 09:34:44 +0000 (09:34 +0000)] 
1970 called and they want their ifconfig back

7 years agoMake 3gpp encrypt more forgiving, and have it figure out the correct tag from &contro...
Arran Cudbard-Bell [Wed, 12 Jun 2019 03:22:49 +0000 (11:22 +0800)] 
Make 3gpp encrypt more forgiving, and have it figure out the correct tag from &control:EAP-Type

7 years agoRename sim_attrs.h to just attrs.h
Arran Cudbard-Bell [Wed, 12 Jun 2019 03:22:24 +0000 (11:22 +0800)] 
Rename sim_attrs.h to just attrs.h

7 years agoFix rcode check for main_loop_init() and duplicate main_loop_start call
Arran Cudbard-Bell [Wed, 12 Jun 2019 03:21:23 +0000 (11:21 +0800)] 
Fix rcode check for main_loop_init() and duplicate main_loop_start call

7 years agoStart the watchdog if we're building with systemd, closes #2740
Arran Cudbard-Bell [Wed, 12 Jun 2019 02:06:19 +0000 (10:06 +0800)] 
Start the watchdog if we're building with systemd, closes #2740

7 years agoRemove function checks
Arran Cudbard-Bell [Mon, 10 Jun 2019 07:49:52 +0000 (15:49 +0800)] 
Remove function checks

We can just use OpenSSL version

7 years agoRegister blake2 xlat functions
Herwin Weststrate [Sat, 8 Jun 2019 10:38:57 +0000 (12:38 +0200)] 
Register blake2 xlat functions

This resolves a compiler warning as well, since the methods were defined
but never used.

7 years ago*sigh*, doxygen
Arran Cudbard-Bell [Wed, 5 Jun 2019 00:20:43 +0000 (08:20 +0800)] 
*sigh*, doxygen