CVS: cvs.openbsd.org: src

2019-04-18 Thread Darren Tucker
CVSROOT:/cvs
Module name:src
Changes by: dtuc...@cvs.openbsd.org 2019/04/18 23:47:44

Modified files:
usr.bin/ssh: ssh-keygen.1 

Log message:
Document new default RSA key size.  From sebastiaanlokhorst at gmail.com
via bz#2997.



CVS: cvs.openbsd.org: src

2019-04-18 Thread David Gwynne
CVSROOT:/cvs
Module name:src
Changes by: d...@cvs.openbsd.org2019/04/18 22:54:54

Modified files:
sys/net: if_gif.c 

Log message:
allow configuration of rxprio

ok claudio@



CVS: cvs.openbsd.org: src

2019-04-18 Thread David Gwynne
CVSROOT:/cvs
Module name:src
Changes by: d...@cvs.openbsd.org2019/04/18 22:36:12

Modified files:
sys/net: if_vlan.c if_vlan_var.h 

Log message:
add support for configuring rxprio.

vlan already used the 802.1p prio in packets to set the mbuf prio.
this maintains that as the default.

ok claudio@



CVS: cvs.openbsd.org: src

2019-04-18 Thread David Gwynne
CVSROOT:/cvs
Module name:src
Changes by: d...@cvs.openbsd.org2019/04/18 22:30:57

Modified files:
sbin/ifconfig  : ifconfig.8 

Log message:
rxprio.



CVS: cvs.openbsd.org: src

2019-04-18 Thread David Gwynne
CVSROOT:/cvs
Module name:src
Changes by: d...@cvs.openbsd.org2019/04/18 22:24:26

Modified files:
sbin/ifconfig  : ifconfig.c 

Log message:
add support for getting and setting rxprio

this complements txprio and should finish support for RFC 2983

ok claudio@



CVS: cvs.openbsd.org: src

2019-04-18 Thread David Gwynne
CVSROOT:/cvs
Module name:src
Changes by: d...@cvs.openbsd.org2019/04/18 22:22:09

Modified files:
sys/net: if.c 

Log message:
only root can change rxprio



CVS: cvs.openbsd.org: src

2019-04-18 Thread David Gwynne
CVSROOT:/cvs
Module name:src
Changes by: d...@cvs.openbsd.org2019/04/18 22:21:33

Modified files:
sys/sys: sockio.h 

Log message:
add SIOCSRXHPRIO and SIOCGRXHPRIO for configuring rx prio handling

this is the complement of txprio handling, and helps support RFC 2983.

ok claudio@



CVS: cvs.openbsd.org: src

2019-04-18 Thread David Gwynne
CVSROOT:/cvs
Module name:src
Changes by: d...@cvs.openbsd.org2019/04/18 22:15:32

Modified files:
sys/net: if.h 

Log message:
add IF_HDRPRIO_OUTER for rxprio

IF_HDRPRIO_OUTER says you want the priority from the outer encap header.

ok claudio@



CVS: cvs.openbsd.org: src

2019-04-18 Thread Ted Unangst
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2019/04/18 17:51:13

Modified files:
lib/libc/sys   : fsync.2 

Log message:
describe EIO failure state. noted by Maximilian Lorlacks



CVS: cvs.openbsd.org: src

2019-04-18 Thread Ted Unangst
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2019/04/18 17:44:21

Modified files:
lib/libevent   : min_heap.h 

Log message:
unfold some compound operations to make this easier to follow



CVS: cvs.openbsd.org: src

2019-04-18 Thread Klemens Nanni
CVSROOT:/cvs
Module name:src
Changes by: k...@cvs.openbsd.org2019/04/18 16:29:41

Modified files:
sbin/pfctl : pfctl_table.c 

Log message:
Always check for namespace collisions on table commands

`-t table -T add|replace ...' would only check for duplicate tables in case
addresses where actually to the table.

Instead of using a positive number of added addresses as prove for
successful table operations, rely on the fact that CREATE_TABLE() is
guaranteed to be called only if pf(4) can be accessed, that is
warn_duplicate_tables() will return.

This improves duplicate detection rate as warnings are now also emitted
even when table commands eventually leave tables unchanged.

OK benno sashan



CVS: cvs.openbsd.org: src

2019-04-18 Thread Klemens Nanni
CVSROOT:/cvs
Module name:src
Changes by: k...@cvs.openbsd.org2019/04/18 15:58:59

Modified files:
sbin/pfctl : parse.y 

Log message:
Fix table definition parsing as unprivileged user

revision 1.689 introduced warn_duplicate_tables() unconditionally, breaking
the parser on tables withs insufficient permissions to open pf(4):

$ echo 'table ' | pfctl -nf-
pfctl: pfr_get_tables: Bad file descriptor

So simply check whether pfctl is able to get the table list first.  If not,
instead of silently avoiding namespace collision checks, print a brief
notice iff `-v' is given to help finding duplicate definitions by hand:

$ echo 'table ' | ./obj/pfctl -vnf-
table 
stdin:1: skipping duplicate table checks for 

Reported by Rivo Nurges, thanks!
OK benno sashan



CVS: cvs.openbsd.org: src

2019-04-18 Thread Darren Tucker
CVSROOT:/cvs
Module name:src
Changes by: dtuc...@cvs.openbsd.org 2019/04/18 12:57:16

Modified files:
regress/usr.bin/ssh: cfgmatch.sh 

Log message:
Add tests for sshd -T -C with Match.



CVS: cvs.openbsd.org: src

2019-04-18 Thread Darren Tucker
CVSROOT:/cvs
Module name:src
Changes by: dtuc...@cvs.openbsd.org 2019/04/18 12:56:16

Modified files:
usr.bin/ssh: servconf.c servconf.h sshd.c 

Log message:
When running sshd -T, assume any attibute not provided by -C does not match,
which allows it to work when sshd_config contains a Match directive with or
without -C.  bz#2858, ok djm@



CVS: cvs.openbsd.org: src

2019-04-18 Thread Mike Larkin
CVSROOT:/cvs
Module name:src
Changes by: mlar...@cvs.openbsd.org 2019/04/18 12:51:34

Modified files:
sys/arch/amd64/amd64: vmm.c 

Log message:
vmm(4): whitespace fix



CVS: cvs.openbsd.org: src

2019-04-18 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2019/04/18 06:22:07

Modified files:
usr.bin/tmux   : cmd-show-options.c tmux.1 

Log message:
Copy the code to infer the option type to show-options and document it.



CVS: cvs.openbsd.org: src

2019-04-18 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2019/04/18 05:07:28

Modified files:
usr.bin/tmux   : cfg.c screen-write.c 

Log message:
Pass target client and session to load_cfg from source-file so formats
work. Reported by Thomas Sattler.



CVS: cvs.openbsd.org: src

2019-04-18 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2019/04/18 04:11:52

Modified files:
usr.bin/tmux   : server-client.c 

Log message:
Update session activity on focus event, from tafryn at gmail dot com.



CVS: cvs.openbsd.org: www

2019-04-18 Thread Solene Rapenne
CVSROOT:/cvs
Module name:www
Changes by: sol...@cvs.openbsd.org  2019/04/18 02:51:19

Modified files:
.  : cvsync.html 

Log message:
sync



CVS: cvs.openbsd.org: src

2019-04-18 Thread Darren Tucker
CVSROOT:/cvs
Module name:src
Changes by: dtuc...@cvs.openbsd.org 2019/04/18 01:32:57

Modified files:
usr.bin/ssh: Makefile.inc packet.c 
Removed files:
usr.bin/ssh: crc32.c crc32.h 

Log message:
Remove crc32.{c,h} which were only used by the now-gone SSH1 protocol.
Patch from yumkam at gmail.com, ok deraadt.



CVS: cvs.openbsd.org: www

2019-04-18 Thread Solene Rapenne
CVSROOT:/cvs
Module name:www
Changes by: sol...@cvs.openbsd.org  2019/04/18 01:10:27

Modified files:
build/mirrors  : cvsync.html.head 

Log message:
Use cmdbox css class

ok tb@
Thanks to Raf Czlonka for the diff