Re: hooks

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

 



Hi Jan

For instance I can use

tron:/home/joblack/rarqos/iptables/iptables-1.4.0# iptables -t mangle
-A FORWARD -j RARQOS
iptables: Invalid argument

and I have the same output in the syslog file.

---
I don't have additional arguments ... strange behaviour.

Greetings
tobias

On Thu, Dec 18, 2008 at 1:27 AM, Jan Engelhardt <jengelh@xxxxxxxxxx> wrote:
>
> 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