- Subject: Re: -f option used with iptables
- From: Jan Engelhardt <jengelh@xxxxxxx>
- Date: Tue, 26 Jun 2012 12:46:10 +0200 (CEST)
- Cc: netfilter@xxxxxxxxxxxxxxx
- In-reply-to: <CAE1WnGcwvto-Dc25XqcskyYfnO2whR=D=YBfO-VCSKZjm7jkCg@mail.gmail.com>
- User-agent: Alpine 2.01 (LNX 1266 2009-07-14)
On Tuesday 2012-06-26 12:24, rahul shrivastava wrote:
>this rule is not working for me
Then you don't have any fragments.
Remember that there may be defragmenter modules (nf_defrag_ipv4/ipv6)
loaded.
(And cease top-posting.)
>if you know if provide me a rule to drop only fragmented packets
>
>On 6/21/12, Jan Engelhardt <jengelh@xxxxxxx> wrote:
>> On Thursday 2012-06-21 12:46, rahul shrivastava wrote:
>>
>>>iptables -A INPUT -p icmp -i eth1 -m iprange --src-range
>>>172.31.114.1-172.31.114.254 -m iprange --dst-range
>>> 192.168.1.1-192.168.1.254
>>>-f -j DROP
>>>
>>>My abjective is to deny only fragmented packets with specified ip,
>>> protocol
>>>and interface and "-f" option doesnt seem to work
>>
>> I can guarantee you that -f matches fragments -- if there are any
>> by the time the rule is executed.
>>
>
--
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
[Linux Netfilter Development]
[Linux Kernel Networking Development]
[Linux Kernel Development]
[Linux Resources]
[Advanced Routing & Traffice Control]
[Bugtraq]
[Free Internet Dating]
[Yosemite Forum]
[Photos]