Bug 145642 - iptables ROUTE target does not work
Summary: iptables ROUTE target does not work
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 3
Hardware: i686
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Dave Jones
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-01-20 12:07 UTC by Sebastiano Vigna
Modified: 2015-01-04 22:15 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-01-21 02:32:55 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Sebastiano Vigna 2005-01-20 12:07:51 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5)
Gecko/20041107 Firefox/1.0

Description of problem:
If you try to use the ROUTE target (quoted in the manual) it does not
work, as the relative extension is not present:

iptables -t mangle -A PREROUTING --proto tcp --destination-port ! 21
-j ROUTE
iptables v1.2.11: Couldn't load target
`ROUTE':/lib/iptables/libipt_ROUTE.so: cannot open shared object file:
No such file or directory


Version-Release number of selected component (if applicable):
 v1.2.11

How reproducible:
Always

Steps to Reproduce:
Do as above.
    

Additional info:

Comment 1 Thomas Woerner 2005-01-20 12:34:16 UTC
There is no ipt_ROUTE support in the kernel, therefore there is no
extensin module in iptables for it.

Assigning to kernel.

Comment 2 Sebastiano Vigna 2005-01-20 15:40:18 UTC
True, but the manual contains the full section about ROUTE.

Comment 3 Dave Jones 2005-01-21 02:32:55 UTC
By the looks of things, this never got merged upstream, in either 2.4
or 2.6. Googling around shows patches against a
net/ipv4/netfilter/ipt_ROUTE.c, but there's no sign of that file in
any of the bitkeeper repositories. 

In fact.. I just grabbed the patch-o-matic from
http://www.netfilter.org, and it's an add-on there.

Your best bet is to ask the netfilter folks directly, as they know the
full story about whats happening with it.
If it reappears in a future update, we can consider turning it on in
an errata kernel, but right now, there's nothing to turn on.

Thomas, you may want to remove that part of the manpage in an update,
as its very misleading to document something that doesn't seem to have
any chance of working without additional patches.


Note You need to log in before you can comment on or make changes to this bug.