Bug 1065565 - Unable to permit OSPF for IPv6
Summary: Unable to permit OSPF for IPv6
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: firewalld
Version: 20
Hardware: noarch
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Thomas Woerner
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-02-14 23:51 UTC by Pete Zaitcev
Modified: 2015-01-06 06:15 UTC (History)
2 users (show)

Fixed In Version: firewalld-0.3.13-1.fc20
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-01-06 06:13:00 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1164605 0 medium CLOSED Unable to create service that matches OSPF packets 2021-02-22 00:41:40 UTC

Internal Links: 1164605

Description Pete Zaitcev 2014-02-14 23:51:56 UTC
Description of problem:

After adding a service file for OSPF, IP works, but IPv6 prints
error "ip6tables v1.4.19.1: unknown header `89' specified".

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

firewalld-0.3.9.3-1.fc20.noarch

How reproducible:

synchronous

Steps to Reproduce:
1. create a service file, cat <<EOF >/etc/firewall/services/ospf.xml
<?xml version="1.0" encoding="utf-8"?>
<service>
  <short>OSPF</short>
  <description>Link-state routing protocol</description>
  <port protocol="ospf" port=""/>
  <!-- <destination ipv6="::/0"/> -->
  <module name=""/>
</service>
EOF
This is a universal file that enables both OSPF and OSPF v6.

2. firewall-cmd --reload
3. firewall-cmd --add-service=ospf

Actual results:

[root@simbelmyne quagga]# firewall-cmd --add-service=ospf
Error: COMMAND_FAILED: '/sbin/ip6tables -A IN_public_allow -t filter -m ipv6header --header ospf -m conntrack --ctstate NEW -j ACCEPT' failed: ip6tables v1.4.19.1: unknown header `89' specified
Try `ip6tables -h' or 'ip6tables --help' for more information.

Expected results:

success

Additional info:

It's some kind of difference between v4 and v6, the v4 works fine.

A workaround currently used:

firewall-cmd --direct --add-rule ipv6 filter INPUT 1 -p ospf -j ACCEPT

Comment 1 Jiri Popelka 2014-12-03 18:00:53 UTC
Thomas, let me know what do you think.

https://git.fedorahosted.org/cgit/firewalld.git/commit/?id=5e0b34d6492109e5039cb367a97a1a4564a1c545

Comment 2 Pete Zaitcev 2014-12-04 03:03:55 UTC
The proposed patch works for me. I applied it by hand to
firewalld-0.3.12-1.fc20.noarch and firewalld-0.3.12-1.fc21.noarch.

Comment 3 Fedora Update System 2014-12-04 18:45:00 UTC
firewalld-0.3.13-1.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/firewalld-0.3.13-1.fc21

Comment 4 Fedora Update System 2014-12-04 18:45:34 UTC
firewalld-0.3.13-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/firewalld-0.3.13-1.fc20

Comment 5 Fedora Update System 2014-12-05 00:48:06 UTC
Package firewalld-0.3.13-1.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing firewalld-0.3.13-1.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-16322/firewalld-0.3.13-1.fc21
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2015-01-06 06:13:00 UTC
firewalld-0.3.13-1.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2015-01-06 06:15:46 UTC
firewalld-0.3.13-1.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.


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