Re: Changing the priority of filter table

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

 



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
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux