CVS: cvs.openbsd.org: src

2017-11-12 Thread Martin Pieuchot
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2017/11/13 00:16:35

Modified files:
sys/netinet6   : frag6.c 

Log message:
Remove 18 year old #if 0.

ok visa@, benno@



CVS: cvs.openbsd.org: www

2017-11-12 Thread Theo Buehler
CVSROOT:/cvs
Module name:www
Changes by: t...@cvs.openbsd.org2017/11/12 23:42:06

Modified files:
.  : books.html 

Log message:
apue 3rd edition appeared way back in 2013.

diff from mazo comp



CVS: cvs.openbsd.org: src

2017-11-12 Thread David Gwynne
CVSROOT:/cvs
Module name:src
Changes by: d...@cvs.openbsd.org2017/11/12 18:24:09

Modified files:
sys/net: pf.c 

Log message:
remove the ability for pf_ouraddr to say that a packet is forwarded.

having pf_ouraddr say a packet is forwarded let's in_ouraddr avoid
doing a route lookup for the packet. however, because it is forwarded
we need to do a route lookup in ip_output anyway to know where it
goes.

in_ouraddr does a bunch of extra checks on the result of the route
lookup that ip_output does not do though, including special handling
of ip_directedbroadcast and M_BCAST. if you have directed broadcast
enabled and do not do these checks, the ethernet layer will loop a
copy of broadcast packets back into the stack recursively which
can blow the thread stack in the kernel.

discussed with jmatthew@, sashan@, and henning@
ok mpi@

diagnosing this led to the enabling of a guard page on amd64 kernel
stacks, which was necessary for correctly identifying this problem.



CVS: cvs.openbsd.org: src

2017-11-12 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2017/11/12 14:58:00

Modified files:
etc: netstart 

Log message:
Remove HN_DIR variable and expand it in the only place it was used. It
currently serves no purpose.

ok rpe, agreement from deraadt and halex



CVS: cvs.openbsd.org: www

2017-11-12 Thread Landry Breuil
CVSROOT:/cvs
Module name:www
Changes by: lan...@cvs.openbsd.org  2017/11/12 12:16:08

Modified files:
.  : want.html 

Log message:
better specs now that i looked deeper..



CVS: cvs.openbsd.org: xenocara

2017-11-12 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2017/11/12 10:10:12

Modified files:
app/xenodm/xenodm: error.c session.c 

Log message:
xdm -> xenodm in log and error messages



CVS: cvs.openbsd.org: src

2017-11-12 Thread Martin Pieuchot
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2017/11/12 07:11:15

Modified files:
sys/net: pfkeyv2.c if.c 

Log message:
Only use a single taskq to process incoming network packets as soon as
IPsec is enabled.

This is currently a no-op since we still use a single taskq.  But it
will allows us to experiment with multiple forwarding threads and the
PF_LOCK() without having to fix IPsec at the same time.

ok sashan@, visa@



CVS: cvs.openbsd.org: src

2017-11-12 Thread Kenneth R Westerback
CVSROOT:/cvs
Module name:src
Changes by: k...@cvs.openbsd.org2017/11/12 04:18:50

Modified files:
sbin/dhclient  : dhclient.c 

Log message:
Clone epoch value in clone_lease(), not manually.



CVS: cvs.openbsd.org: www

2017-11-12 Thread Theo de Raadt
CVSROOT:/cvs
Module name:www
Changes by: dera...@cvs.openbsd.org 2017/11/12 01:33:37

Modified files:
.  : events.html 
Added files:
papers : bsdtw.pdf 

Log message:
bsdtw is over