libknot 3.3.8__tar.gz → 3.4.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {libknot-3.3.8 → libknot-3.4.0}/PKG-INFO +1 -1
- {libknot-3.3.8 → libknot-3.4.0}/libknot/__init__.py +1 -1
- {libknot-3.3.8 → libknot-3.4.0}/libknot/probe.py +6 -4
- {libknot-3.3.8 → libknot-3.4.0}/libknot.egg-info/PKG-INFO +1 -1
- {libknot-3.3.8 → libknot-3.4.0}/pyproject.toml +1 -1
- {libknot-3.3.8 → libknot-3.4.0}/setup.py +1 -1
- {libknot-3.3.8 → libknot-3.4.0}/README.md +0 -0
- {libknot-3.3.8 → libknot-3.4.0}/libknot/control.py +0 -0
- {libknot-3.3.8 → libknot-3.4.0}/libknot/dname.py +0 -0
- {libknot-3.3.8 → libknot-3.4.0}/libknot.egg-info/SOURCES.txt +0 -0
- {libknot-3.3.8 → libknot-3.4.0}/libknot.egg-info/dependency_links.txt +0 -0
- {libknot-3.3.8 → libknot-3.4.0}/libknot.egg-info/top_level.txt +0 -0
- {libknot-3.3.8 → libknot-3.4.0}/setup.cfg +0 -0
|
@@ -12,9 +12,9 @@ class KnotProbeDataProto(enum.IntEnum):
|
|
|
12
12
|
|
|
13
13
|
UDP = 0
|
|
14
14
|
TCP = 1
|
|
15
|
-
QUIC =
|
|
16
|
-
TLS =
|
|
17
|
-
HTTPS =
|
|
15
|
+
QUIC = 2
|
|
16
|
+
TLS = 3
|
|
17
|
+
HTTPS = 4
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
class KnotProbeDataDNSHdr(ctypes.BigEndianStructure):
|
|
@@ -132,8 +132,10 @@ class KnotProbeData(ctypes.Structure):
|
|
|
132
132
|
string += COL("UDP", GRN)
|
|
133
133
|
elif self.proto == KnotProbeDataProto.TCP:
|
|
134
134
|
string += COL("TCP", RED)
|
|
135
|
-
|
|
135
|
+
elif self.proto == KnotProbeDataProto.QUIC:
|
|
136
136
|
string += COL("QUIC", ORG)
|
|
137
|
+
else:
|
|
138
|
+
string += COL("TLS", YELW)
|
|
137
139
|
if self.tcp_rtt > 0:
|
|
138
140
|
string += ", RTT %.2f ms" % (self.tcp_rtt / 1000)
|
|
139
141
|
string += "\n ID %u, " % self.query_hdr.id
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|