From owner-freebsd-current@freebsd.org Thu Jul 9 14:28:50 2020 Return-Path: Delivered-To: freebsd-current@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 30BE636D015; Thu, 9 Jul 2020 14:28:50 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: from mail-qk1-x731.google.com (mail-qk1-x731.google.com [IPv6:2607:f8b0:4864:20::731]) (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 "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4B2dp91swmz46wN; Thu, 9 Jul 2020 14:28:49 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: by mail-qk1-x731.google.com with SMTP id j80so1960734qke.0; Thu, 09 Jul 2020 07:28:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:date:from:user-agent:mime-version:cc:subject:references :in-reply-to:content-transfer-encoding; bh=sG5wYAlXe84iBjoes/oy7sgqoGPlR8yXptxBgob4R2s=; b=DP4379Hh9cPuLRDXpd/qSy+VkFKSIKsQ8gBBLv5xocAkPlVHGgjtpsSbteJf3Mwx1A hE02qEXVHHuYGdD7dL5dc5bHHiGE50l8jFxljmzcmg91Txe7AUyc3s+GWFqroFdSihjS zkk1LP0qVDk2kd6KhR41LG8KLgJIwkIrn8knqgfKzPAEi+7qfJeVfnSdkPX3DExbufDd G//eXI+pUXqn63gvKf0lYurPJ+RBYmlL1ohsrEfNcrNV2V61kCTA/851fTllAjwC5xNk ad3YERzx7e7gvVcmHx2iRwbYZuN1M0pa9JLZuDDcGhZnbjcYMY7EIdwtna5bcdmv7cWl 5x3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:cc :subject:references:in-reply-to:content-transfer-encoding; bh=sG5wYAlXe84iBjoes/oy7sgqoGPlR8yXptxBgob4R2s=; b=EDUj1vYxERL5tHMs6c0hAx773r/Wrd4eORBR7cTb/Y4QELSagDZ7cIeNd1dFOlMmu0 F5AUZcvjB6H1b6I9fucwSGvbV4C70uTr7adRjz2DQTTxJXWfsX9gXI28/aAq/j7NR7/F rekK/h1cnfroI98TwcWAsTaq0Dcxn2WIcd0+ig6F8h9VgqX+Tb1DVTEXNPYe4w7ksfUn 69mzx153HlON0QwnOGYNa2HBC08w9UNt9iHsCehSzvKOiussBLKxKbfjmlna4tn+0kJk p4ryK9odAEEHo7fE1DwrCoGHh/cMGhnXokZ4MDlrKk6AubYUupxD6lnAkwXTiiBsl730 XE9g== X-Gm-Message-State: AOAM533FgqVIcTP8bVRtb+tliWPvMSOkWVwdFra2ycaboPlvke4gbwor sA+PWShJiuuuMr7foYydWcAC7xfU X-Google-Smtp-Source: ABdhPJxjuXAS4KarT5e4CmmeQJuoObQOIzKCotlzVX+L6hqPlTVe3QzQYCHdpInW6V2yiLzBJzv5WA== X-Received: by 2002:ae9:f119:: with SMTP id k25mr53357258qkg.388.1594304928178; Thu, 09 Jul 2020 07:28:48 -0700 (PDT) Received: from [10.0.10.8] (cpe-65-25-51-0.neo.res.rr.com. [65.25.51.0]) by smtp.googlemail.com with ESMTPSA id p66sm3694559qkf.58.2020.07.09.07.28.47 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 09 Jul 2020 07:28:47 -0700 (PDT) Message-ID: <5F0729A0.5060205@gmail.com> Date: Thu, 09 Jul 2020 10:28:48 -0400 From: Ernie Luzar User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 CC: "freebsd-questions@freebsd.org" , FreeBSD current Subject: Re: ipv6_ipfilter_rules= is obsolete ? References: <5F064B4F.5040006@gmail.com> <202007082334.068NY9QQ088738@gndrsh.dnsmgr.net> <20200709091228.1d07d6f5@ernst.home> In-Reply-To: <20200709091228.1d07d6f5@ernst.home> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4B2dp91swmz46wN X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=DP4379Hh; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of luzar722@gmail.com designates 2607:f8b0:4864:20::731 as permitted sender) smtp.mailfrom=luzar722@gmail.com X-Spamd-Result: default: False [-0.76 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; MISSING_TO(2.00)[]; NEURAL_HAM_SHORT(-0.82)[-0.822]; RECEIVED_SPAMHAUS_PBL(0.00)[65.25.51.0:received]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.92)[-0.921]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.02)[-1.018]; MIME_GOOD(-0.10)[text/plain]; SUBJECT_ENDS_QUESTION(1.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::731:from]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Jul 2020 14:28:50 -0000 Gary Jennejohn wrote: > On Thu, 9 Jul 2020 10:27:02 +0800 > Marcelo Araujo wrote: > >> Em qui., 9 de jul. de 2020 __s 07:34, Rodney W. Grimes < >> freebsd-rwg@gndrsh.dnsmgr.net> escreveu: >> >>>> In /etc/defaults/rc.conf I see this >>>> >>>> ipv6_ipfilter_rules="/etc/ipf6.rules" >>>> # rules definition file for ipfilter, >>>> # see /usr/src/contrib/ipfilter/rules for examples >>>> >>>> man 8 ipf says >>>> >>>> ipf -6 ipv4 and ipv6 rules are stored in a single table and can be read >>>> from a single file. This option is no longer required to load ipv6 rules. >>>> >>>> I interrupt this to mean that the ipv6_ipfilter_rules="/etc/ipf6.rules" >>>> line in /etc/defaults/rc.conf is obsolete and should be removed >>>> before RELEASE 13.0 is published for users to use. >>> Interesting, though I would not remove it. It should be marked as >>> depricated and the /etc/rc.d/ipfilter shell script updated to emit >>> a warning that it is depricated, but it should still be processed >>> to retain backwards compatibility and NOT lock someone out of a >>> system who has just done an upgrade to a newer version. >>> >> Do you mean deprecated or depricated? >> Got confused here! Sorry English is hard for non-native speakers. >> > > It's a typo - he meant deprecated. > This "retain backwards compatibility stuff" can be taken too far backwards. I think ipfilter first can out with NO ipv6 support, then ipv6 was added using 2 rule files, and later yet it was redesigned to use a single rules file. Talking about way back around RELEASE 4.0. Now ipfilter does not work with 2 rules files for a very long time. It's now time to clean up the old ipv6 only stuff so the documentation and /etc/rc.d/ipfilter boot script reflects how it works today. And another thing to point out is the ipfilter source code has been forked and is now under Freebsd maintainership.