From nobody Mon Sep 13 01:00:23 2021 X-Original-To: freebsd-geom@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 26A1317BF718 for ; Mon, 13 Sep 2021 01:00:37 +0000 (UTC) (envelope-from jo@bruelltuete.com) Received: from email.jo-t.de (seppel.jo-t.de [45.132.244.126]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4H77Sg6S1hz4crp for ; Mon, 13 Sep 2021 01:00:35 +0000 (UTC) (envelope-from jo@bruelltuete.com) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=bruelltuete.com; s=bruelltuete18a; t=1631494828; bh=gjqCJVbC2GDdAkyc1OCkn2jN8PtnxkP7di2LsQ2D8Uw=; h=Message-ID:Date:MIME-Version:Subject:To:References:From:From; b=buPZmVqMjQycsBG1jMNHnBqU07dY1RMvl2CsUR+1aryiyZAJ7oHp0MsUq44+vUf9r 3Itxi68NVIDb2bFjVAdtsvLBj3SYghBVAyNL1YdCzDOnC/7eWWpbEEbml1eFM8TfeD LtPy69MpzDYIgUfJS7eDH9VzBNMPgF6vv807yrQpW85wTMOs+9sq3Ee2pnfQVbnsTh 7N3xSpJtXcZbgUV/fGG6N9gycAy3BVTSdJ01/0ZhHb48uPG49J4P80svRRrEYbbanV wYaN4Oarb2Sx5kNhPvm9/QB4ykSY/n1O1GK66HwJ2fASRgzDsZ4ioHbKHIB/0cMYue L0SDlBAZ02bpw== Message-ID: <31ac6be7-e438-00d0-b63a-b27b09ed5d58@bruelltuete.com> Date: Mon, 13 Sep 2021 02:00:23 +0100 List-Id: GEOM-specific discussions and implementations List-Archive: https://lists.freebsd.org/archives/freebsd-geom List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-geom@freebsd.org MIME-Version: 1.0 Subject: Re: RFC reviews for ggate and hastd Content-Language: en-GB To: jmg@funkthat.com References: <20210909223355.GE5928@funkthat.com> Cc: freebsd-geom@FreeBSD.org In-Reply-To: <20210909223355.GE5928@funkthat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4H77Sg6S1hz4crp X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bruelltuete.com header.s=bruelltuete18a header.b=buPZmVqM; dmarc=pass (policy=reject) header.from=bruelltuete.com; spf=pass (mx1.freebsd.org: domain of jo@bruelltuete.com designates 45.132.244.126 as permitted sender) smtp.mailfrom=jo@bruelltuete.com X-Spamd-Result: default: False [-3.96 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[bruelltuete.com:s=bruelltuete18a]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[bruelltuete.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[bruelltuete.com,reject]; NEURAL_HAM_SHORT(-0.96)[-0.964]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:197540, ipnet:45.132.244.0/22, country:DE]; MID_RHS_MATCH_FROM(0.00)[] Reply-To: jo@bruelltuete.com From: Johannes Totz via freebsd-geom X-Original-From: Johannes Totz X-ThisMailContainsUnwantedMimeParts: N On 09/09/2021 23:33, John-Mark Gurney wrote: > Johannes Totz via freebsd-geom wrote this message on Thu, Sep 02, 2021 at 21:55 +0100: >> (looks like gmane swallowed my 1st message, trying again) >> >> Hey folks, >> >> any ggate or hastd users here? I've got some code reviews for you. >> Please take a look if you get a chance: >> >> https://reviews.freebsd.org/D31727 >> Fix potential out-of-bounds read in the geom-gate kernel module. >> >> https://reviews.freebsd.org/D31722 >> Dynamically alloc buffers in ggatec, instead of assuming a fixed size on >> the stack. >> >> https://reviews.freebsd.org/D31709 >> Simple rc script to start ggated. > > I'll try to look at them. > > I've broken out the ggate code to: https://www.funkthat.com/gitea/jmg/ggate Nice, thanks! I noticed the http branch. One weekend toy project idea I wanted to get around to was to write a ggated impl that talks to Backblaze. > and have a number of fixes in that tree, one of them being having the > server (ggated) be multi-threaded, to improve IOPs. Another is dropping > the setting of tcp buffer sizes to allow the dynamic buffer sizing code > to work, allowing it to grow larger than 128kB for better perf on high > latency links.. > > In another branch, I have a version that runs the client over ssh using > sftp (requires a modified sftp-server for best performance, and security) > allowing for better security.. > > The ssh branch does have an rc.d script for that. I'll look at which one > should be used, and adapting the man page that I've written for that one > as well. > > Thanks for the help/work! >