From owner-freebsd-ipfw@freebsd.org Tue Aug 2 12:37:45 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 562ABBACFFD for ; Tue, 2 Aug 2016 12:37:45 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 34F181E58 for ; Tue, 2 Aug 2016 12:37:45 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: by mailman.ysv.freebsd.org (Postfix) id 34616BACFFC; Tue, 2 Aug 2016 12:37:45 +0000 (UTC) Delivered-To: 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 340FEBACFFB for ; Tue, 2 Aug 2016 12:37:45 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from forward5j.cmail.yandex.net (forward5j.cmail.yandex.net [IPv6:2a02:6b8:0:1630::18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "forwards.mail.yandex.net", Issuer "Yandex CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DD09F1E57; Tue, 2 Aug 2016 12:37:44 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from smtp2o.mail.yandex.net (smtp2o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::26]) by forward5j.cmail.yandex.net (Yandex) with ESMTP id F252220CA4; Tue, 2 Aug 2016 15:37:40 +0300 (MSK) Received: from smtp2o.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp2o.mail.yandex.net (Yandex) with ESMTP id EB48D5080C22; Tue, 2 Aug 2016 15:37:40 +0300 (MSK) Received: by smtp2o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id mKNHdnuU7R-beG4haG7; Tue, 02 Aug 2016 15:37:40 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1470141460; bh=wePHwjzuiDjy3J1ixoVNuNoxYwp8IgQfIy5gM4pIoNo=; h=Subject:To:References:From:Message-ID:Date:In-Reply-To; b=uYCWJwBA6JsMOpwnXMhU9ts5wJxATDS6q6JDsjx1w+IAx/mfAzfHiKsiEOO5tJJvj CzsdWBTrYRwceJku8jEiloTOw8q3M9oQKczXCjULu0MeaY0uLhtVCMmUeU2wgMLAka Xxvl0Cpnt1XJ09HYWkIQG13BmJJCRUBW7BCTOTjQ= Authentication-Results: smtp2o.mail.yandex.net; dkim=pass header.i=@yandex.ru X-Yandex-Suid-Status: 1 0,1 0 Subject: Re: your thoughts on a particualar ipfw action. To: Julian Elischer , ipfw mailing list References: <7f573fc4-2820-ebd3-7b15-d8a1cd023372@freebsd.org> From: "Andrey V. Elsukov" Message-ID: <8e3d54b1-2315-decb-158a-bf06443cdb04@yandex.ru> Date: Tue, 2 Aug 2016 15:36:01 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <7f573fc4-2820-ebd3-7b15-d8a1cd023372@freebsd.org> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="fJlKg99VUlmfiJG6POrui4wTdsIEXK7SI" 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: Tue, 02 Aug 2016 12:37:45 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --fJlKg99VUlmfiJG6POrui4wTdsIEXK7SI Content-Type: multipart/mixed; boundary="VEbSdbsp9kDP50xOmfe9ewcLoUlVlDE2v" From: "Andrey V. Elsukov" To: Julian Elischer , ipfw mailing list Message-ID: <8e3d54b1-2315-decb-158a-bf06443cdb04@yandex.ru> Subject: Re: your thoughts on a particualar ipfw action. References: <7f573fc4-2820-ebd3-7b15-d8a1cd023372@freebsd.org> In-Reply-To: <7f573fc4-2820-ebd3-7b15-d8a1cd023372@freebsd.org> --VEbSdbsp9kDP50xOmfe9ewcLoUlVlDE2v Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 02.08.16 11:08, Julian Elischer wrote: > SO I was thinking how to use this, and the obvious way would be to have= > a set of rules for each country, and use the "skipto tablearg" facility= > to skip to the right rules for each country. But the trouble is that a > tablearg skipto is very inefficient. It's also a hard thing to set up > with a set of rules for each country (how many countries are there in > the internet allocation system?). You can build ipfw with enabled LINEAR_SKIPTO and use the same rules for most countries. --=20 WBR, Andrey V. Elsukov --VEbSdbsp9kDP50xOmfe9ewcLoUlVlDE2v-- --fJlKg99VUlmfiJG6POrui4wTdsIEXK7SI Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEvBAEBCAAZBQJXoJOxEhxidTdjaGVyQHlhbmRleC5ydQAKCRABxeoEEMiheizZ B/4nttVFWHcrZOJkCCdwGpYe43FOImjuxL8IQG7aUi9VDKAbHSCHjAfcvNdy/izY Gozwe4sSjVrZtwqRQdV+qnL4fCj2Bdb9577rRFz+PO6T+fwSiZHHekHlJyz6xG9u +dDXq4Zm3J/1s1mWEYLc810GNfDKePlR9ZQ9+jai1ZbnCZ17l/iydvVG22fKXIrK k7DYioYUxzHQcZJAsdt4jJQzZe6G1dmT0TZE0ARS3Nuypf49mlTmoEcUItVfbAOL wMnCoQ7ia+rRUv6lV6Rbj0ZZXhDNGOjSwxGSwe9Xw6UorpWB1jmAgZRs9LP/EzvD z6jFG+uVmnoJHfhFDdr1UV9O =zn+m -----END PGP SIGNATURE----- --fJlKg99VUlmfiJG6POrui4wTdsIEXK7SI--