pypcapkit 1.3.5.post14__pp39-none-any.whl → 1.3.5.post18__pp39-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 CHANGED
@@ -121,4 +121,4 @@ __all__ = [
121
121
  ]
122
122
 
123
123
  #: version number
124
- __version__ = '1.3.5.post14'
124
+ __version__ = '1.3.5.post18'
@@ -36,7 +36,8 @@ class Option(IntEnum):
36
36
  #: Tunnel Encapsulation Limit [:rfc:`2473`]
37
37
  Tunnel_Encapsulation_Limit = 0x04
38
38
 
39
- #: Router Alert [:rfc:`2711`]
39
+ #: Router Alert (DEPRECATED for New Protocols) [:rfc:`2711`][RFC-ietf-6man-
40
+ #: deprecate-router-alert-13]
40
41
  Router_Alert = 0x05
41
42
 
42
43
  #: Quick-Start [:rfc:`4782`][RFC Errata 2034]
@@ -261,6 +261,6 @@ class RouterAlert(IntEnum):
261
261
  #: Unassigned
262
262
  return extend_enum(cls, 'Unassigned_%d' % value, value)
263
263
  if 65503 <= value <= 65534:
264
- #: Reserved for experimental use [:rfc:`5350`]
265
- return extend_enum(cls, 'Reserved for experimental use_%d' % value, value)
264
+ #: Reserved [RFC-ietf-6man-deprecate-router-alert-13]
265
+ return extend_enum(cls, 'Reserved_%d' % value, value)
266
266
  return super()._missing_(value)
@@ -214,8 +214,8 @@ class AppType(StrEnum):
214
214
  #: - [UDP] any private mail system
215
215
  any_private_mail_system: 'AppType' = 24, 'any_private_mail_system', TransportProtocol.get('tcp') | TransportProtocol.get('udp')
216
216
 
217
- #: - [TCP] Simple Mail Transfer [:rfc:`5321`]
218
- #: - [UDP] Simple Mail Transfer [:rfc:`5321`]
217
+ #: - [TCP] Simple Mail Transfer [RFC-ietf-emailcore-rfc5321bis-43]
218
+ #: - [UDP] Simple Mail Transfer [RFC-ietf-emailcore-rfc5321bis-43]
219
219
  smtp: 'AppType' = 25, 'smtp', TransportProtocol.get('tcp') | TransportProtocol.get('udp')
220
220
 
221
221
  #: - [TCP] Unassigned
@@ -16944,6 +16944,12 @@ class AppType(StrEnum):
16944
16944
  #: [SCTP] A25 (FAP-FGW)
16945
16945
  a25_fap_fgw: 'AppType' = 4502, 'a25-fap-fgw', TransportProtocol.get('sctp')
16946
16946
 
16947
+ #: [TCP] Reserved
16948
+ reserved_4503: 'AppType' = 4503, 'reserved', TransportProtocol.get('tcp')
16949
+
16950
+ #: [UDP] M-Bus-OMS over UDP
16951
+ m_bus_oms: 'AppType' = 4503, 'm-bus-oms', TransportProtocol.get('udp')
16952
+
16947
16953
  #: [TCP] Reserved
16948
16954
  reserved_4534: 'AppType' = 4534, 'reserved', TransportProtocol.get('tcp')
16949
16955
 
@@ -30582,7 +30588,7 @@ class AppType(StrEnum):
30582
30588
  if 4489 <= value <= 4499:
30583
30589
  #: [N/A] Unassigned
30584
30590
  return extend_enum(cls, 'unassigned_%d' % value, value, 'unassigned', TransportProtocol.get('undefined'))
30585
- if 4503 <= value <= 4533:
30591
+ if 4504 <= value <= 4533:
30586
30592
  #: [N/A] Unassigned
30587
30593
  return extend_enum(cls, 'unassigned_%d' % value, value, 'unassigned', TransportProtocol.get('undefined'))
30588
30594
  if 4539 <= value <= 4544:
@@ -59,8 +59,7 @@ class LinkType(IntEnum):
59
59
  #: [``DLT_PPP_SERIAL``] PPP in HDLC-like framing.
60
60
  PPP_HDLC = 50
61
61
 
62
- #: [``DLT_PPP_ETHER``] PPPoE; the packet begins with a PPPoE header, as per RFC
63
- #: 2516.
62
+ #: [``DLT_PPP_ETHER``] PPPoE session packets.
64
63
  PPP_ETHER = 51
65
64
 
66
65
  #: [``DLT_SYMANTEC_FIREWALL``] Symantec Enterprise (ex-Axent Raptor) firewall.
@@ -125,7 +124,7 @@ class LinkType(IntEnum):
125
124
  #: link-layer header.
126
125
  AIRONET_HEADER = 120
127
126
 
128
- #: [``DLT_IP_OVER_FC``] IP and ATM over Fibre Channel, as per RFC 4338.
127
+ #: [``DLT_IP_OVER_FC``] IP and ATM over Fibre Channel.
129
128
  IP_OVER_FC = 122
130
129
 
131
130
  #: [``DLT_SUNATM``] ATM traffic captured from a SunATM device.
@@ -149,8 +148,7 @@ class LinkType(IntEnum):
149
148
  #: the packet, e.g. signal strength and channel for 802.11 packets.
150
149
  TZSP = 128
151
150
 
152
- #: [``DLT_ARCNET_LINUX``] Reserved for ARCNET Data Packets with Linux
153
- #: encapsulation.
151
+ #: [``DLT_ARCNET_LINUX``] ARCnet Data Packets with Linux encapsulation.
154
152
  ARCNET_LINUX = 129
155
153
 
156
154
  #: [``DLT_JUNIPER_MLPPP``] Juniper Networks private data link type.
@@ -186,15 +184,10 @@ class LinkType(IntEnum):
186
184
  #: [``DLT_MTP2``] SS7 MTP2 packets.
187
185
  MTP2 = 140
188
186
 
189
- #: [``DLT_MTP3``] Signaling System 7 Message Transfer Part Level 3, as
190
- #: specified by ITU-T Recommendation Q.704, with no MTP2 header preceding the
191
- #: MTP3 packet.
187
+ #: [``DLT_MTP3``] SS7 MTP3 packets.
192
188
  MTP3 = 141
193
189
 
194
- #: [``DLT_SCCP``] Signaling System 7 Signalling Connection Control Part, as
195
- #: specified by ITU-T Recommendation Q.711, ITU-T Recommendation Q.712, ITU-T
196
- #: Recommendation Q.713, and ITU-T Recommendation Q.714, with no MTP3 or MTP2
197
- #: headers preceding the SCCP packet.
190
+ #: [``DLT_SCCP``] SS7 SCCP packets.
198
191
  SCCP = 142
199
192
 
200
193
  #: [``DLT_DOCSIS``] DOCSIS MAC frames, as described by the DOCSIS 4.0 MAC and
@@ -266,15 +259,11 @@ class LinkType(IntEnum):
266
259
  #: [``DLT_JUNIPER_MONITOR``] Juniper Networks private data link type.
267
260
  JUNIPER_MONITOR = 164
268
261
 
269
- #: [``DLT_BACNET_MS_TP``] BACnet MS/TP frames, as specified by section 9.3
270
- #: MS/TP Frame Format of ANSI/ASHRAE Standard 135, BACnet® - A Data
271
- #: Communication Protocol for Building Automation and Control Networks,
272
- #: including the preamble and, if present, the Data CRC.
262
+ #: [``DLT_BACNET_MS_TP``] BACnet MS/TP frames.
273
263
  BACNET_MS_TP = 165
274
264
 
275
- #: [``DLT_PPP_PPPD``] PPP in HDLC-like encapsulation, like LINKTYPE\_PPP\_HDLC,
276
- #: but with the 0xff address byte replaced by a direction indication—0x00 for
277
- #: incoming and 0x01 for outgoing.
265
+ #: [``DLT_PPP_PPPD``] PPP preceded by a direction octet and an HDLC-like
266
+ #: control field.
278
267
  PPP_PPPD = 166
279
268
 
280
269
  #: [``DLT_JUNIPER_PPPOE``] Juniper Networks private data link type.
@@ -304,10 +293,10 @@ class LinkType(IntEnum):
304
293
  #: [``DLT_JUNIPER_PIC_PEER``] Juniper Networks private data link type.
305
294
  JUNIPER_PIC_PEER = 174
306
295
 
307
- #: [``DLT_ERF_ETH``] An ERF header followed by Ethernet.
296
+ #: [``DLT_ERF_ETH``] Endace ERF records of type TYPE\_ETH.
308
297
  ERF_ETH = 175
309
298
 
310
- #: [``DLT_ERF_POS``] An ERF header followed by Packet-over-SONET.
299
+ #: [``DLT_ERF_POS``] Endace ERF records of type TYPE\_POS\_HDLC.
311
300
  ERF_POS = 176
312
301
 
313
302
  #: [``DLT_LINUX_LAPD``] Linux vISDN LAPD frames
@@ -378,8 +367,7 @@ class LinkType(IntEnum):
378
367
  #: [``DLT_SITA``] Various link-layer types, with a pseudo-header, for SITA.
379
368
  SITA = 196
380
369
 
381
- #: [``DLT_ERF``] Various link-layer types, with a pseudo-header, for Endace DAG
382
- #: cards; encapsulates Endace ERF records.
370
+ #: [``DLT_ERF``] Endace ERF records.
383
371
  ERF = 197
384
372
 
385
373
  #: [``DLT_RAIF1``] Special header prepended to Ethernet packets when capturing
@@ -505,8 +493,7 @@ class LinkType(IntEnum):
505
493
  #: [``DLT_JUNIPER_FIBRECHANNEL``] Juniper Networks private data link type.
506
494
  JUNIPER_FIBRECHANNEL = 234
507
495
 
508
- #: [``DLT_DVB_CI``] DVB-CI messages, with the message format specified by the
509
- #: PCAP format for DVB-CI specification.
496
+ #: [``DLT_DVB_CI``] DVB-CI messages, with a pseudo-header.
510
497
  DVB_CI = 235
511
498
 
512
499
  #: [``DLT_MUX27010``] Variant of 3GPP TS 27.010 multiplexing protocol.
@@ -529,7 +516,7 @@ class LinkType(IntEnum):
529
516
  #: header, preamble and SFD, preceded by a Hilscher.
530
517
  NETANALYZER_TRANSPARENT = 241
531
518
 
532
- #: [``DLT_IPOIB``] IP-over-InfiniBand, as specified by RFC 4391 section 6.
519
+ #: [``DLT_IPOIB``] IP-over-InfiniBand.
533
520
  IPOIB = 242
534
521
 
535
522
  #: [``DLT_MPEG_2_TS``] MPEG-2 Transport Stream transport packets.
@@ -691,15 +678,10 @@ class LinkType(IntEnum):
691
678
  #: 5 of the Z-Wave Serial API Host Application Programming Guide.
692
679
  Z_WAVE_SERIAL = 287
693
680
 
694
- #: [``DLT_USB_2_0``] USB 2.0, 1.1, or 1.0 packet, beginning with a PID, as
695
- #: described by Chapter 8 "Protocol Layer" of the the Universal Serial Bus
696
- #: Specification Revision 2.0. Deprecated in favor of speed specific USB 2.0,
697
- #: 1.1, or 1.0 linktypes.
681
+ #: [``DLT_USB_2_0``] USB 2.0, 1.1, or 1.0 packets.
698
682
  USB_2_0 = 288
699
683
 
700
- #: [``DLT_ATSC_ALP``] ATSC Link-Layer Protocol frames, as described in section
701
- #: 5 of the A/330 Link-Layer Protocol specification, found at the ATSC 3.0
702
- #: standards page, beginning with a Base Header.
684
+ #: [``DLT_ATSC_ALP``] ATSC Link-Layer Protocol frames.
703
685
  ATSC_ALP = 289
704
686
 
705
687
  #: [``DLT_ETW``] Event Tracing for Windows messages.
@@ -712,23 +694,16 @@ class LinkType(IntEnum):
712
694
  #: [``DLT_ZBOSS_NCP``] ZBOSS NCP Serial Protocol, with a pseudo-header.
