]> git.ipfire.org Git - thirdparty/freeradius-server.git/log
thirdparty/freeradius-server.git
7 years agoRemove redundant definitions of usec
Arran Cudbard-Bell [Fri, 17 May 2019 21:06:43 +0000 (17:06 -0400)] 
Remove redundant definitions of usec

7 years agoConvert packet->timestamp to be an fr_time_t too
Arran Cudbard-Bell [Fri, 17 May 2019 20:34:17 +0000 (16:34 -0400)] 
Convert packet->timestamp to be an fr_time_t too

7 years agoSwitch to using fr_time_t internally within the event loop, and make minimal changes...
Arran Cudbard-Bell [Fri, 17 May 2019 18:02:21 +0000 (14:02 -0400)] 
Switch to using fr_time_t internally within the event loop, and make minimal changes in other areas of the server

7 years agoFormatting
Arran Cudbard-Bell [Fri, 17 May 2019 16:06:15 +0000 (12:06 -0400)] 
Formatting

7 years agorlm_ldap: Typo
Jorge Pereira [Fri, 17 May 2019 19:11:01 +0000 (16:11 -0300)] 
rlm_ldap: Typo

7 years agoFix missed header
Jorge Pereira [Fri, 17 May 2019 16:21:19 +0000 (13:21 -0300)] 
Fix missed header

7 years agoupgrade clang
Matt Rose [Fri, 17 May 2019 16:06:03 +0000 (12:06 -0400)] 
upgrade clang

7 years agoHPE(dictonary): Add new ATTRIBUTE for AAA for REST
Alexis La Goutte [Fri, 17 May 2019 16:15:16 +0000 (16:15 +0000)] 
HPE(dictonary): Add new ATTRIBUTE for AAA for REST

See http://h22208.www2.hpe.com/eginfolib/Aruba/16.08/5200-5497/index.html#GUID-884DF402-D706-4AF6-8B3B-C6CA2CCEE037.html

7 years agoallow lease query replies
Alan T. DeKok [Fri, 17 May 2019 11:09:27 +0000 (07:09 -0400)] 
allow lease query replies

7 years agoRevert "disable this temporarily" - See if this is now fixed by the latest changes
Arran Cudbard-Bell [Thu, 16 May 2019 17:29:16 +0000 (13:29 -0400)] 
Revert "disable this temporarily" - See if this is now fixed by the latest changes

This reverts commit cb63f45d507c4423c2ad47bf81046a085d318cf2.

7 years agoInitialise ret to zero when we don’t call the destructor
Arran Cudbard-Bell [Thu, 16 May 2019 17:23:05 +0000 (13:23 -0400)] 
Initialise ret to zero when we don’t call the destructor

7 years agotighten privileges as per issue #2673
Alan T. DeKok [Thu, 16 May 2019 17:11:26 +0000 (13:11 -0400)] 
tighten privileges as per issue #2673

7 years agoDoxygen
Arran Cudbard-Bell [Thu, 16 May 2019 16:59:18 +0000 (12:59 -0400)] 
Doxygen

7 years agoInstall which too…
Arran Cudbard-Bell [Thu, 16 May 2019 16:54:43 +0000 (12:54 -0400)] 
Install which too…

7 years agoAdd openssl-perl as a dependency for the RHEL packages
Arran Cudbard-Bell [Thu, 16 May 2019 16:45:41 +0000 (12:45 -0400)] 
Add openssl-perl as a dependency for the RHEL packages

7 years agoAvoid more issues with partially initialised pythons
Arran Cudbard-Bell [Thu, 16 May 2019 16:37:46 +0000 (12:37 -0400)] 
Avoid more issues with partially initialised pythons

7 years ago…more
Arran Cudbard-Bell [Thu, 16 May 2019 16:28:24 +0000 (12:28 -0400)] 
…more

7 years agoShorten variable name to just dl_inst…
Arran Cudbard-Bell [Thu, 16 May 2019 16:27:18 +0000 (12:27 -0400)] 
Shorten variable name to just dl_inst…

7 years agoAssociate opaque data destructor directly with opaque data, so there’s no chance...
Arran Cudbard-Bell [Thu, 16 May 2019 16:25:32 +0000 (12:25 -0400)] 
Associate opaque data destructor directly with opaque data, so there’s no chance of it ever being called on freed opaque data

7 years agoWordsmithing
Arran Cudbard-Bell [Thu, 16 May 2019 16:24:33 +0000 (12:24 -0400)] 
Wordsmithing

7 years agoDon’t send multiple txn responses if we’re add the transaction limit
Arran Cudbard-Bell [Thu, 16 May 2019 15:44:23 +0000 (11:44 -0400)] 
Don’t send multiple txn responses if we’re add the transaction limit

7 years agoDon’t unload the .so when there’s still things that might use it
Arran Cudbard-Bell [Thu, 16 May 2019 15:07:06 +0000 (11:07 -0400)] 
Don’t unload the .so when there’s still things that might use it

7 years agoInstall libnl3-devel on centos so the EAP tests run
Arran Cudbard-Bell [Thu, 16 May 2019 14:45:04 +0000 (10:45 -0400)] 
Install libnl3-devel on centos so the EAP tests run

7 years agoPass --privileged --cap-add=ALL in crossbuild so we can attach to processes
Arran Cudbard-Bell [Thu, 16 May 2019 14:39:36 +0000 (10:39 -0400)] 
Pass --privileged --cap-add=ALL in crossbuild so we can attach to processes

7 years agoremove bizarre and unnecessary loop
Alan T. DeKok [Thu, 16 May 2019 14:58:41 +0000 (10:58 -0400)] 
remove bizarre and unnecessary loop

7 years agono need to set "max"
Alan T. DeKok [Thu, 16 May 2019 14:39:27 +0000 (10:39 -0400)] 
no need to set "max"

7 years agoMerge pull request #2686 from mattrose/fix-services-start
Alan DeKok [Thu, 16 May 2019 14:38:03 +0000 (10:38 -0400)] 
Merge pull request #2686 from mattrose/fix-services-start

fix travis script to start services

7 years agofix travis script to start services 2686/head
Matt Rose [Thu, 16 May 2019 13:30:38 +0000 (09:30 -0400)] 
fix travis script to start services

7 years agoMerge branch 'master' of github.com:FreeRADIUS/freeradius-server
Arran Cudbard-Bell [Thu, 16 May 2019 13:52:10 +0000 (09:52 -0400)] 
Merge branch 'master' of github.com:FreeRADIUS/freeradius-server

7 years agoVarious fixes
Arran Cudbard-Bell [Thu, 16 May 2019 13:52:04 +0000 (09:52 -0400)] 
Various fixes

7 years agodisable this temporarily
Alan T. DeKok [Thu, 16 May 2019 13:01:46 +0000 (09:01 -0400)] 
disable this temporarily

7 years agoadd support for lease query here, too
Alan T. DeKok [Thu, 16 May 2019 12:54:24 +0000 (08:54 -0400)] 
add support for lease query here, too

7 years agoUse OpenSSL versions instead of configure output to check for evp_sha3_512
Arran Cudbard-Bell [Thu, 16 May 2019 05:56:57 +0000 (01:56 -0400)] 
Use OpenSSL versions instead of configure output to check for evp_sha3_512

7 years agoAdd blake2s and blake2b xlats
Arran Cudbard-Bell [Thu, 16 May 2019 05:56:10 +0000 (01:56 -0400)] 
Add blake2s and blake2b xlats

7 years agoVarios cleanups of time functions
Arran Cudbard-Bell [Thu, 16 May 2019 04:58:00 +0000 (00:58 -0400)] 
Varios cleanups of time functions

7 years agoMerge pull request #2684 from mattrose/fix-jenkinsfile
Alan DeKok [Wed, 15 May 2019 20:02:07 +0000 (16:02 -0400)] 
Merge pull request #2684 from mattrose/fix-jenkinsfile

fix multiline and comments in Jenkinsfile

7 years agofix multiline and comments in Jenkinsfile 2684/head
Matt Rose [Wed, 15 May 2019 19:51:03 +0000 (15:51 -0400)] 
fix multiline and comments in Jenkinsfile

7 years agoRevert "Work around a bug where Travis truncates logs and fails"
Alan T. DeKok [Wed, 15 May 2019 18:57:37 +0000 (14:57 -0400)] 
Revert "Work around a bug where Travis truncates logs and fails"

This reverts commit 4c63afbe5643f4ff8a896f0c929493665641bd3c.

nope.  doesn't work.  Travis is broken.

7 years agoMerge pull request #2683 from mattrose/jenkins-integration-pr
Alan DeKok [Wed, 15 May 2019 18:54:02 +0000 (14:54 -0400)] 
Merge pull request #2683 from mattrose/jenkins-integration-pr

