Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
pcapkit-*-tempdir/
pcapkit-temp.html

# Guard the pre-rename path too: worktrees and older checkouts still hold
# generated captures at examples/sample/, and nothing should track them.
examples/sample/
examples/captures/*
!examples/captures/out.json
!examples/captures/out.plist
Expand Down
1 change: 0 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ prune .github
prune .venv
prune docs
prune examples/captures
prune examples/sample
prune temp
prune test

Expand Down
Binary file removed examples/sample/arp.pcap
Binary file not shown.
Binary file removed examples/sample/dhcp_big_endian.pcapng
Binary file not shown.
Binary file removed examples/sample/http.pcap
Binary file not shown.
Binary file removed examples/sample/ipv4.pcap
Binary file not shown.
Binary file removed examples/sample/ipv6.pcap
Binary file not shown.
Binary file removed examples/sample/stream.pcap
Binary file not shown.
Binary file removed examples/sample/tcp.pcap
Binary file not shown.
4 changes: 2 additions & 2 deletions tests/protocols/internet/test_ipv6_extension_runtime.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
UDP_HEADER = (UDP_SRCPORT.to_bytes(2, 'big') + UDP_DSTPORT.to_bytes(2, 'big')
+ (8 + len(UDP_BODY)).to_bytes(2, 'big') + b'\x00\x00')

#: Fragment identification, matching the one in ``examples/sample/ipv6.pcap``.
#: Fragment identification, matching the one in ``examples/captures/ipv6.pcap``.
FRAG_ID = 110308


Expand Down Expand Up @@ -131,7 +131,7 @@ class IPv6ExtensionPayloadOffsetTests(unittest.TestCase):
"""The next layer is read from after the *last* extension header.

The datagrams here are built from bytes rather than read out of
``examples/sample/``: no committed capture carries more than one IPv6
``examples/captures/``: no committed capture carries more than one IPv6
extension header, and the captures are pinned byte-for-byte by the rest of
the suite, so a chain of several headers cannot be obtained from them.
Parsing goes through :class:`~pcapkit.protocols.internet.ipv6.IPv6`
Expand Down