qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH, DoS] slirp (arp): do not special-case bogus IP


From: Samuel Thibault
Subject: Re: [Qemu-devel] [PATCH, DoS] slirp (arp): do not special-case bogus IP addresses
Date: Thu, 8 May 2014 08:50:33 +0200
User-agent: Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30)

Edgar E. Iglesias, le Thu 08 May 2014 06:10:18 +0000, a écrit :
> The search part looks OK to me but when adding to the arp table, don't
> you at least want to avoid adding mappings for 0.0.0.0/32?

I don't see the gain, actually.  It would mean burning some CPU all the
time just to save a small potential memory loss and CPU burning in the
rare case when the guest behaves oddly.

> to avoid for ex garps to pollute the cache with invalid entries?

Only one entry will be created and updated by garps. The guest already
has a lot of ways to pollute the cache :)

samuel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]