netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sergey Popov <popov_sergey@ukr.net>
To: netdev@vger.kernel.org
Subject: some bug in iproute2
Date: Thu, 6 Aug 2009 11:50:35 +0300	[thread overview]
Message-ID: <20090806115035.42a22dfc@azure> (raw)

# tc f add dev eth0 parent 1: proto ip prio 2 u32 match u32 0 0 action ipt -j MARK --set-mark 1
/usr/lib64/iptables/libipt_mark.so: cannot open shared object file: No such file or directory
failed to find target MARK

bad action parsing
parse_action: bad value (5:ipt)!
Illegal "action"


But mark target is compiled in kernel (not a module)

# iptables -t mangle -A PREROUTING -i eth1 -j MARK --set-mark 1
# iptables -t mangle -L PREROUTING
Chain PREROUTING (policy ACCEPT)
target     prot opt source               destination         
MARK       all  --  anywhere             anywhere            MARK xset
0x1/0xffffffff 

This shouldn't be.

             reply	other threads:[~2009-08-06  8:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-06  8:50 Sergey Popov [this message]
2009-08-07 10:12 ` some bug in iproute2 Jarek Poplawski
2009-08-07 14:28   ` jamal
     [not found]     ` <20090807202725.784dab6b@azure>
     [not found]       ` <1249734651.7101.38.camel@dogo.mojatatu.com>
2009-08-08 12:49         ` jamal

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=20090806115035.42a22dfc@azure \
    --to=popov_sergey@ukr.net \
    --cc=netdev@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;
as well as URLs for NNTP newsgroup(s).