From owner-freebsd-net@freebsd.org Wed Jun 19 07:14:34 2019 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CFA3415D4662; Wed, 19 Jun 2019 07:14:34 +0000 (UTC) (envelope-from andrnils@gmail.com) Received: from mail-lf1-x129.google.com (mail-lf1-x129.google.com [IPv6:2a00:1450:4864:20::129]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) 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 6EB9A809CF; Wed, 19 Jun 2019 07:14:33 +0000 (UTC) (envelope-from andrnils@gmail.com) Received: by mail-lf1-x129.google.com with SMTP id y198so11270069lfa.1; Wed, 19 Jun 2019 00:14:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=U0syaAuiag1hNnR8xPtuq3gSJq0UXxY55VrHBi4Q9Vw=; b=F7vV/QEDc+kUFv52UCz/oePTpulfI11B/IXyY7IUbIJTi1gGTH0Qwhqsj/+03P6o/u S09HmMaXu/L6x+yzbF7jJdhbnKcFHOSNP6QbRjLAWViagFp2BfR5Hh5NFQuP2H3Sz0km Ttj8CoURJrospgBzuJSATj/8Fb0rCGg0EykuxjqLmfp3U6RQexHfMFwc8Jzi3I/ugJC2 5w8pi2K9eDTzW1a43B4SIzVuVUJUOj99K7679DPkz+3hhcB0DiU9mOTlrPoFt0YuZ1FV XzNJq13KLPtxv5zOy7SxnmMYIyyifdb+Clqkab/QDaDW2lT4ZuAHvHZvdsVw51mGIf7T C+Jg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=U0syaAuiag1hNnR8xPtuq3gSJq0UXxY55VrHBi4Q9Vw=; b=R3Ruse3r+wOUH5AbojsXYN97PNFhjToEoqWh6cDz6AGMg4VrobjYCy5kNfR6p9exZH kB0o+Li8i/bl5yEXlEgylmKr1mukZeIOLSgr1XmVZRxFp/0fWS0tfx9SZkd1dUCJgxP6 d6QUEbkWY1ADCrKWistNn3dMxBDB9I9O+uyAhJ06O/piFJeAI4iLgDESDpXwYiJMW0tM uu31lTPXP3d6fv2l1SMEPv0em/42WrFqI0jShVnqFofEny5mTrgN/mtB9D83e2RVqiwU 1PEL6GQRIeykGO/AIhvJS6CtTcK9DdsclKfdZkkW6EPEuye0TLf/PnErk3J4KHcLmfyM 4pVw== X-Gm-Message-State: APjAAAVHz85vOEsHvpOgmYMTE7IB8r46MeNY524UTbj/hIvplZczfh2D ugkegrpsrsPmB0a/IdoLTXkNwr48eEy6LkQMG+TCcj2h X-Google-Smtp-Source: APXvYqxp2pBSz2oWL4/H2YkzAMlK3+I3qu9Z4UC1BgqLkPhHDakOb+yIagJU9M6OhLSi2/V0Fiytyz3+9y7zyDPcZic= X-Received: by 2002:ac2:59c9:: with SMTP id x9mr3688873lfn.52.1560928471494; Wed, 19 Jun 2019 00:14:31 -0700 (PDT) MIME-Version: 1.0 References: <24393.1560893271@segfault.tristatelogic.com> In-Reply-To: <24393.1560893271@segfault.tristatelogic.com> From: Andreas Nilsson Date: Wed, 19 Jun 2019 09:14:19 +0200 Message-ID: Subject: Re: Eliminating IPv6 (?) To: "Ronald F. Guilmette" Cc: FreeBSD Net , Mailinglists FreeBSD X-Rspamd-Queue-Id: 6EB9A809CF X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=F7vV/QED; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of andrnils@gmail.com designates 2a00:1450:4864:20::129 as permitted sender) smtp.mailfrom=andrnils@gmail.com X-Spamd-Result: default: False [-6.76 / 15.00]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; NEURAL_HAM_SHORT(-0.95)[-0.951,0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_TLS_LAST(0.00)[]; SUBJECT_HAS_QUESTION(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; IP_SCORE(-2.80)[ip: (-9.15), ipnet: 2a00:1450::/32(-2.49), asn: 15169(-2.32), country: US(-0.06)]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[9.2.1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" 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: Wed, 19 Jun 2019 07:14:35 -0000 On Tue, Jun 18, 2019, 23:28 Ronald F. Guilmette wrote: > In message w@mail.gmail.com> > Andreas Nilsson wrote: > > >But why are you even running rc.firewall if it does not do what you want? > > You are asking me the very question that *I* have been asking myself > since my "upgrade" to 12.0. > > Why is /etc/rc.firewall even being executed? I never explicitly asked for > that, but that seems to just be a by-product of how things are arranged > these days.... a by-product that I have no direct control over. > > >Just set firewall_script="/path/to/script" and your good to go, no ipv6 > >anywhere to be found. > > That is *not* what the Handbook says. Please read it. > > > https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/firewalls-ipfw.html > > Ok, so the handbook is wrong. It's a bug in the documentation. > The way that I am reading section 30.4.1 is that it is telling the user to > put BOTH of these things into /etc/rc.conf: > > firewall_enable="YES" > firewall_type="path-to-my-rules-file" > > And indeed, that is -exactly- what I have done on my prior FreeBSD > systems... > enable *and* configure. > > One or the other of those /etc/rc.conf lines nowadays apparently triggers > /etc/rc.firewall to run. I never explicitly asked for that to run, but > it did anyway. I am just going with the flow. > As soon as set firewall_script instead of firewall_type your problems will be solved. Just try it. The man page for rc.conf will tell you the same thing. > > > Regards, > rfg > _______________________________________________ > freebsd-net@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >