lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <32d0ce60-f79d-82d9-783f-89e190986ec6@blackwall.org>
Date:   Tue, 25 Apr 2023 09:48:20 +0300
From:   Nikolay Aleksandrov <razor@...ckwall.org>
To:     Ido Schimmel <idosch@...dia.com>, netdev@...r.kernel.org
Cc:     dsahern@...il.com, stephen@...workplumber.org, liuhangbin@...il.com
Subject: Re: [PATCH iproute2-next 2/2] bridge: link: Add support for
 neigh_vlan_suppress option

On 24/04/2023 19:09, Ido Schimmel wrote:
> Add support for the per-port neigh_vlan_suppress option. Example:
> 
>  # bridge link set dev swp1 neigh_vlan_suppress on
>  # bridge -d -j -p link show dev swp1
>  [ {
>          "ifindex": 62,
>          "ifname": "swp1",
>          "flags": [ "BROADCAST","NOARP","UP","LOWER_UP" ],
>          "mtu": 1500,
>          "master": "br0",
>          "state": "forwarding",
>          "priority": 32,
>          "cost": 100,
>          "hairpin": false,
>          "guard": false,
>          "root_block": false,
>          "fastleave": false,
>          "learning": true,
>          "flood": true,
>          "mcast_flood": true,
>          "bcast_flood": true,
>          "mcast_router": 1,
>          "mcast_to_unicast": false,
>          "neigh_suppress": false,
>          "neigh_vlan_suppress": true,
>          "vlan_tunnel": false,
>          "isolated": false,
>          "locked": false,
>          "mab": false,
>          "mcast_n_groups": 0,
>          "mcast_max_groups": 0
>      } ]
>  # bridge -d link show dev swp1
>  62: swp1: <BROADCAST,NOARP,UP,LOWER_UP> mtu 1500 master br0 state forwarding priority 32 cost 100
>      hairpin off guard off root_block off fastleave off learning on flood on mcast_flood on bcast_flood on mcast_router 1 mcast_to_unicast off neigh_suppress off neigh_vlan_suppress on vlan_tunnel off isolated off locked off mab off mcast_n_groups 0 mcast_max_groups 0
> 
>  # bridge link set dev swp1 neigh_vlan_suppress off
>  # bridge -d -j -p link show dev swp1
>  [ {
>          "ifindex": 62,
>          "ifname": "swp1",
>          "flags": [ "BROADCAST","NOARP","UP","LOWER_UP" ],
>          "mtu": 1500,
>          "master": "br0",
>          "state": "forwarding",
>          "priority": 32,
>          "cost": 100,
>          "hairpin": false,
>          "guard": false,
>          "root_block": false,
>          "fastleave": false,
>          "learning": true,
>          "flood": true,
>          "mcast_flood": true,
>          "bcast_flood": true,
>          "mcast_router": 1,
>          "mcast_to_unicast": false,
>          "neigh_suppress": false,
>          "neigh_vlan_suppress": false,
>          "vlan_tunnel": false,
>          "isolated": false,
>          "locked": false,
>          "mab": false,
>          "mcast_n_groups": 0,
>          "mcast_max_groups": 0
>      } ]
>  # bridge -d link show dev swp1
>  62: swp1: <BROADCAST,NOARP,UP,LOWER_UP> mtu 1500 master br0 state forwarding priority 32 cost 100
>      hairpin off guard off root_block off fastleave off learning on flood on mcast_flood on bcast_flood on mcast_router 1 mcast_to_unicast off neigh_suppress off neigh_vlan_suppress off vlan_tunnel off isolated off locked off mab off mcast_n_groups 0 mcast_max_groups 0
> 
> Signed-off-by: Ido Schimmel <idosch@...dia.com>
> ---
>  bridge/link.c            | 19 +++++++++++++++++++
>  ip/iplink_bridge_slave.c | 10 ++++++++++
>  man/man8/bridge.8        |  8 ++++++++
>  man/man8/ip-link.8.in    |  8 ++++++++
>  4 files changed, 45 insertions(+)
> 

Reviewed-by: Nikolay Aleksandrov <razor@...ckwall.org>


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