From owner-freebsd-current@freebsd.org Thu Jul 9 12:40:40 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 BC52936A010; Thu, 9 Jul 2020 12:40:40 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: from mail-qk1-x744.google.com (mail-qk1-x744.google.com [IPv6:2607:f8b0:4864:20::744]) (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 4B2bPM4BQMz40DL; Thu, 9 Jul 2020 12:40:39 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: by mail-qk1-x744.google.com with SMTP id k18so1575397qke.4; Thu, 09 Jul 2020 05:40:39 -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:to:cc:subject :references:in-reply-to:content-transfer-encoding; bh=sG5wYAlXe84iBjoes/oy7sgqoGPlR8yXptxBgob4R2s=; b=vF6thMQVroYuPUSCDzB5+8NIYiLFG5kZqBPITqNWxM27lL5aJZe2H+4Z0fAGbMYxET BW5AKD0eTioYhO+51RQ/LGZuboe7pKbP2/RSfxexWoA6h2+U0GZRjyjfRH9gpHFQ64W/ X53gc935GpIDTHhIh0cOdMdPpJrx6u1C2ktt1Li3HR0vOdwRt7wFqSYXwK1iUeEZC+fT KJ1aMOH7WOmJbaZaCn86bdBHghEiUYjoe3pT0g0B3MySp9T+5u4YiVBXYagEiwZ4xugZ RPgdrA9F3FSoqxMHQ005u6QUKig3V/WbjvQLq1YU05B81GlM/SkGpOL4PT/K94AvbalY o3Pw== 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:to :cc:subject:references:in-reply-to:content-transfer-encoding; bh=sG5wYAlXe84iBjoes/oy7sgqoGPlR8yXptxBgob4R2s=; b=O+5LN7wiF2j6bbsdVE8FI/Spz4Dc6BjNHShXDZIIhnQ57E7tq9k+oaVNxDNfjsb9mz djJ34Sy2TM5QAOGSsr3TdL1vyTWIxuVzZ2Azh8+shKIcjawuSWrR9htZ1h5FwSvfuKY2 nSMZc4FVCqKEicgz7+wTt+JbN04uAXgJQpDuYwpQrnO5XqhucYSG1dEfjTy0dDc1r0GZ IuJv0tgaPzB6gPnrPFBnNI+7U88Nq6XAmj/cw9cDv/gUo+cieav0YBOp58pUoEgjhXca A9Z/JrQz2ATWPHrNvhQlaKJ1u1vdNVvmccGBDXwh3Sp62YxznkaDIdB91flmlTfpNhBF EuGg== X-Gm-Message-State: AOAM533IxES2ooY6C50Hwejpjl7iCx5PE9Xsq9xZQEV8jNx1cxQWFk99 Ds8dERDC3WCGuLkwdrTbTx7USkzGXIc= X-Google-Smtp-Source: ABdhPJyMxtarDC+exHSL8Pa7JN5LYoRpRyl68FqTGvVOtUTg+JvJm8A6xwfw1bkFJdGHkE0v31H4mg== X-Received: by 2002:a37:a04b:: with SMTP id j72mr62471769qke.328.1594298438398; Thu, 09 Jul 2020 05:40:38 -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 l67sm3689712qkd.7.2020.07.09.05.40.37 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 09 Jul 2020 05:40:37 -0700 (PDT) Message-ID: <5F071046.8000604@gmail.com> Date: Thu, 09 Jul 2020 08:40:38 -0400 From: Ernie Luzar User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: gljennjohn@gmail.com CC: Marcelo Araujo , araujo@freebsd.org, "Rodney W. Grimes" , "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: 4B2bPM4BQMz40DL X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=vF6thMQV; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of luzar722@gmail.com designates 2607:f8b0:4864:20::744 as permitted sender) smtp.mailfrom=luzar722@gmail.com X-Spamd-Result: default: False [-2.32 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; RCPT_COUNT_FIVE(0.00)[6]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-0.33)[-0.335]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; SUBJECT_ENDS_QUESTION(1.00)[]; 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.99)[-0.989]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; RECEIVED_SPAMHAUS_PBL(0.00)[65.25.51.0:received]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-0.997]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::744:from]; FREEMAIL_CC(0.00)[gmail.com,freebsd.org,gndrsh.dnsmgr.net]; 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 12:40:40 -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.