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

Re: [libvirt] [PATCH v2 2/2] bridge driver: don't masquerade local subnet broadcast/multicast packets

On 09/23/13 16:46, Laine Stump wrote:

> 2) Along with, I think this patch can/should also add
> a "networkDirectedLocalBroadcast" (which will obviously need to be a
> local variable and recomputed each time). This can be computed by ORing
> the ip address of the network with ~netmask, then appending a 32 prefix.
> So for example, the directed broadcast for would be

I have just finished implementing and testing this. And now I realize
that such a rule is not necessary at all :)

Because, actually *falls into*
Hence, the masquerading rules, which are restricted to


destination addresses, *ignore* anyway. is tricky because it never falls into the bridge's
subnet numerically (consequently, it always matches the exclusive
constraint), and yet it must not be masqueraded.

I'm posting the v3 series anyway. It shouldn't be hard to trim it down
for v4...


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