Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Saikiran Madugula <hummerbliss@gmail.com>
To: Steve Brown <sbrown25@gmail.com>
Cc: netfilter@vger.kernel.org
Subject: Re: can't use MARK target
Date: Thu, 27 Aug 2009 17:06:04 +0100	[thread overview]
Message-ID: <4A96AEEC.5040902@gmail.com> (raw)
In-Reply-To: <1f4ef0970908270744x941cc84i3e85cb2600325d3a@mail.gmail.com>

Steve Brown wrote:
> I'm trying to use iptables to mark some packets for later use.  The
> command should be pretty simple:
> 
> iptables -t mangle -A PREROUTING -p tcp --dport 22 -j MARK --set-mark 1
> 
> When I try to issue the command, I get:
> 
> iptables v1.4.4: Couldn't load match
> `MARK':/usr/local/libexec/xtables/libipt_MARK.so: cannot open shared
> object file: No such file or directory
> 
> Try `iptables -h' or 'iptables --help' for more information.
> 
> The MARK and connmark kernel modules are loaded, and I've rebuilt
> iptables from source a couple of times, but I cannot figure out why it
> won't build the MARK support module?  Any gotchas I should be aware
> of?
> --
My wild guess something to do with dynamic linking, does adding
/usr/local/libexec/ path to /etc/ld.so.conf help ?

  reply	other threads:[~2009-08-27 16:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-27 14:44 can't use MARK target Steve Brown
2009-08-27 16:06 ` Saikiran Madugula [this message]
2009-08-27 16:26   ` Steve Brown

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=4A96AEEC.5040902@gmail.com \
    --to=hummerbliss@gmail.com \
    --cc=netfilter@vger.kernel.org \
    --cc=sbrown25@gmail.com \
    /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