Re: [PATCH BlueZ 0/3] mesh: Propagate/Preserve Net Index for Access Layer

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

 



Patch-set applied

On Tue, 2019-07-16 at 15:56 -0700, Brian Gix wrote:
> Two major flaws are corrected by this patch-set:
> 
> 1. The Spec defined Access Layer AID was being confused with the internally used
> key_id which is used to identify Network keys for multiple networks,
> sub-networks, and friendships. This confused ID was then being used instead
> of the correct Network Key ID for outgoing messages.
> 
> 2. The specification requires *responses* to all standard Server messages to
> be sent with the same credentials as the received command that triggered them.
> This requires more complete propagation of the Net Index value on received
> messages, so that the same Network key is used in the reverse direction.
> 
> This additionally now uses the requested Net Index when sending Device Key
> secured messages through the D-Bus interface.
> 
> Brian Gix (3):
>   mesh: Add bound Net Index lookup for App Keys
>   mesh: Normalize Access Key AID naming convention
>   mesh: Propagate Net Index up Rx message chain
> 
>  mesh/appkey.c        |  59 +++++++++++++-------
>  mesh/appkey.h        |   1 +
>  mesh/cfgmod-server.c | 154 ++++++++++++++++++++++++++++-----------------------
>  mesh/crypto.c        |  37 ++++++-------
>  mesh/crypto.h        |   8 +--
>  mesh/model.c         | 129 +++++++++++++++++++++---------------------
>  mesh/model.h         |  10 ++--
>  mesh/net.c           |  92 +++++++++++++++++-------------
>  mesh/net.h           |  10 ++--
>  mesh/node.c          |  10 ++--
>  10 files changed, 276 insertions(+), 234 deletions(-)
> 




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux