openwrt / openwrt/packages

mwan3: Ping -I <interface>: ping: sendto: Permission denied on IPv6

Open
#15,434 15 comments 1 reaction 1 assignee View on GitHub

@feckert is already working on this.

Since Sep 3, 2021.

release/19.07 stale
Dominant language
Makefile
Stars
4.6k
Forks
4k
Avg merge
3d 12h
Merged PRs (30d)
134

Description

Maintainer: @feckert
Environment: 19.07.07 x86_64
Description: When using interface with ping -I ping gets an EPERM, but works with an IP address.

# ping -I pppoe-wan1 2001:4860:4860::8844
PING 2001:4860:4860::8844 (2001:4860:4860::8844): 56 data bytes
ping: sendto: Permission denied

# ping -I 2607:abcd:8006::2fe7 2001:4860:4860::8844
PING 2001:4860:4860::8844 (2001:4860:4860::8844) from 2607:abcd:8006::2fe7: 56 data bytes
64 bytes from 2001:4860:4860::8844: seq=0 ttl=118 time=12.070 ms
64 bytes from 2001:4860:4860::8844: seq=1 ttl=118 time=12.113 ms
64 bytes from 2001:4860:4860::8844: seq=2 ttl=118 time=11.783 ms
64 bytes from 2001:4860:4860::8844: seq=3 ttl=118 time=11.662 ms
64 bytes from 2001:4860:4860::8844: seq=4 ttl=118 time=12.152 ms
^C
--- 2001:4860:4860::8844 ping statistics ---
5 packets transmitted, 5 packets received, 0% packet loss
round-trip min/avg/max = 11.662/11.956/12.152 ms

And I verified it's using the correct interface in the latter case.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.