]> git.ipfire.org Git - thirdparty/freeradius-server.git/log
thirdparty/freeradius-server.git
7 years agoReorder xlat definitions
Philippe Wooding [Tue, 4 Dec 2018 17:00:33 +0000 (18:00 +0100)] 
Reorder xlat definitions

7 years agoConvert sha2 & sha3 xlats to new async API
Philippe Wooding [Tue, 4 Dec 2018 16:57:09 +0000 (17:57 +0100)] 
Convert sha2 & sha3 xlats to new async API

7 years agoConvert hex xlat to new async API
Philippe Wooding [Tue, 4 Dec 2018 16:48:43 +0000 (17:48 +0100)] 
Convert hex xlat to new async API

7 years agoConvert sha1 xlat to new async API
Philippe Wooding [Tue, 4 Dec 2018 12:50:46 +0000 (13:50 +0100)] 
Convert sha1 xlat to new async API

7 years agoshould be debug3
Alan T. DeKok [Tue, 4 Dec 2018 15:59:28 +0000 (10:59 -0500)] 
should be debug3

7 years agoset listener name everywhere
Alan T. DeKok [Tue, 4 Dec 2018 15:51:08 +0000 (10:51 -0500)] 
set listener name everywhere

7 years agosmall sql schema fixes
Matthew Newton [Tue, 4 Dec 2018 13:29:46 +0000 (13:29 +0000)] 
small sql schema fixes

7 years agoRename xlat_toupper to toupper_xlat
Philippe Wooding [Tue, 4 Dec 2018 13:36:00 +0000 (14:36 +0100)] 
Rename xlat_toupper to toupper_xlat

7 years agoMerge pull request #2362 from pwdng/xlats
Arran Cudbard-Bell [Mon, 3 Dec 2018 18:40:38 +0000 (18:40 +0000)] 
Merge pull request #2362 from pwdng/xlats

Convert tolower & toupper xlats to new async API

7 years agoConvert toupper xlat to new async API 2362/head
Philippe Wooding [Mon, 4 Jun 2018 13:04:18 +0000 (13:04 +0000)] 
Convert toupper xlat to new async API

7 years agoConvert tolower xlat to new async API
Philippe Wooding [Mon, 4 Jun 2018 13:01:56 +0000 (13:01 +0000)] 
Convert tolower xlat to new async API

7 years agoUse %pV in rlm_linelog messages
Arran Cudbard-Bell [Fri, 30 Nov 2018 18:13:58 +0000 (13:13 -0500)] 
Use %pV in rlm_linelog messages

7 years agoRemove many calls to fr_value_box_snprint
Arran Cudbard-Bell [Fri, 30 Nov 2018 17:41:47 +0000 (12:41 -0500)] 
Remove many calls to fr_value_box_snprint

Not necessary fro debug messages, as all the logging macros/functions call fr_asprintf which supports %pV.

7 years agoremove old email address
Alan T. DeKok [Thu, 29 Nov 2018 17:59:13 +0000 (12:59 -0500)] 
remove old email address

7 years agoColourise more messages in rlm_pap
Arran Cudbard-Bell [Thu, 29 Nov 2018 22:14:43 +0000 (17:14 -0500)] 
Colourise more messages in rlm_pap

7 years agoOnly write *after* checking available buffer space
Arran Cudbard-Bell [Thu, 29 Nov 2018 21:36:50 +0000 (16:36 -0500)] 
Only write *after* checking available buffer space

7 years agoUse generic function for parsing conf pairs using tables
Arran Cudbard-Bell [Mon, 26 Nov 2018 18:57:34 +0000 (18:57 +0000)] 
Use generic function for parsing conf pairs using tables

7 years agoTypo
Arran Cudbard-Bell [Sat, 24 Nov 2018 17:48:00 +0000 (17:48 +0000)] 
Typo

7 years agoAdd parameters for controlling HTTP2 negotiation and multiplexing
Arran Cudbard-Bell [Sat, 24 Nov 2018 17:41:12 +0000 (17:41 +0000)] 
Add parameters for controlling HTTP2 negotiation and multiplexing

7 years agoConstructor for table based parsing function
Arran Cudbard-Bell [Sat, 24 Nov 2018 17:40:33 +0000 (17:40 +0000)] 
Constructor for table based parsing function

7 years agoFormatting
Arran Cudbard-Bell [Sat, 24 Nov 2018 17:38:55 +0000 (17:38 +0000)] 
Formatting

7 years agoExplain what the connection pool is used for in v4.0.x
Arran Cudbard-Bell [Sat, 24 Nov 2018 17:24:13 +0000 (17:24 +0000)] 
Explain what the connection pool is used for in v4.0.x

7 years agoFix const order
Arran Cudbard-Bell [Sat, 24 Nov 2018 17:21:17 +0000 (17:21 +0000)] 
Fix const order

7 years agoremove unused variable
Alan T. DeKok [Thu, 22 Nov 2018 17:14:30 +0000 (12:14 -0500)] 
remove unused variable

7 years agomove "set packet->code" to dhcpv4_packet_decode()
Alan T. DeKok [Thu, 22 Nov 2018 16:30:11 +0000 (11:30 -0500)] 
move "set packet->code" to dhcpv4_packet_decode()

7 years agoadd ntohl
Alan T. DeKok [Thu, 22 Nov 2018 16:25:54 +0000 (11:25 -0500)] 
add ntohl

7 years agoAs per TS129061 version 150400P
Arran Cudbard-Bell [Thu, 22 Nov 2018 15:16:49 +0000 (15:16 +0000)] 
As per TS129061 version 150400P

https://www.etsi.org/deliver/etsi_ts/129000_129099/129061/15.04.00_60/ts_129061v150400p.pdf

There were complaints that our names didn't match the standard...

7 years agoredis: increase default max number of args
Matthew Newton [Thu, 22 Nov 2018 12:16:58 +0000 (12:16 +0000)] 
redis: increase default max number of args

7 years agorlm_redis: use defs from src/lib/redis/bash.h
Matthew Newton [Thu, 22 Nov 2018 12:16:19 +0000 (12:16 +0000)] 
rlm_redis: use defs from src/lib/redis/bash.h

7 years agorlm_redis: error if too many args given
Matthew Newton [Thu, 22 Nov 2018 11:43:47 +0000 (11:43 +0000)] 
rlm_redis: error if too many args given

7 years agoset packet->code from DHCP-Message-Type
Alan T. DeKok [Thu, 22 Nov 2018 12:21:06 +0000 (07:21 -0500)] 
set packet->code from DHCP-Message-Type

7 years agoNasty temporary hack to fix duplicate node evaluation of async functions in conditions
Arran Cudbard-Bell [Wed, 21 Nov 2018 22:18:21 +0000 (22:18 +0000)] 
Nasty temporary hack to fix duplicate node evaluation of async functions in conditions

7 years agodon't print out len if we don't have it
Alan T. DeKok [Wed, 21 Nov 2018 12:57:46 +0000 (07:57 -0500)] 
don't print out len if we don't have it

7 years agoprint out full DHCPv4 packet information
Alan T. DeKok [Wed, 21 Nov 2018 12:50:02 +0000 (07:50 -0500)] 
print out full DHCPv4 packet information

7 years agoXID is 8 hexits
Alan T. DeKok [Wed, 21 Nov 2018 12:29:52 +0000 (07:29 -0500)] 
XID is 8 hexits

7 years agouse XID as ID
Alan T. DeKok [Wed, 21 Nov 2018 12:18:59 +0000 (07:18 -0500)] 
use XID as ID

We should really use a name instead of an ID everywhere

7 years agouse XID instead of ID
Alan T. DeKok [Wed, 21 Nov 2018 12:16:50 +0000 (07:16 -0500)] 
use XID instead of ID

7 years agoadd and use fr_dhcpv4_print_hex
Alan T. DeKok [Wed, 21 Nov 2018 12:13:32 +0000 (07:13 -0500)] 
add and use fr_dhcpv4_print_hex

7 years agodon't allow Acct-Delay-Time in status check packets, either
Alan T. DeKok [Tue, 13 Nov 2018 21:37:32 +0000 (16:37 -0500)] 
don't allow Acct-Delay-Time in status check packets, either

we rely instead on Event-Timestamp

7 years agosplit status check retransmits into another function
Alan T. DeKok [Tue, 13 Nov 2018 21:36:08 +0000 (16:36 -0500)] 
split status check retransmits into another function

7 years agodo some sanity checking on attributes in status check packets
Alan T. DeKok [Tue, 13 Nov 2018 21:17:47 +0000 (16:17 -0500)] 
do some sanity checking on attributes in status check packets

