aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md38
1 files changed, 30 insertions, 8 deletions
diff --git a/README.md b/README.md
index c9233e7..b98ff67 100644
--- a/README.md
+++ b/README.md
@@ -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.