Bug 1274659

Summary: 'iptables' should support IPv6 transparently
Product: [Fedora] Fedora Reporter: Nikos Mavrogiannopoulos <nmavrogi>
Component: iptablesAssignee: Thomas Woerner <twoerner>
Status: CLOSED CANTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 24CC: jpopelka, nmavrogi, twoerner
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-13 15:50:58 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 883152    

Description Nikos Mavrogiannopoulos 2015-10-23 09:54:56 UTC
Description of problem:

The current system of using different software (iptables vs ip6tables) for different versions of the IP stack is broken.  As the IPv6 transition moves ahead its unreasonable to expect the user to do the IP address parsing and decide to use the appropriate tool for the address. 

iptables should work like traceroute, ssh or all other applications supporting both protocol versions by default.

How reproducible:
Always

Steps to Reproduce:
1. iptables -I INPUT -i eth0 -d fe80::/64 -j ACCEPT

Actual results:
iptables v1.4.21: invalid mask `64' specified
Try `iptables -h' or 'iptables --help' for more information.
 
Expected results:
Rule is added.

Comment 1 Thomas Woerner 2015-10-23 14:13:28 UTC
A combined version will be available with nftables, which will be replacing the existing {ip,ip6,arp,eb}tables frameworks. There will be only one nft comamnd for all these frameworks together.

For more information on nftables, please have a look at http://netfilter.org/projects/nftables/

Comment 2 Nikos Mavrogiannopoulos 2015-10-23 14:22:23 UTC
Is that something we plan to switch on? (is it on working state?) If yes, let's close this bug when we have switched to nftables.

Comment 3 Thomas Woerner 2015-10-23 15:23:04 UTC
nftables is still in development and will most likely take some time still to get to into the working and stable state. There are different estimations from months to years.

There will not be a lot of development in the old iptables code besides work on the compatibility layer for nftables. A development like creating a unified tool will most likely not be possible and happening as this would require big code changes and rearrangements.

Comment 4 Jan Kurik 2016-02-24 13:51:59 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 24 development cycle.
Changing version to '24'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora24#Rawhide_Rebase

Comment 5 Thomas Woerner 2016-04-13 15:50:58 UTC
I am closing this as CANTFIX. 

The is not solvable with iptables. nft(ables) will provide it.