[Bug 815] Cannot jump to custom chain target

bugzilla-daemon at netfilter.org bugzilla-daemon at netfilter.org
Thu Mar 28 17:07:08 CET 2013


https://bugzilla.netfilter.org/show_bug.cgi?id=815

Pablo Neira Ayuso <pablo at netfilter.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |pablo at netfilter.org
         Resolution|                            |INVALID

--- Comment #1 from Pablo Neira Ayuso <pablo at netfilter.org> 2013-03-28 17:07:07 CET ---
(In reply to comment #0)
> When I execute the following:
> 
> $> iptables -N test
> $> iptables -t raw -A PREROUTING -j test
> 
> I get:
> 
> iptables v1.4.16.3: Couldn't load target `test':No such file or directory
> 
> Try `iptables -h' or 'iptables --help' for more information.
> 
> Expected result:
>   New rule added to the PREROUTING chain of the raw table, with jump target set
> as custom chain.

You have to use

iptables -t raw -N test

Otherwise, the new chain `test' is created in the filter table.

-- 
Configure bugmail: https://bugzilla.netfilter.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the netfilter-buglog mailing list