From owner-freebsd-net@freebsd.org Thu Oct 31 16:09:04 2019 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 B41F415E168 for ; Thu, 31 Oct 2019 16:09:04 +0000 (UTC) (envelope-from mail-server-administrator-update@mail321.linkpc.net) Received: from rdp.32-b.it (rdp.32-b.it [72.18.198.151]) by mx1.freebsd.org (Postfix) with ESMTP id 473qy81nkDz4WNW for ; Thu, 31 Oct 2019 16:09:04 +0000 (UTC) (envelope-from mail-server-administrator-update@mail321.linkpc.net) From: Mail Update To: freebsd-net@freebsd.org Subject: Account Confirmation Required Date: 31 Oct 2019 09:09:04 -0700 Message-ID: <20191031090904.76979385292FC2F2@mail321.linkpc.net> MIME-Version: 1.0 X-Rspamd-Queue-Id: 473qy81nkDz4WNW X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.67 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.994,0]; R_DKIM_ALLOW(-0.20)[mail321.linkpc.net:s=default]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:72.18.198.151:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; HAS_LIST_UNSUB(-0.01)[]; RCPT_COUNT_ONE(0.00)[1]; DKIM_TRACE(0.00)[mail321.linkpc.net:+]; DMARC_POLICY_ALLOW(-0.50)[mail321.linkpc.net,reject]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; IP_SCORE(0.33)[asn: 26277(1.70), country: US(-0.05)]; ASN(0.00)[asn:26277, ipnet:72.18.198.0/24, country:US]; MID_RHS_MATCH_FROM(0.00)[] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Oct 2019 16:09:04 -0000 Our service will be terminated in a shortly time due to the=20 recent suspicious spamming activities we detected VERIFY NOW (=C2=A0https://telfermag.ru/tmp/index.php?email=3Dfreebsd-net@freebsd.org= =C2=A0)=20 Confirm your account to continue using our service to avoid=20 account disruption From owner-freebsd-net@freebsd.org Thu Oct 31 19:53:51 2019 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 5B89D164821 for ; Thu, 31 Oct 2019 19:53:51 +0000 (UTC) (envelope-from vit@otcnet.ru) Received: from mail.otcnet.ru (mail.otcnet.ru [194.190.78.3]) by mx1.freebsd.org (Postfix) with ESMTP id 473wxT68yCz3GrZ; Thu, 31 Oct 2019 19:53:49 +0000 (UTC) (envelope-from vit@otcnet.ru) Received: from MacBook-Gamov.local (unknown [195.91.148.145]) by mail.otcnet.ru (Postfix) with ESMTPSA id 6BA4D71D07; Thu, 31 Oct 2019 22:53:42 +0300 (MSK) Subject: Re: icmp v4 redirect timeout To: "Andrey V. Elsukov" , freebsd-net@freebsd.org, "Alexander V. Chernikov" References: <1259e1c9-596f-c379-b58c-b44e76bf963e@otcnet.ru> <7f003ef5-7e28-d179-5319-eb52a674f2b1@yandex.ru> From: Victor Gamov Organization: OstankinoTelecom Message-ID: <279cbbe6-f848-cfac-8db1-cc8ac83abbd9@otcnet.ru> Date: Thu, 31 Oct 2019 22:53:41 +0300 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:68.0) Gecko/20100101 Thunderbird/68.2.0 MIME-Version: 1.0 In-Reply-To: <7f003ef5-7e28-d179-5319-eb52a674f2b1@yandex.ru> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 473wxT68yCz3GrZ X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of vit@otcnet.ru designates 194.190.78.3 as permitted sender) smtp.mailfrom=vit@otcnet.ru X-Spamd-Result: default: False [-5.52 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.997,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+a:mail.otcnet.ru]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[otcnet.ru]; TO_DN_SOME(0.00)[]; HAS_ORG_HEADER(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; IP_SCORE(-3.32)[ip: (-8.75), ipnet: 194.190.78.0/24(-4.37), asn: 50822(-3.50), country: RU(0.01)]; FREEMAIL_TO(0.00)[yandex.ru]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:50822, ipnet:194.190.78.0/24, country:RU]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Oct 2019 19:53:51 -0000 On 25/10/2019 14:36, Andrey V. Elsukov wrote: > On 22.10.2019 17:30, Victor Gamov wrote: >> Hi All >> >> I discover the following problem: FreeBSD host install route recived by >> ICMP-redirect from default GW and this route is permanents. >> >> >> In my case FreeBSD 192.168.1.10/24 has 192.168.1.254 as default gateway. >> This network has interconnection with remote network 192.168.88.0/24 via >> some other gateways -- 192.168.1.199 + 192.168.1.195 for example.  All >> gateways  using OSPF to exchange routing info. >> >> 192.168.1.10 send packet destined to remote network (192.168.88.0/24) to >> default gateway 192.168.1.254, receive ICMP-redirect and install route >> to 192.168.88.0/24 via 192.168.1.199.  Then 192.168.1.199 off for some >> reason but 192.168.1.10 never know about it because route installed via >> 192.168.1.199 is permanent. >> >> I see net.inet6.icmp6.redirtimeout in my FreeBSD 11.2-STABLE #0 r339734 >> and I think this sysctl set timeout for routes installed via >> ICMP-redirects (route deletes after this timeout?). >> >> Is it possible to get such sysctl for ipv4 ? > > I think expiring doesn't work for IPv6 too. At least, I didn't find > related code from a quick look. So, there are no ways to install route received via ICMP-redirect for specific time not permanent? More general question: is it possible to install temporary route which expired by internal in-kernel timer ? -- CU, Victor Gamov