Get the latest tech news
Show HN: Blitzping – A far faster nping/hping3 SYN-flood alternative with CIDR
Sending IP packets as fast as possible in userland. - Thraetaona/Blitzping
I found hping3 and nmap's nping to be far too slow in terms of sending individual, bare-minimum (40-byte) TCP packets; other than inefficient socket I/O, they were also attempting to do far too much uunnecessary processing in what should have otherwise been a tight execution loop. I tested Blitzping against both hpign3 and nping on two different routers, both running OpenWRT 23.05.03 (Linux Kernel v5.15.150) with the "masquerading" option (i.e., NAT) turned off in firewall; one device was a single-core 32-bit MIPS SoC, and another was a 64-bit quad-core ARMv8 CPU. However, because of LLVM being much more straightforward in crosscompiling to other architectures with its"target triplets," I configured the makefile to use that toolchain (i.e., clang, lld, and llvm-strip) by default.
Or read this on Hacker News