From owner-freebsd-ipfw@freebsd.org Mon Aug 8 21:47:08 2016 Return-Path: Delivered-To: freebsd-ipfw@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7E7F7BB33FC for ; Mon, 8 Aug 2016 21:47:08 +0000 (UTC) (envelope-from rj@obsigna.com) Received: from mo6-p00-ob.smtp.rzone.de (mo6-p00-ob.smtp.rzone.de [IPv6:2a01:238:20a:202:5300::5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.smtp.rzone.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1E053195C for ; Mon, 8 Aug 2016 21:47:07 +0000 (UTC) (envelope-from rj@obsigna.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1470692824; l=966; s=domk; d=obsigna.com; h=To:References:Content-Transfer-Encoding:Date:In-Reply-To:From: Subject:Mime-Version:Content-Type; bh=IvGficsPOm0pQtxokK/Fz4cQOcfYF0/DWamZEnmMavk=; b=JxeHX0Z7m5kdwkbVVzOHW/UoKOP/duQ4DdfcaWaT/V/9jQ0PZSziznlAiJr1KApTx8D ETdz0UH0P4lHKNSmWiUY2HfpsukkotDCYHI8jwRQ9+O9Gs/aqZpLGYDUOFJrWRqTvRVOO ZUZru/TDYvCMRhmd/AiabukCKWUrySOPauw= X-RZG-AUTH: :O2kGeEG7b/pS1EK7WHa0hxqKZr4lnx6UhToX1IWHkW4X7v2ImaU2B+3KSGnPFnG2J+1R5F8= X-RZG-CLASS-ID: mo00 Received: from mail.obsigna.com (bfb6cb12.virtua.com.br [191.182.203.18]) by smtp.strato.de (RZmta 38.13 DYNA|AUTH) with ESMTPSA id N0920bs78Ll3Az6 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (curve secp521r1 with 521 ECDH bits, eq. 15360 bits RSA)) (Client did not present a certificate) for ; Mon, 8 Aug 2016 23:47:03 +0200 (CEST) Received: from rolf.projectworld.net (rolf.projectworld.net [192.168.222.25]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.obsigna.com (Postfix) with ESMTPSA id 2FFDB229861E for ; Mon, 8 Aug 2016 18:47:00 -0300 (BRT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: your thoughts on a particualar ipfw action. From: "Dr. Rolf Jansen" In-Reply-To: Date: Mon, 8 Aug 2016 18:46:58 -0300 Content-Transfer-Encoding: quoted-printable Message-Id: <242DF6D8-4287-43BF-BE9F-CE1665D31ED2@obsigna.com> References: <20160805024301.H56585@sola.nimnet.asn.au> <7486c7ce-49db-b6b9-a6bb-13f04b4ce6d6@freebsd.org> To: freebsd-ipfw@freebsd.org X-Mailer: Apple Mail (2.3124) X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Aug 2016 21:47:08 -0000 I am almost finished with preparing the tools for geo-blocking and = geo-routing at the firewall for submission to the FreeBSD ports. I created a man file for the tools, see: = https://cyclaero.github.io/ipdb/, and I added the recent suggestions on = rule number/action code per country code, namely, I changed the formula = for the x-flag to the suggestion of Ian (value =3D offset + ((C1 - = 'A')*26 + (C2 - 'A'))*10), and I added the idea of directly assigning a = number to a country code in the argument for the t-flag = ("CC=3Dnnnnn:..."). Furthermore, I removed the divert filter daemon from the Makefile. The = source is still on GitHub, though, and can be re-vamped if necessary. Now I am going to prepare the Makefile for the port. In the meantime, please can a native English speaker look at said man = file (s. link above)? I know, that my English is lacking, and any = corrections would be highly welcome. Best regards Rolf