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: <87tttgcv0v.fsf@nvidia.com>
Date: Thu, 3 Aug 2023 11:49:57 +0200
From: Petr Machata <petrm@...dia.com>
To: Ido Schimmel <idosch@...dia.com>
CC: <netdev@...r.kernel.org>, <stephen@...workplumber.org>,
	<dsahern@...il.com>, <petrm@...dia.com>, <razor@...ckwall.org>
Subject: Re: [PATCH iproute2-next v2] bridge: Add backup nexthop ID support


Ido Schimmel <idosch@...dia.com> writes:

> Extend the bridge and ip utilities to set and show the backup nexthop ID
> bridge port attribute. A value of 0 (default) disables the feature, in
> which case the attribute is not printed since it is not emitted by the
> kernel.
>
> Example:
>
>  # bridge -d link show dev swp1 | grep -o "backup_nhid [0-9]*"
>  # bridge -d -j -p link show dev swp1 | jq '.[]["backup_nhid"]'
>  null
>
>  # bridge link set dev swp1 backup_nhid 10
>  # bridge -d link show dev swp1 | grep -o "backup_nhid [0-9]*"
>  backup_nhid 10
>  # bridge -d -j -p link show dev swp1 | jq '.[]["backup_nhid"]'
>  10
>
>  # bridge link set dev swp1 backup_nhid 0
>  # bridge -d link show dev swp1 | grep -o "backup_nhid [0-9]*"
>  # bridge -d -j -p link show dev swp1 | jq '.[]["backup_nhid"]'
>  null
>
>  # ip -d link show dev swp1 | grep -o "backup_nhid [0-9]*"
>  # ip -d -j -p lin show dev swp1 | jq '.[]["linkinfo"]["info_slave_data"]["backup_nhid"]'
>  null
>
>  # ip link set dev swp1 type bridge_slave backup_nhid 10
>  # ip -d link show dev swp1 | grep -o "backup_nhid [0-9]*"
>  backup_nhid 10
>  # ip -d -j -p lin show dev swp1 | jq '.[]["linkinfo"]["info_slave_data"]["backup_nhid"]'
>  10
>
>  # ip link set dev swp1 type bridge_slave backup_nhid 0
>  # ip -d link show dev swp1 | grep -o "backup_nhid [0-9]*"
>  # ip -d -j -p lin show dev swp1 | jq '.[]["linkinfo"]["info_slave_data"]["backup_nhid"]'
>  null
>
> Signed-off-by: Ido Schimmel <idosch@...dia.com>

Reviewed-by: Petr Machata <petrm@...dia.com>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