From: Jody Shumaker Date: Fri, 13 Jan 2006 23:04:15 +0000 Subject: Re: [LARTC] tc filter add ... fw returns RTNETLINK answers: Message-Id: <2af436490601131504u3967c229kc5aaadfc766dca15@mail.gmail.com> MIME-Version: 1 Content-Type: multipart/mixed; boundary="===============0201550008==" List-Id: References: <43C429E5.3070007@nrvissing.net> In-Reply-To: <43C429E5.3070007@nrvissing.net> To: lartc@vger.kernel.org --===============0201550008== Content-Type: multipart/alternative; boundary="----=_Part_3446_15401534.1137193455835" ------=_Part_3446_15401534.1137193455835 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 1/13/06, Flemming Frandsen wrote: > > Jody Shumaker wrote: > > I have never seen anything coming from the mark unless you specify it. > > I have. > > > > I'm honestly not really sure how setting a mark of 0x14806 can > > automatically set it to go to flowid 1:4806. > > Because someone wrote it to do that, a mark of 0xdadface will map to > flowid dad:face. Interesting, learn something new every day. I was guessing I was missing something since you had stated it was working, but was curious as to what. I'll have to keep this feature in mind. > I'll change my script to use CLASSIFY in stead, it seems a lot nicer. Just as a warning, I recall users having some issues with classify in the past, so your current setup may not seem as nice, it might still be better. In particular I seem to recall issues with matching targets more than 1 level deep. For example if you have 1:10 10:100 and 100:1000, you can't have classify target the 100:1000. This behavior might have changed though. As usual, if it ain't broke, don't fix it? - Jody ------=_Part_3446_15401534.1137193455835 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline

On 1/13/06, Flemming Frandsen <ff@nr= vissing.net> wrote:
Jody Shumaker wrote:
> I have never seen anything coming from the mar= k unless you specify it.

I have.


> I'm honestly not re= ally sure how setting a mark of 0x14806 can
> automatically &nbs= p;set it to go to flowid 1:4806.

Because someone wrote it to do that, a mark of 0xdadface will map t= o
flowid dad:face.

Interesting, learn something new= every day. I was guessing I was missing something since you had stated it = was working, but was curious as to what. I'll have to keep this feature in = mind.

I'll change my script to use CLASSIFY in stead, it seems a lot nicer.

Just as a warning,  I recall users having some issues with cl= assify in the past, so your current setup  may not seem as nice, it mi= ght still be better.  In particular I seem to recall issues with = matching targets more than 1 level deep. For example if you have 1:10 = ; 10:100 and 100:1000, you can't have classify target the 100:1000.  T= his behavior might have changed though.

As usual, if it ain't broke, don't fix it?

- Jody
<= /div>
------=_Part_3446_15401534.1137193455835-- --===============0201550008== 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 --===============0201550008==--