start running integration tests on jenkins

7 years agoWork around a bug where Travis truncates logs and fails
Alan T. DeKok [Wed, 15 May 2019 17:12:44 +0000 (13:12 -0400)] 
Work around a bug where Travis truncates logs and fails

7 years agoremove centos6 Dockerfiles
Matthew Newton [Wed, 15 May 2019 16:19:56 +0000 (17:19 +0100)] 
remove centos6 Dockerfiles

not supported for v4 any more as it's hard to build and doesn't
contain a recent enough version of openssl

7 years agouse portable version of readlink
Alan T. DeKok [Wed, 15 May 2019 16:14:33 +0000 (12:14 -0400)] 
use portable version of readlink

7 years agodon't let git get excited over things
Alan T. DeKok [Wed, 15 May 2019 15:52:07 +0000 (11:52 -0400)] 
don't let git get excited over things

7 years agoadd crossbuild "clean" target back as alias for "down", then "reset"
Matthew Newton [Wed, 15 May 2019 15:14:34 +0000 (15:14 +0000)] 
add crossbuild "clean" target back as alias for "down", then "reset"

7 years agogit config doesn't always exit with 0, but we don't care
Matthew Newton [Wed, 15 May 2019 15:13:33 +0000 (15:13 +0000)] 
git config doesn't always exit with 0, but we don't care

7 years agocheck to see if container is already running
Matthew Newton [Wed, 15 May 2019 15:12:54 +0000 (15:12 +0000)] 
check to see if container is already running

so we can crash out on errors correctly if the build fails

7 years agodocker "bind" needs an absolute path
Matthew Newton [Wed, 15 May 2019 15:11:37 +0000 (15:11 +0000)] 
docker "bind" needs an absolute path

7 years ago"wipe" is more accurate than "clean"
Matthew Newton [Wed, 15 May 2019 14:38:06 +0000 (15:38 +0100)] 
"wipe" is more accurate than "clean"

"down" cleans up ready for a clean rebuild, but "wipe" destroys
the image meaning you have to rebuild everything again. "clean" was
too easy to type...

7 years agoreorganise crossbuild so it works with submodules
Matthew Newton [Wed, 15 May 2019 14:37:45 +0000 (15:37 +0100)] 
reorganise crossbuild so it works with submodules

We want a readonly bind mount so the docker image can't ever mess up
the external config, but then there are errors with the worktree option.
The rsync works around this by letting us change the config. Maybe
there's a better way, but this works for now.

7 years agoadd allowance for DHCP lease query
Alan T. DeKok [Wed, 15 May 2019 13:58:32 +0000 (09:58 -0400)] 
add allowance for DHCP lease query

7 years agorearrange to be clearer
Alan T. DeKok [Wed, 15 May 2019 13:57:54 +0000 (09:57 -0400)] 
rearrange to be clearer

7 years agostart running integration tests on jenkins 2683/head
Matt Rose [Tue, 14 May 2019 16:28:44 +0000 (12:28 -0400)] 
start running integration tests on jenkins

7 years agoqualify macros with RADIUS so that's clearer
Alan T. DeKok [Wed, 15 May 2019 12:40:33 +0000 (08:40 -0400)] 
qualify macros with RADIUS so that's clearer

and update various structs to use max *accepted* code instead
of maximum RADIUS code.

7 years agoclarify error message
Alan T. DeKok [Wed, 15 May 2019 12:32:46 +0000 (08:32 -0400)] 
clarify error message

7 years agosigned / unsigned issues
Alan T. DeKok [Wed, 15 May 2019 01:16:34 +0000 (21:16 -0400)] 
signed / unsigned issues

7 years agouse partial OIDs for sub-TLVs in a struct
Alan T. DeKok [Wed, 15 May 2019 00:47:07 +0000 (20:47 -0400)] 
use partial OIDs for sub-TLVs in a struct

7 years agoset previous if ATTRIBUTE and 'struct', or MEMBER and 'tlv'.
Alan T. DeKok [Wed, 15 May 2019 00:45:50 +0000 (20:45 -0400)] 
set previous if ATTRIBUTE and 'struct', or MEMBER and 'tlv'.

This allows the dictionaries to be parsed with partial OIDs when
the last MEMBER of a 'struct' is of type TLV

7 years agofix up decoder to allow for unknown / malformed extended attrs
Alan T. DeKok [Wed, 15 May 2019 00:20:41 +0000 (20:20 -0400)] 
fix up decoder to allow for unknown / malformed extended attrs

