Repository navigation
Commit ece06d3
authored
Add NeighborDiscovery caching checks (#1368)
1. Protect against unsolicited neighbor advertisements writing to the cache
2. Protect against MAC caching for spoofed packets
We thank Causal Security (https://causalsecurity.com) for their help identifying this issue.
We thank @htibosch for the extensive help developing source code changes for this fix1 parent 201d3b6 commit ece06d3
19 files changed
Lines changed: 4028 additions & 532 deletions
File tree
- .github
- workflows
- source
- include
- test
- cbmc/proofs
- ND
- prvProcessICMPMessage_IPv6
- prvReturnICMP_IPv6
- RA/vReceiveRA
- parsing
- ProcessIPPacket
- ProcessReceivedUDPPacket_IPv6
- integration-test/ndp
- unit-test
- FreeRTOS_IP
- FreeRTOS_ND
- FreeRTOS_UDP_IPv6
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
810 | 810 | | |
811 | 811 | | |
812 | 812 | | |
| 813 | + | |
813 | 814 | | |
814 | 815 | | |
815 | 816 | | |
| |||
1360 | 1361 | | |
1361 | 1362 | | |
1362 | 1363 | | |
| 1364 | + | |
1363 | 1365 | | |
1364 | 1366 | | |
1365 | 1367 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
139 | | - | |
| 139 | + | |
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1823 | 1823 | | |
1824 | 1824 | | |
1825 | 1825 | | |
| 1826 | + | |
| 1827 | + | |
1826 | 1828 | | |
1827 | 1829 | | |
1828 | | - | |
1829 | 1830 | | |
1830 | 1831 | | |
1831 | 1832 | | |
1832 | 1833 | | |
1833 | 1834 | | |
1834 | 1835 | | |
1835 | 1836 | | |
1836 | | - | |
| 1837 | + | |
1837 | 1838 | | |
1838 | 1839 | | |
1839 | 1840 | | |
| |||
2131 | 2132 | | |
2132 | 2133 | | |
2133 | 2134 | | |
2134 | | - | |
| 2135 | + | |
| 2136 | + | |
2135 | 2137 | | |
2136 | 2138 | | |
2137 | 2139 | | |
| |||
2163 | 2165 | | |
2164 | 2166 | | |
2165 | 2167 | | |
2166 | | - | |
2167 | 2168 | | |
2168 | | - | |
2169 | 2169 | | |
2170 | 2170 | | |
2171 | 2171 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
694 | 694 | | |
695 | 695 | | |
696 | 696 | | |
697 | | - | |
| 697 | + | |
| 698 | + | |
| 699 | + | |
| 700 | + | |
698 | 701 | | |
699 | 702 | | |
700 | 703 | | |
| |||
0 commit comments