]> git.ipfire.org Git - thirdparty/freeradius-server.git/log
thirdparty/freeradius-server.git
7 years agobetter error message
Alan T. DeKok [Fri, 22 Feb 2019 20:10:35 +0000 (15:10 -0500)] 
better error message

7 years agoMerge pull request #2512 from jpereira/v4/isc_dhcp-all-options
Alan DeKok [Fri, 22 Feb 2019 20:05:18 +0000 (15:05 -0500)] 
Merge pull request #2512 from jpereira/v4/isc_dhcp-all-options

isc_dhcp: Add all ISC supported options as stub

7 years agoisc_dhcp: Add all ISC supported options as stub 2512/head
Jorge Pereira [Fri, 22 Feb 2019 19:16:52 +0000 (16:16 -0300)] 
isc_dhcp: Add all ISC supported options as stub

7 years agomake Alex happy with a shiny spoon-feeding.
Alan T. DeKok [Fri, 22 Feb 2019 14:50:58 +0000 (09:50 -0500)] 
make Alex happy with a shiny spoon-feeding.

7 years agouse enums instead of strcmp
Alan T. DeKok [Thu, 21 Feb 2019 20:06:07 +0000 (15:06 -0500)] 
use enums instead of strcmp

7 years agoDon't assert at higher debug levels
Arran Cudbard-Bell [Fri, 22 Feb 2019 08:32:47 +0000 (16:32 +0800)] 
Don't assert at higher debug levels

7 years agoTypo
Arran Cudbard-Bell [Fri, 22 Feb 2019 06:39:57 +0000 (14:39 +0800)] 
Typo

7 years agoDoxygen
Arran Cudbard-Bell [Fri, 22 Feb 2019 05:49:01 +0000 (13:49 +0800)] 
Doxygen

7 years agoMove optional parameters out of the xlat_async_register function
Arran Cudbard-Bell [Fri, 22 Feb 2019 05:41:04 +0000 (13:41 +0800)] 
Move optional parameters out of the xlat_async_register function

It was dumb adding 7 NULLs in each registration call

7 years agoInclude basic tests for DHCPv4 encode and decode xlats
Arran Cudbard-Bell [Fri, 22 Feb 2019 03:19:58 +0000 (11:19 +0800)] 
Include basic tests for DHCPv4 encode and decode xlats

7 years agoOnly encode dhcpv4 attributes
Arran Cudbard-Bell [Fri, 22 Feb 2019 03:12:13 +0000 (11:12 +0800)] 
Only encode dhcpv4 attributes

7 years agosim test not relevant
Arran Cudbard-Bell [Fri, 22 Feb 2019 03:11:46 +0000 (11:11 +0800)] 
sim test not relevant

7 years agoSteal tmpl memory into the cursor
Arran Cudbard-Bell [Fri, 22 Feb 2019 03:11:20 +0000 (11:11 +0800)] 
Steal tmpl memory into the cursor

7 years agodoxygen
Alan T. DeKok [Thu, 21 Feb 2019 19:12:55 +0000 (14:12 -0500)] 
doxygen

7 years agotypo
Alan T. DeKok [Thu, 21 Feb 2019 17:26:25 +0000 (12:26 -0500)] 
typo

7 years agoMove DHCP xlat functions to async
Arran Cudbard-Bell [Thu, 21 Feb 2019 14:29:39 +0000 (22:29 +0800)] 
Move DHCP xlat functions to async

7 years agoAdd functions for evaluating format strings and saving the result in value boxes
Arran Cudbard-Bell [Thu, 21 Feb 2019 14:27:35 +0000 (22:27 +0800)] 
Add functions for evaluating format strings and saving the result in value boxes

7 years agoAdd convenience function for parsing format strings as attr refs
Arran Cudbard-Bell [Thu, 21 Feb 2019 14:26:57 +0000 (22:26 +0800)] 
Add convenience function for parsing format strings as attr refs

7 years agofix this, too
Alan T. DeKok [Thu, 21 Feb 2019 14:11:03 +0000 (09:11 -0500)] 
fix this, too

7 years agoRevert "parameterize ON CONFLICT"
Alan T. DeKok [Thu, 21 Feb 2019 14:07:36 +0000 (09:07 -0500)] 
Revert "parameterize ON CONFLICT"

This reverts commit 99fe5e062618057f14acb41fddd2a6539a100aec.

this isn't needed

7 years agoparameterize ON CONFLICT
Alan T. DeKok [Thu, 21 Feb 2019 12:11:35 +0000 (07:11 -0500)] 
parameterize ON CONFLICT

so that travis passes

7 years agoMerge pull request #2506 from jpereira/v4/fix-isc1
Alan DeKok [Thu, 21 Feb 2019 11:48:17 +0000 (06:48 -0500)] 
Merge pull request #2506 from jpereira/v4/fix-isc1

isc_dhcp: Add missing $moddir

7 years agoEverywhere else they're called tables...
Arran Cudbard-Bell [Thu, 21 Feb 2019 09:33:06 +0000 (17:33 +0800)] 
Everywhere else they're called tables...

7 years agoPackage isc_dhcp
Arran Cudbard-Bell [Thu, 21 Feb 2019 08:27:38 +0000 (16:27 +0800)] 
Package isc_dhcp

7 years agoFix test
Arran Cudbard-Bell [Thu, 21 Feb 2019 08:05:37 +0000 (16:05 +0800)] 
Fix test

7 years agoTypo
Arran Cudbard-Bell [Thu, 21 Feb 2019 07:26:02 +0000 (15:26 +0800)] 
Typo

7 years agoBetter guards around parsing issues in the map xlat expression
Arran Cudbard-Bell [Thu, 21 Feb 2019 07:16:59 +0000 (15:16 +0800)] 
Better guards around parsing issues in the map xlat expression

Make & optional for attribute types

7 years agoBump PG to 10 in travis
Arran Cudbard-Bell [Thu, 21 Feb 2019 00:33:29 +0000 (08:33 +0800)] 
Bump PG to 10 in travis

7 years agoMerge pull request #2505 from jpereira/v4/fix-tls
Arran Cudbard-Bell [Thu, 21 Feb 2019 00:28:08 +0000 (08:28 +0800)] 
Merge pull request #2505 from jpereira/v4/fix-tls

Fix warn related to limited range of data type

7 years agoisc_dhcp: Add missing $moddir 2506/head
Jorge Pereira [Thu, 21 Feb 2019 00:23:58 +0000 (21:23 -0300)] 
isc_dhcp: Add missing $moddir

7 years agoFix warn related to limited range of data type 2505/head
Jorge Pereira [Wed, 20 Feb 2019 22:18:27 +0000 (19:18 -0300)] 
Fix warn related to limited range of data type

7 years agoapply the most specific thing first
Alan T. DeKok [Wed, 20 Feb 2019 21:28:30 +0000 (16:28 -0500)] 
apply the most specific thing first

and actually assign an IP address

7 years agono need to multiply by USEC
Alan T. DeKok [Wed, 20 Feb 2019 20:00:27 +0000 (15:00 -0500)] 
no need to multiply by USEC

7 years agodocumentation is useful
Alan T. DeKok [Wed, 20 Feb 2019 18:29:04 +0000 (13:29 -0500)] 
documentation is useful

7 years agoapply options from the bottom up
Alan T. DeKok [Wed, 20 Feb 2019 17:54:24 +0000 (12:54 -0500)] 
apply options from the bottom up

i.e. if an option is at depth N, and the same option is at depth N+1,
then we apply the option at depth N+1, and ignore the option at
depth N.

We do this the naive way.  By adding options from the bottom up,
but ONLY if the options don't already exist in the reply.
i.e. adding options *after* we've recursed into the child
sections.

This ends up being maybe O(N^2) in the number of options.  But
the number of options is small, so oh well...

7 years agoadd client identifier hash table, too.
Alan T. DeKok [Wed, 20 Feb 2019 15:54:35 +0000 (10:54 -0500)] 
add client identifier hash table, too.

hosts are first looked up by client identifier, and only
if that doesn't mactch, they're looked up by client hardware address

7 years agosplit address assignment from option assignment
Alan T. DeKok [Wed, 20 Feb 2019 14:27:05 +0000 (09:27 -0500)] 
split address assignment from option assignment

"recv Access-Request" assigns fixed IPs, and only that.

"send Access-Accept" applies the rest of the options

and added some notes on how it *should* behave.  Right now,
the behavior is different from ISC, and that should be fixed
as much as possible.

7 years agoAvoid spurious error messages on acctuniqueid conflicts using PG's 'upsert' functionality
Arran Cudbard-Bell [Wed, 20 Feb 2019 12:24:49 +0000 (20:24 +0800)] 
Avoid spurious error messages on acctuniqueid conflicts using PG's 'upsert' functionality

7 years agodisallow nested statements
Alan T. DeKok [Wed, 20 Feb 2019 02:00:35 +0000 (21:00 -0500)] 
disallow nested statements

i.e. "host" inside of "host"

except for "group", which is fine...

7 years agoparse and create subnets.
Alan T. DeKok [Tue, 19 Feb 2019 23:11:12 +0000 (18:11 -0500)] 
parse and create subnets.

We're still not *quite* sure what to do with them, though.

7 years agoallow "%.*s" for strings
Alan T. DeKok [Tue, 19 Feb 2019 23:06:08 +0000 (18:06 -0500)] 
allow "%.*s" for strings

so we don't crash when using them.

7 years agoallow multiple arguments for options
Alan T. DeKok [Tue, 19 Feb 2019 17:55:35 +0000 (12:55 -0500)] 
allow multiple arguments for options

but only if the attribute has the "array" flag set.

We still don't parse any of the more complex option codes,
like the ones defining new attributes.  That should be fine
for most people.

7 years agochild options over-ride parent options
Alan T. DeKok [Tue, 19 Feb 2019 17:40:38 +0000 (12:40 -0500)] 
child options over-ride parent options

7 years agoadded some option parsing, and cleanups.
Alan T. DeKok [Tue, 19 Feb 2019 17:30:38 +0000 (12:30 -0500)] 
added some option parsing, and cleanups.

The debug output showing what it parsed prints things out in
reverse order for sections.  That's because the sub-section
is parsed before the `parse_foo()` function is called.

Which is likely OK in the larger scheme of things.

7 years agofix compiler warning
Alan T. DeKok [Tue, 19 Feb 2019 01:17:26 +0000 (20:17 -0500)] 
fix compiler warning

7 years agouse DHCP-Client-Hardware-Address for MAC lookups
Alan T. DeKok [Mon, 18 Feb 2019 21:50:14 +0000 (16:50 -0500)] 
use DHCP-Client-Hardware-Address for MAC lookups

The module is DHCP only, so we might as well use that.

7 years agosimplify error messages, and make better ones
Alan T. DeKok [Mon, 18 Feb 2019 21:28:01 +0000 (16:28 -0500)] 
simplify error messages, and make better ones

7 years agocomment things out until the function is done
Alan T. DeKok [Mon, 18 Feb 2019 20:43:07 +0000 (15:43 -0500)] 
comment things out until the function is done

7 years agoadded skeleton for parse_option
Alan T. DeKok [Mon, 18 Feb 2019 16:53:22 +0000 (11:53 -0500)] 
added skeleton for parse_option

7 years agominor updates
Alan T. DeKok [Mon, 18 Feb 2019 13:33:31 +0000 (08:33 -0500)] 
minor updates

7 years agomove to correct place
Alan T. DeKok [Mon, 18 Feb 2019 12:57:21 +0000 (07:57 -0500)] 
move to correct place

7 years agoallow "IPADDR," which will parse multiple IP addresses
Alan T. DeKok [Mon, 18 Feb 2019 01:29:05 +0000 (20:29 -0500)] 
allow "IPADDR," which will parse multiple IP addresses

7 years agothis is of type 'iapddr array', not 'octets'
Alan T. DeKok [Mon, 18 Feb 2019 01:03:54 +0000 (20:03 -0500)] 
this is of type 'iapddr array', not 'octets'

7 years agoremove unused assignment
Alan T. DeKok [Mon, 18 Feb 2019 00:25:23 +0000 (19:25 -0500)] 
remove unused assignment

7 years agomore comments
Alan T. DeKok [Sun, 17 Feb 2019 21:27:09 +0000 (16:27 -0500)] 
more comments

7 years agonow that we can apply things, allow the module to be used
Alan T. DeKok [Sun, 17 Feb 2019 21:25:09 +0000 (16:25 -0500)] 
now that we can apply things, allow the module to be used

7 years agofix a few minor issues, and add "apply" function
Alan T. DeKok [Sun, 17 Feb 2019 21:22:36 +0000 (16:22 -0500)] 
fix a few minor issues, and add "apply" function

7 years agocleanups, comments, and move "include filename" to be a normal function
Alan T. DeKok [Sun, 17 Feb 2019 19:34:46 +0000 (14:34 -0500)] 
cleanups, comments, and move "include filename" to be a normal function

7 years agoparse ethernet addresses into hash tables for "host"
Alan T. DeKok [Sun, 17 Feb 2019 13:44:56 +0000 (08:44 -0500)] 
parse ethernet addresses into hash tables for "host"

7 years agoargv to value box
Alan T. DeKok [Sun, 17 Feb 2019 13:31:35 +0000 (08:31 -0500)] 
argv to value box

7 years agoremove duplicate code.
Alan T. DeKok [Sun, 17 Feb 2019 02:40:51 +0000 (21:40 -0500)] 
remove duplicate code.

We now allow anything inside of anything.  It doesn't quite
make sense, e.g. `host` inside of `host`, but it also allows
for `group` inside of `group`, and `host` inside of `subnet`

7 years agorearrange and clean up
Alan T. DeKok [Sun, 17 Feb 2019 02:17:24 +0000 (21:17 -0500)] 
rearrange and clean up

we just pass "parent" around, which is better

7 years agouse parent which holds 'last', instead of passing 'last' around
Alan T. DeKok [Sun, 17 Feb 2019 02:09:58 +0000 (21:09 -0500)] 
use parent which holds 'last', instead of passing 'last' around

and fix a few bugs in match_subword()

7 years agoremove unused entries
Alan T. DeKok [Sun, 17 Feb 2019 01:53:40 +0000 (20:53 -0500)] 
remove unused entries

7 years agoallow filenames without '/'
Alan T. DeKok [Sun, 17 Feb 2019 01:25:15 +0000 (20:25 -0500)] 
allow filenames without '/'

7 years agocheck data types, and call the parse function if it exists
Alan T. DeKok [Sat, 16 Feb 2019 20:43:28 +0000 (15:43 -0500)] 
check data types, and call the parse function if it exists

7 years agoparse and remember arguments and children
Alan T. DeKok [Sat, 16 Feb 2019 20:34:22 +0000 (15:34 -0500)] 
parse and remember arguments and children

we now have a data structure which tracks everything...

7 years agoadded controllable debug, which is politer
Alan T. DeKok [Sat, 16 Feb 2019 16:47:20 +0000 (11:47 -0500)] 
added controllable debug, which is politer

7 years agoadded preliminary parser for ISC DHCP configuration files
Alan T. DeKok [Sat, 16 Feb 2019 16:16:32 +0000 (11:16 -0500)] 
added preliminary parser for ISC DHCP configuration files

It's mostly a skeleton right now, and doesn't actually do anything,
or include all of the config file options.  But it's a reasonable
start.

7 years agoadd subjectaltname. Fixes #2491
Alan T. DeKok [Fri, 15 Feb 2019 20:26:43 +0000 (15:26 -0500)] 
add subjectaltname.  Fixes #2491

7 years agoremove unnecessary doc
Alan T. DeKok [Fri, 15 Feb 2019 00:20:58 +0000 (19:20 -0500)] 
remove unnecessary doc

7 years agoMerge pull request #2488 from jpereira/fix/docker-warnings
Matthew Newton [Thu, 14 Feb 2019 21:53:02 +0000 (21:53 +0000)] 
Merge pull request #2488 from jpereira/fix/docker-warnings

docker: Fix debconf warnings upon build

7 years agodocker: Fix debconf warnings upon build 2488/head
Jorge Pereira [Thu, 14 Feb 2019 21:50:35 +0000 (19:50 -0200)] 
docker: Fix debconf warnings upon build

7 years agoword smithing
Alan T. DeKok [Thu, 14 Feb 2019 02:39:26 +0000 (21:39 -0500)] 
word smithing

7 years agoremove and document redundant names
Alan T. DeKok [Thu, 14 Feb 2019 02:38:43 +0000 (21:38 -0500)] 
remove and document redundant names

just use "name" instead of "winbind_name" in the winbind module

7 years agoradwtmp option is not mandatory
Matthew Newton [Wed, 13 Feb 2019 23:08:33 +0000 (23:08 +0000)] 
radwtmp option is not mandatory

(see 81a75890219)

7 years agorefresh debian name patch
Matthew Newton [Wed, 13 Feb 2019 12:31:51 +0000 (12:31 +0000)] 
refresh debian name patch

7 years agoupstream libkqueue has been fixed to build correctly named Debian packages
Matthew Newton [Wed, 13 Feb 2019 11:53:07 +0000 (11:53 +0000)] 
upstream libkqueue has been fixed to build correctly named Debian packages

7 years agoThese SSL options don't seem to have made it into MariaDB
Matthew Newton [Wed, 13 Feb 2019 11:22:01 +0000 (11:22 +0000)] 
These SSL options don't seem to have made it into MariaDB

7 years agotwo spaces after '#'. No spaces at the end of a line.
Alan T. DeKok [Tue, 12 Feb 2019 22:24:35 +0000 (17:24 -0500)] 
two spaces after '#'. No spaces at the end of a line.

via:

perl -p -i -e 's/^# ([^ \t])/#  $1/;s/^([ \t]+)# ([^ \t])/$1#  $2/;s/[ \t]+$//' raddb/mods-available/*

7 years agominor wordsmithing
Alan T. DeKok [Fri, 8 Feb 2019 22:26:15 +0000 (17:26 -0500)] 
minor wordsmithing

7 years agoNULL is a C keyword, not a "NULL" string.
Alan T. DeKok [Fri, 8 Feb 2019 22:22:28 +0000 (17:22 -0500)] 
NULL is a C keyword, not a "NULL" string.

7 years agoupdate RPM spec file
Matthew Newton [Tue, 12 Feb 2019 16:47:49 +0000 (16:47 +0000)] 
update RPM spec file

- raddb/mods-config/README.md no longer exists
- don't set attrs of users symlink

7 years agofix zero-length printf format string
Matthew Newton [Tue, 12 Feb 2019 16:21:54 +0000 (16:21 +0000)] 
fix zero-length printf format string

7 years agoMerge pull request #2482 from 2128506/master
Arran Cudbard-Bell [Tue, 12 Feb 2019 14:37:39 +0000 (20:07 +0530)] 
Merge pull request #2482 from 2128506/master

Fixed errors in MySQL TSL support

7 years agoMerge branch 'master' into master 2482/head
Arran Cudbard-Bell [Tue, 12 Feb 2019 14:35:46 +0000 (20:05 +0530)] 
Merge branch 'master' into master

7 years agoManual merge of MySQL TLS support fixes. Closes #2482
Arran Cudbard-Bell [Tue, 12 Feb 2019 13:46:47 +0000 (19:16 +0530)] 
Manual merge of MySQL TLS support fixes.  Closes #2482

7 years agofixed errors in MySQL TSL support
Victor Kirhenshtein [Tue, 12 Feb 2019 12:17:03 +0000 (14:17 +0200)] 
fixed errors in MySQL TSL support

7 years agoMerge pull request #2479 from jpereira/doc/update10
Alan DeKok [Tue, 12 Feb 2019 02:45:59 +0000 (21:45 -0500)] 
Merge pull request #2479 from jpereira/doc/update10

Some updates

7 years agoAdd missed ':toc:' call 2479/head
Jorge Pereira [Mon, 11 Feb 2019 22:38:36 +0000 (20:38 -0200)] 
Add missed ':toc:' call

7 years agoUpdate raddb/mods-available/yubikey
Jorge Pereira [Mon, 11 Feb 2019 22:31:08 +0000 (20:31 -0200)] 
Update raddb/mods-available/yubikey

7 years agoUpdate raddb/mods-available/winbind
Jorge Pereira [Mon, 11 Feb 2019 22:31:08 +0000 (20:31 -0200)] 
Update raddb/mods-available/winbind

7 years agoUpdate raddb/mods-available/wimax
Jorge Pereira [Mon, 11 Feb 2019 22:31:08 +0000 (20:31 -0200)] 
Update raddb/mods-available/wimax

7 years agoUpdate raddb/mods-available/unpack
Jorge Pereira [Mon, 11 Feb 2019 22:31:07 +0000 (20:31 -0200)] 
Update raddb/mods-available/unpack

7 years agoUpdate raddb/mods-available/unbound
Jorge Pereira [Mon, 11 Feb 2019 22:31:07 +0000 (20:31 -0200)] 
Update raddb/mods-available/unbound

7 years agoUpdate raddb/mods-available/sradutmp
Jorge Pereira [Mon, 11 Feb 2019 22:31:06 +0000 (20:31 -0200)] 
Update raddb/mods-available/sradutmp

7 years agoUpdate raddb/mods-available/sql
Jorge Pereira [Mon, 11 Feb 2019 22:31:06 +0000 (20:31 -0200)] 
Update raddb/mods-available/sql

7 years agoUpdate raddb/mods-available/soh
Jorge Pereira [Mon, 11 Feb 2019 22:31:06 +0000 (20:31 -0200)] 
Update raddb/mods-available/soh

7 years agoUpdate raddb/mods-available/sqlcounter
Jorge Pereira [Mon, 11 Feb 2019 22:30:47 +0000 (20:30 -0200)] 
Update raddb/mods-available/sqlcounter

7 years agoMerge pull request #2477 from jpereira/fix/conf2adoc2
Alan DeKok [Mon, 11 Feb 2019 20:14:45 +0000 (15:14 -0500)] 
Merge pull request #2477 from jpereira/fix/conf2adoc2

conf2adoc: Fix - Match anything between backtick