713
695
  ZBOSS_NCP = 292
714
696
 
715
- #: [``DLT_USB_2_0_LOW_SPEED``] Low-Speed USB 2.0, 1.1, or 1.0 packet, beginning
716
- #: with a PID, as described by Chapter 8 "Protocol Layer" of the the Universal
717
- #: Serial Bus Specification Revision 2.0.
697
+ #: [``DLT_USB_2_0_LOW_SPEED``] Low-Speed USB 2.0, 1.1, or 1.0 packets..
718
698
  USB_2_0_LOW_SPEED = 293
719
699
 
720
- #: [``DLT_USB_2_0_FULL_SPEED``] Full-Speed USB 2.0, 1.1, or 1.0 packet,
721
- #: beginning with a PID, as described by Chapter 8 "Protocol Layer" of the the
722
- #: Universal Serial Bus Specification Revision 2.0.
700
+ #: [``DLT_USB_2_0_FULL_SPEED``] Full-Speed USB 2.0, 1.1, or 1.0 packets.
723
701
  USB_2_0_FULL_SPEED = 294
724
702
 
725
- #: [``DLT_USB_2_0_HIGH_SPEED``] High-Speed USB 2.0 packet, beginning with a
726
- #: PID, as described by Chapter 8 "Protocol Layer" of the the Universal Serial
727
- #: Bus Specification Revision 2.0.
703
+ #: [``DLT_USB_2_0_HIGH_SPEED``] High-Speed USB 2.0 packets.
728
704
  USB_2_0_HIGH_SPEED = 295
729
705
 
730
- #: [``DLT_AUERSWALD_LOG``] Auerswald Logger Protocol, as described in this
731
- #: document.
706
+ #: [``DLT_AUERSWALD_LOG``] Auerswald Logger Protocol packets.
732
707
  AUERSWALD_LOG = 296
733
708
 
734
709
  #: [``DLT_ZWAVE_TAP``] Z-Wave packets, with a metadata header.
@@ -741,7 +716,7 @@ class LinkType(IntEnum):
741
716
  #: [``DLT_FIRA_UCI``] Ultra-wideband (UWB) controller interface protocol (UCI).
742
717
  FIRA_UCI = 299
743
718
 
744
- #: [``DLT_MDB``] MDB (Multi-Drop Bus) vending machine protocol.
719
+ #: [``DLT_MDB``] MDB (Multi-Drop Bus) messages, with a pseudo-header.
745
720
  MDB = 300
746
721
 
747
722
  #: [``DLT_DECT_NR``] DECT-2020 New Radio (NR) MAC layer.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pypcapkit
3
- Version: 1.3.5.post14
3
+ Version: 1.3.5.post18
4
4
  Summary: PyPCAPKit: comprehensive network packet analysis library
5
5
  Author-email: Jarry Shaw <jarryshaw@icloud.com>
6
6
  Maintainer: Jarry Shaw
@@ -1,4 +1,4 @@
1
- pcapkit/__init__.py,sha256=99EzJkxAbWq9e01tkf19lmo-4sY5tw8gqH7MrFfEccE,4026
1
+ pcapkit/__init__.py,sha256=aZYHFc-dfiNfVKkpO_zLTsrN0dm4ZDtOlaf29ZjKLqk,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
@@ -49,10 +49,10 @@ pcapkit/const/ipv4/tos_thr.py,sha256=OdgGe1kN_XLbo5VDmLh3DKI58Nrz1MhwFVChFYt70xI
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
51
  pcapkit/const/ipv6/extension_header.py,sha256=w-kwZuS2KuEmEWtWv16KdNi52t5WRUf0riN_rTvL3Yc,1869
52
- pcapkit/const/ipv6/option.py,sha256=b_jZPRLqTLGzFbFSuUB6Nkb6_w4BiO3eVWs19ofHVCU,3767
52
+ pcapkit/const/ipv6/option.py,sha256=BRkmlhWMqzM2Gze0Bf8n1DPRyCkAHLU1w3AH5CxWDDQ,3847
53
53
  pcapkit/const/ipv6/option_action.py,sha256=imkDogX8I3sVqS3cCHgDc20n3Q_VWudimEjbV9tNFQU,1504
54
54
  pcapkit/const/ipv6/qs_function.py,sha256=fvhFc8MdaZwtD6_NgCTR5NlKfQ4QUh5rEzecEnUn3BY,1447
55
- pcapkit/const/ipv6/router_alert.py,sha256=tVD4Uv7RCCGuFYnkix4SDKujNMhXeUiQxvhZtpfEwtY,8830
55
+ pcapkit/const/ipv6/router_alert.py,sha256=MhghMzLjPMvzllAf0ZKX2xty4YpjiEcUV-ochVlCwu0,8816
56
56
  pcapkit/const/ipv6/routing.py,sha256=tR6i4irkLDqWjAwjNg0ZXno8c72loCTnVAhiAGXQB-I,2143
57
57
  pcapkit/const/ipv6/seed_id.py,sha256=TtZaMyaXLhwLiB2rrakxWNIGeFv7lHchAy70C7F3YE0,1529
58
58
  pcapkit/const/ipv6/smf_dpd_mode.py,sha256=UQZ0eSNBgYn3eRzuaiukXq5PYe8LFJw3VU9MvYRpERM,1689
@@ -117,9 +117,9 @@ 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=OhjHqk7xP3-8CgjXxX9L97PTssMAHwsNHoggTliL4FA,1434077
120
+ pcapkit/const/reg/apptype.py,sha256=GUWlsYlLs2eZl3EqTpYkwIL9AwH4y2WmH0LuWcStcFc,1434328
121
121
  pcapkit/const/reg/ethertype.py,sha256=6Xz-MugXqQMc8hUHmkMMK_zeeYlkJ1Ql9Jtek_e3j1g,26564
122
- pcapkit/const/reg/linktype.py,sha256=SZfgV515mSYdF9MPNunl0UqkpvYtWfdhaZb5bipk7u0,24918
122
+ pcapkit/const/reg/linktype.py,sha256=0xjvfYGuVbHCFhsQyaQy_GVBPfgG-hRPm3cUFbKsfhw,23108
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
@@ -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.post14.dist-info/licenses/LICENSE,sha256=KkKND5E2e1Z6CQvSLPc1lRBy4xPRed41AG6q1txotWk,1516
462
- pypcapkit-1.3.5.post14.dist-info/METADATA,sha256=MR6Df1HeRVtWBMYe6yNZ4We_YROblMCU4Hq157fuofQ,7754
463
- pypcapkit-1.3.5.post14.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
464
- pypcapkit-1.3.5.post14.dist-info/entry_points.txt,sha256=8tVaZ-N0S2t19ELoTEGq_OlC8-dSmd7dvNn-kMV3afY,100
465
- pypcapkit-1.3.5.post14.dist-info/top_level.txt,sha256=KEssKRhG9ln3EOfGH-yi98HgI-MM9hOHy09QQP-fvk8,8
466
- pypcapkit-1.3.5.post14.dist-info/RECORD,,
461
+ pypcapkit-1.3.5.post18.dist-info/licenses/LICENSE,sha256=KkKND5E2e1Z6CQvSLPc1lRBy4xPRed41AG6q1txotWk,1516
462
+ pypcapkit-1.3.5.post18.dist-info/METADATA,sha256=-giyzo2b4uClGNrzNSvj_0brI4rbEBv_F3-9wDpIjoc,7754
463
+ pypcapkit-1.3.5.post18.dist-info/WHEEL,sha256=zaaOINJESkSfm_4HQVc5ssNzHCPXhJm0kEUakpsEHaU,91
464
+ pypcapkit-1.3.5.post18.dist-info/entry_points.txt,sha256=8tVaZ-N0S2t19ELoTEGq_OlC8-dSmd7dvNn-kMV3afY,100
465
+ pypcapkit-1.3.5.post18.dist-info/top_level.txt,sha256=KEssKRhG9ln3EOfGH-yi98HgI-MM9hOHy09QQP-fvk8,8
466
+ pypcapkit-1.3.5.post18.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (78.1.0)
2
+ Generator: setuptools (80.8.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5