Get the latest tech news

Rootless Pings in Rust


pings in Rust Sending a ping by creating an ICMP socket normally requires root: you can’t create a raw socket to send ICMP packets without it. The ping command line tool works without root however, how is that possible? It turns out you can create a UDP socket with a protocol flag, which allows you to send the ping rootless.

None

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Rust

Rust

Photo of Rootless Pings

Rootless Pings

Related news:

News photo

Show HN: Fixing Google Nano Banana Pixel Art with Rust

News photo

Linux 6.19 Will Allow You To Write I2C Drivers In Rust

News photo

Niri 25.11 Rust-Written Wayland Compositor Adds Alt-Tab Switcher, New Animations