7 years agofix typo
Alan T. DeKok [Wed, 15 May 2019 00:19:53 +0000 (20:19 -0400)] 
fix typo

7 years agofix dictionary
Alan T. DeKok [Tue, 14 May 2019 22:43:18 +0000 (18:43 -0400)] 
fix dictionary

we should really remove the need for long OIDs on attributes
inside of a struct

7 years agouse MEMBER for struct members
Alan T. DeKok [Tue, 14 May 2019 22:03:32 +0000 (18:03 -0400)] 
use MEMBER for struct members

7 years agodon't dereference NULL
Alan T. DeKok [Tue, 14 May 2019 19:56:01 +0000 (15:56 -0400)] 
don't dereference NULL

7 years agoremove unused variable
Alan T. DeKok [Tue, 14 May 2019 19:53:34 +0000 (15:53 -0400)] 
remove unused variable

7 years agoremove LONG_EXTENDED type
Alan T. DeKok [Tue, 14 May 2019 19:11:54 +0000 (15:11 -0400)] 
remove LONG_EXTENDED type

and restructure the code so that the EXTENDED type becomes more
of a protocol-specific structural extension

7 years agoremove testing config
Alan T. DeKok [Tue, 14 May 2019 19:10:37 +0000 (15:10 -0400)] 
remove testing config

7 years agocall rbtree(delete order) to free modules
Alan T. DeKok [Tue, 14 May 2019 18:47:08 +0000 (14:47 -0400)] 
call rbtree(delete order) to free modules

and set flags so that the verification routines don't look up
the module as we're deleting it

7 years agoIndentation
Arran Cudbard-Bell [Tue, 14 May 2019 17:00:59 +0000 (13:00 -0400)] 
Indentation

7 years agomake module_inst_free more robust
Alan T. DeKok [Tue, 14 May 2019 16:41:26 +0000 (12:41 -0400)] 
make module_inst_free more robust

7 years agoattribute is IPv6, not IPv4
Alan T. DeKok [Tue, 14 May 2019 15:29:21 +0000 (11:29 -0400)] 
attribute is IPv6, not IPv4

7 years agodon't call the destructor until AFTER the structure is initialized
Alan T. DeKok [Tue, 14 May 2019 15:24:19 +0000 (11:24 -0400)] 
don't call the destructor until AFTER the structure is initialized

7 years agoproduce error message instead of silently failing
Alan T. DeKok [Tue, 14 May 2019 15:24:06 +0000 (11:24 -0400)] 
produce error message instead of silently failing

7 years agoadd MEMBER keyword to dictionaries for 'struct'
Alan T. DeKok [Tue, 14 May 2019 15:04:26 +0000 (11:04 -0400)] 
add MEMBER keyword to dictionaries for 'struct'

Update the "man" page, update the formatter, update the default
dictionaries.

For now, the parent of MEMBER is implicit in the order of the
dictionary file.  i.e. we don't have a reference as with VALUEs

since there isn't any need to place MEMBERs randomly through the
file, this limitation is acceptable.

7 years agosplit parse type && flags into separate functions
Alan T. DeKok [Tue, 14 May 2019 14:13:11 +0000 (10:13 -0400)] 
split parse type && flags into separate functions

In preparation for adding MEMBER parsing for structs

7 years agoMore scan fixes
Arran Cudbard-Bell [Tue, 14 May 2019 05:58:14 +0000 (01:58 -0400)] 
More scan fixes

7 years agoUnused
Arran Cudbard-Bell [Tue, 14 May 2019 05:46:27 +0000 (01:46 -0400)] 
Unused

7 years agoUnused variable (if not apple)
Arran Cudbard-Bell [Tue, 14 May 2019 05:41:24 +0000 (01:41 -0400)] 
Unused variable (if not apple)

7 years agoDoxygen
Arran Cudbard-Bell [Tue, 14 May 2019 05:34:18 +0000 (01:34 -0400)] 
Doxygen

7 years agoNeed stdbool
Arran Cudbard-Bell [Tue, 14 May 2019 05:23:44 +0000 (01:23 -0400)] 
Need stdbool

7 years agoClang scan fixups
Arran Cudbard-Bell [Tue, 14 May 2019 05:20:44 +0000 (01:20 -0400)] 
Clang scan fixups

7 years agoSplit module loading and instantiation out from the generic dl loader interface
Arran Cudbard-Bell [Tue, 14 May 2019 05:12:05 +0000 (01:12 -0400)] 
Split module loading and instantiation out from the generic dl loader interface

