From owner-freebsd-ipfw@freebsd.org Fri Aug 12 04:57:07 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 7F84FBB782F for ; Fri, 12 Aug 2016 04:57:07 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "vps1.elischer.org", Issuer "CA Cert Signing Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 426EA1B78 for ; Fri, 12 Aug 2016 04:57:06 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from Julian-MBP3.local (ppp121-45-226-8.lns20.per1.internode.on.net [121.45.226.8]) (authenticated bits=0) by vps1.elischer.org (8.15.2/8.15.2) with ESMTPSA id u7C4utib040317 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Thu, 11 Aug 2016 21:56:58 -0700 (PDT) (envelope-from julian@freebsd.org) Subject: Re: your thoughts on a particualar ipfw action. To: "Dr. Rolf Jansen" , freebsd-ipfw@freebsd.org References: <20160805024301.H56585@sola.nimnet.asn.au> <7486c7ce-49db-b6b9-a6bb-13f04b4ce6d6@freebsd.org> <242DF6D8-4287-43BF-BE9F-CE1665D31ED2@obsigna.com> <9D024314-57A2-4079-B630-FB0D844DD5B5@obsigna.com> From: Julian Elischer Message-ID: <1123ab7a-3365-d059-7d53-862d4edafe7e@freebsd.org> Date: Fri, 12 Aug 2016 12:56:49 +0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <9D024314-57A2-4079-B630-FB0D844DD5B5@obsigna.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit 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: Fri, 12 Aug 2016 04:57:07 -0000 On 11/08/2016 9:02 AM, Dr. Rolf Jansen wrote: >> Am 08.08.2016 um 18:46 schrieb Dr. Rolf Jansen : >> >> 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 = 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=nnnnn:..."). >> >> 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. > I just submitted a PR asking to add the new port 'sysutils/ipdbtools'. > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211744 > > I needed to change the name of the geoip tool, because GeoIP® is a registered trademark of MaxMind, Inc., see www.maxmind.com. The name of the tool is now 'ipup' = abbreviated form of IP geo location table generation and look- UP , that is without the boring middle part :-D Hmm I'd have gone for geotable. ipup sounds like a young dog produced by Apple. (wonder if one can change the name of a port) > > Those, who used geoip already in some scripts, please excuse the inconvenience of needing to change the name. > > With the great help of Julian, I was able to improve the man file and the latest version can be read online: > > https://cyclaero.github.io/ipdb/ > > Best regards > > Rolf > > _______________________________________________ > freebsd-ipfw@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-ipfw > To unsubscribe, send any mail to "freebsd-ipfw-unsubscribe@freebsd.org" > >