Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Infinite loop when pinging over WireGuard with peer IP unavailable #67

Open
romanrm opened this issue Jan 15, 2022 · 0 comments
Open

Infinite loop when pinging over WireGuard with peer IP unavailable #67

romanrm opened this issue Jan 15, 2022 · 0 comments

Comments

@romanrm
Copy link

romanrm commented Jan 15, 2022

Hello,

Regardless of the WireGuard specifics, when invoked as:

oping -Z 0 -c 1 2620:0:ccc::2

It should do exactly 1 attempt to ping, and exit on success/failure. Instead, this happens:

ping_sendto: Required key not available
ping_send failed: Required key not available
ping_sendto: Required key not available
ping_send failed: Required key not available
ping_sendto: Required key not available
ping_send failed: Required key not available
ping_sendto: Required key not available
ping_send failed: Required key not available
ping_sendto: Required key not available
ping_send failed: Required key not available
ping_sendto: Required key not available
ping_send failed: Required key not available
ping_sendto: Required key not available
ping_send failed: Required key not available
ping_sendto: Required key not available
ping_send failed: Required key not available
ping_sendto: Required key not available
ping_send failed: Required key not available
ping_sendto: Required key not available
ping_send failed: Required key not available
ping_sendto: Required key not available
...
ping_sendto: Required key not available
ping_send failed: Required key not available
PING 2620:0:ccc::2 (2620:0:ccc::2) 56 bytes of data.

--- 2620:0:ccc::2 ping statistics ---
0 packets transmitted, 0 received, 0.00% packet loss, time 0.0ms

These are written hundreds of times per second, producing 3.5 MB of log for 2 or 3 seconds of operation. And it never exits, unless stopped with Ctrl+C.

oping 1.10.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant