From owner-freebsd-security@freebsd.org Sat Nov 14 18:49:19 2020 Return-Path: Delivered-To: freebsd-security@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 D1CBB4623FC for ; Sat, 14 Nov 2020 18:49:19 +0000 (UTC) (envelope-from jhellenthal@dataix.net) Received: from mail-il1-x135.google.com (mail-il1-x135.google.com [IPv6:2607:f8b0:4864:20::135]) (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 4CYPWf3Qwmz3myH for ; Sat, 14 Nov 2020 18:49:15 +0000 (UTC) (envelope-from jhellenthal@dataix.net) Received: by mail-il1-x135.google.com with SMTP id x13so1037945ilp.4 for ; Sat, 14 Nov 2020 10:49:15 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:content-transfer-encoding:from:mime-version :subject:date:message-id:references:cc:in-reply-to:to; bh=VcTqQewzrsj53fFlgEdZH2axGtKO0mWDQTah4TSJXFA=; b=lZ5B2xROV2Skxeat9a3QiJrfQeCYYpHYjnIXd/mKNApvKf2Jn1+8hW+66GWM7lkQDY k6grwDSfdlXbkzM8us6XxSWjVck9NkhcCnbmWXxa/yQVz73lM3wqUX2egBFyDrbR6kNb dFpW6rGLea0vcOyYr1uqDfmB1cxa5F1Elr7azTLW5doyI6jm+X6mXNyqZ4lIqitF72b4 GbwiGMCYCk4/UxeEo7iv0UEJ/VE5UjxzetU4PYXe7JVVdqRiGKbSdAU9tkqWJmEycolk epnLnrI5tMq5eLxUOPOzGdDHrnicKRb4HCFxHWgnDUQMSrsQ/+zOLfTeojqqnf/2jrY+ Zfnw== X-Gm-Message-State: AOAM531DtFKVyJy+qgd7iT8M1lS656YOrUdglAGi376kTSoeLx7+RFDl H9q/ICKEXbrlMu5tsjFC/gsBJSYNyLt/aw== X-Google-Smtp-Source: ABdhPJzRuFA91BXvPCfsxKXwYBtVOIAu4RLuEb5ShM5loloibGVBmorBjLBJhyiVpFHp2eDHSOJ7Ww== X-Received: by 2002:a92:d4cb:: with SMTP id o11mr3777606ilm.163.1605379753842; Sat, 14 Nov 2020 10:49:13 -0800 (PST) Received: from ?IPv6:2603:6000:ca46:b9ed:bcc3:649f:dfdf:b017? (2603-6000-ca46-b9ed-bcc3-649f-dfdf-b017.res6.spectrum.com. [2603:6000:ca46:b9ed:bcc3:649f:dfdf:b017]) by smtp.gmail.com with ESMTPSA id y6sm4652981iob.48.2020.11.14.10.49.12 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 14 Nov 2020 10:49:13 -0800 (PST) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: "J. Hellenthal" Mime-Version: 1.0 (1.0) Subject: Re: pf/pfctl loading CIDR tables & IPv6 Date: Sat, 14 Nov 2020 12:49:12 -0600 Message-Id: References: <20201114183908.GL31099@funkthat.com> Cc: FreeBSD-security@freebsd.org In-Reply-To: <20201114183908.GL31099@funkthat.com> To: John-Mark Gurney X-Mailer: iPhone Mail (18B92) X-Rspamd-Queue-Id: 4CYPWf3Qwmz3myH X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.50 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[dataix.net:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[dataix.net,reject]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[2607:f8b0:4864:20::135:from]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[dataix.net:s=net]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-security@freebsd.org]; SPAMHAUS_ZRD(0.00)[2607:f8b0:4864:20::135:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::135:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[FreeBSD-security] X-BeenThere: freebsd-security@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: "Security issues \[members-only posting\]" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Nov 2020 18:49:19 -0000 Well shoot! I don=E2=80=99t even think about going down that rabbit hole. Th= ank you.=20 Wondering if it be more useful tho to skip past those formatting errors to c= ontinue reading the rest of the list instead of just discarding the results a= nd not loading the remainder. I=E2=80=99ll be in touch with ip2locatiin as well --=20 J. Hellenthal The fact that there's a highway to Hell but only a stairway to Heaven says a= lot about anticipated traffic volume. > On Nov 14, 2020, at 12:39, John-Mark Gurney wrote: >=20 > =EF=BB=BFJ. Hellenthal via freebsd-security wrote this message on Sat, Nov= 14, 2020 at 10:58 -0600: >> Hoping someone might be able to shed some light on this and get to a conc= lusion faster than I have time for right now. >>=20 >>=20 >> But while loading a CIDR formatted list with ???#??? comments from [1] I a= m getting the following error for multiple entries >10 and results in the on= ly the partial list being loaded into the table??? The settings to download t= he file[2] are from the Russian Federation, IPv6 and in CIDR format. >>=20 >> ??? (pfctl -v -t blacklist -T add -f [???] >> No ALTQ support in kernel >> ALTQ related functions disabled >> no IP address found for 2001:BB6:6A10:4200:58D7:5934:7 >=20 > Well, this isn't a valid ipv6 address. There are only 7 segments, > where as an ipv6 address needs 8. There is not a :: to fill out the > missing segment. >=20 > --=20 > John-Mark Gurney Voice: +1 415 225 5579 >=20 > "All that I will do, has been done, All that I have, has not."