all lists on lists.proxmox.com
 help / color / mirror / Atom feed
From: "DERUMIER, Alexandre" <Alexandre.DERUMIER@groupe-cyllene.com>
To: "pve-devel@lists.proxmox.com" <pve-devel@lists.proxmox.com>,
	"t.lamprecht@proxmox.com" <t.lamprecht@proxmox.com>,
	"aderumier@odiso.com" <aderumier@odiso.com>
Subject: Re: [pve-devel] applied-series: [PATCH pve-common 0/2] add disable bridge learning feature
Date: Wed, 16 Mar 2022 16:43:54 +0000	[thread overview]
Message-ID: <f4648bed1099d55cd9acbf86ccec1001b7d4870c.camel@groupe-cyllene.com> (raw)
In-Reply-To: <732df56c-ef4c-5b28-a279-a594e1c36e0c@proxmox.com>

Hi Thomas,

I'm currently on a proxmox training session this week, so I'll not have
time to work on it until next week.

BTW, I have also an pending bugfix for mtu && ovs here, but I think I
need to rebase it now that others patches are applied, so I'll rework
it for next week.

https://lists.proxmox.com/pipermail/pve-devel/2022-February/051808.html


And, If you have time, I'll like to include this patch before release
of qemu 6.2  (new balloon option free-page-reporting)
https://lists.proxmox.com/pipermail/pve-devel/2022-March/051940.html



Thanks for your time !

Alexandre

Le mercredi 16 mars 2022 à 17:33 +0100, Thomas Lamprecht a écrit :
> On 24.09.21 10:48, Alexandre Derumier wrote:
> > Currently, if bridge receive an unknown dest mac (network
> > bug/attack/..),
> > we are flooding packets to all bridge ports.
> > 
> > This can waste cpu time, even more with firewall enabled.
> > Also, if firewall is used with reject action, the src mac of RST
> > packet is the original unknown dest mac.
> > (This can block the server at Hetzner for example)
> > 
> > So, we can disable learning && unicast_flood on tap|veth|fwln port
> > interface.
> > Then mac address need to be add statically in bridge fdb.
> > 
> > 
> > Alexandre Derumier (2):
> >   network: add support for disabling bridge learning on
> > tap|veth|fwln
> >     ports
> >   Inotify: add bridge-disable-mac-learning option to bridges.
> > 
> >  src/PVE/INotify.pm |  4 +++-
> >  src/PVE/Network.pm | 60 +++++++++++++++++++++++++++++++++++++++++-
> > ----
> >  2 files changed, 57 insertions(+), 7 deletions(-)
> > 
> 
> 
> 
> applied, thanks! But I moved from the single flag to an $opts hash
> for the tap_plug
> option, nicer to use than those overly long parameter flags list,
> that often have
> lots of slightly confusing undef mixed in.
> 
> You need to adapt the calling site of the relevant open patches
> though (sorry for
> the added work).
> 


      reply	other threads:[~2022-03-16 16:44 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-24  8:48 [pve-devel] " Alexandre Derumier
2021-09-24  8:48 ` [pve-devel] [PATCH pve-common 1/2] network: add support for disabling bridge learning on tap|veth|fwln ports Alexandre Derumier
2021-09-24  8:48 ` [pve-devel] [PATCH pve-common 2/2] Inotify: add bridge-disable-mac-learning option to bridges Alexandre Derumier
2021-11-11 10:40 ` [pve-devel] [PATCH pve-common 0/2] add disable bridge learning feature Thomas Lamprecht
2021-11-11 10:46   ` Josef Johansson
2021-11-11 18:38   ` DERUMIER, Alexandre
2022-03-16 16:33 ` [pve-devel] applied-series: " Thomas Lamprecht
2022-03-16 16:43   ` DERUMIER, Alexandre [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f4648bed1099d55cd9acbf86ccec1001b7d4870c.camel@groupe-cyllene.com \
    --to=alexandre.derumier@groupe-cyllene.com \
    --cc=aderumier@odiso.com \
    --cc=pve-devel@lists.proxmox.com \
    --cc=t.lamprecht@proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal