* can't use MARK target
@ 2009-08-27 14:44 Steve Brown
2009-08-27 16:06 ` Saikiran Madugula
0 siblings, 1 reply; 3+ messages in thread
From: Steve Brown @ 2009-08-27 14:44 UTC (permalink / raw)
To: netfilter
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?
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: can't use MARK target
2009-08-27 14:44 can't use MARK target Steve Brown
@ 2009-08-27 16:06 ` Saikiran Madugula
2009-08-27 16:26 ` Steve Brown
0 siblings, 1 reply; 3+ messages in thread
From: Saikiran Madugula @ 2009-08-27 16:06 UTC (permalink / raw)
To: Steve Brown; +Cc: netfilter
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 ?
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: can't use MARK target
2009-08-27 16:06 ` Saikiran Madugula
@ 2009-08-27 16:26 ` Steve Brown
0 siblings, 0 replies; 3+ messages in thread
From: Steve Brown @ 2009-08-27 16:26 UTC (permalink / raw)
To: netfilter
> My wild guess something to do with dynamic linking, does adding
> /usr/local/libexec/ path to /etc/ld.so.conf help ?
Doh! Of course.... forgot about ld.so.conf.
Thanks!
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-08-27 16:26 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-27 14:44 can't use MARK target Steve Brown
2009-08-27 16:06 ` Saikiran Madugula
2009-08-27 16:26 ` Steve Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox