pypcapkit 1.3.5.post1__cp310-none-any.whl → 1.3.5.post5__cp310-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- pcapkit/__init__.py +1 -1
- pcapkit/const/ipv6/extension_header.py +3 -0
- pcapkit/const/reg/apptype.py +21 -14
- pcapkit/const/reg/linktype.py +5 -17
- pcapkit/const/reg/transtype.py +5 -2
- {pypcapkit-1.3.5.post1.dist-info → pypcapkit-1.3.5.post5.dist-info}/METADATA +4 -2
- {pypcapkit-1.3.5.post1.dist-info → pypcapkit-1.3.5.post5.dist-info}/RECORD +11 -11
- {pypcapkit-1.3.5.post1.dist-info → pypcapkit-1.3.5.post5.dist-info}/WHEEL +1 -1
- {pypcapkit-1.3.5.post1.dist-info → pypcapkit-1.3.5.post5.dist-info}/LICENSE +0 -0
- {pypcapkit-1.3.5.post1.dist-info → pypcapkit-1.3.5.post5.dist-info}/entry_points.txt +0 -0
- {pypcapkit-1.3.5.post1.dist-info → pypcapkit-1.3.5.post5.dist-info}/top_level.txt +0 -0
pcapkit/__init__.py
CHANGED
@@ -45,6 +45,9 @@ class ExtensionHeader(IntEnum):
|
|
45
45
|
#: Shim6, Shim6 Protocol [:rfc:`5533`]
|
46
46
|
Shim6 = 140
|
47
47
|
|
48
|
+
#: BIT-EMU, Bit-stream Emulation [RFC-ietf-pals-ple-14]
|
49
|
+
BIT_EMU = 147
|
50
|
+
|
48
51
|
#: Use for experimentation and testing [:rfc:`3692`]
|
49
52
|
Use_for_experimentation_and_testing_253 = 253
|
50
53
|
|
pcapkit/const/reg/apptype.py
CHANGED
@@ -116,8 +116,8 @@ class AppType(StrEnum):
|
|
116
116
|
def __hash__(self) -> 'int':
|
117
117
|
return hash(self.port)
|
118
118
|
|
119
|
-
#: - [TCP] Reserved
|
120
|
-
#: - [UDP] Reserved
|
119
|
+
#: - [TCP] Reserved [:rfc:`6335`]
|
120
|
+
#: - [UDP] Reserved [:rfc:`6335`]
|
121
121
|
reserved_0: 'AppType' = 0, 'reserved', TransportProtocol.get('tcp') | TransportProtocol.get('udp')
|
122
122
|
|
123
123
|
#: - [TCP] TCP Port Service Multiplexer
|
@@ -3152,12 +3152,12 @@ class AppType(StrEnum):
|
|
3152
3152
|
#: - [DCCP] RFC3692-style Experiment 2 [1][:rfc:`4727`][:rfc:`6335`]
|
3153
3153
|
exp2: 'AppType' = 1022, 'exp2', TransportProtocol.get('tcp') | TransportProtocol.get('udp') | TransportProtocol.get('sctp') | TransportProtocol.get('dccp')
|
3154
3154
|
|
3155
|
-
#: - [TCP] Reserved
|
3156
|
-
#: - [UDP] Reserved
|
3155
|
+
#: - [TCP] Reserved [:rfc:`6335`]
|
3156
|
+
#: - [UDP] Reserved [:rfc:`6335`]
|
3157
3157
|
reserved_1023: 'AppType' = 1023, 'reserved', TransportProtocol.get('tcp') | TransportProtocol.get('udp')
|
3158
3158
|
|
3159
|
-
#: - [TCP] Reserved
|
3160
|
-
#: - [UDP] Reserved
|
3159
|
+
#: - [TCP] Reserved [:rfc:`6335`]
|
3160
|
+
#: - [UDP] Reserved [:rfc:`6335`]
|
3161
3161
|
reserved_1024: 'AppType' = 1024, 'reserved', TransportProtocol.get('tcp') | TransportProtocol.get('udp')
|
3162
3162
|
|
3163
3163
|
#: - [TCP] network blackjack
|
@@ -10432,8 +10432,9 @@ class AppType(StrEnum):
|
|
10432
10432
|
#: - [UDP] initlsmsad
|
10433
10433
|
initlsmsad: 'AppType' = 2793, 'initlsmsad', TransportProtocol.get('tcp') | TransportProtocol.get('udp')
|
10434
10434
|
|
10435
|
-
#: [
|
10436
|
-
|
10435
|
+
#: - [TCP] Uniform Resource Platform
|
10436
|
+
#: - [UDP] Uniform Resource Platform
|
10437
|
+
urp: 'AppType' = 2794, 'urp', TransportProtocol.get('tcp') | TransportProtocol.get('udp')
|
10437
10438
|
|
10438
10439
|
#: - [TCP] LiveStats
|
10439
10440
|
#: - [UDP] LiveStats
|
@@ -19978,7 +19979,7 @@ class AppType(StrEnum):
|
|
19978
19979
|
#: [UDP] Reserved
|
19979
19980
|
reserved_6077: 'AppType' = 6077, 'reserved', TransportProtocol.get('udp')
|
19980
19981
|
|
19981
|
-
#: [UDP] Generic UDP Encapsulation [draft-herbert-gue]
|
19982
|
+
#: [UDP] Generic UDP Encapsulation [draft-herbert-gue-02]
|
19982
19983
|
gue: 'AppType' = 6080, 'gue', TransportProtocol.get('udp')
|
19983
19984
|
|
19984
19985
|
#: [TCP] Reserved
|
@@ -25468,6 +25469,9 @@ class AppType(StrEnum):
|
|
25468
25469
|
#: [UDP] Reserved
|
25469
25470
|
reserved_18243: 'AppType' = 18243, 'reserved', TransportProtocol.get('udp')
|
25470
25471
|
|
25472
|
+
#: [N/A] Unassigned
|
25473
|
+
unassigned_18259: 'AppType' = 18259, 'unassigned', TransportProtocol.get('undefined')
|
25474
|
+
|
25471
25475
|
#: - [TCP] GV NetConfig Service
|
25472
25476
|
#: - [UDP] GV NetConfig Service
|
25473
25477
|
gv_pf: 'AppType' = 18262, 'gv-pf', TransportProtocol.get('tcp') | TransportProtocol.get('udp')
|
@@ -27262,8 +27266,8 @@ class AppType(StrEnum):
|
|
27262
27266
|
#: [UDP] Reserved
|
27263
27267
|
reserved_49150: 'AppType' = 49150, 'reserved', TransportProtocol.get('udp')
|
27264
27268
|
|
27265
|
-
#: [N/A]
|
27266
|
-
|
27269
|
+
#: [N/A] Reserved [:rfc:`6335`]
|
27270
|
+
reserved_49151: 'AppType' = 49151, 'reserved', TransportProtocol.get('undefined')
|
27267
27271
|
|
27268
27272
|
#: [N/A] ARGUS Protocol
|
27269
27273
|
argus: 'AppType' = -1, 'argus', TransportProtocol.get('undefined')
|
@@ -30451,10 +30455,10 @@ class AppType(StrEnum):
|
|
30451
30455
|
if value in cls.__members_proto__.get(TransportProtocol.undefined, {}): # type: ignore[call-overload]
|
30452
30456
|
return cls.__members_proto__[TransportProtocol.undefined][value] # type: ignore[index]
|
30453
30457
|
if 225 <= value <= 241:
|
30454
|
-
#: [N/A] Reserved
|
30458
|
+
#: [N/A] Reserved [:rfc:`1060`]
|
30455
30459
|
return extend_enum(cls, 'reserved_%d' % value, value, 'reserved', TransportProtocol.get('undefined'))
|
30456
30460
|
if 249 <= value <= 255:
|
30457
|
-
#: [N/A] Reserved
|
30461
|
+
#: [N/A] Reserved [:rfc:`1060`]
|
30458
30462
|
return extend_enum(cls, 'reserved_%d' % value, value, 'reserved', TransportProtocol.get('undefined'))
|
30459
30463
|
if 272 <= value <= 279:
|
30460
30464
|
#: [N/A] Unassigned
|
@@ -32061,7 +32065,10 @@ class AppType(StrEnum):
|
|
32061
32065
|
if 18188 <= value <= 18240:
|
32062
32066
|
#: [N/A] Unassigned
|
32063
32067
|
return extend_enum(cls, 'unassigned_%d' % value, value, 'unassigned', TransportProtocol.get('undefined'))
|
32064
|
-
if 18244 <= value <=
|
32068
|
+
if 18244 <= value <= 18258:
|
32069
|
+
#: [N/A] Unassigned
|
32070
|
+
return extend_enum(cls, 'unassigned_%d' % value, value, 'unassigned', TransportProtocol.get('undefined'))
|
32071
|
+
if 18260 <= value <= 18261:
|
32065
32072
|
#: [N/A] Unassigned
|
32066
32073
|
return extend_enum(cls, 'unassigned_%d' % value, value, 'unassigned', TransportProtocol.get('undefined'))
|
32067
32074
|
if 18263 <= value <= 18462:
|
pcapkit/const/reg/linktype.py
CHANGED
@@ -31,22 +31,17 @@ class LinkType(IntEnum):
|
|
31
31
|
#: [``DLT_AX25``] AX.25 packet, with nothing preceding it.
|
32
32
|
AX25 = 3
|
33
33
|
|
34
|
-
#: [``DLT_PRONET``] Proteon ProNET Token Ring.
|
34
|
+
#: [``DLT_PRONET``] Reserved for Proteon ProNET Token Ring.
|
35
35
|
PRONET = 4
|
36
36
|
|
37
|
-
#: [``DLT_CHAOS``]
|
37
|
+
#: [``DLT_CHAOS``] Reserved for MIT Chaosnet.
|
38
38
|
CHAOS = 5
|
39
39
|
|
40
40
|
#: [``DLT_IEEE802``] IEEE 802.5 Token Ring; the IEEE802, without \_5, in the
|
41
41
|
#: DLT\_ name is historical.
|
42
42
|
IEEE802_5 = 6
|
43
43
|
|
44
|
-
#: [``DLT_ARCNET``] ARCNET Data Packets
|
45
|
-
#: Association standard ATA 878.1-1999, but without the Starting Delimiter,
|
46
|
-
#: Information Length, or Frame Check Sequence fields, and with only the first
|
47
|
-
#: ISU of the Destination Identifier. For most packet types, ARCNET Trade
|
48
|
-
#: Association draft standard ATA 878.2 is also used. See also RFC 1051 and RFC
|
49
|
-
#: 1201; for RFC 1051 frames, ATA 878.2 is not used.
|
44
|
+
#: [``DLT_ARCNET``] Reserved for ARCNET Data Packets with BSD encapsulation.
|
50
45
|
ARCNET_BSD = 7
|
51
46
|
|
52
47
|
#: [``DLT_SLIP``] SLIP, with a header giving packet direction
|
@@ -169,15 +164,8 @@ class LinkType(IntEnum):
|
|
169
164
|
#: the packet, e.g. signal strength and channel for 802.11 packets.
|
170
165
|
TZSP = 128
|
171
166
|
|
172
|
-
#: [``DLT_ARCNET_LINUX``] ARCNET Data Packets
|
173
|
-
#:
|
174
|
-
#: Information Length, or Frame Check Sequence fields, with only the first ISU
|
175
|
-
#: of the Destination Identifier, and with an extra two-ISU offset field
|
176
|
-
#: following the Destination Identifier. For most packet types, ARCNET Trade
|
177
|
-
#: Association draft standard ATA 878.2 is also used; however, no exception
|
178
|
-
#: frames are supplied, and reassembled frames, rather than fragments, are
|
179
|
-
#: supplied. See also RFC 1051 and RFC 1201; for RFC 1051 frames, ATA 878.2 is
|
180
|
-
#: not used.
|
167
|
+
#: [``DLT_ARCNET_LINUX``] Reserved for ARCNET Data Packets with Linux
|
168
|
+
#: encapsulation.
|
181
169
|
ARCNET_LINUX = 129
|
182
170
|
|
183
171
|
#: [``DLT_JUNIPER_MLPPP``] Juniper Networks private data link type.
|
pcapkit/const/reg/transtype.py
CHANGED
@@ -407,7 +407,7 @@ class TransType(IntEnum):
|
|
407
407
|
SMP = 121
|
408
408
|
|
409
409
|
#: Simple Multicast Protocol (deprecated)) [Jon Crowcroft][draft-perlman-
|
410
|
-
#: simple-multicast]
|
410
|
+
#: simple-multicast-03]
|
411
411
|
SM = 122
|
412
412
|
|
413
413
|
#: Performance Transparency Protocol [Michael Welzl]
|
@@ -482,6 +482,9 @@ class TransType(IntEnum):
|
|
482
482
|
#: Homa [HomaModule][John Ousterhout]
|
483
483
|
Homa = 146
|
484
484
|
|
485
|
+
#: Bit-stream Emulation [RFC-ietf-pals-ple-14]
|
486
|
+
BIT_EMU = 147
|
487
|
+
|
485
488
|
#: Use for experimentation and testing [:rfc:`3692`]
|
486
489
|
Use_for_experimentation_and_testing_253 = 253
|
487
490
|
|
@@ -517,7 +520,7 @@ class TransType(IntEnum):
|
|
517
520
|
"""
|
518
521
|
if not (isinstance(value, int) and 0 <= value <= 255):
|
519
522
|
raise ValueError('%r is not a valid %s' % (value, cls.__name__))
|
520
|
-
if
|
523
|
+
if 148 <= value <= 252:
|
521
524
|
#: Unassigned [Internet Assigned Numbers Authority]
|
522
525
|
return extend_enum(cls, 'Unassigned_%d' % value, value)
|
523
526
|
return super()._missing_(value)
|
@@ -1,6 +1,6 @@
|
|
1
|
-
Metadata-Version: 2.
|
1
|
+
Metadata-Version: 2.2
|
2
2
|
Name: pypcapkit
|
3
|
-
Version: 1.3.5.
|
3
|
+
Version: 1.3.5.post5
|
4
4
|
Summary: PyPCAPKit: comprehensive network packet analysis library
|
5
5
|
Author-email: Jarry Shaw <jarryshaw@icloud.com>
|
6
6
|
Maintainer: Jarry Shaw
|
@@ -74,6 +74,8 @@ Requires-Dist: sphinx-opengraph; extra == "docs"
|
|
74
74
|
Requires-Dist: sphinx-copybutton; extra == "docs"
|
75
75
|
Requires-Dist: typing-extensions; extra == "docs"
|
76
76
|
Requires-Dist: mypy-extensions; extra == "docs"
|
77
|
+
Dynamic: description
|
78
|
+
Dynamic: description-content-type
|
77
79
|
|
78
80
|
PyPCAPKit - Comprehensive Network Packet Analysis Library
|
79
81
|
=========================================================
|
@@ -1,4 +1,4 @@
|
|
1
|
-
pcapkit/__init__.py,sha256=
|
1
|
+
pcapkit/__init__.py,sha256=XyHdPb53aWcY5gtIp0SjKYo1rvkBUiutdcFTtwbsLI8,4025
|
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
|
@@ -48,7 +48,7 @@ pcapkit/const/ipv4/tos_rel.py,sha256=GaO7ppOAjmRD3EDTDvyMXt_CFybFjwNZpegQBS1lgkk
|
|
48
48
|
pcapkit/const/ipv4/tos_thr.py,sha256=OdgGe1kN_XLbo5VDmLh3DKI58Nrz1MhwFVChFYt70xI,1489
|
49
49
|
pcapkit/const/ipv4/ts_flag.py,sha256=RKrmdR-bX0jh2SwyG45Fmoa6jfxj55IIKRocPHCSpHw,1418
|
50
50
|
pcapkit/const/ipv6/__init__.py,sha256=SFIuEU94lAbuT-DRqcKsCLQ2Ij3-FDWRwPneVRFtvPg,2819
|
51
|
-
pcapkit/const/ipv6/extension_header.py,sha256=
|
51
|
+
pcapkit/const/ipv6/extension_header.py,sha256=w-kwZuS2KuEmEWtWv16KdNi52t5WRUf0riN_rTvL3Yc,1869
|
52
52
|
pcapkit/const/ipv6/option.py,sha256=b_jZPRLqTLGzFbFSuUB6Nkb6_w4BiO3eVWs19ofHVCU,3767
|
53
53
|
pcapkit/const/ipv6/option_action.py,sha256=imkDogX8I3sVqS3cCHgDc20n3Q_VWudimEjbV9tNFQU,1504
|
54
54
|
pcapkit/const/ipv6/qs_function.py,sha256=fvhFc8MdaZwtD6_NgCTR5NlKfQ4QUh5rEzecEnUn3BY,1447
|
@@ -117,10 +117,10 @@ 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=7vQjLm2SfVT-zA0ioRVIbjqGwGMNUWabyVEiZpMhTCw,1433034
|
121
121
|
pcapkit/const/reg/ethertype.py,sha256=6Xz-MugXqQMc8hUHmkMMK_zeeYlkJ1Ql9Jtek_e3j1g,26564
|
122
|
-
pcapkit/const/reg/linktype.py,sha256=
|
123
|
-
pcapkit/const/reg/transtype.py,sha256=
|
122
|
+
pcapkit/const/reg/linktype.py,sha256=k7SNbH6tfp1NpG9LDiUkfTdF1-7tyhM8u7hiKKHJ4Jo,33981
|
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
126
|
pcapkit/const/tcp/flags.py,sha256=hTsqWViSxku-j8zsbP3274UxNIeNsBF4ZJAyAXMQnRs,1740
|
@@ -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.post5.dist-info/LICENSE,sha256=KkKND5E2e1Z6CQvSLPc1lRBy4xPRed41AG6q1txotWk,1516
|
462
|
+
pypcapkit-1.3.5.post5.dist-info/METADATA,sha256=PZoefr7sZfSi-VluoluXNeKWHRM7hE_K0DS2vAUpMng,7731
|
463
|
+
pypcapkit-1.3.5.post5.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
464
|
+
pypcapkit-1.3.5.post5.dist-info/entry_points.txt,sha256=8tVaZ-N0S2t19ELoTEGq_OlC8-dSmd7dvNn-kMV3afY,100
|
465
|
+
pypcapkit-1.3.5.post5.dist-info/top_level.txt,sha256=KEssKRhG9ln3EOfGH-yi98HgI-MM9hOHy09QQP-fvk8,8
|
466
|
+
pypcapkit-1.3.5.post5.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|