All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Покотиленко Костик" <casper@meteor.dp.ua>
To: "Michael Fernández M" <michael@michael.cl>
Cc: netfilter@vger.kernel.org
Subject: Re: Filter by Packet's size
Date: Mon, 18 Feb 2008 15:36:18 +0200	[thread overview]
Message-ID: <1203341778.18561.2.camel@localhost> (raw)
In-Reply-To: <1203337519.2366.4.camel@amokk.microserv.cl>

В Пнд, 18/02/2008 в 09:25 -0300, Michael Fernández M пишет:
> Hi, 
> 
> Is there a way to filter a picket by the size of it?, i mean I Would
> like to filter all the packet hat it size 2 MB.
> 
> Is that possible?
> 
> Thanks to any answer.

iptables -m length --length 0:1024

But let me admit that normal packet length is up to 1500 bytes, in some
cases up to 65535 bytes. Maybe you didn't correctly face the question?

-- 
Покотиленко Костик <casper@meteor.dp.ua>


  reply	other threads:[~2008-02-18 13:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-18 12:25 Filter by Packet's size Michael Fernández M
2008-02-18 13:36 ` Покотиленко Костик [this message]
2008-02-18 13:59   ` Michael Fernández M
2008-02-18 14:32     ` Покотиленко Костик
2008-02-18 14:41       ` Michael Fernández M

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=1203341778.18561.2.camel@localhost \
    --to=casper@meteor.dp.ua \
    --cc=michael@michael.cl \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.