Re: Filter by Packet's size

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



В Пнд, 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@xxxxxxxxxxxx>

-
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux