From nobody Fri Jun 14 14:57:13 2024 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 4W12SR01qXz5P0jZ for ; Fri, 14 Jun 2024 14:57:27 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: from mail-il1-f181.google.com (mail-il1-f181.google.com [209.85.166.181]) (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-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4W12SQ59r9z4dnq for ; Fri, 14 Jun 2024 14:57:26 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-il1-f181.google.com with SMTP id e9e14a558f8ab-375e555e13bso1865075ab.0 for ; Fri, 14 Jun 2024 07:57:26 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718377045; x=1718981845; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=8eP/g+AKHH8/hwm1oN300dlCZDE4b0+SIaCnBBu12F8=; b=NWvRN/h+/fiYsWmnfRilmasY4YoCplfD7mKxXLvtpAjtZgpzzLtYzQ3XIH/p7mMgbb tAkRztsyJmWhp8fSCmu3M+Mq2rVW7uluPU/d9Xn1vlzG2K2AzmpSkXhCQtJ8i94k4CHS yF5l2JMR6OXIuw+lNoa/TneSaC3mrc7q6Id8sTBwUwDlNIm2bkBG5aU24zDpJiUAK3xZ hIem92FI+ARD7WLnBN4EG5mJHTQKvGxlRXUEN9LSHTQfsQe1ccJALoE9ZUP+ffemXrX0 /v1MGq9yQ/RKYJgZrq7kBJJKcAMRXbVNVlScje3nWsa5g8ZlN1t3MIcqx718MGQJjrvJ sc1Q== X-Forwarded-Encrypted: i=1; AJvYcCUOrSli8PxD0jU9+VRlAtaEyBSTTUZ2LWzsOb2VobrIrVeKTGs+3bRwqbT9bRtyucOc5by5lOMiGzLvC1wVlUnfkdb7nc9Zgw== X-Gm-Message-State: AOJu0YyZm1oBklMQDbdy/jgftsV9oZJAxBqdJJNF3zwn/0KITsI8pZqf j9VR1kgf2g3fInW1h7EkRlgA0w/x89kJnebb1XHGq6CppgjmTGQ3UpiXnGSF26Kchd4eubx+0Pp uS9OPgkvo+vSJe2ON1DL47TgMXvYk1A== X-Google-Smtp-Source: AGHT+IHzm3VAX8dAYACuEUAiWkLfuMIoRBJDMY17hanP9/fKr3HHi3DHljNPTRWBiDdf6hzlskv8Z6mbFiFziS86++0= X-Received: by 2002:a05:6e02:ecc:b0:375:d9e5:fe24 with SMTP id e9e14a558f8ab-375d9e5ff97mr29767855ab.9.1718377045283; Fri, 14 Jun 2024 07:57:25 -0700 (PDT) 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 References: <202406141357.45EDv686049428@gndrsh.dnsmgr.net> In-Reply-To: <202406141357.45EDv686049428@gndrsh.dnsmgr.net> From: Ed Maste Date: Fri, 14 Jun 2024 10:57:13 -0400 Message-ID: Subject: Re: Discarding inbound ICMP REDIRECT by default To: "Rodney W. Grimes" Cc: Chris , freebsd-net@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US] X-Rspamd-Queue-Id: 4W12SQ59r9z4dnq On Fri, 14 Jun 2024 at 09:57, Rodney W. Grimes wrote: > > I am not sure that it would "hang" the port, but by ignoring the > rediect your going to place additional burden on the router that > is trying to redirect you as all packets would have to be forwarded > by that router. I suppose it could hang you if infact the router > sent the redirect but did not forward the packet for you expecting > that a retransmission with your updated routing table due to the > redirect would get the flow going. The router is required to forward the packet (RFC1812); if an ICMP REDIRECT is necessary it is sent as the final step in unicast forwarding.