From nobody Fri Jun 14 12:49:27 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 4W0zd12CVsz5NpnM for ; Fri, 14 Jun 2024 12:49:41 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: from mail-io1-f47.google.com (mail-io1-f47.google.com [209.85.166.47]) (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 4W0zd10XqFz4PSW for ; Fri, 14 Jun 2024 12:49:41 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-io1-f47.google.com with SMTP id ca18e2360f4ac-7eb6ca2cd09so81942039f.2 for ; Fri, 14 Jun 2024 05:49:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718369379; x=1718974179; 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=vsW9lRc05D/HXexoq0/P2Z8FrtBgnDeZDNz/GIE7Fa0=; b=wpjMfRJVd23Y0Z5Q7SM1HZ3QE6w4QY8XdzwwytrxLQGljK79s9NX/+RXEDGANP0V8O 71BxqaYdXQroeY73DQsGjx8Y6ATCDrs2S+AsG0ESMFpcRM9YUAe7UIVp7l6g60GoKEgU tJZHB6zSE7RrjB/sSrEnxD889ZFexDN/h9EBVEodpV0oEas2LgpDWUuOLR1EhM9SUwZw EjB/Rxx340kYrxhMw/Z3RlvCQIAVNQ5SKGm2ddlKlLq26dnHVJDrJkFktXsy0JGShac6 EdF099T+6ClVPNzBd8R/mmvOas3rzy2/5eUdOSP0MsOsyPAU10cbkcCT1T0yw/RpOzix rOZw== X-Gm-Message-State: AOJu0Yxns15b7C0FXWscxp5hFreK2npqjvhJ7BA0HZ29pfi9w6RPhUYt S8mJRTPqzkbeykpG/9fti8owwtpnPN1BFVupMwdB9DwSfS65rG/l9VWr6f4wcrjpM6vsWqlXHwI MM2rxI4CABzqLTcG8y1LR8oNtxD0HFA== X-Google-Smtp-Source: AGHT+IEfwv0KRfqJoRoog1vc1o+45Cq1VwhZ3AROj+80E9W2+MTFbxKPatamX4DeoMICOBIfaOfBAMLxZYMpIYGR72Y= X-Received: by 2002:a05:6602:6c0f:b0:7eb:8709:51d6 with SMTP id ca18e2360f4ac-7ebeb65b5a3mr283976739f.19.1718369379207; Fri, 14 Jun 2024 05:49:39 -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: <202406131801.45DI1MZu045631@gndrsh.dnsmgr.net> In-Reply-To: <202406131801.45DI1MZu045631@gndrsh.dnsmgr.net> From: Ed Maste Date: Fri, 14 Jun 2024 08:49:27 -0400 Message-ID: Subject: Re: Discarding inbound ICMP REDIRECT by default To: "Rodney W. Grimes" Cc: 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: 4W0zd10XqFz4PSW > > > Discarding ICMP redirects on a internet host is non-conformant with > > > STD-3 via rfc-1122. Processing of ICMP rediects is a MUST for hosts. > > > > In that case our default of "auto" is non-conformant if you have a > > routing daemon. > > NO, because then your not subject to rfc-1122 as your now a router, > not a host. I would argue that having IP forwarding enabled (i.e. net.inet.ip.forwarding for IPv4) is what establishes FreeBSD as a router, and ICMP REDIRECT messages are already dropped in kernel in that case.