From nobody Mon Aug 14 20:33:51 2023 X-Original-To: dev-commits-src-main@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 4RPmMS1QtHz4mKSK; Mon, 14 Aug 2023 20:33:56 +0000 (UTC) (envelope-from flo@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RPmMS0q9Pz4QqS; Mon, 14 Aug 2023 20:33:56 +0000 (UTC) (envelope-from flo@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1692045236; 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: in-reply-to:in-reply-to:references:references:autocrypt:autocrypt; bh=pWRbLRUp8Z6NFcxyQ2fSG7DSEaq1NCP8ACp/wcfhQe8=; b=qyn8CMLy2Y1O4N2y+PZGLQOFU5jVqGivH4q2BdSCSLpxtGjuA0WMF6bLb+sDNHuAe2je5+ nSxPScuasHz5fcAkdFmyA9w8mG2O8pT+OkKDlGSYYVWoWf2O/z+EqdNQgAQETabI5lo1N8 XK7iAj4ROtGbb7afAJgoVfT6QhbgspOj2iTImu/XVcJGJXPRI3uPU9aazuy527NxHt0bYC ffiI2J45iif9UnINw4z3stxv25J7NRlDLLZVtHmmPcoAE/z+BDefePUkE3JTDZOw9i2Mk7 freumLogLdq29ptI5E/sZB2pvlbAELQeiXJEcBSe55eG9hYa/AM17ijvesgeIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1692045236; 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: in-reply-to:in-reply-to:references:references:autocrypt:autocrypt; bh=pWRbLRUp8Z6NFcxyQ2fSG7DSEaq1NCP8ACp/wcfhQe8=; b=eaUDAjo08N8PTCWUqkem+WG+qUSt1tGU9mLSr7YzqN7ZHwZEprZNgrUSmC2Hej9GtY7jgf Jlc8w2TYrYD7iM8/xiBWkZApMZqrD9Y4wkRf0XtDbxDCC4yUFhWXxbJXR5VW+m0W628fiN Bw+yupPuaPQVwumkmfcUr+QmALK8tHEe4Jltpcv+ghIRH6ahvQqytLsNx3XAPzR4cYA5ag giA7H1yLsPe0L4rWxxaRKHjNATpt6fC140ItvnqHS5u8VIl+DE4sUVfQcg11CuQDxrF3y5 DhySVBUNeihD0XtwYRYJEWdsAako46QUebtnnxErZ8qSShC2ITTT7dZ9VS5scA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1692045236; a=rsa-sha256; cv=none; b=f3VTwS+mSwkB0i4MZdbE2GbhLbnv9r9b2205eq+kYoEDqAzcYPMPcDIDUzGvQLLGvWBLYN F05SGP5YC1iYQjD9LdbDCutyeBHx7D1gVjQMLpmZhB73tdimB9WaZhTeOIH30dSbQ7i6Aa UhyXfCNDp6GvwGzLXf5nd0x2jkyck06wl5rHjWohbLVuA+WWnx9DEpLjh1uVIASoY7nsMd RMy0fn0uRM2JWPex3Y75PXZuYKVPdswafsfKjFSLVHjBaQj2GQbDvlCpQNwG2719chVo84 6zNAUGTNiq/6l8a5kP6Vf8XXj/9L2LH1PoMx9fa/rcov/kURDrgjjgVQRNJ0uA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from [IPV6:2a01:4f8:10a:fd43::666] (unknown [IPv6:2a01:4f8:10a:fd43::666]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: flo/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4RPmMR0mdNz1r8; Mon, 14 Aug 2023 20:33:54 +0000 (UTC) (envelope-from flo@FreeBSD.org) Message-ID: <5c546e4e-5637-4582-867c-a87d306bb3d8@FreeBSD.org> Date: Mon, 14 Aug 2023 22:33:51 +0200 List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 User-Agent: Thunderbird Daily Subject: Re: git: e3ba0d6adde3 - main - inpcb: do not copy so_options into inp_flags2 Content-Language: en-US To: Gleb Smirnoff , src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org References: <202307270351.36R3pa8o060603@gitrepo.freebsd.org> From: Florian Smeets Autocrypt: addr=flo@smeets.xyz; keydata= xsFNBFpyBwsBEADLq0c46orEtbMn4SptX+VJxR1wB4YwaErZme1bqF4nZHIhlRNET22HsHdQ doagaB4uACq0Rj5kHcu614ZnnNkLPyCxWQATx+cbdiFO4/hfT8tAvKnBtiy3awKJ5uGCNO2E zJwXW6KwdDA8XPRySqN8m1yPl+dW0Cls+/vO/QL/6+YLMupmEpSvFxRzAZTQuKyX4+xl+dYI d24JiPd1yfCuDNOY3+OZ3QBMT00u/699N8lUWRtiTwaQMwAOww8r/26YM6/SgcgFuLH2E/CV plY0sDvfoISlAj8agxdomNXfPjCMQ6w5yGZmA+huFpPCVBTi3on/SWgbQO7dLVpN4BNPuScP osCb/dsOg0S74zCClsIU3gdUGh9rwJY00/Ebid6V0R3c1Czwbg8LQedzlGDuXYXmzp6W2ujg r1cqbUD6lUWikUv2IMdCbb8MxYhHLi3GYUs5Xpi+W7vM6T45KbuMr7O/1SjtcGOlNeDvGNgj cDk20fOgPPZ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K1nrSyR BwzcMbYW4PS5px4c/RSsdVIcyhQLQ084c1ak9cDImiyU9pZhHnvNIdp84qfEWXOrXtWSUfUy Ej0npK9vAjKH4Vrfakw+WtRrleFC/muTSu1FfskeBphts9gk0fox1VZ+pWMLsxwsKlpgCqhC FzpN5ey+hsawjbOA8X2KJjl2Lr7fYuvmxu/FOgRxPhiO08UMkFAIlHWn+sXivGTbxZxagGos zOr6MZmKT31IcU1WqY3EIjA/ZodDkBz/cT8se4hvh5whroRuGUGfcp5KmVUJhkCvSxnVwMYz 4uDpr8I+TYWU+LnJbIBZcHs8wvNuaSMLd9CLS/4Mi2bJDRvAdmReOwiIxzzxdirXq7KkaA== In-Reply-To: <202307270351.36R3pa8o060603@gitrepo.freebsd.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 27.07.23 05:51, Gleb Smirnoff wrote: > The branch main has been updated by glebius: > > URL: https://cgit.FreeBSD.org/src/commit/?id=e3ba0d6adde3c694f46a30b3b67eba43a7099395 > > commit e3ba0d6adde3c694f46a30b3b67eba43a7099395 > Author: Gleb Smirnoff > AuthorDate: 2023-07-27 03:35:41 +0000 > Commit: Gleb Smirnoff > CommitDate: 2023-07-27 03:35:42 +0000 > > inpcb: do not copy so_options into inp_flags2 > > Since f71cb9f74808 socket stays connnected with inpcb through latter's > lifetime and there is no reason to complicate things and copy these > flags. > > Reviewed by: markj > Differential Revision: https://reviews.freebsd.org/D41198 Hi Gleb, this commit is causing issues on my mail server. Some incoming connections would just hang, email would stay in the queue of the remote server for hours. Repeated telnet/nc to port 25 would just hang. Some connections do come trough though. I wasn't able to determine a pattern. I'm running postfix 3.8.1 in a bhyve VM and forward port 25 using pf. rdr pass on $ext_if proto tcp from any to 88.x.y.53 port 25 -> 10.211.11.3 port 25 The packets do arrive in the VM, but for some reason the packets aren't accepted. There are no firewalls enabled in the VM itself. 19:47:50.857299 IP 5.x.y.18.34283 > 10.211.11.3.25: Flags [S], seq 65535, win 0, length 0 19:47:51.573109 IP 5.x.y.18.33457 > 10.211.11.3.25: Flags [S], seq 65535, win 0, length 0 19:47:52.702420 IP 5.x.y.18.35528 > 10.211.11.3.25: Flags [S], seq 65535, win 0, length 0 19:47:55.856822 IP 5.x.y.18.34283 > 10.211.11.3.25: Flags [S], seq 65535, win 0, length 0 flo@mail:~ % netstat -an|grep 5.x.y.18 flo@mail:~ % sockstat -l -p 25 -P tcp USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS postfix postscreen 980 6 tcp4 *:25 *:* postfix postscreen 980 7 tcp6 *:25 *:* root master 973 13 tcp4 *:25 *:* root master 973 14 tcp6 *:25 *:* vtnet0: flags=1008843 metric 0 mtu 1500 options=80028 ether 58:9c:fc:0e:ca:cb inet 10.211.11.3 netmask 0xffffff00 broadcast 10.211.11.255 I'm now running head from today with only e3ba0d6adde3 reverted, and everything is working fine again. I also verified that unmodified a43e7a96b64e works, but this commit does not. For some reason I did not notice any other ill effect with http(s) or ssh sessions to VMs on this server, but most of them are v6 and not NATed. What else do you need to debug this? Florian