bugzilla-daemon at netfilter.org
2013-Mar-28 15:16 UTC
[Bug 815] New: Cannot jump to custom chain target
https://bugzilla.netfilter.org/show_bug.cgi?id=815
Summary: Cannot jump to custom chain target
Product: iptables
Version: unspecified
Platform: x86_64
OS/Version: All
Status: NEW
Severity: major
Priority: P5
Component: iptables
AssignedTo: netfilter-buglog at lists.netfilter.org
ReportedBy: mrvamarek at yahoo.com
Estimated Hours: 0.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.
--
Configure bugmail: https://bugzilla.netfilter.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
bugzilla-daemon at netfilter.org
2013-Mar-28 16:07 UTC
[Bug 815] Cannot jump to custom chain target
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.
Apparently Analagous Threads
- [Bug 1410] New: STATELESS, rules with notrack into a map
- [Bug 1213] New: Nft stateless NAT (NOTRACK)
- [Bug 1051] New: nftables DNAT not working
- [Bug 1422] New: iptables-nft fails to check / delete rules in raw table
- [Bug 1254] New: nft commandline tool can't parse negative priority values.