whd
499f6680a3
[netdata] fix the source address check in LeaderBase::RouteLookup() ( #9335 )
...
In `LeaderBase::RouteLookup()`, OT currently checks the source address
of the packet to ensure it matches any of the Prefix TLV in leader's
netdata. Actually it should also verify that the Prefix TLV has a
Border Router sub-TLV.
In the current implementation, OT may wrongly send/forward a packet to
BR when its source address matches with a Prefix TLV which only
contains an External Route sub-TLV. This lets BR accidentally forward
packets from Thread to infra network. For example, a packet from
Mesh-Local address to On-Link address will be wrongly forwarded to
infra network.
I recently noticed this problem because we're now using either
`fc00:/7` or `::/0` for external routes in netdata, which always
matches Mesh-Local source addresses and makes the issue more obvious.
2023-08-03 10:04:40 -07:00
..
2023-05-22 18:04:09 -07:00
2023-08-03 10:04:40 -07:00
2023-07-19 13:21:29 -07:00
2023-05-04 09:59:24 -07:00
2022-11-22 21:39:11 -08:00
2023-03-06 21:15:32 -08:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2023-03-06 21:15:32 -08:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2023-05-22 18:04:09 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2023-03-06 21:15:32 -08:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2023-05-22 18:04:09 -07:00
2023-05-22 18:04:09 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2023-03-06 21:15:32 -08:00
2023-02-06 21:10:38 -08:00
2023-02-06 21:10:38 -08:00
2023-03-06 21:15:32 -08:00
2023-02-06 21:10:38 -08:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2023-07-10 11:35:27 -07:00
2023-07-10 11:35:27 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2023-05-22 18:04:09 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2023-02-06 21:10:38 -08:00
2023-03-06 21:15:32 -08:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2023-06-30 15:09:50 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2023-02-06 21:10:38 -08:00
2023-02-06 21:10:38 -08:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2023-06-14 20:07:24 -07:00
2023-05-22 18:04:09 -07:00
2023-05-04 09:59:24 -07:00
2023-06-21 10:44:28 -07:00
2023-05-04 09:59:24 -07:00
2023-05-04 09:59:24 -07:00
2022-07-19 09:12:17 -07:00
2023-05-22 18:04:09 -07:00
2023-05-04 09:59:24 -07:00
2023-05-04 09:59:24 -07:00
2023-05-22 18:04:09 -07:00
2023-05-04 09:59:24 -07:00
2023-05-04 09:59:24 -07:00
2023-05-22 18:04:09 -07:00
2023-05-04 09:59:24 -07:00
2023-05-04 09:59:24 -07:00
2023-05-04 09:59:24 -07:00
2023-05-04 09:59:24 -07:00
2023-07-17 13:09:06 -07:00
2023-05-04 09:59:24 -07:00
2020-04-24 16:22:00 -07:00
2023-02-04 21:09:54 -08:00
2023-02-04 21:09:54 -08:00
2023-05-04 09:59:24 -07:00
2021-07-19 14:35:50 -07:00
2023-05-04 09:59:24 -07:00
2020-08-03 09:25:14 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2023-02-28 23:01:43 -08:00
2020-06-10 18:14:59 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2021-04-12 07:30:27 -07:00
2022-07-07 16:50:21 -07:00
2020-08-06 21:40:24 -07:00
2021-06-16 23:07:23 -07:00
2022-07-07 16:50:21 -07:00
2023-02-06 21:10:38 -08:00
2021-10-22 08:02:52 -07:00
2022-07-07 16:50:21 -07:00
2023-05-04 09:59:24 -07:00
2023-07-17 13:09:06 -07:00
2023-02-06 21:10:38 -08:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2020-08-06 21:40:24 -07:00
2023-02-06 21:10:38 -08:00
2020-08-06 21:40:24 -07:00
2020-08-06 21:40:24 -07:00
2022-05-12 10:20:16 -07:00
2023-07-11 13:18:40 -07:00
2021-06-16 23:07:23 -07:00
2023-05-08 20:05:21 -07:00
2020-08-06 21:40:24 -07:00
2020-08-06 21:40:24 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2023-05-04 09:59:24 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2023-06-30 15:09:50 -07:00
2023-03-06 21:15:32 -08:00
2022-07-07 16:50:21 -07:00
2023-02-06 21:10:38 -08:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2023-02-06 21:10:38 -08:00
2022-06-02 15:32:08 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-12-08 17:28:39 -08:00
2022-09-29 15:37:26 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-10-06 18:31:25 -07:00
2022-07-07 16:50:21 -07:00
2023-07-17 13:09:06 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2023-06-21 10:44:28 -07:00
2023-05-04 09:59:24 -07:00
2021-07-19 14:35:50 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2023-03-07 12:54:45 -08:00
2023-03-07 12:54:45 -08:00
2023-03-07 12:54:45 -08:00
2022-07-07 16:50:21 -07:00
2023-03-06 21:15:32 -08:00
2023-02-06 21:10:38 -08:00
2023-02-06 21:10:38 -08:00
2023-05-22 18:04:09 -07:00
2023-05-22 18:04:09 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2023-06-30 15:14:00 -07:00
2023-05-22 18:04:09 -07:00
2023-05-22 18:04:09 -07:00
2022-07-07 16:50:21 -07:00
2023-07-19 13:21:29 -07:00
2023-05-04 09:59:24 -07:00