How to Install and Uninstall pcapfix Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 21,2024

1. Install "pcapfix" package

Here is a brief guide to show you how to install pcapfix on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install pcapfix

2. Uninstall "pcapfix" package

Please follow the steps below to uninstall pcapfix on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove pcapfix $ sudo apt autoclean && sudo apt autoremove

3. Information about the pcapfix package on Ubuntu 21.10 (Impish Indri)

Package: pcapfix
Architecture: amd64
Version: 1.1.4-4
Priority: optional
Section: universe/net
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Joao Eriberto Mota Filho
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 103
Depends: libc6 (>= 2.14)
Enhances: tcpdump, wireshark
Filename: pool/universe/p/pcapfix/pcapfix_1.1.4-4_amd64.deb
Size: 37244
MD5sum: 62e54f98cbc01c75785eaf0d5dd1029b
SHA1: e85874a12437a38579643f34cfc255aded544aaa
SHA256: 1b980a560e125d8a3fe708cadc6bbcbe54c75f47785fe43afaa19bbeee01fba9
SHA512: 9170d9b195cd2c71b0218ab284cddea8143694ecd26b5f9c46fd0ffeff31642ece33015b5889ff61db914bb5115ec40759609fba2b9cf34e23e8ff269818990d
Homepage: http://f00l.de/pcapfix
Description-en: repairs broken pcap and pcapng files
libpcap (Packet CAPture) provides a portable framework for low-level network
monitoring. Network dumps based on libpcap can be made by tcpdump, wireshark
and other tools. Sometimes those dumps can get corrupted by several reasons.
Examples of this are a copy from Linux to Windows with a conversion to DOS/
Windows text file line ending (CR-LF) or a transfer over FTP in ASCII mode
instead of BINARY mode.
.
pcapfix tries to repair your broken pcap files, fixing the global header and
recovering the packets by searching and guessing the packet headers.
.
pcapfix will first step through the packets top down until it recognizes a
corrupted one by using plausibility checks. After that the tool will brute
force further pcap packet headers by reading the file byte by byte. If another
proper packet is found, pcapfix restores the data in between by adding a
well-formed pcap packet header.
.
The PCAP Next Generation Dump File Format (or pcapng for short) is an attempt
to overcome the limitations of the currently widely used (but limited) libpcap
format. Since 1.0.0 version, pcapfix works with pcapng format too.
Description-md5: ca1894e2a9b74596f788a20d3c631a6a