From owner-freebsd-bugs@FreeBSD.ORG Wed Feb 27 12:29:15 2008 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6576A1065672 for ; Wed, 27 Feb 2008 12:29:15 +0000 (UTC) (envelope-from araujobsdport@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.176]) by mx1.freebsd.org (Postfix) with ESMTP id 29C588FC15 for ; Wed, 27 Feb 2008 12:29:14 +0000 (UTC) (envelope-from araujobsdport@gmail.com) Received: by py-out-1112.google.com with SMTP id u52so4213935pyb.10 for ; Wed, 27 Feb 2008 04:29:14 -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=1uj3kh8IH/CcIEs+zGZV6FRAQBbb7S24qpDqCiW5TT8=; b=UwF2W1PnxaAev8Q89TKOLc3QIt2eZ5dns5bfAwDtD7tXcpM0gxI5mrp2vX1Zzgnry3M/4GRdKd1amAYMz1Acd4xbtU+Iwi1ey9SzpZrdv3PIZ+XFvarv+sa9mplJmVc4W4f6cq6FtWMU+ZVHwFEzHIQfqGOg6eWPc3iF3yfWtWg= 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=Clow3cTRjlPOLuiWQzS8qCCP7STo1oFcCoc/vBUCx9Va1lTDdMjeju5XevmcnJE7UYlqqTgniAFkeIXkD1DXgWpYeP4yPlIP9fEkOa6fCQY8mngls2Ayt6qBHH+1/RZ4t2S46ohm18D5FuVRsGt1VAClA2HYcWXJwgBQOibJCb8= Received: by 10.64.184.16 with SMTP id h16mr10002277qbf.45.1204113794104; Wed, 27 Feb 2008 04:03:14 -0800 (PST) Received: from island.freebsd.org ( [200.247.114.5]) by mx.google.com with ESMTPS id e13sm6233822qbe.31.2008.02.27.04.03.03 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 27 Feb 2008 04:03:13 -0800 (PST) Message-ID: <47C5516F.9080200@FreeBSD.org> Date: Wed, 27 Feb 2008 09:02:55 -0300 Organization: FreeBSD User-Agent: Thunderbird 2.0.0.0 (X11/20070521) MIME-Version: 1.0 To: "Andrey V. Elsukov" References: <200802261908.m1QJ8n5N023371@freefall.freebsd.org> <47C4F2D1.5080703@yandex.ru> In-Reply-To: <47C4F2D1.5080703@yandex.ru> X-Enigmail-Version: 0.95.0 OpenPGP: id=53E4CFA8 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig29EB1FB0CCF16225C3E3EC6C" From: Marcelo Araujo X-Mailman-Approved-At: Wed, 27 Feb 2008 12:30:49 +0000 Cc: freebsd-bugs@FreeBSD.org, stas@mbsd.msk.ru, Luigi Rizzo , Roman Bogorodskiy , "Bruce M. Simpson" , freebsd-ipfw@FreeBSD.org, Julian Elischer , Ion-Mihai Tetcu , Oleg Bulyzhin , Vadim Goncharov Subject: Re: kern/121122: [ipfw] [patch] add support to ToS IP PRECEDENCE fields X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: araujo@FreeBSD.org List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Feb 2008 12:29:15 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig29EB1FB0CCF16225C3E3EC6C Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable Andrey V. Elsukov wrote: > Hi, Marcelo. > > I talked to Roman when he submitted his first patch about > it's design. What you think about making TOK_SETIPTOSPRE not > an action, but a modifier? I think it will be much usable. > A syntax example: > > # ipfw add allow iptospre flashover ip from any to any > # ipfw add count iptospre immediate ip from anyt to any > # ipfw add skipto .... > > Also I talked to Roman about extensible variant of this ability. > A syntax example: > > [{modip [DF|TOS|DSCP|TTL]}] > > Also look into: > http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dkern/102471 > http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dkern/103454 > > I added to CC several men who are active in ipfw area. > It will be interested what you think about this? > Hi dear Andrey, I think about the TOK_SETIPTOSPRE as a modifier, that set the IP PRECEDENCE in the package. The second rule: # ipfw add count iptospre immediate ip from any to any Makes more sense for me, many users have ability to work with this synta= x. I believe be a good idea an extensible variant to apply and sort some QoS models in layer IP, as you showed. I've some time(5 months) to make my project degree[1] and apply my research within of IPFW. Yes, I've interest to work around this function, this work help me for my degree project. I think also this work is a good opportunity to work in SoC 2008. [1] http://code.google.com/p/exports/w/list Best Regards, --=20 Marcelo Araujo (__) araujo@FreeBSD.org \\\'',) http://www.FreeBSD.org \/ \ ^ Power To Server. .\. /_) --------------enig29EB1FB0CCF16225C3E3EC6C 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) iD8DBQFHxVFyovxJd1Pkz6gRAvuwAJ0V9saX/vCognZ3HEeo4UnIlwN5ZACeO6Ip cf0NrPJIpdI67AkUnaGSxLY= =OHK5 -----END PGP SIGNATURE----- --------------enig29EB1FB0CCF16225C3E3EC6C--