7 years agoseparate status check retransmissions from other packet types
Alan T. DeKok [Tue, 13 Nov 2018 20:21:00 +0000 (15:21 -0500)] 
separate status check retransmissions from other packet types

7 years agochecks for sync proxying to work, and more cleanups
Alan T. DeKok [Tue, 13 Nov 2018 19:48:47 +0000 (14:48 -0500)] 
checks for sync proxying to work, and more cleanups

7 years agoremove reference to 3.0.2
Alan T. DeKok [Tue, 13 Nov 2018 17:54:57 +0000 (12:54 -0500)] 
remove reference to 3.0.2

7 years agohandle case where writing status check packets blocks
Alan T. DeKok [Tue, 13 Nov 2018 17:53:34 +0000 (12:53 -0500)] 
handle case where writing status check packets blocks

we remember that, and try to write it again as soon as the
socket becomes writable

7 years agomove "alloc ID" to state_transition
Alan T. DeKok [Tue, 13 Nov 2018 17:40:07 +0000 (12:40 -0500)] 
move "alloc ID" to state_transition

so that it's not scattered through the code.

7 years agore-allocate ID on retransmit
Alan T. DeKok [Mon, 12 Nov 2018 21:36:54 +0000 (16:36 -0500)] 
re-allocate ID on retransmit

not for Access-Request, tho.  That would require re-encrypting
User-Password, and any other attribute that depends on the
authentication vector.

7 years agoset correct name and use it
Alan T. DeKok [Mon, 12 Nov 2018 19:53:35 +0000 (14:53 -0500)] 
set correct name and use it

7 years agouse talloc_array_length for length of secret
Alan T. DeKok [Mon, 12 Nov 2018 19:51:50 +0000 (14:51 -0500)] 
use talloc_array_length for length of secret

7 years agosimplify some more
Alan T. DeKok [Mon, 12 Nov 2018 19:51:02 +0000 (14:51 -0500)] 
simplify some more

7 years agorearrange structs so that we have a clean connection interface
Alan T. DeKok [Mon, 12 Nov 2018 19:47:11 +0000 (14:47 -0500)] 
rearrange structs so that we have a clean connection interface

7 years agoset name here, so IO modules don't need to do this
Alan T. DeKok [Mon, 12 Nov 2018 19:46:51 +0000 (14:46 -0500)] 
set name here, so IO modules don't need to do this

7 years agoattr_filter: don't permit internal attrs in reject
Matthew Newton [Mon, 12 Nov 2018 18:15:06 +0000 (18:15 +0000)] 
attr_filter: don't permit internal attrs in reject

7 years agoset dl_loader to NULL only when things are OK
Alan T. DeKok [Mon, 12 Nov 2018 16:32:43 +0000 (11:32 -0500)] 
set dl_loader to NULL only when things are OK

7 years agoremove MINGW stuff that was never used
Alan T. DeKok [Mon, 12 Nov 2018 15:37:29 +0000 (10:37 -0500)] 
remove MINGW stuff that was never used

7 years agoprint out module name, too.
Alan T. DeKok [Mon, 12 Nov 2018 15:33:22 +0000 (10:33 -0500)] 
print out module name, too.

otherwise we have no idea what instance is associated with what module

7 years agoUnused
Arran Cudbard-Bell [Mon, 12 Nov 2018 16:21:38 +0000 (11:21 -0500)] 
Unused

7 years agoLet the caller know we consumed the input boxes
Arran Cudbard-Bell [Mon, 12 Nov 2018 15:12:55 +0000 (10:12 -0500)] 
Let the caller know we consumed the input boxes

7 years agoBe better about catching freed cursor items
Arran Cudbard-Bell [Fri, 9 Nov 2018 22:13:27 +0000 (17:13 -0500)] 
Be better about catching freed cursor items

7 years agoset dl_loader = NULL only if the trees are empty
Alan T. DeKok [Sun, 11 Nov 2018 20:40:45 +0000 (15:40 -0500)] 
set dl_loader = NULL only if the trees are empty

and add assertions that dl_loader!=NULL elsewhere

It appears that in 'tests.eap', something is freeing the dl_loader
after the server starts, but before the server has exited.  The result
is that it would crash instead of doing proper cleanups.

This change at least makes it keep running.  But the underlying
issue needs to be tracked down.

7 years agoHack in support for async xlats in conditions
Arran Cudbard-Bell [Fri, 9 Nov 2018 18:41:39 +0000 (13:41 -0500)] 
Hack in support for async xlats in conditions

7 years agoFormatting
Arran Cudbard-Bell [Fri, 9 Nov 2018 18:41:20 +0000 (13:41 -0500)] 
Formatting

7 years agoFixup dependencies
Arran Cudbard-Bell [Fri, 9 Nov 2018 15:11:07 +0000 (10:11 -0500)] 
Fixup dependencies

7 years agoRefactor fr_strtoull and fr_strtoll to error out overflow
Arran Cudbard-Bell [Fri, 9 Nov 2018 15:07:18 +0000 (10:07 -0500)] 
Refactor fr_strtoull and fr_strtoll to error out overflow

There's probably no case where we ever want to allow overflows to pass unaddressed.

7 years agoexplicitly clear errno, as strtoull on Linux appears not to do this
Arran Cudbard-Bell [Fri, 9 Nov 2018 14:50:28 +0000 (09:50 -0500)] 
explicitly clear errno, as strtoull on Linux appears not to do this

7 years agouse correct contexts for $INCLUDE, too
Alan T. DeKok [Fri, 9 Nov 2018 11:43:08 +0000 (06:43 -0500)] 
use correct contexts for $INCLUDE, too

7 years agoBetter xlat string tests
Arran Cudbard-Bell [Thu, 8 Nov 2018 22:02:52 +0000 (17:02 -0500)] 
Better xlat string tests

7 years agoFixup integer tests
Arran Cudbard-Bell [Thu, 8 Nov 2018 22:02:40 +0000 (17:02 -0500)] 
Fixup integer tests

7 years agoCall string in update sections in the strings test
Arran Cudbard-Bell [Thu, 8 Nov 2018 21:59:17 +0000 (16:59 -0500)] 
Call string in update sections in the strings test

7 years agoPrint integer strings as integers and not whatever the heck it was doing
Arran Cudbard-Bell [Thu, 8 Nov 2018 21:58:58 +0000 (16:58 -0500)] 
Print integer strings as integers and not whatever the heck it was doing

7 years agoDetect integer overflows when converting from strings
Arran Cudbard-Bell [Thu, 8 Nov 2018 21:55:43 +0000 (16:55 -0500)] 
Detect integer overflows when converting from strings

7 years agoUse the unsigned integer parser to parse unsigned integers
Arran Cudbard-Bell [Thu, 8 Nov 2018 21:55:07 +0000 (16:55 -0500)] 
Use the unsigned integer parser to parse unsigned integers

7 years agoRename integer casting function
Arran Cudbard-Bell [Thu, 8 Nov 2018 21:54:45 +0000 (16:54 -0500)] 
Rename integer casting function

7 years agoEscape tmpl names correctly when printing errors
Arran Cudbard-Bell [Thu, 8 Nov 2018 20:43:02 +0000 (15:43 -0500)] 
Escape tmpl names correctly when printing errors

7 years agoConvert "%{string:}" to use async API
Arran Cudbard-Bell [Thu, 8 Nov 2018 20:04:23 +0000 (15:04 -0500)] 
Convert "%{string:}" to use async API

7 years agoSwap ok/updated action priorities
Arran Cudbard-Bell [Wed, 7 Nov 2018 22:00:44 +0000 (17:00 -0500)] 
Swap ok/updated action priorities

7 years agosigned / unsigned issue
Alan T. DeKok [Wed, 7 Nov 2018 21:37:41 +0000 (16:37 -0500)] 
signed / unsigned issue

7 years agoBalance RINDENT and REXDENT in fr_ldap_timeout_debug
Arran Cudbard-Bell [Wed, 7 Nov 2018 21:15:19 +0000 (16:15 -0500)] 
Balance RINDENT and REXDENT in fr_ldap_timeout_debug

7 years agoFix json code so mapped value is the raw value
Arran Cudbard-Bell [Wed, 7 Nov 2018 21:01:22 +0000 (16:01 -0500)] 
Fix json code so mapped value is the raw value

7 years agoArg...
Arran Cudbard-Bell [Wed, 7 Nov 2018 20:21:05 +0000 (15:21 -0500)] 
Arg...

