pypcapkit 1.3.5.post6__cp312-none-any.whl → 1.3.5.post12__cp312-none-any.whl
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.
- pcapkit/__init__.py +1 -1
- pcapkit/const/reg/apptype.py +33 -12
- pcapkit/const/reg/linktype.py +3 -20
- pcapkit/const/tcp/flags.py +2 -2
- pcapkit/const/tcp/option.py +2 -4
- {pypcapkit-1.3.5.post6.dist-info → pypcapkit-1.3.5.post12.dist-info}/METADATA +3 -2
- {pypcapkit-1.3.5.post6.dist-info → pypcapkit-1.3.5.post12.dist-info}/RECORD +11 -11
- {pypcapkit-1.3.5.post6.dist-info → pypcapkit-1.3.5.post12.dist-info}/WHEEL +1 -1
- {pypcapkit-1.3.5.post6.dist-info → pypcapkit-1.3.5.post12.dist-info}/entry_points.txt +0 -0
- {pypcapkit-1.3.5.post6.dist-info → pypcapkit-1.3.5.post12.dist-info/licenses}/LICENSE +0 -0
- {pypcapkit-1.3.5.post6.dist-info → pypcapkit-1.3.5.post12.dist-info}/top_level.txt +0 -0
pcapkit/__init__.py
CHANGED
pcapkit/const/reg/apptype.py
CHANGED
@@ -124,13 +124,13 @@ class AppType(StrEnum):
|
|
124
124
|
#: - [UDP] TCP Port Service Multiplexer
|
125
125
|
tcpmux: 'AppType' = 1, 'tcpmux', TransportProtocol.get('tcp') | TransportProtocol.get('udp')
|
126
126
|
|
127
|
-
#: - [TCP]
|
128
|
-
#: - [UDP]
|
129
|
-
|
127
|
+
#: - [TCP] Reserved
|
128
|
+
#: - [UDP] Reserved
|
129
|
+
reserved_2: 'AppType' = 2, 'reserved', TransportProtocol.get('tcp') | TransportProtocol.get('udp')
|
130
130
|
|
131
|
-
#: - [TCP]
|
132
|
-
#: - [UDP]
|
133
|
-
|
131
|
+
#: - [TCP] Reserved
|
132
|
+
#: - [UDP] Reserved
|
133
|
+
reserved_3: 'AppType' = 3, 'reserved', TransportProtocol.get('tcp') | TransportProtocol.get('udp')
|
134
134
|
|
135
135
|
#: - [TCP] Unassigned
|
136
136
|
#: - [UDP] Unassigned
|
@@ -12479,7 +12479,7 @@ class AppType(StrEnum):
|
|
12479
12479
|
|
12480
12480
|
#: - [TCP] Net Assistant
|
12481
12481
|
#: - [UDP] Net Assistant
|
12482
|
-
|
12482
|
+
net_assistant: 'AppType' = 3283, 'net-assistant', TransportProtocol.get('tcp') | TransportProtocol.get('udp')
|
12483
12483
|
|
12484
12484
|
#: - [TCP] 4Talk
|
12485
12485
|
#: - [UDP] 4Talk
|
@@ -14060,7 +14060,7 @@ class AppType(StrEnum):
|
|
14060
14060
|
|
14061
14061
|
#: - [TCP] Newton Dock
|
14062
14062
|
#: - [UDP] Newton Dock
|
14063
|
-
|
14063
|
+
newton_dock: 'AppType' = 3679, 'newton-dock', TransportProtocol.get('tcp') | TransportProtocol.get('udp')
|
14064
14064
|
|
14065
14065
|
#: - [TCP] NPDS Tracker
|
14066
14066
|
#: - [UDP] NPDS Tracker
|
@@ -21912,6 +21912,13 @@ class AppType(StrEnum):
|
|
21912
21912
|
#: - [UDP] Proprietary immutable distributed data storage
|
21913
21913
|
rome: 'AppType' = 7663, 'rome', TransportProtocol.get('tcp') | TransportProtocol.get('udp')
|
21914
21914
|
|
21915
|
+
#: [TCP] AuthorityGate Secure API communication for Orchestrated task
|
21916
|
+
#: sequencing
|
21917
|
+
authoritygate: 'AppType' = 7668, 'authoritygate', TransportProtocol.get('tcp')
|
21918
|
+
|
21919
|
+
#: [UDP] Reserved
|
21920
|
+
reserved_7668: 'AppType' = 7668, 'reserved', TransportProtocol.get('udp')
|
21921
|
+
|
21915
21922
|
#: [TCP] iMQ STOMP Server
|
21916
21923
|
imqstomp: 'AppType' = 7672, 'imqstomp', TransportProtocol.get('tcp')
|
21917
21924
|
|
@@ -27100,6 +27107,10 @@ class AppType(StrEnum):
|
|
27100
27107
|
#: - [UDP] InVision AG
|
27101
27108
|
invision_ag: 'AppType' = 45054, 'invision-ag', TransportProtocol.get('tcp') | TransportProtocol.get('udp')
|
27102
27109
|
|
27110
|
+
#: - [TCP] Wire and Wireless transfer on synchroniz
|
27111
|
+
#: - [UDP] Wire and Wireless transfer on synchroniz
|
27112
|
+
witsnet: 'AppType' = 45185, 'witsnet', TransportProtocol.get('tcp') | TransportProtocol.get('udp')
|
27113
|
+
|
27103
27114
|
#: [TCP] ASSIA CloudCheck WiFi Management System
|
27104
27115
|
cloudcheck: 'AppType' = 45514, 'cloudcheck', TransportProtocol.get('tcp')
|
27105
27116
|
|
@@ -27945,8 +27956,8 @@ class AppType(StrEnum):
|
|
27945
27956
|
brski_proxy: 'AppType' = -1, 'brski-proxy', TransportProtocol.get('tcp')
|
27946
27957
|
|
27947
27958
|
#: [TCP] Bootstrapping Remote Secure Key Infrastructure registrar with CMP
|
27948
|
-
#: capabilities according to the Lightweight CMP Profile (LCMPP
|
27949
|
-
#: [
|
27959
|
+
#: capabilities according to the Lightweight CMP Profile (LCMPP) [RFC9483]
|
27960
|
+
#: [:rfc:`9733`]
|
27950
27961
|
brski_reg_cmp: 'AppType' = -1, 'brski-reg-cmp', TransportProtocol.get('tcp')
|
27951
27962
|
|
27952
27963
|
#: [TCP] The Bootstrapping Remote Secure Key Infrastructure Registrar
|
@@ -28039,6 +28050,10 @@ class AppType(StrEnum):
|
|
28039
28050
|
#: [N/A] ElectraStar media centre control protocol
|
28040
28051
|
com_ocs_es_mcc: 'AppType' = -1, 'com-ocs-es-mcc', TransportProtocol.get('undefined')
|
28041
28052
|
|
28053
|
+
#: - [TCP] Management Utility/Compression Process
|
28054
|
+
#: - [UDP] Management Utility/Compression Process
|
28055
|
+
compressnet: 'AppType' = -1, 'compressnet', TransportProtocol.get('tcp') | TransportProtocol.get('udp')
|
28056
|
+
|
28042
28057
|
#: [UDP] DNS SRV service for smarthome server
|
28043
28058
|
conecube: 'AppType' = -1, 'conecube', TransportProtocol.get('udp')
|
28044
28059
|
|
@@ -31234,7 +31249,10 @@ class AppType(StrEnum):
|
|
31234
31249
|
if 7649 <= value <= 7662:
|
31235
31250
|
#: [N/A] Unassigned
|
31236
31251
|
return extend_enum(cls, 'unassigned_%d' % value, value, 'unassigned', TransportProtocol.get('undefined'))
|
31237
|
-
if 7664 <= value <=
|
31252
|
+
if 7664 <= value <= 7667:
|
31253
|
+
#: [N/A] Unassigned
|
31254
|
+
return extend_enum(cls, 'unassigned_%d' % value, value, 'unassigned', TransportProtocol.get('undefined'))
|
31255
|
+
if 7669 <= value <= 7671:
|
31238
31256
|
#: [N/A] Unassigned
|
31239
31257
|
return extend_enum(cls, 'unassigned_%d' % value, value, 'unassigned', TransportProtocol.get('undefined'))
|
31240
31258
|
if 7678 <= value <= 7679:
|
@@ -32671,7 +32689,10 @@ class AppType(StrEnum):
|
|
32671
32689
|
if 45046 <= value <= 45053:
|
32672
32690
|
#: [N/A] Unassigned
|
32673
32691
|
return extend_enum(cls, 'unassigned_%d' % value, value, 'unassigned', TransportProtocol.get('undefined'))
|
32674
|
-
if 45055 <= value <=
|
32692
|
+
if 45055 <= value <= 45184:
|
32693
|
+
#: [N/A] Unassigned
|
32694
|
+
return extend_enum(cls, 'unassigned_%d' % value, value, 'unassigned', TransportProtocol.get('undefined'))
|
32695
|
+
if 45186 <= value <= 45513:
|
32675
32696
|
#: [N/A] Unassigned
|
32676
32697
|
return extend_enum(cls, 'unassigned_%d' % value, value, 'unassigned', TransportProtocol.get('undefined'))
|
32677
32698
|
if 45515 <= value <= 45677:
|
pcapkit/const/reg/linktype.py
CHANGED
@@ -375,15 +375,7 @@ class LinkType(IntEnum):
|
|
375
375
|
#: [``DLT_IEEE802_16_MAC_CPS``] IEEE 802.16 MAC Common Part Sublayer.
|
376
376
|
IEEE802_16_MAC_CPS = 188
|
377
377
|
|
378
|
-
#: [``DLT_USB_LINUX``] USB packets, beginning with a Linux USB header
|
379
|
-
#: specified by the struct usbmon\_packet in the Documentation/usb/usbmon.txt
|
380
|
-
#: file in the Linux source tree. Only the first 48 bytes of that header are
|
381
|
-
#: present. All fields in the header are in host byte order. When performing a
|
382
|
-
#: live capture, the host byte order is the byte order of the machine on that
|
383
|
-
#: the packets are captured. When reading a pcap file, the byte order is the
|
384
|
-
#: byte order for the file, as specified by the file's magic number; when
|
385
|
-
#: reading a pcapng file, the byte order is the byte order for the section of
|
386
|
-
#: the pcapng file, as specified by the Section Header Block.
|
378
|
+
#: [``DLT_USB_LINUX``] USB packets, beginning with a Linux USB header.
|
387
379
|
USB_LINUX = 189
|
388
380
|
|
389
381
|
#: [``DLT_CAN20B``] Controller Area Network (CAN) v. 2.0B.
|
@@ -519,17 +511,8 @@ class LinkType(IntEnum):
|
|
519
511
|
#: [``DLT_MPLS``] MPLS, with an MPLS label as the link-layer header.
|
520
512
|
MPLS = 219
|
521
513
|
|
522
|
-
#: [``DLT_USB_LINUX_MMAPPED``] USB packets, beginning with
|
523
|
-
#:
|
524
|
-
#: Documentation/usb/usbmon.txt file in the Linux source tree. All 64 bytes of
|
525
|
-
#: the header are present. All fields in the header are in host byte order.
|
526
|
-
#: When performing a live capture, the host byte order is the byte order of the
|
527
|
-
#: machine on that the packets are captured. When reading a pcap file, the byte
|
528
|
-
#: order is the byte order for the file, as specified by the file's magic
|
529
|
-
#: number; when reading a pcapng file, the byte order is the byte order for the
|
530
|
-
#: section of the pcapng file, as specified by the Section Header Block. For
|
531
|
-
#: isochronous transfers, the ndesc field specifies the number of isochronous
|
532
|
-
#: descriptors that follow.
|
514
|
+
#: [``DLT_USB_LINUX_MMAPPED``] USB packets, beginning with an memory-mapped
|
515
|
+
#: Linux USB header.
|
533
516
|
USB_LINUX_MMAPPED = 220
|
534
517
|
|
535
518
|
#: [``DLT_DECT``] DECT packets, with a pseudo-header.
|
pcapkit/const/tcp/flags.py
CHANGED
@@ -31,8 +31,8 @@ class Flags(IntFlag):
|
|
31
31
|
#: Reserved for future use [:rfc:`9293`]
|
32
32
|
Reserved_6 = 1 << 6
|
33
33
|
|
34
|
-
#:
|
35
|
-
|
34
|
+
#: AE (Accurate ECN) [RFC-ietf-tcpm-accurate-ecn-34]
|
35
|
+
AE = 1 << 7
|
36
36
|
|
37
37
|
#: CWR (Congestion Window Reduced) [:rfc:`3168`]
|
38
38
|
CWR = 1 << 8
|
pcapkit/const/tcp/option.py
CHANGED
@@ -138,15 +138,13 @@ class Option(IntEnum):
|
|
138
138
|
#: Reserved (known unauthorized use without proper IANA assignment)
|
139
139
|
Reserved_78 = 78
|
140
140
|
|
141
|
-
#: Accurate ECN Order 0 (AccECN0)
|
142
|
-
#: registered 2024-07-11, expires 2025-08-03) [draft-ietf-tcpm-accurate-ecn-20]
|
141
|
+
#: Accurate ECN Order 0 (AccECN0) [RFC-ietf-tcpm-accurate-ecn-34]
|
143
142
|
Accurate_ECN_Order_0 = 172
|
144
143
|
|
145
144
|
#: Reserved
|
146
145
|
Reserved_173 = 173
|
147
146
|
|
148
|
-
#: Accurate ECN Order 1 (AccECN1)
|
149
|
-
#: registered 2024-07-11, expires 2025-08-03) [draft-ietf-tcpm-accurate-ecn-20]
|
147
|
+
#: Accurate ECN Order 1 (AccECN1) [RFC-ietf-tcpm-accurate-ecn-34]
|
150
148
|
Accurate_ECN_Order_1 = 174
|
151
149
|
|
152
150
|
#: RFC3692-style Experiment 1 (also improperly used for shipping
|
@@ -1,6 +1,6 @@
|
|
1
|
-
Metadata-Version: 2.
|
1
|
+
Metadata-Version: 2.4
|
2
2
|
Name: pypcapkit
|
3
|
-
Version: 1.3.5.
|
3
|
+
Version: 1.3.5.post12
|
4
4
|
Summary: PyPCAPKit: comprehensive network packet analysis library
|
5
5
|
Author-email: Jarry Shaw <jarryshaw@icloud.com>
|
6
6
|
Maintainer: Jarry Shaw
|
@@ -76,6 +76,7 @@ Requires-Dist: typing-extensions; extra == "docs"
|
|
76
76
|
Requires-Dist: mypy-extensions; extra == "docs"
|
77
77
|
Dynamic: description
|
78
78
|
Dynamic: description-content-type
|
79
|
+
Dynamic: license-file
|
79
80
|
|
80
81
|
PyPCAPKit - Comprehensive Network Packet Analysis Library
|
81
82
|
=========================================================
|
@@ -1,4 +1,4 @@
|
|
1
|
-
pcapkit/__init__.py,sha256
|
1
|
+
pcapkit/__init__.py,sha256=-ttDh631Qm1V9-u6PAaldVH0nB21rCcFJX99bRggvVc,4026
|
2
2
|
pcapkit/__main__.py,sha256=G3rJrhCwkxlxOa04zwRJ4mq4G1k8JYWES3JnsaeMDe4,6415
|
3
3
|
pcapkit/all.py,sha256=6G7rVFlajYk98F5vCYcLOw-CkXdEw4C2zAwnTgU0asU,6679
|
4
4
|
pcapkit/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -117,15 +117,15 @@ pcapkit/const/pcapng/record_type.py,sha256=4rZytbhhF6u5SPvQ8ew3jx4OhN_rwDQG3I4Jl
|
|
117
117
|
pcapkit/const/pcapng/secrets_type.py,sha256=n_662aowLtqA25ilbdG6BWb2rYmrdBJt79_SISzfJkw,1578
|
118
118
|
pcapkit/const/pcapng/verdict_type.py,sha256=_jEkN0g6CX-DGshAj-lUiZjiwdK7Fqou2pnzgZ-WyIk,1476
|
119
119
|
pcapkit/const/reg/__init__.py,sha256=xKABPHwDQ0diN2sFA7hkw42FNsb6tx294XemEjTs2g8,1469
|
120
|
-
pcapkit/const/reg/apptype.py,sha256=
|
120
|
+
pcapkit/const/reg/apptype.py,sha256=qjFIL38KV4QW7kPVRSwRXb5EQqZeIYlUtrFxNeF7_SA,1434105
|
121
121
|
pcapkit/const/reg/ethertype.py,sha256=6Xz-MugXqQMc8hUHmkMMK_zeeYlkJ1Ql9Jtek_e3j1g,26564
|
122
|
-
pcapkit/const/reg/linktype.py,sha256=
|
122
|
+
pcapkit/const/reg/linktype.py,sha256=AORA37l_v-jrUYhxbVeo-qpQZZs7qpZ0lnI-1DEKfX8,32621
|
123
123
|
pcapkit/const/reg/transtype.py,sha256=quUphafWvhgSJYulKmhBtb3h4vqiE9qyHWPAt0tWPBs,13019
|
124
124
|
pcapkit/const/tcp/__init__.py,sha256=PSTSxmdKt5l4NBsXq4m8x6dELWqOSNQxAuWePqTNAw8,1494
|
125
125
|
pcapkit/const/tcp/checksum.py,sha256=0SSu5WD2_BcN6CYnIMI0AoToDBFTcVrxOYNzGinm7kE,1524
|
126
|
-
pcapkit/const/tcp/flags.py,sha256=
|
126
|
+
pcapkit/const/tcp/flags.py,sha256=hT3El099DguAyXqHj4CFDx6TJNCTPzJNnsBRO9qwMGc,1744
|
127
127
|
pcapkit/const/tcp/mp_tcp_option.py,sha256=deLEl_q8GtoLu0GeJ8Ln3pEK-dHUImbUvNvHfANF9ig,2187
|
128
|
-
pcapkit/const/tcp/option.py,sha256=
|
128
|
+
pcapkit/const/tcp/option.py,sha256=OV-MElXFlEtlNoyQjpetZJn7Con9VpAl0fCgUmF0Gpo,5553
|
129
129
|
pcapkit/const/vlan/__init__.py,sha256=e58kBqVyx-aNe10uWkfI1grb1gI5t-VxyYnmP4qT2bM,690
|
130
130
|
pcapkit/const/vlan/priority_level.py,sha256=lditGE8zcRNmCnPW7lTM45R5Q9RQ-CqBRkqGGDSByJw,1936
|
131
131
|
pcapkit/corekit/__init__.py,sha256=YcNlfudunIO0cnpU7xX_r-xZafcO39TmS8Vp7z45BjE,1659
|
@@ -458,9 +458,9 @@ pcapkit/vendor/tcp/mp_tcp_option.py,sha256=f6_-VMoQFnhuEbxs17Q1rp6JjFSLXGK3w1K2v
|
|
458
458
|
pcapkit/vendor/tcp/option.py,sha256=p05DrOt2m0QCf4gjLJzRshQRvaWxmt2PIzsv2UMjsa8,3043
|
459
459
|
pcapkit/vendor/vlan/__init__.py,sha256=qvLktJ0yuoZokas6-_ZGwMJOzbujSCM8pZHQ9jjTegU,674
|
460
460
|
pcapkit/vendor/vlan/priority_level.py,sha256=xVu6M-Ys4pft5I-qPCCxM-KfnMAUnZppD2qPO9gPkVE,2961
|
461
|
-
pypcapkit-1.3.5.
|
462
|
-
pypcapkit-1.3.5.
|
463
|
-
pypcapkit-1.3.5.
|
464
|
-
pypcapkit-1.3.5.
|
465
|
-
pypcapkit-1.3.5.
|
466
|
-
pypcapkit-1.3.5.
|
461
|
+
pypcapkit-1.3.5.post12.dist-info/licenses/LICENSE,sha256=KkKND5E2e1Z6CQvSLPc1lRBy4xPRed41AG6q1txotWk,1516
|
462
|
+
pypcapkit-1.3.5.post12.dist-info/METADATA,sha256=MdyxXM01KxCS6Qxg3hKJGiyd-cCj_BHtIBwAohYJhT8,7754
|
463
|
+
pypcapkit-1.3.5.post12.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
|
464
|
+
pypcapkit-1.3.5.post12.dist-info/entry_points.txt,sha256=8tVaZ-N0S2t19ELoTEGq_OlC8-dSmd7dvNn-kMV3afY,100
|
465
|
+
pypcapkit-1.3.5.post12.dist-info/top_level.txt,sha256=KEssKRhG9ln3EOfGH-yi98HgI-MM9hOHy09QQP-fvk8,8
|
466
|
+
pypcapkit-1.3.5.post12.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|