mesh: Propagate/Preserve Net Index for Access Layer
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | mesh: Add bound Net Index lookup for App Keysmesh/ mesh/ | +39 | 0 replies | |
| 2/3 | mesh: Normalize Access Key AID naming conventionmesh/ mesh/ mesh/ | +23 | 0 replies | |
| 3/3 | mesh: Propagate Net Index up Rx message chainmesh/ mesh/ mesh/ +3 more | +214 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH BlueZ 0/3] mesh: Propagate/Preserve Net Index for Access Layer
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(-)
Signature · 1 line
2.14.5