7 years agoclean up proxy / message authenticator handling
Alan T. DeKok [Wed, 7 Nov 2018 20:12:52 +0000 (15:12 -0500)] 
clean up proxy / message authenticator handling

7 years agore-arrange and clean up
Alan T. DeKok [Wed, 7 Nov 2018 19:37:38 +0000 (14:37 -0500)] 
re-arrange and clean up

in preparation for abstracting it to separate outbound IO from
RADIUS work

7 years agoremove unnecessary UNUSED
Alan T. DeKok [Mon, 5 Nov 2018 21:12:07 +0000 (16:12 -0500)] 
remove unnecessary UNUSED

7 years agorename packet states for clarity
Alan T. DeKok [Mon, 5 Nov 2018 21:11:38 +0000 (16:11 -0500)] 
rename packet states for clarity

7 years agoQuiet compiler
Arran Cudbard-Bell [Wed, 7 Nov 2018 20:15:00 +0000 (15:15 -0500)] 
Quiet compiler

7 years agoStart of the rlm_rediswho structure should be the standard config struct, not a point...
Arran Cudbard-Bell [Wed, 7 Nov 2018 20:11:01 +0000 (15:11 -0500)] 
Start of the rlm_rediswho structure should be the standard config struct, not a pointer fixes #2350

7 years agoQuiet compiler
Arran Cudbard-Bell [Wed, 7 Nov 2018 20:10:36 +0000 (15:10 -0500)] 
Quiet compiler

ssshh

7 years agocli not global
Arran Cudbard-Bell [Wed, 7 Nov 2018 19:53:28 +0000 (14:53 -0500)] 
cli not global

7 years agoOnly try and join the cli pthread if we're running with the cli
Arran Cudbard-Bell [Wed, 7 Nov 2018 19:48:46 +0000 (14:48 -0500)] 
Only try and join the cli pthread if we're running with the cli

7 years agoMerge pull request #2349 from mattrose/master
Arran Cudbard-Bell [Mon, 5 Nov 2018 17:42:18 +0000 (12:42 -0500)] 
Merge pull request #2349 from mattrose/master

added docker scripts for ubuntu bionic

7 years agoadded docker scripts for ubuntu bionic 2349/head
Matt Rose [Mon, 5 Nov 2018 16:20:45 +0000 (11:20 -0500)] 
added docker scripts for ubuntu bionic

7 years agoMerge pull request #2347 from herwinw/compile_fix_sha3_512
Alan DeKok [Fri, 2 Nov 2018 18:39:00 +0000 (14:39 -0400)] 
Merge pull request #2347 from herwinw/compile_fix_sha3_512

Compile fixes for HAVE_EVP_SHA3_512

7 years agoremove rlm_radius_link_t
Alan T. DeKok [Fri, 2 Nov 2018 18:21:50 +0000 (14:21 -0400)] 
remove rlm_radius_link_t

which is one less data structure per request.

7 years agomove "resume" to rlm_radius_udp
Alan T. DeKok [Fri, 2 Nov 2018 18:07:45 +0000 (14:07 -0400)] 
move "resume" to rlm_radius_udp

in preparation for getting rid of "link"

7 years agoCompile fixes for HAVE_EVP_SHA3_512 2347/head
Herwin Weststrate [Fri, 2 Nov 2018 17:24:08 +0000 (18:24 +0100)] 
Compile fixes for HAVE_EVP_SHA3_512

7 years agofix argument ordering
Alan T. DeKok [Fri, 2 Nov 2018 15:50:20 +0000 (11:50 -0400)] 
fix argument ordering

7 years agowe shouldn't track which requests are using this module
Alan T. DeKok [Fri, 2 Nov 2018 15:24:13 +0000 (11:24 -0400)] 
we shouldn't track which requests are using this module

the unlang interpreter does that.  The rest of the code should
guarantee that all requests are stopped / freed before a module
is detached.

7 years agotypo
Alan T. DeKok [Fri, 2 Nov 2018 15:25:09 +0000 (11:25 -0400)] 
typo

7 years agomore travis fixes
Alan T. DeKok [Fri, 2 Nov 2018 14:58:34 +0000 (10:58 -0400)] 
more travis fixes

7 years agobuild fixes for capabilities
Alan T. DeKok [Fri, 2 Nov 2018 14:27:07 +0000 (10:27 -0400)] 
build fixes for capabilities