-
Notifications
You must be signed in to change notification settings - Fork 182
/
network.yaml
201 lines (200 loc) · 6.58 KB
/
network.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
groups:
- id: registry.network
prefix: network
type: attribute_group
brief: >
These attributes may be used for any network related operation.
attributes:
- id: carrier.icc
type: string
stability: experimental
brief: "The ISO 3166-1 alpha-2 2-character country code associated with the mobile carrier network."
examples: "DE"
- id: carrier.mcc
type: string
stability: experimental
brief: "The mobile carrier country code."
examples: "310"
- id: carrier.mnc
type: string
stability: experimental
brief: "The mobile carrier network code."
examples: "001"
- id: carrier.name
type: string
stability: experimental
brief: "The name of the mobile carrier."
examples: "sprint"
- id: connection.subtype
type:
allow_custom_values: true
members:
- id: gprs
brief: GPRS
value: "gprs"
- id: edge
brief: EDGE
value: "edge"
- id: umts
brief: UMTS
value: "umts"
- id: cdma
brief: CDMA
value: "cdma"
- id: evdo_0
brief: EVDO Rel. 0
value: "evdo_0"
- id: evdo_a
brief: "EVDO Rev. A"
value: "evdo_a"
- id: cdma2000_1xrtt
brief: CDMA2000 1XRTT
value: "cdma2000_1xrtt"
- id: hsdpa
brief: HSDPA
value: "hsdpa"
- id: hsupa
brief: HSUPA
value: "hsupa"
- id: hspa
brief: HSPA
value: "hspa"
- id: iden
brief: IDEN
value: "iden"
- id: evdo_b
brief: "EVDO Rev. B"
value: "evdo_b"
- id: lte
brief: LTE
value: "lte"
- id: ehrpd
brief: EHRPD
value: "ehrpd"
- id: hspap
brief: HSPAP
value: "hspap"
- id: gsm
brief: GSM
value: "gsm"
- id: td_scdma
brief: TD-SCDMA
value: "td_scdma"
- id: iwlan
brief: IWLAN
value: "iwlan"
- id: nr
brief: "5G NR (New Radio)"
value: "nr"
- id: nrnsa
brief: "5G NRNSA (New Radio Non-Standalone)"
value: "nrnsa"
- id: lte_ca
brief: LTE CA
value: "lte_ca"
stability: experimental
brief: 'This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection.'
examples: 'LTE'
- id: connection.type
type:
allow_custom_values: true
members:
- id: wifi
value: "wifi"
- id: wired
value: "wired"
- id: cell
value: "cell"
- id: unavailable
value: "unavailable"
- id: unknown
value: "unknown"
stability: experimental
brief: 'The internet connection type.'
examples: 'wifi'
- id: local.address
stability: stable
type: string
brief: Local address of the network connection - IP address or Unix domain socket name.
examples: ['10.1.2.80', '/tmp/my.sock']
- id: local.port
stability: stable
type: int
brief: Local port number of the network connection.
examples: [65123]
- id: peer.address
stability: stable
type: string
brief: Peer address of the network connection - IP address or Unix domain socket name.
examples: ['10.1.2.80', '/tmp/my.sock']
- id: peer.port
stability: stable
type: int
brief: Peer port number of the network connection.
examples: [65123]
- id: protocol.name
stability: stable
type: string
brief: '[OSI application layer](https://osi-model.com/application-layer/) or non-OSI equivalent.'
note: The value SHOULD be normalized to lowercase.
examples: ['amqp', 'http', 'mqtt']
- id: protocol.version
stability: stable
type: string
brief: The actual version of the protocol used for network communication.
examples: ['1.1', '2']
note: >
If protocol version is subject to negotiation (for example using [ALPN](https://www.rfc-editor.org/rfc/rfc7301.html)),
this attribute SHOULD be set to the negotiated version. If the actual protocol version is not known,
this attribute SHOULD NOT be set.
- id: transport
stability: stable
type:
allow_custom_values: true
members:
- id: tcp
value: 'tcp'
brief: "TCP"
- id: udp
value: 'udp'
brief: "UDP"
- id: pipe
value: "pipe"
brief: 'Named or anonymous pipe.'
- id: unix
value: 'unix'
brief: "Unix domain socket"
brief: >
[OSI transport layer](https://osi-model.com/transport-layer/) or
[inter-process communication method](https://wikipedia.org/wiki/Inter-process_communication).
note: |
The value SHOULD be normalized to lowercase.
Consider always setting the transport when setting a port number, since
a port number is ambiguous without knowing the transport. For example
different processes could be listening on TCP port 12345 and UDP port 12345.
examples: ['tcp', 'udp']
- id: type
stability: stable
type:
allow_custom_values: true
members:
- id: ipv4
value: 'ipv4'
brief: "IPv4"
- id: ipv6
value: 'ipv6'
brief: "IPv6"
brief: '[OSI network layer](https://osi-model.com/network-layer/) or non-OSI equivalent.'
note: The value SHOULD be normalized to lowercase.
examples: ['ipv4', 'ipv6']
- id: io.direction
type:
allow_custom_values: false
members:
- id: transmit
value: 'transmit'
- id: receive
value: 'receive'
stability: experimental
brief: "The network IO operation direction."
examples: ["transmit"]