Re: [PATCH] xt_request_find_match

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

 



>Jan Engelhardt wrote:
>> [...]
>>
>> Ok, but let's say I wanted to use a bigger match module (layer7, anyone?)
>> Then it's just not if(protocol == IPPROTO_TCP). What's the preferred solution
>> then?
>
>Make sure the user specifies the match on the command line before
>your match. Look at the TCPMSS or REJECT targets for examples for
>this.

That would mean I'd have to

  -p tcp -m multiport --dport 1,2,3,4 -m time --time sundays -m 
lotsofothers -j TARGET
  -p udp -m multiport --dport 1,2,3,4 -m time --time sundays -m 
lotsofothers -j TARGET

which can become quite computationally expensive - which I wanted to 
avoid.


	-`J'
-- 
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux