Re: hooks

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

 



On Thursday 2008-12-18 00:31, Tobias Koeck wrote:
>
>I'm programing  module and in the register function I've included
>
>	.hooks		= (1 << NF_INET_FORWARD),
>
>If I want to append a rule with iptables I get the following error
>message in /var/log/syslog:
>
>tron kernel: ip_tables: RARQOS target: bad hook_mask 4/16
>What could be the problem?

In the invocation of the iptables command.
You are trying to use your target in the POSTROUTING chain (16)
but you only allow it to be used in FORWARD (4).
--
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