Page MenuHomeVyOS Platform

ping flood does not work as unprivileged user
Closed, ResolvedPublicBUG


vyos@R3# run ping flood 
PING ( 56(84) bytes of data.
ping: cannot flood; minimal interval allowed for user is 200ms

For correct work ping with -f need the privileged level (sudo)
Propose to add

'flood': {
    'ping': 'sudo {command} -f',


Difficulty level
Unknown (require assessment)
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)

Event Timeline

Dmitry assigned this task to thomas-mangin.

All works on the rolling 1.3-rolling-202005030117

vyos@vyos:~$ ping flood count 300
PING ( 56(84) bytes of data.
--- ping statistics ---
300 packets transmitted, 300 received, 0% packet loss, time 411ms
rtt min/avg/max/mdev = 0.390/0.707/2.878/0.300 ms, ipg/ewma 1.375/0.678 ms
erkin renamed this task from ping flood does not work to ping flood does not work as unprivileged user.Aug 30 2021, 6:23 AM
erkin set Issue type to Bug (incorrect behavior).
erkin removed a subscriber: Active contributors.