From: Lewis Shobbrook <lew@redgrid.net>
To: netfilter@vger.kernel.org
Subject: esp mark not working
Date: Tue, 31 Mar 2009 11:59:21 +1100 (EST) [thread overview]
Message-ID: <23930137.5021238461161128.JavaMail.root@mail.redgrid.net> (raw)
In-Reply-To: <15684317.5001238460885010.JavaMail.root@mail.redgrid.net>
Hi all,
Much to my surprise, I've not been able to mark esp packets in the mangle table.
Although esp packets are traversing as they should, the iptables counters are unmoved from zero and as you'd expect rules applied against the mark fail also.
I've tried with ubuntu 2.6.24 & 2.6.27 kernels as well as a debian 2.6.26 all seem to suffer the same problem, all different machines.
Non esp packets mark no problem.
I don't seem to be able to google anyone else having this problem, so I'm hoping someone can help point out where I'm going wrong.
iptables -t mangle -A PREROUTING -i eth0 -p esp -j MARK --set-mark 0x1
with a couple of manual module loads upon apparent failure of the automatic module loading ...
cat /proc/net/ip_tables_targets
SECMARK
CONNMARK
CONNMARK
DNAT
SNAT
MARK
MARK
MARK
ERROR
On another ....
cat /proc/net/ip_tables_targets
TCPMSS
LOG
REJECT
DNAT
SNAT
ERROR
REDIRECT
ECN
SECMARK
TRACE
NFQUEUE
NFLOG
DSCP
CONNSECMARK
MARK
MARK
CONNMARK
CLASSIFY
NETMAP
MASQUERADE
TOS
I've tried manually loading every possible netfilter module and googled endlessly.
Seems I'm missing something or it is broken.
Can anyone let me in on this?
Cheers,
Lew
next parent reply other threads:[~2009-03-31 0:59 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <15684317.5001238460885010.JavaMail.root@mail.redgrid.net>
2009-03-31 0:59 ` Lewis Shobbrook [this message]
2009-04-06 15:16 ` esp mark not working Patrick McHardy
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=23930137.5021238461161128.JavaMail.root@mail.redgrid.net \
--to=lew@redgrid.net \
--cc=netfilter@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