On Wed, 17 Aug 2005, yenganti pradeep wrote:

       How to change the priority of filter
table(iptables) ie I want to change the value of
NF_IP_PRI_FILTER. Can I do that only at a specified
hook   or the result applies to all hooks?

Changing this define would change the priority of the filter table in all three hooks (LOCAL_IN, FORWARD and LOCAL_OUT).

If you want to change the priority in a single hook only you need to change that specific hook definiton. See where NF_IP_PRI_FILTER is used in iptable_filter.c and adjust it there accordingly.

Why do you need to change the priority of the filter table? Maybe you should use another table like mangle for what it is you need to do..

Regards
Henrik
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to