Re: [PATCH 2/3] netfilter: xtables: add PKTTYPE target

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

 



Jan Engelhardt wrote:
> On Wednesday 2009-01-28 15:58, Pablo Neira Ayuso wrote:
> 
>> This patch adds the PKTTYPE target which can be used to mangle the
>> skbuff packet type field. This target is useful in conjunction with
>> the arptables mcmangle target to TCP working again when a
>> multicast hardware address is used. An example of its use:
>>
>> iptables -I PREROUTING ! -s 224.0.0.0/4 -t mangle \
>> 	-j PKTTYPE --to-pkt-type unicast
> 
> Are not packets not destined for 224/4 - assuming standard route setups -
> unicast anyway?

Not if you use the mcmangle arptables target to use a multicast hardware
address instead of the normal unicast, in that case, the link layer set
them to PACKET_MULTICAST. Indeed, the only use that I can find for this
target at the moment is to combine it with mcmangle.

-- 
"Los honestos son inadaptados sociales" -- Les Luthiers
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux