From owner-freebsd-ipfw@FreeBSD.ORG Wed Mar 5 12:12:42 2008 Return-Path: Delivered-To: freebsd-ipfw@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 380D0106567B for ; Wed, 5 Mar 2008 12:12:42 +0000 (UTC) (envelope-from araujobsdport@gmail.com) Received: from el-out-1112.google.com (el-out-1112.google.com [209.85.162.176]) by mx1.freebsd.org (Postfix) with ESMTP id C98778FC18 for ; Wed, 5 Mar 2008 12:12:41 +0000 (UTC) (envelope-from araujobsdport@gmail.com) Received: by el-out-1112.google.com with SMTP id v27so1571575ele.12 for ; Wed, 05 Mar 2008 04:12:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:reply-to:organization:user-agent:mime-version:to:cc:subject:references:in-reply-to:x-enigmail-version:openpgp:content-type:from; bh=smDEU96O55HqCx+9KG4mQU8Sy1jvlzHcVZaXYfc73Sk=; b=n4C2OEKN0sNkEWQwECJB0qXTQylimG8MivB3/C7Mxw42viHPYdPrB0mRGNEsfTcY1MmKP9TxCGS1pyQdpNFhbbk+RG/nyop4LasGYZxxZOM7VwzBaIBHBL7U3dlU09bXMaoRbm8RuBuxgBehajgapJzt/iYCv7eYLXiNoccPzL8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:reply-to:organization:user-agent:mime-version:to:cc:subject:references:in-reply-to:x-enigmail-version:openpgp:content-type:from; b=iMP+dQ2MbJ8i357qOv5auPCyQAjG4/Dj0X9ZR9XVVPGey+ulO92r1NuzU28qZZ+C+Ljxbl59WmB9Ue69uGOxzpRymHDgWVem6ZLCAC6iySf5tOR9Z5eVSmur9Qdbeg2mBKJFMnGh2wKnkS2hbyEEPAX3VM63UDNcnHU+Rrvxwv8= Received: by 10.141.15.19 with SMTP id s19mr1186247rvi.75.1204719160126; Wed, 05 Mar 2008 04:12:40 -0800 (PST) Received: from island.freebsd.org ( [200.247.114.5]) by mx.google.com with ESMTPS id 32sm1280078wri.0.2008.03.05.04.12.35 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 05 Mar 2008 04:12:39 -0800 (PST) Message-ID: <47CE8E43.6030409@FreeBSD.org> Date: Wed, 05 Mar 2008 09:12:51 -0300 Organization: FreeBSD User-Agent: Thunderbird 2.0.0.0 (X11/20070521) MIME-Version: 1.0 To: Vadim Goncharov References: <200802261908.m1QJ8n5N023371@freefall.freebsd.org> <47C4F2D1.5080703@yandex.ru> <47C5516F.9080200@FreeBSD.org> <47C64BB7.60309@yandex.ru> <47C68CD1.10409@FreeBSD.org> <47CCC0AA.5030106@FreeBSD.org> In-Reply-To: X-Enigmail-Version: 0.95.0 OpenPGP: id=53E4CFA8 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig6E7FB4F04CFAEE1BE30460D2" From: Marcelo Araujo Cc: stas@mbsd.msk.ru, Luigi Rizzo , Oleg Bulyzhin , freebsd-ipfw@freebsd.org, "Andrey V. Elsukov" , Julian Elischer , Ion-Mihai Tetcu , "Bruce M. Simpson" Subject: ipfw with modip(). X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: araujo@FreeBSD.org List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Mar 2008 12:12:42 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig6E7FB4F04CFAEE1BE30460D2 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable Hi all, I continue play with the modip function. Yesterday I talked with Roman(aka novel@) about what would be the best way to implement the suggestions sent by some guys. We talked about how to implement the function and how to use it. My vision is: to create a function with a minor impact possible for usability. I believe the best way is the function as an action. Example: island# ipfw add modip ipfw: need modip [DF|TOS|IPPRE|DSCP]:code arg island# ipfw add 10 modip tos:lowdelay ip from any to any island# ipfw add 15 modip ippre:immediate ip from any to any island# ipfw add 20 modip dscp:af14 ip from 192.168.0.0/16 to any via xl0= I continue to work within modip(), now I begin to implement another patchs related with QoS in layer IP: kern/102471, kern/103454 and kern/121122. I'd like some opinions around this concern and suggestions. Best Regards, --=20 Marcelo Araujo (__) araujo@FreeBSD.org \\\'',) http://www.FreeBSD.org \/ \ ^ Power To Server. .\. /_) --------------enig6E7FB4F04CFAEE1BE30460D2 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFHzo5HovxJd1Pkz6gRAiz3AJ9dkGsqFZn9Wgz+RLVkR5LwrTEQgwCfbBKB hgkp3siVEFkgp4uJaL2CyAc= =lD79 -----END PGP SIGNATURE----- --------------enig6E7FB4F04CFAEE1BE30460D2--