CVS: cvs.openbsd.org: src

2018-12-26 Thread Damien Miller
CVSROOT:/cvs
Module name:src
Changes by: d...@cvs.openbsd.org2018/12/26 20:37:49

Modified files:
regress/usr.bin/ssh/unittests/kex: test_kex.c 

Log message:
ssh_packet_set_state() now frees ssh->kex implicitly, so don't
do explicit kex_free() beforehand



CVS: cvs.openbsd.org: src

2018-12-26 Thread Damien Miller
CVSROOT:/cvs
Module name:src
Changes by: d...@cvs.openbsd.org2018/12/26 20:25:25

Modified files:
usr.bin/ssh/ssh-keysign: Makefile 
usr.bin/ssh: atomicio.h kex.c kex.h kexc25519.c kexc25519c.c 
 kexc25519s.c kexdh.c kexdhc.c kexdhs.c 
 kexecdh.c kexecdhc.c kexecdhs.c kexgex.c 
 kexgexc.c kexgexs.c misc.c misc.h packet.c 
 ssh.c ssh.h ssh_api.c sshconnect.c sshconnect.h 
 sshconnect2.c sshd.c 

Log message:
move client/server SSH-* banners to buffers under ssh->kex and factor
out the banner exchange. This eliminates some common code from the
client and server.

Also be more strict about handling \r characters - these should only
be accepted immediately before \n (pointed out by Jann Horn).

Inspired by a patch from Markus Schmidt.
(lots of) feedback and ok markus@



CVS: cvs.openbsd.org: src

2018-12-26 Thread Eric Faurot
CVSROOT:/cvs
Module name:src
Changes by: e...@cvs.openbsd.org2018/12/26 13:13:43

Modified files:
usr.sbin/smtpd : aliases.c lka.c lka_session.c smtpd.h table.c 
 table_db.c table_getpwnam.c table_proc.c 
 table_static.c 

Log message:
reorder parameters for consistency



CVS: cvs.openbsd.org: src

2018-12-26 Thread Denis Fondras
CVSROOT:/cvs
Module name:src
Changes by: de...@cvs.openbsd.org   2018/12/26 11:32:38

Modified files:
sys/net: if_ethersubr.c 

Log message:
uncouple AF_MPLS and AF_INET

input and OK mpi@



CVS: cvs.openbsd.org: src

2018-12-26 Thread Eric Faurot
CVSROOT:/cvs
Module name:src
Changes by: e...@cvs.openbsd.org2018/12/26 10:37:15

Modified files:
usr.sbin/smtpd : ruleset.c 

Log message:
simplify code

ok gilles@



CVS: cvs.openbsd.org: src

2018-12-26 Thread Anton Lindqvist
CVSROOT:/cvs
Module name:src
Changes by: an...@cvs.openbsd.org   2018/12/26 09:14:59

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

Log message:
document kern.pool_debug; ok tedu@



CVS: cvs.openbsd.org: src

2018-12-26 Thread Eric Faurot
CVSROOT:/cvs
Module name:src
Changes by: e...@cvs.openbsd.org2018/12/26 08:55:09

Modified files:
usr.sbin/smtpd : lka_filter.c ruleset.c smtpd.h table.c 

Log message:
introduce a table_match() function to check for a key in a table

ok gilles@



CVS: cvs.openbsd.org: src

2018-12-26 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2018/12/26 08:11:04

Modified files:
lib/libcrypto/evp: c_all.c 

Log message:
Make AES CCM available in tables.
Omission reported by reyk and Alice Wonder.

ok bcook jsing



CVS: cvs.openbsd.org: src

2018-12-26 Thread Stuart Henderson
CVSROOT:/cvs
Module name:src
Changes by: st...@cvs.openbsd.org   2018/12/26 07:49:45

Modified files:
distrib/sets/lists/base: mi 

Log message:
sync



CVS: cvs.openbsd.org: src

2018-12-26 Thread Eric Faurot
CVSROOT:/cvs
Module name:src
Changes by: e...@cvs.openbsd.org2018/12/26 07:15:13

Modified files:
usr.sbin/smtpd : aliases.c lka.c lka_filter.c lka_session.c 
 ruleset.c smtpd.h table.c table_db.c 
 table_getpwnam.c table_proc.c table_static.c 

Log message:
get rid of the unused dict argument in table lookup and fetch api.

ok gilles@



CVS: cvs.openbsd.org: src

2018-12-26 Thread Denis Fondras
CVSROOT:/cvs
Module name:src
Changes by: de...@cvs.openbsd.org   2018/12/26 06:24:28

Modified files:
usr.sbin/bgpd  : rde.c 

Log message:
unbreak VPN routes installation into FIB

OK claudio@



CVS: cvs.openbsd.org: src

2018-12-26 Thread Eric Faurot
CVSROOT:/cvs
Module name:src
Changes by: e...@cvs.openbsd.org2018/12/26 04:53:02

Modified files:
usr.sbin/smtpd : smtpd.h table.c table_db.c table_getpwnam.c 
 table_proc.c table_static.c 

Log message:
move the table backend name in the backend struct.
remove unused function.

ok gilles@



CVS: cvs.openbsd.org: src

2018-12-26 Thread Frederic Cambus
CVSROOT:/cvs
Module name:src
Changes by: fcam...@cvs.openbsd.org 2018/12/26 04:33:57

Modified files:
sys/dev/rasops : rasops24.c 

Log message:
Remove the rasops24_erasecols and rasops24_eraserows functions from
rasops(9).

We only build rasops24 functions on amd64 (for EFI support in QEMU) and
on armv7 and arm64, and we can safely use the generic functions on those
platforms, like we do for all other color depths. No other platform uses
rasops24, Miod explains why here [1].

No performance regression observed when testing with QEMU in EFI mode.

[1] https://marc.info/?l=openbsd-ppc=118664346819989=2

OK kettenis@



CVS: cvs.openbsd.org: src

2018-12-26 Thread Gilles Chehade
CVSROOT:/cvs
Module name:src
Changes by: gil...@cvs.openbsd.org  2018/12/26 04:29:13

Modified files:
usr.sbin/smtpd : smtp_session.c 

Log message:
when passing message to filters, do not worry yet about handling DATA
errors as this requires more work and is caught on stream back anyways



CVS: cvs.openbsd.org: src

2018-12-26 Thread Ulf Brosziewski
CVSROOT:/cvs
Module name:src
Changes by: b...@cvs.openbsd.org2018/12/26 04:08:02

Modified files:
sys/dev/wscons : wstpad.c 

Log message:
Use estimates of speed to improve gesture detection.

ok mpi@ (to the concept)