- Install libpcap and wget
yum install libpcap wget
Note: The default libpcap with TPACKET_V3 enabled has some performance issue. If performance is critical, you can remove libpcap and reinstall libpcap-1.8.1-6.fc27.x86_64.rpm or newer version which drops the TPACKET_V3 patch: http://rpm.pbone.net/index.php3/stat/22/idpl/50238989/com/changelog.html
- Download and install the RPM package. Find the latest package from Releases Page.
wget /~https://github.com/Netis/packet-agent/releases/download/v0.3.6/netis-packet-agent-0.3.6.el6.x86_64.rpm
rpm -ivh netis-packet-agent-0.3.6.el6.x86_64.rpm
- Install libpcap and wget
sudo apt-get install libpcap-dev wget
- Download and install the DEB package. Find the latest package from Releases Page.
wget /~https://github.com/Netis/packet-agent/releases/download/v0.3.6/netis-packet-agent-0.3.6_amd64.deb
sudo dpkg -i netis-packet-agent-0.3.6_amd64.deb
- If libpcap.so.1 not found when running pktminerg, create softlink for libpcap.so.1 in suitable directory.
whereis libpcap.so
cd /path/to/libpcap.so
ln -s libpcap.so.x.y.z libpcap.so.1
- Install libpcap and wget
yum install libpcap wget
- Download and install the RPM package. Find the latest package from Releases Page.
wget /~https://github.com/Netis/packet-agent/releases/download/v0.3.6/netis-packet-agent-0.3.6.el6.x86_64.rpm
rpm -ivh netis-packet-agent-0.3.6.el6.x86_64.rpm
- Download and Install Winpcap of latest version.
- Download and Install Microsoft Visual C++ Redistributable for Visual Studio 2017 x64.
- Download and ZIP package. Find the latest package from Releases Page.
- Extract pktminerg and other utilities from zip, and run it in cmd in Administrator Mode.
Note: On Windows platform, you must use NIC's NT Device Name with format "\Device\NPF_{UUID}" as interface param. You can get it with following command:
C:\> getmac /fo csv /v
"Connection Name","Network Adapter","Physical Address","Transport Name"
"Ethernet","Intel(R) Ethernet Connection (4) I219-V","8C-16-45-6B-53-B5","\Device\Tcpip_{4C25EA92-09DF-4FD3-A8B3-1B68E57443E2}"
Take last field(Transport Name) and replace "Tcpip_" with "NPF_" as follow, then you can get interface param of Windows.
\Device\NPF_{4C25EA92-09DF-4FD3-A8B3-1B68E57443E2}
Use example:
C:\> pktminerg -i \Device\NPF_{4C25EA92-09DF-4FD3-A8B3-1B68E57443E2} -r 172.24.103.201
C:\> gredump -i \Device\NPF_{4C25EA92-09DF-4FD3-A8B3-1B68E57443E2} -o capture.pcap