All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Balint Laszlo BILLER" <vudumen@sysnet.hu>
To: lartc@vger.kernel.org
Subject: [LARTC] masquerade and tc problem
Date: Thu, 17 Jul 2003 08:23:27 +0000	[thread overview]
Message-ID: <marc-lartc-105843058900749@msgid-missing> (raw)

Hi,

My friend uses ipchains with kernel 2.4.21 :) It's funny but it's true. The
problem is that he marks the packets and after this the tc filter doesn't
catch them.
ipchains -A input   -s 192.168.1.41/28 -j ACCEPT -m 0x2 -t 0xff 0x2
ipchains -A forward -s 192.168.1.41/28 -j MASQ  -m 0x2
ipchains -A input   -s 192.168.1.240 -j ACCEPT -m  0x3
ipchains -A forward -s 192.168.1.240 -j MASQ -m  0x3
And the filter:
tc filter add dev eth0 protocol ip parent 1:0 handle 2 fw classid 1:2
And after all no packets traverse the following class:
tc class add dev eth0 parent 1:0 classid 1:2 htb rate 1kbit ceil 2kbit prio
20
(rates are examples only for testing).
Any ideas?
Thanks,
Balint Laszlo BILLER, .:[=SysNet=]:.

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

                 reply	other threads:[~2003-07-17  8:23 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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-105843058900749@msgid-missing \
    --to=vudumen@sysnet.hu \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.