|
发表于 2007-5-10 22:04:45
|
显示全部楼层
。。。。
终于找到个例子。。。献身了。。。高手把它翻译一下吧。。
example:
nth=Every,Counter,Packet
nth=2,3,0.
2,3,1
2,3,2
divide all packets into groups of three (2+1). The packets will be numbered from 0 to 2. So, a sequence of packets the rule matches looks like:
(0 1 2)(0 1 2)(0 1 2)(0 1 2)(0 1 2)...
the first rule will match the first packet in each group (" acket"=0). The second rule will match the second packet in each group (" acket"=1) and so on. Each successful match increments the counter. When a value of "Every" is reached, the counter is reset to 0. For this to work, the "Counter" should be the same for all rules (you can pick any value from 0 to 15, IIRC).
看完这个大家应该明白许多。。。 |
|