Re: 7/7 [NETFILTER]: Implement NFPROTO_UNSPEC as a wildcard for extensions

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

 



On Thursday 2008-09-04 11:10, Patrick McHardy wrote:
> Jan Engelhardt wrote:
>> [NETFILTER]: Implement NFPROTO_UNSPEC as a wildcard for extensions
>> 
>> When a match or target is looked up using xt_find_{match,target},
>> Xtables will also search the NFPROTO_UNSPEC module list. This allows
>> for protocol-independent extensions (like xt_time) to be reused from
>> other components (e.g. arptables, ebtables).
>> 
>> Extensions that take different codepaths depending on match->family
>> or target->family of course cannot use NFPROTO_UNSPEC within the
>> registration structure (e.g. xt_pkttype).
>
> Nice work. You should have compile tested it though.

I sure did. But somehow, this one with xt_string somehow crept in,
reappeared several times in my own tree(s), mostly due to unsynchronized
clone/rebase/push -f.
--
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