From nobody Mon Oct 24 05:20:40 2022 X-Original-To: freebsd-net@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 4Mwk265B1Jz4gd4b; Mon, 24 Oct 2022 05:21:18 +0000 (UTC) (envelope-from freebsd@walstatt-de.de) Received: from smtp6.goneo.de (smtp6.goneo.de [85.220.129.31]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Mwk254KC6z3q5Q; Mon, 24 Oct 2022 05:21:17 +0000 (UTC) (envelope-from freebsd@walstatt-de.de) Received: from hub2.goneo.de (hub2.goneo.de [IPv6:2001:1640:5::8:53]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by smtp6.goneo.de (Postfix) with ESMTPS id ECBE610A32E1; Mon, 24 Oct 2022 07:21:09 +0200 (CEST) Received: from hub2.goneo.de (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by hub2.goneo.de (Postfix) with ESMTPS id 5E36510A32CF; Mon, 24 Oct 2022 07:21:08 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walstatt-de.de; s=DKIM001; t=1666588868; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=JjltwPWZ/R9kTT9qnLxBCA/otUmJJGDOpjTPq0O+6BU=; b=Vp8sErnlf98R2WByYoynLITweQVGvg72XX/c4eqI0Ua/53eWZi5DsjOhZBWPkT7XOKcPCO AePEft5XZcoYYqocmEFdgoin2bKojB3xbLGAon3nSuUNCYDebjlmtUmK+hyr/l7zhB0d7Q RYtYX4N62bSn8gvbTXouXFPrTQELMOdjvLLLEdD13e5Zt1D/gEovUauZeyFi9F+m1pNxh0 NJn2hMuVmRBKTgxvgtGnCPHKQF/r2oBbUYFEv+SyfBrKTW6ByBbtNJ666FCB5udf3urdeA P3tNqdBK21stClkmHHumG7cAR5eBZR8dwd2GiqpNcjgy7Bsr12achjU9oJhqww== Received: from thor.intern.walstatt.dynvpn.de (dynamic-077-191-058-066.77.191.pool.telefonica.de [77.191.58.66]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by hub2.goneo.de (Postfix) with ESMTPSA id 2BFA310A32C0; Mon, 24 Oct 2022 07:21:08 +0200 (CEST) Date: Mon, 24 Oct 2022 07:20:40 +0200 From: FreeBSD User To: freebsd-net@freebsd.org, FreeBSD CURRENT Subject: mpd5: Howto restart a connection from mpd5-console? Message-ID: <20221024072107.471684ea@thor.intern.walstatt.dynvpn.de> Organization: walstatt-de.de List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-UID: fa960d X-Rspamd-UID: d57969 X-Rspamd-Queue-Id: 4Mwk254KC6z3q5Q X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=walstatt-de.de header.s=DKIM001 header.b=Vp8sErnl; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd@walstatt-de.de has no SPF policy when checking 85.220.129.31) smtp.mailfrom=freebsd@walstatt-de.de X-Spamd-Result: default: False [-2.30 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.998]; R_DKIM_ALLOW(-0.20)[walstatt-de.de:s=DKIM001]; MIME_GOOD(-0.10)[text/plain]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org,freebsd-net@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; MIME_TRACE(0.00)[0:+]; DKIM_TRACE(0.00)[walstatt-de.de:+]; HAS_ORG_HEADER(0.00)[]; ASN(0.00)[asn:25394, ipnet:85.220.128.0/17, country:DE]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; TO_DN_SOME(0.00)[]; DMARC_NA(0.00)[walstatt-de.de]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N Hello, On recent FreeBSD 13-STABLE (FreeBSD 13.1-STABLE #129 n252824-84b4709f38f: Sat Oct 22 11:45:10 CEST 2022 amd64), restarting mpd5 with an active PPPOE connection crashes FreeBSD. We run a small home brewn FreeBSD based routing and firewalling instance based upon a PCengines APU2C4. Since our ISP is very rigid by resetting the line exactly after 24 hours, we prevent being reset in the middle of the day-to-day work by restarting the connection at night. So far, that worked now for a couple of years - until recently, the cause is unknown, possibly a bug in FBSD and/or mpd5. mpd5 is built on a local poudriere utilizing FreeBSD 13-STABLE as well, last try was to have mpd5 compiled with the same base of the OS as the router/firewall will run. Now I try to find a way how to restart gracefully via mpd5 console (script) the connection without restarting mpd5 and therefore not crashing the underlying system. Any tips? Thansk in advance, O. Hartmann -- O. Hartmann