tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: ping(8) picking up another ping's echo replies

On Tue, Feb 13, 2018 at 05:47:47PM +0100, Edgar Fuß wrote:
> I guess the cleanest solution would be a PRNG shared by all ping(8) instances 
> and nobody else. I guess we don't have something like that, do we?

I wonder if we should simply replace arc4random() & 0xffff by

Additionaly matching the address as you suggested also sounds fine.


Home | Main Index | Thread Index | Old Index