From owner-freebsd-net@freebsd.org Fri Jul 10 00:39:44 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8C42935A825 for ; Fri, 10 Jul 2020 00:39:44 +0000 (UTC) (envelope-from SRS0=QZZD=AV=mail.sermon-archive.info=doug@sermon-archive.info) Received: from mail.sermon-archive.info (sermon-archive.info [71.177.216.148]) by mx1.freebsd.org (Postfix) with ESMTP id 4B2vM35nnHz3c2y; Fri, 10 Jul 2020 00:39:43 +0000 (UTC) (envelope-from SRS0=QZZD=AV=mail.sermon-archive.info=doug@sermon-archive.info) Received: from [10.0.1.251] (mini [10.0.1.251]) by mail.sermon-archive.info (Postfix) with ESMTPSA id 4B2vM20vg0z2fjyb; Thu, 9 Jul 2020 17:39:42 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.14\)) Subject: Re: making SCTP loadable and removing it from GENERIC From: Doug Hardie In-Reply-To: <814D36BF-46D9-4093-9D7C-36A79771C742@freebsd.org> Date: Thu, 9 Jul 2020 17:39:41 -0700 Cc: Mark Johnston , freebsd-net@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <380F73C8-1E0F-4FEC-BFEF-4D4DC04A849C@mail.sermon-archive.info> References: <20200709151300.GC8947@raichu> <63F4446F-DECF-4DE8-99CA-EC8755A5D4A1@mail.sermon-archive.info> <20200709201044.GG8947@raichu> <3DC5AC46-604E-4CB4-93EC-6421ED575DBB@mail.sermon-archive.info> <814D36BF-46D9-4093-9D7C-36A79771C742@freebsd.org> To: Michael Tuexen X-Mailer: Apple Mail (2.3445.104.14) X-Virus-Scanned: clamav-milter 0.101.4 at mail X-Virus-Status: Clean X-Rspamd-Queue-Id: 4B2vM35nnHz3c2y X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of SRS0=QZZD=AV=mail.sermon-archive.info=doug@sermon-archive.info designates 71.177.216.148 as permitted sender) smtp.mailfrom=SRS0=QZZD=AV=mail.sermon-archive.info=doug@sermon-archive.info X-Spamd-Result: default: False [-1.64 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.001]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; MV_CASE(0.50)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; R_SPF_ALLOW(-0.20)[+ip4:71.177.216.148]; DMARC_NA(0.00)[lafn.org: no valid DMARC record]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-1.01)[-1.013]; NEURAL_HAM_SHORT(-0.22)[-0.222]; FORGED_SENDER(0.30)[bc979@lafn.org,SRS0=QZZD=AV=mail.sermon-archive.info=doug@sermon-archive.info]; RCVD_NO_TLS_LAST(0.10)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:5650, ipnet:71.177.216.0/23, country:US]; FROM_NEQ_ENVFROM(0.00)[bc979@lafn.org,SRS0=QZZD=AV=mail.sermon-archive.info=doug@sermon-archive.info]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Jul 2020 00:39:44 -0000 > On 9 July 2020, at 14:45, Michael Tuexen wrote: >=20 >> On 9. Jul 2020, at 23:15, Doug Hardie wrote: >>=20 >> Actually, the users of these systems would have no clue about that = message. All they would figure out is that the system is down and they = can't do their job and bitch to the CEO. I am going to assume that that = error will be produced by the socket call and I have added code to check = for it and email me if it occurs. I believe that the only viable = approach for us is the rc.conf solution as some of these systems are = rhapsberry pi 3s which I understand don't use the loader.conf file. > OK. Do you control the kernel which is running on the machines? If = that is the case, > you could add a line to the kernel config, rebuild the kernel and use = that custom > kernel with compiled-in SCTP support. That is still possible. As best as I can tell, compiling a non-generic kernel may not be easily = done. The Pi's are not located anywhere near me and it would be = extremely difficult to deal with any kernel issues. I prefer to live = with generic kernels. Life has been much easer since I switched to = them. >>=20 >> One of the configurations we are considering is for each user to have = their own Rhapsberry Pi and eliminate the central server. All data is = replicated between all the machines so there is no need for a central = server anymore. If I can make that work, it would be a large cost = savings for my client. > If that gets rid of the need to use SCTP, that would also work. SCTP is the heart of the replication system. I had numerous problems = trying to get UDP to work. The record sizes can be up to 28 Mb. I = think it is theoretically possible to be even larger, but I have never = seen any over 28 Mb. SCTP handles that just fine. It also handles = multi-homing which we also use. -- Doug