If you could, please try it out on different systems and report back
if you see an improvement over Arping 2.11.
git clone https://github.com/ThomasHabets/arping.git
I made pcap_dispatch() eat up all packets waiting in queue before
returning. It looks better to me locally.
[1] I assume this includes MacOSX, but I don't have access to one.
--
typedef struct me_s {
char name[] = { "Thomas Habets" };
char email[] = { "tho...@habets.pp.se" };
char kernel[] = { "Linux" };
char *pgpKey[] = { "http://www.habets.pp.se/pubkey.txt" };
char pgp[] = { "A8A3 D1DD 4AE0 8467 7FDE 0945 286A E90A AD48 E854" };
char coolcmd[] = { "echo '. ./_&. ./_'>_;. ./_" };
} me_t;
Great.
> It might be better that checking the return value of pcap_dispatch()
> be <=0 instead of !=1 because it returns >1 when it dispatches
> multiple packets.
Doh. Thanks. (fixed)
And thanks for testing it.