Linux Netfilter discussions
 help / color / mirror / Atom feed
From: "Jörg Esser" <jackfritt@boh.de>
To: netfilter@lists.netfilter.org
Subject: Re: length match problem
Date: Thu, 09 Jan 2003 08:53:10 +0100	[thread overview]
Message-ID: <3E1D2A66.6040503@boh.de> (raw)
In-Reply-To: <200301091039.44259.fabrice@netfilter.org>



Fabrice MARIE wrote:

>Hello Joerg,
>
>On Thursday 09 January 2003 06:14, Jackfritt wrote:
>  
>
>>Ok I have the following problem.
>>iptables -A OUTPUT -o ppp0 -p tcp -m length --length :40 -j MARK --set-mark 10
>>That should mark all ACK's or not ?
>>When I try to do this I get the error:
>>iptables: Invalid argument
>>[...]
>>So now my question is what am I doin wrong ?
>>    
>>
>
>Typically when the only error message from iptables
>is 'Invalid Argument', the actual error message would
>be most of the time in the kernel log.
>i.e. If I run your command above, it tells me
>
># dmesg
>MARK: can only be called from "mangle" table, not "filter"
>  
>
Hmm forget to look there (Just a newbie ;)

>So, you should be using a -t mangle in front..
>  
>
Thx that did it.

>Have a nice day,
>  
>
You too.




      reply	other threads:[~2003-01-09  7:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-08 22:14 length match problem Jackfritt
2003-01-09  2:39 ` Fabrice MARIE
2003-01-09  7:53   ` Jörg Esser [this message]

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=3E1D2A66.6040503@boh.de \
    --to=jackfritt@boh.de \
    --cc=netfilter@lists.netfilter.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