]>
git.ipfire.org Git - thirdparty/freeradius-server.git/log
Alan T. DeKok [Fri, 22 Feb 2019 20:10:35 +0000 (15:10 -0500)]
better error message
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
Jorge Pereira [Fri, 22 Feb 2019 19:16:52 +0000 (16:16 -0300)]
isc_dhcp: Add all ISC supported options as stub
Alan T. DeKok [Fri, 22 Feb 2019 14:50:58 +0000 (09:50 -0500)]
make Alex happy with a shiny spoon-feeding.
Alan T. DeKok [Thu, 21 Feb 2019 20:06:07 +0000 (15:06 -0500)]
use enums instead of strcmp
Arran Cudbard-Bell [Fri, 22 Feb 2019 08:32:47 +0000 (16:32 +0800)]
Don't assert at higher debug levels
Arran Cudbard-Bell [Fri, 22 Feb 2019 06:39:57 +0000 (14:39 +0800)]
Typo
Arran Cudbard-Bell [Fri, 22 Feb 2019 05:49:01 +0000 (13:49 +0800)]
Doxygen
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
Arran Cudbard-Bell [Fri, 22 Feb 2019 03:19:58 +0000 (11:19 +0800)]
Include basic tests for DHCPv4 encode and decode xlats
Arran Cudbard-Bell [Fri, 22 Feb 2019 03:12:13 +0000 (11:12 +0800)]
Only encode dhcpv4 attributes
Arran Cudbard-Bell [Fri, 22 Feb 2019 03:11:46 +0000 (11:11 +0800)]
sim test not relevant
Arran Cudbard-Bell [Fri, 22 Feb 2019 03:11:20 +0000 (11:11 +0800)]
Steal tmpl memory into the cursor
Alan T. DeKok [Thu, 21 Feb 2019 19:12:55 +0000 (14:12 -0500)]
doxygen
Alan T. DeKok [Thu, 21 Feb 2019 17:26:25 +0000 (12:26 -0500)]
typo
Arran Cudbard-Bell [Thu, 21 Feb 2019 14:29:39 +0000 (22:29 +0800)]
Move DHCP xlat functions to async
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
Arran Cudbard-Bell [Thu, 21 Feb 2019 14:26:57 +0000 (22:26 +0800)]
Add convenience function for parsing format strings as attr refs
Alan T. DeKok [Thu, 21 Feb 2019 14:11:03 +0000 (09:11 -0500)]
fix this, too
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
Alan T. DeKok [Thu, 21 Feb 2019 12:11:35 +0000 (07:11 -0500)]
parameterize ON CONFLICT
so that travis passes
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
Arran Cudbard-Bell [Thu, 21 Feb 2019 09:33:06 +0000 (17:33 +0800)]
Everywhere else they're called tables...
Arran Cudbard-Bell [Thu, 21 Feb 2019 08:27:38 +0000 (16:27 +0800)]
Package isc_dhcp
Arran Cudbard-Bell [Thu, 21 Feb 2019 08:05:37 +0000 (16:05 +0800)]
Fix test
Arran Cudbard-Bell [Thu, 21 Feb 2019 07:26:02 +0000 (15:26 +0800)]
Typo
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
Arran Cudbard-Bell [Thu, 21 Feb 2019 00:33:29 +0000 (08:33 +0800)]
Bump PG to 10 in travis
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
Jorge Pereira [Thu, 21 Feb 2019 00:23:58 +0000 (21:23 -0300)]
isc_dhcp: Add missing $moddir
Jorge Pereira [Wed, 20 Feb 2019 22:18:27 +0000 (19:18 -0300)]
Fix warn related to limited range of data type
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
Alan T. DeKok [Wed, 20 Feb 2019 20:00:27 +0000 (15:00 -0500)]
no need to multiply by USEC
Alan T. DeKok [Wed, 20 Feb 2019 18:29:04 +0000 (13:29 -0500)]
documentation is useful
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...
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
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.
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
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...
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.
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.
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.
Alan T. DeKok [Tue, 19 Feb 2019 17:40:38 +0000 (12:40 -0500)]
child options over-ride parent options
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.
Alan T. DeKok [Tue, 19 Feb 2019 01:17:26 +0000 (20:17 -0500)]
fix compiler warning
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.
Alan T. DeKok [Mon, 18 Feb 2019 21:28:01 +0000 (16:28 -0500)]
simplify error messages, and make better ones
Alan T. DeKok [Mon, 18 Feb 2019 20:43:07 +0000 (15:43 -0500)]
comment things out until the function is done
Alan T. DeKok [Mon, 18 Feb 2019 16:53:22 +0000 (11:53 -0500)]
added skeleton for parse_option
Alan T. DeKok [Mon, 18 Feb 2019 13:33:31 +0000 (08:33 -0500)]
minor updates
Alan T. DeKok [Mon, 18 Feb 2019 12:57:21 +0000 (07:57 -0500)]
move to correct place
Alan T. DeKok [Mon, 18 Feb 2019 01:29:05 +0000 (20:29 -0500)]
allow "IPADDR," which will parse multiple IP addresses
Alan T. DeKok [Mon, 18 Feb 2019 01:03:54 +0000 (20:03 -0500)]
this is of type 'iapddr array', not 'octets'
Alan T. DeKok [Mon, 18 Feb 2019 00:25:23 +0000 (19:25 -0500)]
remove unused assignment
Alan T. DeKok [Sun, 17 Feb 2019 21:27:09 +0000 (16:27 -0500)]
more comments
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
Alan T. DeKok [Sun, 17 Feb 2019 21:22:36 +0000 (16:22 -0500)]
fix a few minor issues, and add "apply" 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
Alan T. DeKok [Sun, 17 Feb 2019 13:44:56 +0000 (08:44 -0500)]
parse ethernet addresses into hash tables for "host"
Alan T. DeKok [Sun, 17 Feb 2019 13:31:35 +0000 (08:31 -0500)]
argv to value box
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`
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
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()
Alan T. DeKok [Sun, 17 Feb 2019 01:53:40 +0000 (20:53 -0500)]
remove unused entries
Alan T. DeKok [Sun, 17 Feb 2019 01:25:15 +0000 (20:25 -0500)]
allow filenames without '/'
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
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...
Alan T. DeKok [Sat, 16 Feb 2019 16:47:20 +0000 (11:47 -0500)]
added controllable debug, which is politer
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.
Alan T. DeKok [Fri, 15 Feb 2019 20:26:43 +0000 (15:26 -0500)]
add subjectaltname. Fixes #2491
Alan T. DeKok [Fri, 15 Feb 2019 00:20:58 +0000 (19:20 -0500)]
remove unnecessary doc
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
Jorge Pereira [Thu, 14 Feb 2019 21:50:35 +0000 (19:50 -0200)]
docker: Fix debconf warnings upon build
Alan T. DeKok [Thu, 14 Feb 2019 02:39:26 +0000 (21:39 -0500)]
word smithing
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
Matthew Newton [Wed, 13 Feb 2019 23:08:33 +0000 (23:08 +0000)]
radwtmp option is not mandatory
(see
81a75890219 )
Matthew Newton [Wed, 13 Feb 2019 12:31:51 +0000 (12:31 +0000)]
refresh debian name patch
Matthew Newton [Wed, 13 Feb 2019 11:53:07 +0000 (11:53 +0000)]
upstream libkqueue has been fixed to build correctly named Debian packages
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
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/*
Alan T. DeKok [Fri, 8 Feb 2019 22:26:15 +0000 (17:26 -0500)]
minor wordsmithing
Alan T. DeKok [Fri, 8 Feb 2019 22:22:28 +0000 (17:22 -0500)]
NULL is a C keyword, not a "NULL" string.
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
Matthew Newton [Tue, 12 Feb 2019 16:21:54 +0000 (16:21 +0000)]
fix zero-length printf format string
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
Arran Cudbard-Bell [Tue, 12 Feb 2019 14:35:46 +0000 (20:05 +0530)]
Merge branch 'master' into master
Arran Cudbard-Bell [Tue, 12 Feb 2019 13:46:47 +0000 (19:16 +0530)]
Manual merge of MySQL TLS support fixes. Closes #2482
Victor Kirhenshtein [Tue, 12 Feb 2019 12:17:03 +0000 (14:17 +0200)]
fixed errors in MySQL TSL support
Alan DeKok [Tue, 12 Feb 2019 02:45:59 +0000 (21:45 -0500)]
Merge pull request #2479 from jpereira/doc/update10
Some updates
Jorge Pereira [Mon, 11 Feb 2019 22:38:36 +0000 (20:38 -0200)]
Add missed ':toc:' call
Jorge Pereira [Mon, 11 Feb 2019 22:31:08 +0000 (20:31 -0200)]
Update raddb/mods-available/yubikey
Jorge Pereira [Mon, 11 Feb 2019 22:31:08 +0000 (20:31 -0200)]
Update raddb/mods-available/winbind
Jorge Pereira [Mon, 11 Feb 2019 22:31:08 +0000 (20:31 -0200)]
Update raddb/mods-available/wimax
Jorge Pereira [Mon, 11 Feb 2019 22:31:07 +0000 (20:31 -0200)]
Update raddb/mods-available/unpack
Jorge Pereira [Mon, 11 Feb 2019 22:31:07 +0000 (20:31 -0200)]
Update raddb/mods-available/unbound
Jorge Pereira [Mon, 11 Feb 2019 22:31:06 +0000 (20:31 -0200)]
Update raddb/mods-available/sradutmp
Jorge Pereira [Mon, 11 Feb 2019 22:31:06 +0000 (20:31 -0200)]
Update raddb/mods-available/sql
Jorge Pereira [Mon, 11 Feb 2019 22:31:06 +0000 (20:31 -0200)]
Update raddb/mods-available/soh
Jorge Pereira [Mon, 11 Feb 2019 22:30:47 +0000 (20:30 -0200)]
Update raddb/mods-available/sqlcounter
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