7 years agomap_to_vp() Another slow memory leak
Jorge Pereira [Mon, 13 May 2019 23:26:10 +0000 (20:26 -0300)] 
map_to_vp() Another slow memory leak

7 years agotry to quiet the clang analyzer
Alan T. DeKok [Tue, 14 May 2019 00:35:17 +0000 (20:35 -0400)] 
try to quiet the clang analyzer

7 years agoremove "named" attributes
Alan T. DeKok [Mon, 13 May 2019 23:34:50 +0000 (19:34 -0400)] 
remove "named" attributes

they were never used

7 years agoscan fixes
Alan T. DeKok [Mon, 13 May 2019 23:18:47 +0000 (19:18 -0400)] 
scan fixes

7 years agoseparate last/prev attr again
Alan T. DeKok [Mon, 13 May 2019 23:17:57 +0000 (19:17 -0400)] 
separate last/prev attr again

and make it clearer what they do

7 years agomap_to_vp() Fix memory leak
Jorge Pereira [Mon, 13 May 2019 23:14:59 +0000 (20:14 -0300)] 
map_to_vp() Fix memory leak

7 years agocheck more corner cases and scan complaints
Alan T. DeKok [Mon, 13 May 2019 21:43:17 +0000 (17:43 -0400)] 
check more corner cases and scan complaints

7 years agomove "previous" attribute pointer to "last_attr"
Alan T. DeKok [Mon, 13 May 2019 21:37:24 +0000 (17:37 -0400)] 
move "previous" attribute pointer to "last_attr"

in parsing context, which gets rid of one set of extra things.

and then also reset "last_attr" when the parsing context changes,
such as with VENDOR or PROTOCOL

7 years agoMerge pull request #2680 from jpereira/v4/tmpl2
Alan DeKok [Mon, 13 May 2019 20:56:47 +0000 (16:56 -0400)] 
Merge pull request #2680 from jpereira/v4/tmpl2

Fix memory leak

7 years agoFix memory leak 2680/head
Jorge Pereira [Mon, 13 May 2019 20:52:44 +0000 (17:52 -0300)] 
Fix memory leak

7 years agopass fr_dict_internal
Alan T. DeKok [Mon, 13 May 2019 20:49:31 +0000 (16:49 -0400)] 
pass fr_dict_internal

7 years agodictionaries no longer need protocol-specific hacks
Alan T. DeKok [Mon, 13 May 2019 20:19:18 +0000 (16:19 -0400)] 
dictionaries no longer need protocol-specific hacks

7 years agomust pass dictionary to fr_dict_attr_by_oid()
Alan T. DeKok [Mon, 13 May 2019 20:16:57 +0000 (16:16 -0400)] 
must pass dictionary to fr_dict_attr_by_oid()

all callers do this, so it's OK

7 years agoremove OSFC2 / OSFIA stuff which hasn't been used in a decade
Alan T. DeKok [Mon, 13 May 2019 20:14:34 +0000 (16:14 -0400)] 
remove OSFC2 / OSFIA stuff which hasn't been used in a decade

7 years agoadd CC_HINT
Alan T. DeKok [Mon, 13 May 2019 19:42:40 +0000 (15:42 -0400)] 
add CC_HINT

7 years agoAdd some missing talloc_free(). Closes #2679
Alan T. DeKok [Mon, 13 May 2019 19:39:25 +0000 (15:39 -0400)] 
Add some missing talloc_free().  Closes #2679

7 years agocreate child ctx for $INCLUDE-, too
Alan T. DeKok [Mon, 13 May 2019 17:05:02 +0000 (13:05 -0400)] 
create child ctx for $INCLUDE-, too

7 years agomove VALUE fixups to parsing ctx
Alan T. DeKok [Mon, 13 May 2019 15:44:23 +0000 (11:44 -0400)] 
move VALUE fixups to parsing ctx

so that we don't pollute the main fr_dict_t structure with
parsing information

7 years agoadd ctx to process_value
Alan T. DeKok [Mon, 13 May 2019 15:30:37 +0000 (11:30 -0400)] 
add ctx to process_value

and move "last_attr" to the ctx, where it really belongs

7 years agopass ctx to process_attribute function
Alan T. DeKok [Mon, 13 May 2019 15:27:14 +0000 (11:27 -0400)] 
pass ctx to process_attribute function

in preparation for other cleanups