diff options
| author | ache <ache@ache.one> | 2026-08-17 01:43:00 +0200 |
|---|---|---|
| committer | ache <ache@ache.one> | 2026-08-17 01:51:00 +0200 |
| commit | 4e4db4426f937af5c72f8b8f221eb50215af1aec (patch) | |
| tree | c7c67e7a92297c20f2347e33fc750e5369094feb /README.md | |
| parent | Add crates.io installation option (diff) | |
Add a known bugs section
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 38 |
1 files changed, 30 insertions, 8 deletions
@@ -7,14 +7,6 @@ Tested on Linux only. ## Install -From [crates.io](https://crates.io/crates/rusty-ping) : - -```shell -$ cargo install rusty-ping -``` - -Or from source : - ```shell $ git clone https://source.tube/ache/rusty-ping $ cd rusty-ping @@ -123,6 +115,36 @@ RTT is expressed in miliseconds. Rusty-ping does NOT use the `ping` command. It isn't tied to Bash or any specific shell. +### 🐛 Known "bugs" 🪲 🐞 + +The list of « bugs » that may be fixed. + +#### ICMP unprivilegied must be allowed + +rusty-ping doesn't implement _privilegied ping_. +You must have unprivilegied ping allowed (default on Arch Linux, not the default in the Linux kernel). + +Check with `sysctl` : + +```shell +$ sysctl net.ipv4.ping_group_range +net.ipv4.ping_group_range = 1 0 +``` + +Change it to 0 to 2147483647 to allow every user to create ICMP_PROTO datagram sockets. + +```shell +# sysctl net.ipv4.ping_group_range="0 2147483647" # Reset on reboot +# echo "net.ipv4.ping_group_range = 0 2147483647" | tee /etc/sysctl.d/99-ping.conf # Make it permanent +``` + +#### Repetitive UI + +If there is not enougth lines to print the whole UI, the terminal will scroll and shift the ping line. +It will so happen at each ping and the whole UI will be shifted more and more. + +Some code should detect that there is not enougth lines to print everything and fail. + ### Rust dependencies: - `clap` to parse args. |