Repository navigation
Commit 92ecf2f
authored
- Option fields were read at their own widths whatever the length said, so a
length they overran or fell short of read octets that were not the option's
and rebuilt another. A mobility option, FID, ANI or LCMP sub-option, QoS
attribute or CGA extension whose fields do not take its declared length is
refused, and so is a target care-of address neither IPv4 nor IPv6, as BID's is.
- A CGA public key takes the long form of a DER length, and a CGA parameter
whose fixed fields or key run past its option is refused in the schema.
- The IPv4 Address Acknowledgement, IPv4 Home Address Request and Reply, and
Delegated MNP makers check a prefix length against its field width alone, so
one past the address that the reader keeps no longer refuses to rebuild.
- The Service Selection and MN-ID NAI makers count the octets the identifier
packs as, rather than its text re-encoded or its characters.
- The QoS option keeps the two reserved traffic-class bits as tc_reserved, a
new required field of its data model, which a direct construction now has to
pass: the breaking change.
- Adds a one-octet mutation sweep over every registered mobility option.
New tests fail on be83061 without the pcapkit/ change; MH and guard modules pass.
1 parent 6253a87 commit 92ecf2f
7 files changed
Lines changed: 603 additions & 69 deletions
File tree
- docs/source/pcapkit/protocols/internet
- pcapkit/protocols
- data/internet
- internet
- schema/internet
- tests/protocols/internet
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
987 | 987 | | |
988 | 988 | | |
989 | 989 | | |
| 990 | + | |
990 | 991 | | |
991 | 992 | | |
992 | 993 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2168 | 2168 | | |
2169 | 2169 | | |
2170 | 2170 | | |
2171 | | - | |
| 2171 | + | |
| 2172 | + | |
| 2173 | + | |
| 2174 | + | |
| 2175 | + | |
| 2176 | + | |
| 2177 | + | |
2172 | 2178 | | |
2173 | 2179 | | |
2174 | 2180 | | |
2175 | 2181 | | |
2176 | 2182 | | |
2177 | 2183 | | |
| 2184 | + | |
| 2185 | + | |
| 2186 | + | |
2178 | 2187 | | |
2179 | 2188 | | |
2180 | 2189 | | |
| |||
2185 | 2194 | | |
2186 | 2195 | | |
2187 | 2196 | | |
2188 | | - | |
| 2197 | + | |
2189 | 2198 | | |
2190 | 2199 | | |
2191 | 2200 | | |
| |||
0 commit comments