From owner-freebsd-ports@freebsd.org Mon Nov 18 21:22:41 2019 Return-Path: Delivered-To: freebsd-ports@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 07FF01CA0B9 for ; Mon, 18 Nov 2019 21:22:41 +0000 (UTC) (envelope-from mwlucas@mail.mwl.io) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 47H23h5S0Pz4YfF for ; Mon, 18 Nov 2019 21:22:40 +0000 (UTC) (envelope-from mwlucas@mail.mwl.io) Received: by mailman.nyi.freebsd.org (Postfix) id BB0821CA0B8; Mon, 18 Nov 2019 21:22:40 +0000 (UTC) Delivered-To: ports@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 BAC8C1CA0B7 for ; Mon, 18 Nov 2019 21:22:40 +0000 (UTC) (envelope-from mwlucas@mail.mwl.io) Received: from mail.mwl.io (mail.mwl.io [IPv6:2001:19f0:5401:1eb3:5400:1ff:fef9:2ab9]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47H23g6dWSz4YfD for ; Mon, 18 Nov 2019 21:22:39 +0000 (UTC) (envelope-from mwlucas@mail.mwl.io) Received: from mail.mwl.io (localhost [127.0.0.1]) by mail.mwl.io (8.15.2/8.15.2) with ESMTP id xAILMWn1010973 for ; Mon, 18 Nov 2019 16:22:32 -0500 (EST) (envelope-from mwlucas@mail.mwl.io) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=michaelwlucas.com; s=mwl; t=1574112152; bh=vwfeN12eZxvxl3iBgqLKKJE5+mxhK1lKCIAReJuMDPY=; h=Date:From:To:Subject; b=amvPeRY5/TWa9rfnv782iOdZ7TfYqRA/KSqAagkYEa3SzjPamqx6m+WIThnkOrRfA v+D5h/HNKZN5SX134yQubfRziS7NUV85PqffVbxtS7bKJ/cPPwWFdILG24bR5Ahn0U WNYf8pyGXT90r1F6Pb5zZOoQPfmusuOtbsT1DTwmarNlM4c5AEIZGt/YlwGwuB5quH GwL2+lYoaVNJUkfF1eNRcKV9DhPQFM9UheGkMvEQYUwBwf8/1buo1pxcsoM3Wq8KM9 MXaG0hk3v48puropwYxYRVqqQ2S5ahIMJqdhk1X0njIaoVWkH9j/5MxQA/LRu0b4jH 0+MHYZAxgjh1Q== Received: (from mwlucas@localhost) by mail.mwl.io (8.15.2/8.15.2/Submit) id xAILMWeU010955 for ports@freebsd.org; Mon, 18 Nov 2019 16:22:32 -0500 (EST) (envelope-from mwlucas) Date: Mon, 18 Nov 2019 16:22:32 -0500 From: "Michael W. Lucas" To: ports@freebsd.org Subject: net-snmp crash Message-ID: <20191118212232.GA4543@mail.mwl.io> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.12.2 (2019-09-21) X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.2 (mail.mwl.io [127.0.0.1]); Mon, 18 Nov 2019 16:22:32 -0500 (EST) X-Rspamd-Queue-Id: 47H23g6dWSz4YfD X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=michaelwlucas.com header.s=mwl header.b=amvPeRY5; dmarc=none; spf=none (mx1.freebsd.org: domain of mwlucas@mail.mwl.io has no SPF policy when checking 2001:19f0:5401:1eb3:5400:1ff:fef9:2ab9) smtp.mailfrom=mwlucas@mail.mwl.io X-Spamd-Result: default: False [-2.18 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.89)[-0.892,0]; R_DKIM_ALLOW(-0.20)[michaelwlucas.com:s=mwl]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.94)[-0.939,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[ports@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; DMARC_NA(0.00)[michaelwlucas.com]; DKIM_TRACE(0.00)[michaelwlucas.com:+]; R_SPF_NA(0.00)[]; FORGED_SENDER(0.30)[mwlucas@michaelwlucas.com,mwlucas@mail.mwl.io]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:20473, ipnet:2001:19f0:5400::/38, country:US]; FROM_NEQ_ENVFROM(0.00)[mwlucas@michaelwlucas.com,mwlucas@mail.mwl.io]; IP_SCORE(-0.35)[asn: 20473(-1.67), country: US(-0.05)]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Nov 2019 21:22:41 -0000 Hi, I can reliably crash net-snmp with an snmpset. Worth a formal bug report? $ uname -a FreeBSD freebsdtest 12.0-RELEASE-p10 FreeBSD 12.0-RELEASE-p10 GENERIC amd64 $ pkg info net-snmp net-snmp-5.7.3_20,1 Name : net-snmp Version : 5.7.3_20,1 Installed on : Wed Oct 9 15:22:24 2019 EDT ... Detail: $ sysctl net.inet.ip.forwarding net.inet.ip.forwarding: 0 $ snmpget freebsd IP-MIB::ipForwarding.0 IP-MIB::ipForwarding.0 = INTEGER: notForwarding(2) $ snmpset freebsd IP-MIB::ipForwarding.0 i 1 Timeout: No Response from freebsd Yep, the agent is dead: $ pgrep snmpd $ The sysctl change took place, however: $ sysctl net.inet.ip.forwarding net.inet.ip.forwarding: 1 I can restart the agent and reverse the change, but snmpd crashes again. So: worth a bug report, or no? ==ml -- Michael W. Lucas https://mwl.io/ author of: Absolute OpenBSD, SSH Mastery, git commit murder, Immortal Clay, PGP & GPG, Absolute FreeBSD, etc, etc, etc...