vmd(8): add MTU feature support to vionet device

2021-05-23 Thread Dave Voutila
The following diff adds in virtio 1.1's VIRTIO_NET_F_MTU feature support to vmd(8)'s virtio networking device. This allows for communicating an MTU to the guest driver and then enforcing it in the emulated device. When the feature is offered, per Virtio v1.1, 5.1.4.1 [1]: "The device MUST NOT

vio.4: mention support provided by vmd(8)

2021-05-23 Thread Dave Voutila
Seems only right that vio.4 mention it's the driver used for the virtio networking device provided by vmd(8). OK? Index: vio.4 === RCS file: /cvs/src/share/man/man4/vio.4,v retrieving revision 1.15 diff -u -p -r1.15 vio.4 --- vio.4

relayd client certificate validation

2021-05-23 Thread rivo nurges
Hi! Here comes the support for relayd client certificate validation. Full certificate chain, subject and issuer can be passed over in http headers. It supports mandatory validation, optional validation(if client chooses to provide certificate it will be validated) and no validation(cert is

Re: ftpd(8): remove useless islower(3) in upper()

2021-05-23 Thread Greg Steuck
Jan Klemkow writes: > ping? > > On Thu, May 13, 2021 at 04:45:14PM +0200, Jan Klemkow wrote: >> ping? >> >> On Sat, May 01, 2021 at 11:19:56AM +0200, Jan Klemkow wrote: >> > Hi, >> > >> > This cleanup diff, removes a useless if islower(3) from the loop. It is >> > guarantee by toupper(3) that

Re: ftpd(8): remove double fflush(3) calls

2021-05-23 Thread Greg Steuck
Jan Klemkow writes: > ping? > > On Thu, May 13, 2021 at 04:44:23PM +0200, Jan Klemkow wrote: >> ping? >> >> On Wed, May 05, 2021 at 04:42:49PM +0200, Jan Klemkow wrote: >> > Hi, >> > >> > The function lreply() already calls fflush(3) on stdout. So, this calls >> > are useless. >> > >> > OK?

Re: Diff for www:OpenBSD/plus69

2021-05-23 Thread Dave Voutila
Fixed. Thanks. On Sat, May 15, 2021 at 9:20 AM wrote: > > Hi, > > Here a diff for www page: OpenBSD/plus69 > > Isn't it a typo? (I'm not sure) > > Right? > > > Index: plus69.html > === > RCS file: /cvs/www/plus69.html,v >

Re: vmd(8): skip inspecting non-udp packets on local ifs

2021-05-23 Thread Mike Larkin
On Sat, May 22, 2021 at 10:20:37AM -0400, Dave Voutila wrote: > tech@ & krw (since your code in question was imported to vmd), > > I found strange behavior running tcpbench(1) to measure the connection > between a vmd guest and my host, as well as guest-to-guest. In short, > it's some bogus logic

Re: amd64: softintr_dispatch: remove kernel lock

2021-05-23 Thread Visa Hankala
On Sat, May 22, 2021 at 02:23:57PM +, Visa Hankala wrote: > On Sat, May 22, 2021 at 02:33:47PM +0200, Mark Kettenis wrote: > > > Date: Sat, 22 May 2021 11:11:38 + > > > From: Visa Hankala > > > > > > On Wed, May 19, 2021 at 05:11:09PM -0500, Scott Cheloha wrote: > > > > Hi, > > > > > >

Re: smtp: more tls options

2021-05-23 Thread Theo Buehler
On Sat, May 22, 2021 at 04:08:55PM +0200, Eric Faurot wrote: > The new -T option in smtp(1) allows to plug more TLS parameters easily. > For completeness and consistency, this diff adds the following: > > cafile=: override the default root certificates > nosni: disable SNI completely >