Bug 1826117 - ping -I <local ip address> ff02::1%<nicname> fails with "ping: bind icmp socket: Permission denied"
Summary: ping -I <local ip address> ff02::1%<nicname> fails with "ping: bind icmp sock...
Keywords:
Status: CLOSED DUPLICATE of bug 1803759
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 31
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
Assignee: Zdenek Pytela
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-04-20 22:40 UTC by Tim Coote
Modified: 2020-04-22 08:54 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2020-04-22 08:54:32 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Tim Coote 2020-04-20 22:40:29 UTC
Description of problem:
Cannot ping from local IPv6 address to find others on the same IP subnet. Selinux is preventing the command. All is well on Fedora 30

Version-Release number of selected component (if applicable):
iputils-20190515-5.fc31.x86_64
selinux-policy-3.14.4-50.fc31.noarch

How reproducible:
Every time

Steps to Reproduce:
1. On an IPv6 network with other hosts in the same subnet
2. `ping -c 3 -I <ULA or GUA> ff02::1%<nic with ULA or GUA attached>`
3. response is: "ping: bind icmp socket: Permission denied"
4. `sudo setenforce 0`
5. `ping -c 3 -I fca0:wwww:xxxx:yyyy:zzzz::1 ff02::1%ztr2qxxx`
6. other hosts respond to broadcast ND

Actual results:
See Steps to Reproduce, 3

Expected results:
See Steps to Reproduce, 6

Additional info:
I think that the `sudo setenforce 0` narrows down the source of the issue

Comment 1 Zdenek Pytela 2020-04-22 08:54:32 UTC

*** This bug has been marked as a duplicate of bug 1803759 ***


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