You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I could add a request from a user point of view, multi ping is fantastic, but a common use case for me is pinging a series of ip addresses, if we could implement a way to ping an address and the following x amount of addresses I'd love that. For example 192.168.1.100 -n 5 would ping.100-.014
Please don't hijack other PRs for new requests on a different feature, we'll end up with big chaos if everyone does this 😉
For your use case I wonder if that could be done without any code on our side at all. Bash has this built in feature that expands ranges like foo{0..3} to foo0 foo1 foo2 foo3 iirc that should already work with the PR we have, could you try that?
This sounds like an feature to look at after this thing is merged: #109
BTW @dreua i am waiting for an review there 😉
iirc that should already work with the PR we have, could you try that?
I don't think so. My MR requires you to write -h in front of every extra host. I guess we would need to adjust it in a way to accept any extra arguments as ping host. To work with bash brace expansion. But i guess it would be easy to write a little bash function to expand it correctly. Writing a ip net in CIDR notation like 192.168.1.0/28 would also be an interessting form.
Activity
dreua commentedon Nov 23, 2024
Please don't hijack other PRs for new requests on a different feature, we'll end up with big chaos if everyone does this 😉
For your use case I wonder if that could be done without any code on our side at all. Bash has this built in feature that expands ranges like
foo{0..3}tofoo0 foo1 foo2 foo3iirc that should already work with the PR we have, could you try that?dark-spark commentedon Nov 24, 2024
Sorry about that. I will have a play with that and see how I go.
mrbesen commentedon Dec 15, 2024
This sounds like an feature to look at after this thing is merged: #109
BTW @dreua i am waiting for an review there 😉
I don't think so. My MR requires you to write
-hin front of every extra host. I guess we would need to adjust it in a way to accept any extra arguments as ping host. To work with bash brace expansion. But i guess it would be easy to write a little bash function to expand it correctly. Writing a ip net in CIDR notation like192.168.1.0/28would also be an interessting form.