openbsd
6 years agotreat NOTIMP as NO_DATA in response to MX query: fallback to hostname lookup
eric [Wed, 26 Sep 2018 16:28:34 +0000 (16:28 +0000)]
treat NOTIMP as NO_DATA in response to MX query: fallback to hostname lookup
instead of bouncing the mail.

ok gilles@

6 years agoAdjust alignment in hostsprint()
kn [Wed, 26 Sep 2018 16:26:37 +0000 (16:26 +0000)]
Adjust alignment in hostsprint()

hostsprint() reserves only 16 columns for IPs and prints one whitespace too
many afterwards. Crank it up to 39 as per hostsaddrinfo() to align nicely.

OK millert

6 years agoRename AS_NONE to AS_UNDEF here as well. OK compiler & grep
claudio [Wed, 26 Sep 2018 15:48:47 +0000 (15:48 +0000)]
Rename AS_NONE to AS_UNDEF here as well. OK compiler & grep

6 years agoRename AS_NONE to AS_UNDEF, AS_NONE will be reused for a different purpose
claudio [Wed, 26 Sep 2018 15:48:01 +0000 (15:48 +0000)]
Rename AS_NONE to AS_UNDEF, AS_NONE will be reused for a different purpose
soon. OK compiler and grep

6 years agoSplit the disklabel regress into multiple tests. Move all code
bluhm [Wed, 26 Sep 2018 15:39:51 +0000 (15:39 +0000)]
Split the disklabel regress into multiple tests.  Move all code
into Makefile.  Verbose testing and failing early helps debugging.
Remove the disk image during cleanup to save space.
OK krw@

6 years agoSwitching bgpd to a default deny policy had one bad side-effect. Some
claudio [Wed, 26 Sep 2018 15:01:36 +0000 (15:01 +0000)]
Switching bgpd to a default deny policy had one bad side-effect. Some
withdraw were suddenly filtered out because the filter ran into the
default deny. So for this case (state == NULL) change action to default
allow. This bug was haunting bgpd for a while now causing prefixes to be
stuck for no obvious reason.
OK benno@, sthen@

6 years agoFix controller name.
visa [Wed, 26 Sep 2018 14:58:16 +0000 (14:58 +0000)]
Fix controller name.

6 years agoFix segfault in usermod -l by swapping one of the getpwnam(3) with
mestre [Wed, 26 Sep 2018 14:54:58 +0000 (14:54 +0000)]
Fix segfault in usermod -l by swapping one of the getpwnam(3) with
uid_from_user(3). This started happening a few days ago after the change to
the pwcache in libc.

OK millert@

6 years agoFix use-after-free by moving the free(3) of the configured interfaces to after
mestre [Wed, 26 Sep 2018 14:53:34 +0000 (14:53 +0000)]
Fix use-after-free by moving the free(3) of the configured interfaces to after
the eigrp instances on shutdown.

tried to contact renato@ but he didn't answer in almost 2 months
OK benno@ claudio@

6 years agoMove the allocating and freeing of mount points into
visa [Wed, 26 Sep 2018 14:51:44 +0000 (14:51 +0000)]
Move the allocating and freeing of mount points into
dedicated functions.

OK deraadt@ mpi@

6 years agoUse the same logic in trie_roa_check_v4 as in trie_roa_check_v6 when
claudio [Wed, 26 Sep 2018 14:47:20 +0000 (14:47 +0000)]
Use the same logic in trie_roa_check_v4 as in trie_roa_check_v6 when
checking that a source_as / maxlen combo actually fits.
Fixes regress test.

6 years agoInstead of checking that a segement is not of type AS_SET do the check
claudio [Wed, 26 Sep 2018 14:38:19 +0000 (14:38 +0000)]
Instead of checking that a segement is not of type AS_SET do the check
that it is actually AS_SEQUENCE. No functional change those are the only
two types bgpd supports here.

6 years agoIndent issue. No functional change
claudio [Wed, 26 Sep 2018 13:26:32 +0000 (13:26 +0000)]
Indent issue. No functional change

6 years agoMove bridge input/output paths outside of the KERNEL_LOCK().
mpi [Wed, 26 Sep 2018 11:50:42 +0000 (11:50 +0000)]
Move bridge input/output paths outside of the KERNEL_LOCK().

Tested by Hrvoje Popovski who measured a 30% improvement of forwarded
packets in the best case.

ok visa@

6 years agoAdd variables for setup and cleanup of regression tests.
bluhm [Wed, 26 Sep 2018 09:34:23 +0000 (09:34 +0000)]
Add variables for setup and cleanup of regression tests.
OK anton@ jca@ tb@ benno@

6 years agoexplicitly mention local processes; from geoff hill
jmc [Wed, 26 Sep 2018 09:22:52 +0000 (09:22 +0000)]
explicitly mention local processes; from geoff hill
ok nicm

6 years agoFix out file to be actually correct for the input file.
claudio [Wed, 26 Sep 2018 08:36:00 +0000 (08:36 +0000)]
Fix out file to be actually correct for the input file.

6 years agocall _sndio_parsenum() instead of duplicating the code in parsedev(); ok ratchov@
miko [Wed, 26 Sep 2018 08:33:22 +0000 (08:33 +0000)]
call _sndio_parsenum() instead of duplicating the code in parsedev(); ok ratchov@

6 years agoremove big ugly TODO comment from start of file. Some of the mentioned
djm [Wed, 26 Sep 2018 07:32:44 +0000 (07:32 +0000)]
remove big ugly TODO comment from start of file. Some of the mentioned
tasks are obsolete and, of the remainder, most are already captured in
PROTOCOL.mux where they better belong

6 years agoDocument mux proxy mode; added by Markus in openssh-7.4
djm [Wed, 26 Sep 2018 07:30:05 +0000 (07:30 +0000)]
Document mux proxy mode; added by Markus in openssh-7.4

Also add a little bit of information about the overall packet format

6 years agotypo; ok jmc@
miko [Wed, 26 Sep 2018 07:25:53 +0000 (07:25 +0000)]
typo; ok jmc@

6 years agoIncrease the timeout from previous commit further. Rather than warning
deraadt [Wed, 26 Sep 2018 03:05:53 +0000 (03:05 +0000)]
Increase the timeout from previous commit further.  Rather than warning
we have spun out (to which there are consequences), we should spin longer.
The BSP really wants the APs to finish.

6 years agorelated to the fsck changes, quotacheck must also determine & setup
deraadt [Wed, 26 Sep 2018 03:03:39 +0000 (03:03 +0000)]
related to the fsck changes, quotacheck must also determine & setup
unveil early on for the root filesystem.

6 years agoalign RETURN VALUES section with pledge manual; ok deraadt@
miko [Wed, 26 Sep 2018 02:54:34 +0000 (02:54 +0000)]
align RETURN VALUES section with pledge manual; ok deraadt@

6 years agos/process_mux_master/mux_master_process/ in mux master function names,
djm [Wed, 26 Sep 2018 01:48:57 +0000 (01:48 +0000)]
s/process_mux_master/mux_master_process/ in mux master function names,

Gives better symmetry with the existing mux_client_*() names and makes
it more obvious when a message comes from the master vs client (they
are interleved in ControlMaster=auto mode).

no functional change beyond prefixing a could of log messages with
__func__ where they were previously lacking.

6 years ago-T applies to ip6 too, apparently;
jmc [Tue, 25 Sep 2018 20:05:07 +0000 (20:05 +0000)]
-T applies to ip6 too, apparently;
from nan xiao

6 years agodocument HUP;
jmc [Tue, 25 Sep 2018 20:02:43 +0000 (20:02 +0000)]
document HUP;
based on a diff from katherine rohl, shortened by request of deraadt

6 years agoUse getnameinfo(2)
kn [Tue, 25 Sep 2018 19:51:39 +0000 (19:51 +0000)]
Use getnameinfo(2)

This simplifies the code, makes it less address family specific and plays
nicely with previously used getaddrinfo(2).

While here, make function parameter `const', sort stack variables by size
and nitpick PF_UNSPEC.

OK millert

6 years agousage() is void
kn [Tue, 25 Sep 2018 19:48:14 +0000 (19:48 +0000)]
usage() is void

OK tb

6 years agofix typo in comment
jasper [Tue, 25 Sep 2018 19:24:17 +0000 (19:24 +0000)]
fix typo in comment

ok beck@

6 years agosync
deraadt [Tue, 25 Sep 2018 16:11:53 +0000 (16:11 +0000)]
sync

6 years agoAllow panes to be 1 line or column by redrawing instead of using the
nicm [Tue, 25 Sep 2018 14:27:20 +0000 (14:27 +0000)]
Allow panes to be 1 line or column by redrawing instead of using the
scroll region, from Soeren Tempel in GitHub issue 1487.

6 years agosync
deraadt [Tue, 25 Sep 2018 13:55:18 +0000 (13:55 +0000)]
sync

6 years agoInsert a workaround for per-ifp ioctl being called w/o NET_LOCK().
mpi [Tue, 25 Sep 2018 13:46:44 +0000 (13:46 +0000)]
Insert a workaround for per-ifp ioctl being called w/o NET_LOCK().

An example of such code path is vlan_destroy() where we don't want to
grab the lock because this driver is already NET_LOCK()-free.

The real solution to this problem is to stop holding the NET_LOCK() around
driver *_ioctl() routines.

Problem reported & fix tested by Élie Bouttier, ok visa@, bluhm@

6 years agodisklabel(8) uses hw.physmem to calculate swap and /var sizes. This
bluhm [Tue, 25 Sep 2018 12:15:49 +0000 (12:15 +0000)]
disklabel(8) uses hw.physmem to calculate swap and /var sizes.  This
prevents reproduceable regression tests.  Recompile the disklabel
with a fixed memory size for this test.  Also adjust expected output
for recent /usr/obj and /usr/local size changes.
discussed with krw@

6 years agoFix loading of roa-sets in the RDE. From a much bigger diff but this
claudio [Tue, 25 Sep 2018 08:08:38 +0000 (08:08 +0000)]
Fix loading of roa-sets in the RDE. From a much bigger diff but this
goes in now since it fixes a real issue.

6 years agoWhen sending set_tables in the imsg use the right size. Currently the
claudio [Tue, 25 Sep 2018 07:58:11 +0000 (07:58 +0000)]
When sending set_tables in the imsg use the right size. Currently the
number of elements is used as size which is always wrong.

6 years agoSince each database that has the rpath promise only needs to access one
mestre [Tue, 25 Sep 2018 06:48:48 +0000 (06:48 +0000)]
Since each database that has the rpath promise only needs to access one
specific file (in read mode) we can add a 4th attribute to the struct getentdb
to define each of those files, except for group/hosts/passwd dbs which will be
assigned NULL to that attribute because all the necessary files they need to
open are already whitelisted through pledge(2) via either dns or getpw
promises.

With that set we can then check if the 4th attribute (called unveil) is not
NULL and in that case unveil(2) that specific file per each database.

After a discussion with millert@ regarding YP then deraadt@ chimed in referring
that when he wrote this code even though we can have YP mappings with several
of these dbs "it doesn't mean that things use it, or should, or will" so adding
unveil(2) here should not impact any YP environments.

OK millert@ deraadt@

6 years agoRemove initial pledge(2) that doesn't give us much protection since it's so
mestre [Tue, 25 Sep 2018 06:43:20 +0000 (06:43 +0000)]
Remove initial pledge(2) that doesn't give us much protection since it's so
short lived, we either go directly exiting the program or just a few lines
below we call pledge(2) again, where it actually should be, and with really
reduced promises. Next commit will restrict further access to the filesystem
through unveil(2).

OK deraadt@ kn@

6 years agounveil maildir, utmp, /tmp, and /dev. For the vast number of people
deraadt [Mon, 24 Sep 2018 22:56:54 +0000 (22:56 +0000)]
unveil maildir, utmp, /tmp, and /dev.  For the vast number of people
using biff.

6 years agounveil(2) is easy since this only uses one directory tree
deraadt [Mon, 24 Sep 2018 22:55:50 +0000 (22:55 +0000)]
unveil(2) is easy since this only uses one directory tree
(containing no exterior pointing symlinks), and a file.
In snaps for about 2 months.

6 years agounveil(2) in getty. This has been in snaps for more than 2 months,
deraadt [Mon, 24 Sep 2018 21:30:00 +0000 (21:30 +0000)]
unveil(2) in getty.  This has been in snaps for more than 2 months,
since I worry that a mistake in here will cause significant grief.

6 years agoAfter opening required descriptors, savecore only plays in one directory
deraadt [Mon, 24 Sep 2018 21:26:38 +0000 (21:26 +0000)]
After opening required descriptors, savecore only plays in one directory
so use unveil(2).

6 years agoUse unveil(2). These programs fit together in various strange ways,
deraadt [Mon, 24 Sep 2018 21:26:00 +0000 (21:26 +0000)]
Use unveil(2).  These programs fit together in various strange ways,
so if a problem is encountered with this the whole set needs backout
and study.

6 years agoPrevent ieee80211_get_txkey() from returning the integrity group temporal
stsp [Mon, 24 Sep 2018 20:14:59 +0000 (20:14 +0000)]
Prevent ieee80211_get_txkey() from returning the integrity group temporal
key (IGTK) if a node doesn't have management frame protection (MFP) enabled.
The IGTK is not initialized if MFP is disabled, so using it triggers this
panic in ieee80211_encrypt(): panic("invalid key cipher 0x%x", k->k_cipher)

(As far as I can tell, at present, MFP is never enabled.)

Problem reported and fix tested by tj@ on athn(4) hostap

6 years agosync host*() changes from bgpd
denis [Mon, 24 Sep 2018 18:14:39 +0000 (18:14 +0000)]
sync host*() changes from bgpd

OK kn@

6 years agoAllow to use the "tls" keyword on any relay action to force TLS, with
eric [Mon, 24 Sep 2018 16:14:34 +0000 (16:14 +0000)]
Allow to use the "tls" keyword on any relay action to force TLS, with
strict certificate validation.  The "no-verify" becomes optional.

ok gilles@ millert@ semarie@

6 years agoOnly include pane status in minimum size if it is turned on, GitHub
nicm [Mon, 24 Sep 2018 15:29:56 +0000 (15:29 +0000)]
Only include pane status in minimum size if it is turned on, GitHub
issue 1480.

6 years agoTurn carp_ourether() mp-safe, this is a requirement for taking bridge(4)
mpi [Mon, 24 Sep 2018 12:25:52 +0000 (12:25 +0000)]
Turn carp_ourether() mp-safe, this is a requirement for taking bridge(4)
out of the KERNEL_LOCK().

ok visa@, bluhm@

6 years agoenable futex(2) based mutexes on armv7 and use futex based semaphores in
jsg [Mon, 24 Sep 2018 11:25:09 +0000 (11:25 +0000)]
enable futex(2) based mutexes on armv7 and use futex based semaphores in
librthread on armv7 as well
from brad ok visa@ kettenis@ mpi@

6 years agosync
fcambus [Mon, 24 Sep 2018 11:11:44 +0000 (11:11 +0000)]
sync

6 years agoAdd "Spleen 5x8" to wsfont, a font targetted at small OLED displays
fcambus [Mon, 24 Sep 2018 11:10:34 +0000 (11:10 +0000)]
Add "Spleen 5x8" to wsfont, a font targetted at small OLED displays
to be used with devices handled by ssdfb(4). It contains all printable
ASCII characters (96 glyphes).

The font is 2-Clause BSD licensed and is my original creation.

OK patrick@

6 years agobump for LibreSSL 2.8.1
bcook [Sun, 23 Sep 2018 17:52:40 +0000 (17:52 +0000)]
bump for LibreSSL 2.8.1

6 years agoDocument bufferevent_setwatermark(). Initial diff from Geoff Hill on tech@ with
anton [Sun, 23 Sep 2018 08:56:19 +0000 (08:56 +0000)]
Document bufferevent_setwatermark(). Initial diff from Geoff Hill on tech@ with
some tweaks.

With feedback and ok jmc@

6 years agoadd 6.5 syspatch public key
robert [Sun, 23 Sep 2018 03:54:47 +0000 (03:54 +0000)]
add 6.5 syspatch public key

6 years agoRemap the UEFI buffer early such that we can use a write combining mapping
kettenis [Sat, 22 Sep 2018 17:41:52 +0000 (17:41 +0000)]
Remap the UEFI buffer early such that we can use a write combining mapping
which speeds things up considerably compared to an uncached mapping.

ok deraadt@

6 years agoOnly clear the character backing store when the RI_CLEAR flag is set.
kettenis [Sat, 22 Sep 2018 17:40:57 +0000 (17:40 +0000)]
Only clear the character backing store when the RI_CLEAR flag is set.

ok deraadt@

6 years agoRemove unused Table_size define and digits() function.
millert [Sat, 22 Sep 2018 17:10:28 +0000 (17:10 +0000)]
Remove unused Table_size define and digits() function.

6 years agoUse user_from_uid() and uid_from_user() directly. The wrappers
millert [Sat, 22 Sep 2018 16:50:35 +0000 (16:50 +0000)]
Use user_from_uid() and uid_from_user() directly.  The wrappers
in username.c are now so simple there is no longer a good reason
to use them.  OK deraadt@

6 years agoAdd a comment on the acceptable RSASSA cases.
tb [Sat, 22 Sep 2018 15:53:38 +0000 (15:53 +0000)]
Add a comment on the acceptable RSASSA cases.

6 years agogather statistics in checkAead{Open,Seal}() as well.
tb [Sat, 22 Sep 2018 14:12:47 +0000 (14:12 +0000)]
gather statistics in checkAead{Open,Seal}() as well.

6 years agoBack out the following if_iwm.c revisions:
stsp [Sat, 22 Sep 2018 13:55:55 +0000 (13:55 +0000)]
Back out the following if_iwm.c revisions:

r1.232 Fix length checks in the receive path of iwm(4)
r1.230 Add monitor mode support to iwm(4)
r1.229 Implement Rx of multiple frames per interrupt in the iwm(4) driver

There is an apparent block-ack problem (base.tgz takes 8 hours to download)
which goes away when these changes are reverted. To be revisited after release.

ok deraadt@

6 years agoremove some unneeded checks
tb [Sat, 22 Sep 2018 13:42:46 +0000 (13:42 +0000)]
remove some unneeded checks

6 years agogather and print some statistics on the acceptable cases we need to
tb [Sat, 22 Sep 2018 11:00:25 +0000 (11:00 +0000)]
gather and print some statistics on the acceptable cases we need to
look into

6 years agoEnable USB bwfm(4) on macppc RAMDISK as well, matching GENERIC.
stsp [Sat, 22 Sep 2018 10:12:42 +0000 (10:12 +0000)]
Enable USB bwfm(4) on macppc RAMDISK as well, matching GENERIC.
Passes 'make release' build.

6 years agoHarmonize spacing after ellipses in displayed messages.
fcambus [Sat, 22 Sep 2018 09:12:36 +0000 (09:12 +0000)]
Harmonize spacing after ellipses in displayed messages.

We were using spacing after ellipses in an inconsistent way in the
installer. Standardize on using "... " everywhere and take into account
the cursor position while we are waiting for the task to complete: the
cursor is now always positioned after the last dot, and the space is
added when displaying completion confirmation.

While there, also take cursor position into account in vfs_shutdown(),
and remove the extra leading space before ticks in dhclient.

OK deraadt@

6 years agomore flags printing
tb [Sat, 22 Sep 2018 06:06:36 +0000 (06:06 +0000)]
more flags printing

6 years agoCorrect the uid_from_user() and gid_from_group() comments.
millert [Sat, 22 Sep 2018 02:47:23 +0000 (02:47 +0000)]
Correct the uid_from_user() and gid_from_group() comments.

6 years agoRevert previous. It broke /etc/rc.
visa [Sat, 22 Sep 2018 02:20:44 +0000 (02:20 +0000)]
Revert previous. It broke /etc/rc.

Prompted by kn@

6 years agofix uid -> username lookup
procter [Sat, 22 Sep 2018 02:18:19 +0000 (02:18 +0000)]
fix uid -> username lookup
ok deraadt@

6 years agoimprove logic involving acceptableAudit
tb [Sat, 22 Sep 2018 00:29:13 +0000 (00:29 +0000)]
improve logic involving acceptableAudit

6 years agoSwap order of "action" and "wt.Flags" in a few fmt.Printfs.
tb [Sat, 22 Sep 2018 00:14:37 +0000 (00:14 +0000)]
Swap order of "action" and "wt.Flags" in a few fmt.Printfs.

6 years agoIntroduce a couple of convenience targets to help with auditing the
tb [Sat, 22 Sep 2018 00:10:18 +0000 (00:10 +0000)]
Introduce a couple of convenience targets to help with auditing the
acceptable cases.

6 years agoPrint the flags field in INFO: and FAIL: messages. It's helpful in
tb [Fri, 21 Sep 2018 23:16:16 +0000 (23:16 +0000)]
Print the flags field in INFO: and FAIL: messages. It's helpful in
identifying the important failures while auditing.

6 years agosync host*() changes from pfctl
kn [Fri, 21 Sep 2018 20:45:50 +0000 (20:45 +0000)]
sync host*() changes from pfctl

This simplifies host() and merges host_v{4,6}() into host_ip() as recently
done for pfctl and ntpd.

Tested and OK denis, OK deraadt, "go ahead" benno

6 years agoUse password/group cache functions and avoid stashing a pointer to
millert [Fri, 21 Sep 2018 19:13:49 +0000 (19:13 +0000)]
Use password/group cache functions and avoid stashing a pointer to
the return value of getgrgid(3) or getgrnam(3) which relies on
undefined behavior.  The rdist server will now use getgroups(2) to
determine group membership of the invoking user.  In addition, there
is now one implementation of tilde expansion instead of two.
OK tb@ tim@

6 years agoUse password/group cache functions and avoid stashing a pointer to
millert [Fri, 21 Sep 2018 19:00:45 +0000 (19:00 +0000)]
Use password/group cache functions and avoid stashing a pointer to
the return value of getgrgid(3) or getgrnam(3) which relies on
undefined behavior.  The rdist server will now use getgroups(2) to
determine group membership of the invoking user.  In addition, there
is now one implementation of tilde expansion instead of two.
OK tb@ tim@

6 years agoStop displaying vfsconf reference counts so that the vfc_refcount field
visa [Fri, 21 Sep 2018 14:31:29 +0000 (14:31 +0000)]
Stop displaying vfsconf reference counts so that the vfc_refcount field
can be removed from struct mount.

As a result of this diff, arrays vfsname[] and vfsvars[] are indexed
by filesystem typenum. This makes the vfs_typenums[] array redundant.

OK bluhm@ mpi@

6 years agoIncrease /usr/local max size to 20 GB in default template
solene [Fri, 21 Sep 2018 14:07:34 +0000 (14:07 +0000)]
Increase /usr/local max size to 20 GB in default template
ok krw@ deraadt@ jca@

6 years agoAdd explanations about vmctl send command
solene [Fri, 21 Sep 2018 14:04:37 +0000 (14:04 +0000)]
Add explanations about vmctl send command

ok jmc@ jca@ mlarkin@
mdoc tip from bentley@

6 years agoAllow ssh_config ForwardX11Timeout=0 to disable the timeout and allow
djm [Fri, 21 Sep 2018 12:46:22 +0000 (12:46 +0000)]
Allow ssh_config ForwardX11Timeout=0 to disable the timeout and allow
X11 connections in untrusted mode indefinitely. ok dtucker@

6 years agoEnable bwfm(4) in GENERIC on macppc.
stsp [Fri, 21 Sep 2018 12:42:34 +0000 (12:42 +0000)]
Enable bwfm(4) in GENERIC on macppc.
Tested by Christian Hammerschmidt.

6 years agowhen compiled with GSSAPI support, cache supported method OIDs by
djm [Fri, 21 Sep 2018 12:23:17 +0000 (12:23 +0000)]
when compiled with GSSAPI support, cache supported method OIDs by
calling ssh_gssapi_prepare_supported_oids() regardless of whether
GSSAPI authentication is enabled in the main config.

This avoids sandbox violations for configurations that enable GSSAPI
auth later, e.g.

Match user djm
GSSAPIAuthentication yes

bz#2107; ok dtucker@

6 years agoIn sshkey_in_file(), ignore keys that are considered for being too
djm [Fri, 21 Sep 2018 12:20:12 +0000 (12:20 +0000)]
In sshkey_in_file(), ignore keys that are considered for being too
short (i.e. SSH_ERR_KEY_LENGTH). These keys will not be considered to
be "in the file". This allows key revocation lists to contain short
keys without the entire revocation list being considered invalid.

bz#2897; ok dtucker

6 years agoBoth AS 23456 and AS 0 are reserved and can nor be used. Extend check for
claudio [Fri, 21 Sep 2018 08:17:15 +0000 (08:17 +0000)]
Both AS 23456 and AS 0 are reserved and can nor be used. Extend check for
AS 0 and adjust yyerror message to print the right number.
With input and OK denis@

6 years ago6.5 firmware key
sthen [Fri, 21 Sep 2018 08:17:04 +0000 (08:17 +0000)]
6.5 firmware key

6 years agobetter yyerror messages. "syntax error" is generally not very helpful.
claudio [Fri, 21 Sep 2018 08:15:33 +0000 (08:15 +0000)]
better yyerror messages. "syntax error" is generally not very helpful.
OK denis@

6 years agoupdate rtwn;
jmc [Fri, 21 Sep 2018 06:06:56 +0000 (06:06 +0000)]
update rtwn;

6 years agoBasic testing of roa-sets.
claudio [Fri, 21 Sep 2018 05:14:07 +0000 (05:14 +0000)]
Basic testing of roa-sets.

6 years agoMove setting of the PREFIXSET_FLAG_OPS higher up since prefixset_item rule
claudio [Fri, 21 Sep 2018 05:13:35 +0000 (05:13 +0000)]
Move setting of the PREFIXSET_FLAG_OPS higher up since prefixset_item rule
is now also used by roa-set. Also set the prefix operation for roa-set
items to OP_NONE since that what it actually needs to be.

6 years agoAdd some more prefix-set test cases. Mainly to test edge cases in the RB
claudio [Fri, 21 Sep 2018 05:06:30 +0000 (05:06 +0000)]
Add some more prefix-set test cases. Mainly to test edge cases in the RB
tree implementation now used.

6 years agoImplement code to parse, print and reload roa-set tables.
claudio [Fri, 21 Sep 2018 04:55:27 +0000 (04:55 +0000)]
Implement code to parse, print and reload roa-set tables.
This is sharing a lot of code with prefixset which makes all a bit easier.
A roa-set is defined like this:
roa-set "test2" {
  1.2.3.0/24 source-as 1,
  1.2.8.0/22 maxlen 24 source-as 3
}
No support for acting on this data yet.
Put it in deraadt@, OK benno@, input and OK denis@

6 years agoTreat connections with ProxyJump specified the same as ones with a
djm [Fri, 21 Sep 2018 03:11:36 +0000 (03:11 +0000)]
Treat connections with ProxyJump specified the same as ones with a
ProxyCommand set with regards to hostname canonicalisation (i.e.
don't try to canonicalise the hostname unless CanonicalizeHostname
is set to 'always').

Patch from Sven Wegener via bz#2896

6 years agoU-Boot 2018.05 and later will attempt to load a dtb for PocketBeagle if
jsg [Fri, 21 Sep 2018 02:21:53 +0000 (02:21 +0000)]
U-Boot 2018.05 and later will attempt to load a dtb for PocketBeagle if
the hardware is detected.  Add this to the miniroot/ramdisk.
requires dtb 4.18

U-Boot 2018.09 and later will load a dtb for 'SanCloud BeagleBone
Enhanced' if required which will be in dtb 4.19 after linux 4.19 is
released and can be added then.

6 years agomention RTL8188EE support
jmatthew [Fri, 21 Sep 2018 02:14:37 +0000 (02:14 +0000)]
mention RTL8188EE support

6 years agoAdd support for RTL8188EE.
jmatthew [Fri, 21 Sep 2018 01:45:53 +0000 (01:45 +0000)]
Add support for RTL8188EE.

This needs a new firmware image, which should be added to the rtwn
firmware package shortly.

testing and lots of help from kevlo@
ok kevlo@ stsp@

6 years agoadd missing braces implied by indentation
jsg [Fri, 21 Sep 2018 01:33:55 +0000 (01:33 +0000)]
add missing braces implied by indentation
ok millert@ claudio@

6 years agoactually make CASignatureAlgorithms available as a config option
djm [Thu, 20 Sep 2018 23:40:16 +0000 (23:40 +0000)]
actually make CASignatureAlgorithms available as a config option

6 years agomerge unbound 1.8.0
sthen [Thu, 20 Sep 2018 23:15:39 +0000 (23:15 +0000)]
merge unbound 1.8.0

6 years agoimport unbound 1.8.0, tested by myself and benno@
sthen [Thu, 20 Sep 2018 23:14:36 +0000 (23:14 +0000)]
import unbound 1.8.0, tested by myself and benno@