pypcapkit 1.3.5.post11__cp311-none-any.whl → 1.3.5.post14__cp311-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 +13 -4
- pcapkit/const/reg/linktype.py +62 -176
- pcapkit/const/tcp/flags.py +2 -2
- pcapkit/const/tcp/option.py +2 -4
- {pypcapkit-1.3.5.post11.dist-info → pypcapkit-1.3.5.post14.dist-info}/METADATA +3 -2
- {pypcapkit-1.3.5.post11.dist-info → pypcapkit-1.3.5.post14.dist-info}/RECORD +11 -11
- {pypcapkit-1.3.5.post11.dist-info → pypcapkit-1.3.5.post14.dist-info}/WHEEL +1 -1
- {pypcapkit-1.3.5.post11.dist-info → pypcapkit-1.3.5.post14.dist-info}/entry_points.txt +0 -0
- {pypcapkit-1.3.5.post11.dist-info → pypcapkit-1.3.5.post14.dist-info/licenses}/LICENSE +0 -0
- {pypcapkit-1.3.5.post11.dist-info → pypcapkit-1.3.5.post14.dist-info}/top_level.txt +0 -0
pcapkit/__init__.py
CHANGED
pcapkit/const/reg/apptype.py
CHANGED
@@ -3050,14 +3050,13 @@ class AppType(StrEnum):
|
|
3050
3050
|
#: [TCP] Reserved
|
3051
3051
|
reserved_914: 'AppType' = 914, 'reserved', TransportProtocol.get('tcp')
|
3052
3052
|
|
3053
|
-
#: [UDP] Routing in Fat Trees Link Information Element [
|
3053
|
+
#: [UDP] Routing in Fat Trees Link Information Element [:rfc:`9692`]
|
3054
3054
|
rift_lies: 'AppType' = 914, 'rift-lies', TransportProtocol.get('udp')
|
3055
3055
|
|
3056
3056
|
#: [TCP] Reserved
|
3057
3057
|
reserved_915: 'AppType' = 915, 'reserved', TransportProtocol.get('tcp')
|
3058
3058
|
|
3059
|
-
#: [UDP] Routing in Fat Trees Topology Information Element [
|
3060
|
-
#: rift-24]
|
3059
|
+
#: [UDP] Routing in Fat Trees Topology Information Element [:rfc:`9692`]
|
3061
3060
|
rift_ties: 'AppType' = 915, 'rift-ties', TransportProtocol.get('udp')
|
3062
3061
|
|
3063
3062
|
#: [TCP] BIND9 remote name daemon controller
|
@@ -21912,6 +21911,13 @@ class AppType(StrEnum):
|
|
21912
21911
|
#: - [UDP] Proprietary immutable distributed data storage
|
21913
21912
|
rome: 'AppType' = 7663, 'rome', TransportProtocol.get('tcp') | TransportProtocol.get('udp')
|
21914
21913
|
|
21914
|
+
#: [TCP] AuthorityGate Secure API communication for Orchestrated task
|
21915
|
+
#: sequencing
|
21916
|
+
authoritygate: 'AppType' = 7668, 'authoritygate', TransportProtocol.get('tcp')
|
21917
|
+
|
21918
|
+
#: [UDP] Reserved
|
21919
|
+
reserved_7668: 'AppType' = 7668, 'reserved', TransportProtocol.get('udp')
|
21920
|
+
|
21915
21921
|
#: [TCP] iMQ STOMP Server
|
21916
21922
|
imqstomp: 'AppType' = 7672, 'imqstomp', TransportProtocol.get('tcp')
|
21917
21923
|
|
@@ -31242,7 +31248,10 @@ class AppType(StrEnum):
|
|
31242
31248
|
if 7649 <= value <= 7662:
|
31243
31249
|
#: [N/A] Unassigned
|
31244
31250
|
return extend_enum(cls, 'unassigned_%d' % value, value, 'unassigned', TransportProtocol.get('undefined'))
|
31245
|
-
if 7664 <= value <=
|
31251
|
+
if 7664 <= value <= 7667:
|
31252
|
+
#: [N/A] Unassigned
|
31253
|
+
return extend_enum(cls, 'unassigned_%d' % value, value, 'unassigned', TransportProtocol.get('undefined'))
|
31254
|
+
if 7669 <= value <= 7671:
|
31246
31255
|
#: [N/A] Unassigned
|
31247
31256
|
return extend_enum(cls, 'unassigned_%d' % value, value, 'unassigned', TransportProtocol.get('undefined'))
|
31248
31257
|
if 7678 <= value <= 7679:
|
pcapkit/const/reg/linktype.py
CHANGED
@@ -28,7 +28,7 @@ class LinkType(IntEnum):
|
|
28
28
|
#: [``DLT_EN3MB``] Experimental Ethernet (3Mb).
|
29
29
|
EXP_ETHERNET = 2
|
30
30
|
|
31
|
-
#: [``DLT_AX25``] AX.25
|
31
|
+
#: [``DLT_AX25``] AX.25 layer 2 packets,
|
32
32
|
AX25 = 3
|
33
33
|
|
34
34
|
#: [``DLT_PRONET``] Reserved for Proteon ProNET Token Ring.
|
@@ -47,11 +47,7 @@ class LinkType(IntEnum):
|
|
47
47
|
#: [``DLT_SLIP``] SLIP, with a header giving packet direction
|
48
48
|
SLIP = 8
|
49
49
|
|
50
|
-
#: [``DLT_PPP``] PPP
|
51
|
-
#: 0xff and 0x03, it's PPP in HDLC-like framing, with the PPP header following
|
52
|
-
#: those two bytes, otherwise it's PPP without framing, and the packet begins
|
53
|
-
#: with the PPP header. The data in the frame is not octet-stuffed or bit-
|
54
|
-
#: stuffed.
|
50
|
+
#: [``DLT_PPP``] PPP.
|
55
51
|
PPP = 9
|
56
52
|
|
57
53
|
#: [``DLT_FDDI``] FDDI, as specified by ANSI INCITS 239-1994.
|
@@ -60,11 +56,7 @@ class LinkType(IntEnum):
|
|
60
56
|
#: [``DLT_REDBACK_SMARTEDGE``] Redback SmartEdge 400/800.
|
61
57
|
REDBACK_SMARTEDGE = 32
|
62
58
|
|
63
|
-
#: [``DLT_PPP_SERIAL``] PPP in HDLC-like framing
|
64
|
-
#: with HDLC framing, as per section 4.3.1 of RFC 1547; the first byte will be
|
65
|
-
#: 0xFF for PPP in HDLC-like framing, and will be 0x0F or 0x8F for Cisco PPP
|
66
|
-
#: with HDLC framing. The data in the frame is not octet-stuffed or bit-
|
67
|
-
#: stuffed.
|
59
|
+
#: [``DLT_PPP_SERIAL``] PPP in HDLC-like framing.
|
68
60
|
PPP_HDLC = 50
|
69
61
|
|
70
62
|
#: [``DLT_PPP_ETHER``] PPPoE; the packet begins with a PPPoE header, as per RFC
|
@@ -74,8 +66,7 @@ class LinkType(IntEnum):
|
|
74
66
|
#: [``DLT_SYMANTEC_FIREWALL``] Symantec Enterprise (ex-Axent Raptor) firewall.
|
75
67
|
SYMANTEC_FIREWALL = 99
|
76
68
|
|
77
|
-
#: [``DLT_ATM_RFC1483``]
|
78
|
-
#: with an ISO 8802-2 (formerly known as IEEE 802.2) LLC header.
|
69
|
+
#: [``DLT_ATM_RFC1483``] LLC/SNAP-encapsulated ATM
|
79
70
|
ATM_RFC1483 = 100
|
80
71
|
|
81
72
|
#: [``DLT_RAW``] Raw IP; the packet begins with an IPv4 or IPv6 header, with
|
@@ -83,8 +74,7 @@ class LinkType(IntEnum):
|
|
83
74
|
#: header.
|
84
75
|
RAW = 101
|
85
76
|
|
86
|
-
#: [``DLT_C_HDLC``] Cisco PPP with HDLC framing
|
87
|
-
#: 1547.
|
77
|
+
#: [``DLT_C_HDLC``] Cisco PPP with HDLC framing.
|
88
78
|
C_HDLC = 104
|
89
79
|
|
90
80
|
#: [``DLT_IEEE802_11``] IEEE 802.11 wireless LAN.
|
@@ -93,9 +83,7 @@ class LinkType(IntEnum):
|
|
93
83
|
#: [``DLT_ATM_CLIP``] Linux Classical IP over ATM.
|
94
84
|
ATM_CLIP = 106
|
95
85
|
|
96
|
-
#: [``DLT_FRELAY``] Frame Relay LAPF
|
97
|
-
#: Recommendation Q.922 LAPF header starting with the address field, and
|
98
|
-
#: without an FCS at the end of the frame.
|
86
|
+
#: [``DLT_FRELAY``] Frame Relay LAPF.
|
99
87
|
FRELAY = 107
|
100
88
|
|
101
89
|
#: [``DLT_LOOP``] OpenBSD loopback encapsulation.
|
@@ -110,9 +98,7 @@ class LinkType(IntEnum):
|
|
110
98
|
#: [``DLT_LINUX_SLL``] Linux "cooked" capture encapsulation.
|
111
99
|
LINUX_SLL = 113
|
112
100
|
|
113
|
-
#: [``DLT_LTALK``] Apple LocalTalk
|
114
|
-
#: LocalTalk Link Access Protocol header, as described in chapter 1 of Inside
|
115
|
-
#: AppleTalk, Second Edition.
|
101
|
+
#: [``DLT_LTALK``] Apple LocalTalk packets.
|
116
102
|
LTALK = 114
|
117
103
|
|
118
104
|
#: [``DLT_ECONET``] Acorn Econet.
|
@@ -139,8 +125,7 @@ class LinkType(IntEnum):
|
|
139
125
|
#: link-layer header.
|
140
126
|
AIRONET_HEADER = 120
|
141
127
|
|
142
|
-
#: [``DLT_IP_OVER_FC``]
|
143
|
-
#: header being the Network\_Header as described in that RFC.
|
128
|
+
#: [``DLT_IP_OVER_FC``] IP and ATM over Fibre Channel, as per RFC 4338.
|
144
129
|
IP_OVER_FC = 122
|
145
130
|
|
146
131
|
#: [``DLT_SUNATM``] ATM traffic captured from a SunATM device.
|
@@ -195,12 +180,10 @@ class LinkType(IntEnum):
|
|
195
180
|
#: [``DLT_APPLE_IP_OVER_IEEE1394``] Apple IP-over-IEEE 1394 cooked header.
|
196
181
|
APPLE_IP_OVER_IEEE1394 = 138
|
197
182
|
|
198
|
-
#: [``DLT_MTP2_WITH_PHDR``]
|
199
|
-
#: as specified by ITU-T Recommendation Q.703, preceded by a pseudo-header.
|
183
|
+
#: [``DLT_MTP2_WITH_PHDR``] SS7 MTP2 packets, with a pseudo-header.
|
200
184
|
MTP2_WITH_PHDR = 139
|
201
185
|
|
202
|
-
#: [``DLT_MTP2``]
|
203
|
-
#: specified by ITU-T Recommendation Q.703.
|
186
|
+
#: [``DLT_MTP2``] SS7 MTP2 packets.
|
204
187
|
MTP2 = 140
|
205
188
|
|
206
189
|
#: [``DLT_MTP3``] Signaling System 7 Message Transfer Part Level 3, as
|
@@ -346,8 +329,7 @@ class LinkType(IntEnum):
|
|
346
329
|
#: frames prepended with meta-information.
|
347
330
|
JUNIPER_CHDLC = 181
|
348
331
|
|
349
|
-
#: [``DLT_MFR``] FRF.16.1 Multi-Link Frame Relay frames
|
350
|
-
#: FRF.12 Interface fragmentation format fragmentation header.
|
332
|
+
#: [``DLT_MFR``] FRF.16.1 Multi-Link Frame Relay frames.
|
351
333
|
MFR = 182
|
352
334
|
|
353
335
|
#: [``DLT_JUNIPER_VP``] Juniper Networks private data link type.
|
@@ -364,26 +346,13 @@ class LinkType(IntEnum):
|
|
364
346
|
#: [``DLT_USB_FREEBSD``] USB with FreeBSD header.
|
365
347
|
USB_FREEBSD = 186
|
366
348
|
|
367
|
-
#: [``DLT_BLUETOOTH_HCI_H4``] Bluetooth HCI UART
|
368
|
-
#: contains an HCI packet indicator byte, as specified by the UART Transport
|
369
|
-
#: Layer portion of the most recent Bluetooth Core specification, followed by
|
370
|
-
#: an HCI packet of the specified packet type, as specified by the Host
|
371
|
-
#: Controller Interface Functional Specification portion of the most recent
|
372
|
-
#: Bluetooth Core Specification.
|
349
|
+
#: [``DLT_BLUETOOTH_HCI_H4``] Bluetooth HCI UART Transport Layer packets.
|
373
350
|
BLUETOOTH_HCI_H4 = 187
|
374
351
|
|
375
352
|
#: [``DLT_IEEE802_16_MAC_CPS``] IEEE 802.16 MAC Common Part Sublayer.
|
376
353
|
IEEE802_16_MAC_CPS = 188
|
377
354
|
|
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.
|
355
|
+
#: [``DLT_USB_LINUX``] USB packets, beginning with a Linux USB header.
|
387
356
|
USB_LINUX = 189
|
388
357
|
|
389
358
|
#: [``DLT_CAN20B``] Controller Area Network (CAN) v. 2.0B.
|
@@ -393,9 +362,7 @@ class LinkType(IntEnum):
|
|
393
362
|
#: is done by Linux drivers.
|
394
363
|
IEEE802_15_4_LINUX = 191
|
395
364
|
|
396
|
-
#: [``DLT_PPI``] Per-Packet Information
|
397
|
-
#: Packet Information Header Specification, followed by a packet with the
|
398
|
-
#: LINKTYPE\_ value specified by the pph\_dlt field of that header.
|
365
|
+
#: [``DLT_PPI``] Per-Packet Information header preceding packet data.
|
399
366
|
PPI = 192
|
400
367
|
|
401
368
|
#: [``DLT_IEEE802_16_MAC_CPS_RADIO``] IEEE 802.16 MAC Common Part Sublayer plus
|
@@ -405,8 +372,7 @@ class LinkType(IntEnum):
|
|
405
372
|
#: [``DLT_JUNIPER_ISM``] Juniper Networks private data link type.
|
406
373
|
JUNIPER_ISM = 194
|
407
374
|
|
408
|
-
#: [``DLT_IEEE802_15_4_WITHFCS``] IEEE 802.15.4
|
409
|
-
#: with each packet having the FCS at the end of the frame.
|
375
|
+
#: [``DLT_IEEE802_15_4_WITHFCS``] IEEE 802.15.4 packets with FCS.
|
410
376
|
IEEE802_15_4_WITHFCS = 195
|
411
377
|
|
412
378
|
#: [``DLT_SITA``] Various link-layer types, with a pseudo-header, for SITA.
|
@@ -427,51 +393,27 @@ class LinkType(IntEnum):
|
|
427
393
|
#: [``DLT_JUNIPER_ST``] Juniper Networks private data link type.
|
428
394
|
JUNIPER_ST = 200
|
429
395
|
|
430
|
-
#: [``DLT_BLUETOOTH_HCI_H4_WITH_PHDR``] Bluetooth HCI UART
|
431
|
-
#:
|
432
|
-
#: the low-order bit of which is set if the frame was sent from the host to the
|
433
|
-
#: controller and clear if the frame was received by the host from the
|
434
|
-
#: controller, followed by an HCI packet indicator byte, as specified by the
|
435
|
-
#: UART Transport Layer portion of the most recent Bluetooth Core
|
436
|
-
#: specification, followed by an HCI packet of the specified packet type, as
|
437
|
-
#: specified by the Host Controller Interface Functional Specification portion
|
438
|
-
#: of the most recent Bluetooth Core Specification.
|
396
|
+
#: [``DLT_BLUETOOTH_HCI_H4_WITH_PHDR``] Bluetooth HCI UART Transport Layer
|
397
|
+
#: packets with a direction pseudo-header.
|
439
398
|
BLUETOOTH_HCI_H4_WITH_PHDR = 201
|
440
399
|
|
441
|
-
#: [``DLT_AX25_KISS``]
|
442
|
-
#: type indicator.
|
400
|
+
#: [``DLT_AX25_KISS``] KISS frames between a host and an AX.25 TNC.
|
443
401
|
AX25_KISS = 202
|
444
402
|
|
445
|
-
#: [``DLT_LAPD``]
|
446
|
-
#: specified by ITU-T Recommendation Q.920 and ITU-T Recommendation Q.921,
|
447
|
-
#: starting with the address field, with no pseudo-header.
|
403
|
+
#: [``DLT_LAPD``] Q.921 LAPD frames.
|
448
404
|
LAPD = 203
|
449
405
|
|
450
|
-
#: [``DLT_PPP_WITH_DIR``] PPP,
|
451
|
-
#: one-byte pseudo-header with a zero value meaning "received by this host" and
|
452
|
-
#: a non-zero value meaning "sent by this host"; if the first 2 bytes are 0xff
|
453
|
-
#: and 0x03, it's PPP in HDLC-like framing, with the PPP header following those
|
454
|
-
#: two bytes, otherwise it's PPP without framing, and the packet begins with
|
455
|
-
#: the PPP header. The data in the frame is not octet-stuffed or bit-stuffed.
|
406
|
+
#: [``DLT_PPP_WITH_DIR``] PPP, with a direction header.
|
456
407
|
PPP_WITH_DIR = 204
|
457
408
|
|
458
|
-
#: [``DLT_C_HDLC_WITH_DIR``] Cisco PPP with HDLC framing,
|
459
|
-
#:
|
460
|
-
#: meaning "received by this host" and a non-zero value meaning "sent by this
|
461
|
-
#: host".
|
409
|
+
#: [``DLT_C_HDLC_WITH_DIR``] Cisco PPP with HDLC framing, with a direction
|
410
|
+
#: header.
|
462
411
|
C_HDLC_WITH_DIR = 205
|
463
412
|
|
464
|
-
#: [``DLT_FRELAY_WITH_DIR``] Frame Relay LAPF
|
465
|
-
#: pseudo-header with a zero value meaning "received by this host" (DCE⇒DTE)
|
466
|
-
#: and a non-zero value meaning "sent by this host" (DTE⇒DCE), followed by an
|
467
|
-
#: ITU-T Recommendation Q.922 LAPF header starting with the address field, and
|
468
|
-
#: without an FCS at the end of the frame.
|
413
|
+
#: [``DLT_FRELAY_WITH_DIR``] Frame Relay LAPF, with a direction header.
|
469
414
|
FRELAY_WITH_DIR = 206
|
470
415
|
|
471
|
-
#: [``DLT_LAPB_WITH_DIR``]
|
472
|
-
#: by ITU-T Recommendation X.25, preceded with a one-byte pseudo-header with a
|
473
|
-
#: zero value meaning "received by this host" (DCE⇒DTE) and a non-zero value
|
474
|
-
#: meaning "sent by this host" (DTE⇒DCE).
|
416
|
+
#: [``DLT_LAPB_WITH_DIR``] X.25 LAPB, with a direction header.
|
475
417
|
LAPB_WITH_DIR = 207
|
476
418
|
|
477
419
|
#: [``DLT_IPMB_LINUX``] Legacy names (do not use) for Linux I2C below.
|
@@ -488,8 +430,8 @@ class LinkType(IntEnum):
|
|
488
430
|
#: transport.
|
489
431
|
MOST = 211
|
490
432
|
|
491
|
-
#: [``DLT_LIN``] Local Interconnect Network (LIN) automotive bus,
|
492
|
-
#:
|
433
|
+
#: [``DLT_LIN``] Local Interconnect Network (LIN) automotive bus, with a
|
434
|
+
#: metadata header
|
493
435
|
LIN = 212
|
494
436
|
|
495
437
|
#: [``DLT_X2E_SERIAL``] X2E-private data link type used for serial line
|
@@ -500,11 +442,7 @@ class LinkType(IntEnum):
|
|
500
442
|
#: logger family.
|
501
443
|
X2E_XORAYA = 214
|
502
444
|
|
503
|
-
#: [``DLT_IEEE802_15_4_NONASK_PHY``] IEEE 802.15.4
|
504
|
-
#: with each packet having the FCS at the end of the frame, and with the PHY-
|
505
|
-
#: level data for the O-QPSK, BPSK, GFSK, MSK, and RCC DSS BPSK PHYs (4 octets
|
506
|
-
#: of 0 as preamble, one octet of SFD, one octet of frame length + reserved
|
507
|
-
#: bit) preceding the MAC-layer data (starting with the frame control field).
|
445
|
+
#: [``DLT_IEEE802_15_4_NONASK_PHY``] IEEE 802.15.4 packets with PHY header.
|
508
446
|
IEEE802_15_4_NONASK_PHY = 215
|
509
447
|
|
510
448
|
#: [``DLT_LINUX_EVDEV``] Linux evdev events from /dev/input/eventN devices.
|
@@ -519,17 +457,8 @@ class LinkType(IntEnum):
|
|
519
457
|
#: [``DLT_MPLS``] MPLS, with an MPLS label as the link-layer header.
|
520
458
|
MPLS = 219
|
521
459
|
|
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.
|
460
|
+
#: [``DLT_USB_LINUX_MMAPPED``] USB packets, beginning with an extended Linux
|
461
|
+
#: USB header.
|
533
462
|
USB_LINUX_MMAPPED = 220
|
534
463
|
|
535
464
|
#: [``DLT_DECT``] DECT packets, with a pseudo-header.
|
@@ -542,23 +471,17 @@ class LinkType(IntEnum):
|
|
542
471
|
#: the HART Communication Foundation (IEC/PAS 62591).
|
543
472
|
WIHART = 223
|
544
473
|
|
545
|
-
#: [``DLT_FC_2``] Fibre Channel FC-2 frames
|
474
|
+
#: [``DLT_FC_2``] Fibre Channel FC-2 frames.
|
546
475
|
FC_2 = 224
|
547
476
|
|
548
|
-
#: [``DLT_FC_2_WITH_FRAME_DELIMS``] Fibre Channel FC-2 frames
|
549
|
-
#: encoding of the SOF, followed by a Frame\_Header, and ending with an
|
550
|
-
#: encoding of the SOF. The encodings represent the frame delimiters as 4-byte
|
551
|
-
#: sequences representing the corresponding ordered sets, with K28.5
|
552
|
-
#: represented as 0xBC, and the D symbols as the corresponding byte values; for
|
553
|
-
#: example, SOFi2, which is K28.5 - D21.5 - D1.2 - D21.2, is represented as
|
554
|
-
#: 0xBC 0xB5 0x55 0x55.
|
477
|
+
#: [``DLT_FC_2_WITH_FRAME_DELIMS``] Fibre Channel FC-2 frames with SOF and EOF.
|
555
478
|
FC_2_WITH_FRAME_DELIMS = 225
|
556
479
|
|
557
480
|
#: [``DLT_IPNET``] Solaris ipnet
|
558
481
|
IPNET = 226
|
559
482
|
|
560
|
-
#: [``DLT_CAN_SOCKETCAN``]
|
561
|
-
#: header
|
483
|
+
#: [``DLT_CAN_SOCKETCAN``] Controller Area Network (CAN) frames, with a
|
484
|
+
#: metadata header.
|
562
485
|
CAN_SOCKETCAN = 227
|
563
486
|
|
564
487
|
#: [``DLT_IPV4``] Raw IPv4; the packet begins with an IPv4 header.
|
@@ -567,13 +490,10 @@ class LinkType(IntEnum):
|
|
567
490
|
#: [``DLT_IPV6``] Raw IPv6; the packet begins with an IPv6 header.
|
568
491
|
IPV6 = 229
|
569
492
|
|
570
|
-
#: [``DLT_IEEE802_15_4_NOFCS``] IEEE 802.15.4
|
571
|
-
#: without the FCS at the end of the frame.
|
493
|
+
#: [``DLT_IEEE802_15_4_NOFCS``] IEEE 802.15.4 packets without FCS.
|
572
494
|
IEEE802_15_4_NOFCS = 230
|
573
495
|
|
574
|
-
#: [``DLT_DBUS``] Raw D-Bus messages
|
575
|
-
#: followed by the message type, etc., but without the authentication handshake
|
576
|
-
#: before the message sequence.
|
496
|
+
#: [``DLT_DBUS``] Raw D-Bus messages.
|
577
497
|
DBUS = 231
|
578
498
|
|
579
499
|
#: [``DLT_JUNIPER_VS``] Juniper Networks private data link type.
|
@@ -589,14 +509,10 @@ class LinkType(IntEnum):
|
|
589
509
|
#: PCAP format for DVB-CI specification.
|
590
510
|
DVB_CI = 235
|
591
511
|
|
592
|
-
#: [``DLT_MUX27010``] Variant of 3GPP TS 27.010 multiplexing protocol
|
593
|
-
#: to, but not the same as, 27.010).
|
512
|
+
#: [``DLT_MUX27010``] Variant of 3GPP TS 27.010 multiplexing protocol.
|
594
513
|
MUX27010 = 236
|
595
514
|
|
596
|
-
#: [``DLT_STANAG_5066_D_PDU``] D\_PDUs
|
597
|
-
#: 5066, starting with the synchronization sequence, and including both header
|
598
|
-
#: and data CRCs. The current version of STANAG 5066 is backwards-compatible
|
599
|
-
#: with the 1.0.2 version, although newer versions are classified.
|
515
|
+
#: [``DLT_STANAG_5066_D_PDU``] STANAG 5066 D\_PDUs.
|
600
516
|
STANAG_5066_D_PDU = 237
|
601
517
|
|
602
518
|
#: [``DLT_JUNIPER_ATM_CEMIC``] Juniper Networks private data link type.
|
@@ -605,20 +521,18 @@ class LinkType(IntEnum):
|
|
605
521
|
#: [``DLT_NFLOG``] Linux netlink NETLINK NFLOG socket log messages.
|
606
522
|
NFLOG = 239
|
607
523
|
|
608
|
-
#: [``DLT_NETANALYZER``] Ethernet frames
|
609
|
-
#:
|
524
|
+
#: [``DLT_NETANALYZER``] Ethernet frames with Hilscher netANALYZER pseudo-
|
525
|
+
#: header.
|
610
526
|
NETANALYZER = 240
|
611
527
|
|
612
|
-
#: [``DLT_NETANALYZER_TRANSPARENT``] Ethernet frames
|
613
|
-
#: and SFD, preceded by a Hilscher
|
528
|
+
#: [``DLT_NETANALYZER_TRANSPARENT``] Ethernet frames with netANALYZER pseudo-
|
529
|
+
#: header, preamble and SFD, preceded by a Hilscher.
|
614
530
|
NETANALYZER_TRANSPARENT = 241
|
615
531
|
|
616
532
|
#: [``DLT_IPOIB``] IP-over-InfiniBand, as specified by RFC 4391 section 6.
|
617
533
|
IPOIB = 242
|
618
534
|
|
619
|
-
#: [``DLT_MPEG_2_TS``] MPEG-2 Transport Stream transport packets
|
620
|
-
#: by ISO 13818-1/ITU-T Recommendation H.222.0 (see table 2-2 of section
|
621
|
-
#: 2.4.3.2 "Transport Stream packet layer").
|
535
|
+
#: [``DLT_MPEG_2_TS``] MPEG-2 Transport Stream transport packets.
|
622
536
|
MPEG_2_TS = 243
|
623
537
|
|
624
538
|
#: [``DLT_NG40``] Frames from ng4T GmbH's ng40 protocol tester.
|
@@ -631,9 +545,7 @@ class LinkType(IntEnum):
|
|
631
545
|
#: Packet filter state syncing.
|
632
546
|
PFSYNC = 246
|
633
547
|
|
634
|
-
#: [``DLT_INFINIBAND``]
|
635
|
-
#: Header, as specified in Chapter 5 "Data packet format" of InfiniBand™
|
636
|
-
#: Architecture Specification Release 1.2.1 Volume 1 - General Specifications.
|
548
|
+
#: [``DLT_INFINIBAND``] InfiniBand data packets.
|
637
549
|
INFINIBAND = 247
|
638
550
|
|
639
551
|
#: [``DLT_SCTP``] SCTP packets, as defined by RFC 4960, with no lower-level
|
@@ -647,10 +559,7 @@ class LinkType(IntEnum):
|
|
647
559
|
#: Laboratories "RTAC" product.
|
648
560
|
RTAC_SERIAL = 250
|
649
561
|
|
650
|
-
#: [``DLT_BLUETOOTH_LE_LL``] Bluetooth Low Energy
|
651
|
-
#: packets, in the format described in section 2.1 "PACKET FORMAT" of volume 6
|
652
|
-
#: of the Bluetooth Specification Version 4.0 (see PDF page 2200), but without
|
653
|
-
#: the Preamble.
|
562
|
+
#: [``DLT_BLUETOOTH_LE_LL``] Bluetooth Low Energy link-layer packets.
|
654
563
|
BLUETOOTH_LE_LL = 251
|
655
564
|
|
656
565
|
#: [``DLT_WIRESHARK_UPPER_PDU``] Upper-protocol layer PDU saves from Wireshark;
|
@@ -661,42 +570,34 @@ class LinkType(IntEnum):
|
|
661
570
|
#: [``DLT_NETLINK``] Linux Netlink capture encapsulation.
|
662
571
|
NETLINK = 253
|
663
572
|
|
664
|
-
#: [``DLT_BLUETOOTH_LINUX_MONITOR``] Bluetooth Linux Monitor
|
665
|
-
#: traffic for the BlueZ stack.
|
573
|
+
#: [``DLT_BLUETOOTH_LINUX_MONITOR``] Bluetooth Linux Monitor.
|
666
574
|
BLUETOOTH_LINUX_MONITOR = 254
|
667
575
|
|
668
576
|
#: [``DLT_BLUETOOTH_BREDR_BB``] Bluetooth Basic Rate and Enhanced Data Rate
|
669
577
|
#: baseband packets.
|
670
578
|
BLUETOOTH_BREDR_BB = 255
|
671
579
|
|
672
|
-
#: [``DLT_BLUETOOTH_LE_LL_WITH_PHDR``] Bluetooth Low Energy link-layer packets
|
580
|
+
#: [``DLT_BLUETOOTH_LE_LL_WITH_PHDR``] Bluetooth Low Energy link-layer packets,
|
581
|
+
#: with a pseudo-header.
|
673
582
|
BLUETOOTH_LE_LL_WITH_PHDR = 256
|
674
583
|
|
675
|
-
#: [``DLT_PROFIBUS_DL``] PROFIBUS data link layer packets
|
676
|
-
#: standard 61158-4-3, beginning with the start delimiter, ending with the end
|
677
|
-
#: delimiter, and including all octets between them.
|
584
|
+
#: [``DLT_PROFIBUS_DL``] PROFIBUS data link layer packets.
|
678
585
|
PROFIBUS_DL = 257
|
679
586
|
|
680
587
|
#: [``DLT_PKTAP``] Apple PKTAP capture encapsulation.
|
681
588
|
PKTAP = 258
|
682
589
|
|
683
|
-
#: [``DLT_EPON``] Ethernet-over-passive-optical-network packets,
|
684
|
-
#:
|
685
|
-
#: "Transmit" in Clause 65 of Section 5 of IEEE 802.3, followed immediately by
|
686
|
-
#: an Ethernet frame.
|
590
|
+
#: [``DLT_EPON``] Ethernet-over-passive-optical-network packets, including
|
591
|
+
#: preamble octets.
|
687
592
|
EPON = 259
|
688
593
|
|
689
|
-
#: [``DLT_IPMI_HPM_2``] IPMI trace packets
|
690
|
-
#: Data Block Format" in the PICMG HPM.2 specification. The time stamps for
|
691
|
-
#: packets in this format must match the time stamps in the Trace Data Blocks.
|
594
|
+
#: [``DLT_IPMI_HPM_2``] IPMI HPM.2 trace packets.
|
692
595
|
IPMI_HPM_2 = 260
|
693
596
|
|
694
|
-
#: [``DLT_ZWAVE_R1_R2``] Z-Wave RF profile R1 and R2 packets
|
695
|
-
#: ITU-T Recommendation G.9959, with some MAC layer fields moved.
|
597
|
+
#: [``DLT_ZWAVE_R1_R2``] Z-Wave RF profile R1 and R2 packets.
|
696
598
|
ZWAVE_R1_R2 = 261
|
697
599
|
|
698
|
-
#: [``DLT_ZWAVE_R3``] Z-Wave RF profile R3 packets
|
699
|
-
#: Recommendation G.9959, with some MAC layer fields moved.
|
600
|
+
#: [``DLT_ZWAVE_R3``] Z-Wave RF profile R3 packets.
|
700
601
|
ZWAVE_R3 = 262
|
701
602
|
|
702
603
|
#: [``DLT_WATTSTOPPER_DLM``] WattStopper Digital Lighting Management (DLM) and
|
@@ -720,18 +621,13 @@ class LinkType(IntEnum):
|
|
720
621
|
#: used in OpenBSD switch interface monitoring.
|
721
622
|
OPENFLOW = 267
|
722
623
|
|
723
|
-
#: [``DLT_SDLC``] SDLC packets
|
724
|
-
#: "Synchronous Data Link Control (SDLC)" of Systems Network Architecture
|
725
|
-
#: Formats, GA27-3136-20, without the flag fields, zero-bit insertion, or Frame
|
726
|
-
#: Check Sequence field, containing SNA path information units (PIUs) as the
|
727
|
-
#: payload.
|
624
|
+
#: [``DLT_SDLC``] SNA SDLC packets
|
728
625
|
SDLC = 268
|
729
626
|
|
730
627
|
#: [``DLT_TI_LLN_SNIFFER``] TI LLN sniffer frames.
|
731
628
|
TI_LLN_SNIFFER = 269
|
732
629
|
|
733
|
-
#: [``DLT_LORATAP``] LoRaTap pseudo-header
|
734
|
-
#: typically the PHYPayload from the LoRaWan specification.
|
630
|
+
#: [``DLT_LORATAP``] LoRaWan packets with a LoRaTap pseudo-header.
|
735
631
|
LORATAP = 270
|
736
632
|
|
737
633
|
#: [``DLT_VSOCK``] Protocol for communication between host and guest machines
|
@@ -746,8 +642,7 @@ class LinkType(IntEnum):
|
|
746
642
|
#: header giving metadata about the packet.
|
747
643
|
DOCSIS31_XRA31 = 273
|
748
644
|
|
749
|
-
#: [``DLT_ETHERNET_MPACKET``]
|
750
|
-
#: 99-4, starting with the preamble and always ending with a CRC field.
|
645
|
+
#: [``DLT_ETHERNET_MPACKET``] IEEE 802.3 mPackets.
|
751
646
|
ETHERNET_MPACKET = 274
|
752
647
|
|
753
648
|
#: [``DLT_DISPLAYPORT_AUX``] DisplayPort AUX channel monitoring messages.
|
@@ -776,8 +671,8 @@ class LinkType(IntEnum):
|
|
776
671
|
#: prepended.
|
777
672
|
DSA_TAG_BRCM_PREPEND = 282
|
778
673
|
|
779
|
-
#: [``DLT_IEEE802_15_4_TAP``] IEEE 802.15.4
|
780
|
-
#:
|
674
|
+
#: [``DLT_IEEE802_15_4_TAP``] IEEE 802.15.4 packets, with a pseudo-header
|
675
|
+
#: containing TLVs with metadata preceding the 802.15.4 header.
|
781
676
|
IEEE802_15_4_TAP = 283
|
782
677
|
|
783
678
|
#: [``DLT_DSA_TAG_DSA``] Ethernet frames, with a Marvell DSA switch tag
|
@@ -788,9 +683,7 @@ class LinkType(IntEnum):
|
|
788
683
|
#: inserted.
|
789
684
|
DSA_TAG_EDSA = 285
|
790
685
|
|
791
|
-
#: [``DLT_ELEE``]
|
792
|
-
#: The packet begins with the ELEE header; it does not include any transport-
|
793
|
-
#: layer or lower-layer headers for protocols used to transport ELEE packets.
|
686
|
+
#: [``DLT_ELEE``] Reserved for ELEE lawful intercept protocol.
|
794
687
|
ELEE = 286
|
795
688
|
|
796
689
|
#: [``DLT_Z_WAVE_SERIAL``] Serial frames transmitted between a host and a
|
@@ -838,8 +731,7 @@ class LinkType(IntEnum):
|
|
838
731
|
#: document.
|
839
732
|
AUERSWALD_LOG = 296
|
840
733
|
|
841
|
-
#: [``DLT_ZWAVE_TAP``] Z-Wave packets,
|
842
|
-
#: G.9959, with a TAP meta-data header.
|
734
|
+
#: [``DLT_ZWAVE_TAP``] Z-Wave packets, with a metadata header.
|
843
735
|
ZWAVE_TAP = 297
|
844
736
|
|
845
737
|
#: [``DLT_SILABS_DEBUG_CHANNEL``] Silicon Labs debug channel protocol, as
|
@@ -849,16 +741,10 @@ class LinkType(IntEnum):
|
|
849
741
|
#: [``DLT_FIRA_UCI``] Ultra-wideband (UWB) controller interface protocol (UCI).
|
850
742
|
FIRA_UCI = 299
|
851
743
|
|
852
|
-
#: [``DLT_MDB``] MDB (Multi-Drop Bus)
|
853
|
-
#: controller and peripherals inside the vending machine, with the message
|
854
|
-
#: format specified by the PCAP format for MDB specification.
|
744
|
+
#: [``DLT_MDB``] MDB (Multi-Drop Bus) vending machine protocol.
|
855
745
|
MDB = 300
|
856
746
|
|
857
|
-
#: [``DLT_DECT_NR``] DECT-2020 New Radio (NR) MAC layer
|
858
|
-
#: 103 636-4. The Physical Header Field is always encoded using 80 bits (10
|
859
|
-
#: bytes). Broadcast transmissions using 40 bits (5 bytes) is padded with 40
|
860
|
-
#: zero bits (5 bytes). When padding is used the Receiver Identity value 0x0000
|
861
|
-
#: (reserved address) is used to detect broadcast transmissions.
|
747
|
+
#: [``DLT_DECT_NR``] DECT-2020 New Radio (NR) MAC layer.
|
862
748
|
DECT_NR = 301
|
863
749
|
|
864
750
|
@staticmethod
|
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.post14
|
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=99EzJkxAbWq9e01tkf19lmo-4sY5tw8gqH7MrFfEccE,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=OhjHqk7xP3-8CgjXxX9L97PTssMAHwsNHoggTliL4FA,1434077
|
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=SZfgV515mSYdF9MPNunl0UqkpvYtWfdhaZb5bipk7u0,24918
|
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.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,,
|
File without changes
|
File without changes
|
File without changes
|