chg: [doc] updated types
parent
c2fadf75be
commit
15d96cff6a
|
@ -1,11 +1,11 @@
|
||||||
# D4 encapsulation protocol (DRAFT)
|
# D4 encapsulation protocol version 1 (DRAFT)
|
||||||
|
|
||||||
## Headers
|
## Headers
|
||||||
|
|
||||||
| Name | bit size | Description |
|
| Name | bit size | Description |
|
||||||
|---------------|-----------|:----------------------------------------------------------------------:|
|
|---------------|-----------|:----------------------------------------------------------------------:|
|
||||||
| version | uint 8 | Version of the header |
|
| version | uint 8 | Version of the header |
|
||||||
| type | uint 8 | Data encapsulated type |
|
| type | uint 8 | Data encapsulated type |
|
||||||
| uuid | uint 128 | Sensor uuid |
|
| uuid | uint 128 | Sensor uuid |
|
||||||
| timestamp | uint 64 | Encapsulation time |
|
| timestamp | uint 64 | Encapsulation time |
|
||||||
| hmac | uint 256 | Header authenticated header (HMAC-SHA-256-128) |
|
| hmac | uint 256 | Header authenticated header (HMAC-SHA-256-128) |
|
||||||
|
@ -14,8 +14,13 @@
|
||||||
## Type
|
## Type
|
||||||
|
|
||||||
|Type| Description |
|
|Type| Description |
|
||||||
|----|:------------|
|
|----|:-----------------------------------|
|
||||||
| 0 | Reserved |
|
| 0 | Reserved |
|
||||||
| 1 | pcap |
|
| 1 | pcap (libpcap 2.4) |
|
||||||
| 2 | meta header (JSON)|
|
| 2 | meta header (JSON) |
|
||||||
|
| 3 | generic log line |
|
||||||
|
| 4 | dnscap output |
|
||||||
|
| 5 | pcapng |
|
||||||
|
| 6 | generic NDJSON or JSON Lines |
|
||||||
|
| 7 | generic YAF (Yet Another Flowmeter)|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue