Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
From: Alexey Talikov <alexey_talikov@texlab.com.uz>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Wierd Policy Routing Behaviour
Date: Fri, 31 May 2002 15:37:38 +0000	[thread overview]
Message-ID: <marc-lartc-102285951408378@msgid-missing> (raw)
In-Reply-To: <marc-lartc-102276759427299@msgid-missing>

add input interface in rule because this table general for all interfaces also add ip if possible
iptables -t mangle -A PREROUTING -i $DEV -p tcp --dport 25 -j MARK --set-mark 1
if don't work
try
iptables -t mangle -A FORWARD -i $DEV -p tcp --dport 25 -j MARK --set-mark 1 (don't work for old
iptables and kernel, missing FORWARD and INPUT chain for mangle table)

if you compile netfilter as modules -- all necessary loaded ?

if don't work try to test mark with tc filter 
try to use last iproute2-2.4.7-020116 (possible that the ip route can't see your marks
and last htb-3.6 (Thanks Devik !)

Send me results !!

(Sorry for my pure English :((   )

31.05.2002 19:45:33, Sellaro <sellaro@email.it> wrote:

>On Fri, 2002-05-31 at 11:33, Alexey Talikov wrote:
>
>> Version of kernel iptables and iproute , any patches ???
>
>Sorry for not mentioning before.
>
>kernel: 2.4.18
>iproute: 20010824-7
>Patches: only HTB 3 into the kernel, of course.
>
>-- 
>Sellaro
>
>Agente Livre - Linux Community (www.agentelivre.org)
>
>PGP Key ID: 3ADF8645
>PGP Key Fingerprint: 6AB0 D60B 69B5 B3F9 4553  2242 A1D0 17C0 3ADF 8645
>

-----------------------------------
mailto:alexey_talikov@texlab.com.uz
BR
Alexey Talikov
FORTEK
-----------------------------------


_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

      parent reply	other threads:[~2002-05-31 15:37 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-30 14:05 [LARTC] Wierd Policy Routing Behaviour Sellaro
2002-05-30 15:22 ` Martin A. Brown
2002-05-30 15:42 ` Sellaro
2002-05-31  3:57 ` Alexey Talikov
2002-05-31 11:24 ` Sellaro
2002-05-31 11:44 ` Alexey Talikov
2002-05-31 12:03 ` Sellaro
2002-05-31 12:15 ` Alexey Talikov
2002-05-31 13:48 ` Sellaro
2002-05-31 14:33 ` Alexey Talikov
2002-05-31 14:45 ` Sellaro
2002-05-31 15:37 ` Alexey Talikov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-lartc-102285951408378@msgid-missing \
    --to=alexey_talikov@texlab.com.uz \
    --cc=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox