Commit e45d8ea
committed
hubble: add support for SCTP metrics
SCTP manages connection state using Chunk Types.
SCTP Chunk Types are transmitted in the payload, not in the header.
Currently, Cilium controls the amount of payload to extract using TracePayloadLen.
Because of this, there are limitations in fully parsing SCTP Chunk Types.
This commit adds support, based on the RFC, for Chunk Types that must appear first.
Among them,
SHUTDOWN is an exception: it may be transmitted together with a DATA chunk and therefore can be missed.1 parent f0fecfd commit e45d8ea
8 files changed
Lines changed: 599 additions & 184 deletions
File tree
- api/v1
- flow
- observer
- pkg/hubble
- metrics/sctp
- parser/threefour
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| 63 | + | |
63 | 64 | | |
64 | 65 | | |
65 | 66 | | |
| |||
728 | 729 | | |
729 | 730 | | |
730 | 731 | | |
| 732 | + | |
731 | 733 | | |
732 | 734 | | |
733 | 735 | | |
| |||
1250 | 1252 | | |
1251 | 1253 | | |
1252 | 1254 | | |
| 1255 | + | |
| 1256 | + | |
| 1257 | + | |
| 1258 | + | |
| 1259 | + | |
| 1260 | + | |
| 1261 | + | |
| 1262 | + | |
| 1263 | + | |
| 1264 | + | |
| 1265 | + | |
| 1266 | + | |
| 1267 | + | |
| 1268 | + | |
| 1269 | + | |
| 1270 | + | |
| 1271 | + | |
1253 | 1272 | | |
1254 | 1273 | | |
1255 | 1274 | | |
| |||
0 commit comments