From: Jody Shumaker Date: Wed, 11 Jan 2006 15:08:14 +0000 Subject: Re: [LARTC] control p2p upload bandwidth rate Message-Id: <2af436490601110708g2585712ds433d1473f038abcc@mail.gmail.com> MIME-Version: 1 Content-Type: multipart/mixed; boundary="===============0829679101==" List-Id: References: <43AAE878.10404@phreaker.net> In-Reply-To: <43AAE878.10404@phreaker.net> To: lartc@vger.kernel.org --===============0829679101== Content-Type: multipart/alternative; boundary="----=_Part_73175_13111847.1136992094386" ------=_Part_73175_13111847.1136992094386 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline > My doubt is, what you said is that only one package in a mark will me > matched without that other comands, so, the lines I have put in red are > correct? Today it is working fine, but I have never made a test longer th= an > 20 or 30 minutes... > > Att, > > Nataniel Klug > > It should perfectly fine. Since you're just marking based on an ip match, there is no need for CONNMARK. CONNMARK is only needed when you want to mark a whole connection based on something you'll only see once, like the p2p protocol's headers. destination/source addresses will be present in every packet you want to mark. - Jody ------=_Part_73175_13111847.1136992094386 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
My doubt is, what you said is that o= nly one=20 package in a mark will me matched without that other comands, so, the lines= I=20 have put in red are correct? Today it is working fine, but I have never mad= e a=20 test longer than 20 or 30 minutes...
 
Att,
 
Nataniel Klug


It should perfectly fine.  Since you're ju= st marking based on an ip match, there is no need for CONNMARK.  CONNM= ARK is only needed when you want to mark a whole connection based on someth= ing you'll only see once, like the p2p protocol's headers.  destinatio= n/source addresses will be present in every packet you want to mark.

- Jody
------=_Part_73175_13111847.1136992094386-- --===============0829679101== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc --===============0829679101==--