Project: Netis (Observability and Analysis / Observability)
File: README.md

English ](https://github.com/Netis/packet-agent/releases/tag/0.3.6) ](./LICENSE.md) Netis Cloud Probe (Packet Agent, name used before)is an open source project to deal with such situation: it captures packets on Machine A but has to use them on Machine B. This case is very common when you try to monitor network traffic in the but the infrastructure is incapable, for example There is neither nor ) device in a physical environment. The Virtual Switch does not support SPAN function in a virtualization environment. Also, this project aims at developing a suite of low cost but high efficiency tools to survive the challenge above. pktminerg is the very first one, which makes you easily capture packets from an NIC interface, encapsulate them with GRE and send them to a remote machine for monitoring and analysis. With 4 utilities: pcapcompare is a utility for comparing 2 different pcap files. gredump is used for capturing GRE packet with filter, and save them to pcap file. gredemo is a demo app which is used to read packet from a pcap file and send them all to remote NIC. This can be only used when built from source code. probeDaemon is a new added module from v0.7.0, which is responsible for the management of the pktminerg process. It can pull and kill pktminerg process and set the parameters of pktminerg in the command line. This module should work with CPM (Cloud Probe Manager)which provides a user interface to set the strategies of pktminerg and can also display the statistis reported from pktminerg in graphs. You can contact Netis for the further support of CPM, or you can also develop your CPM. Currently, no probeDaemon for Win, which will be released later. Download and install the RPM package. Find the latest package from . ```bash wget https://github.com/Netis/cloud-probe/releases/download/v0.7.0/netis-cloud-probe-0.7.0.x8664centos.rpm rpm -ivh netis-cloud-probe-0.7.0.x8664centos.rpm ``` Download and install the RPM package. Find the latest package from . ```bash wget https://github.com/Netis/cloud-probe/releases/download/v0.7.0/netis-cloud-probe-probe-0.7.0.x8664suse.rpm rpm -ivh netis-cloud-probe-probe-0.7.0.x8664suse.rpm ``` Download and install the DEB package. Find the latest package from . ```bash wget https://github.com/Netis/cloud-probe/releases/download/v0.7.0/netis-cloud-probe-0.7.0_amd64.deb sudo dpkg -i netis-cloud-probe-0.7.0_amd64.deb ``` Remarks: If it encounter a library dependency error when install from rpm, you should install boost159_0 or later. If this also can't work, you can build and run from source. Remarks: Now only support CentOS 6/7, RedHat 7, SUSE 12, Ubuntu 18.04 LTS. Download and Install of latest version. Download and Install . Extract pktminerg and other utilities from zip, and run it in cmd in Administrator Mode. https://github.com/Netis/cloud-probe/releases/download/v0.7.0/netis-cloud-probe-0.7.0.Windows.AMD64.zip <br> Remarks: Make sure the firewall allows GRE packets to be sent to the target. https://lartc.org/howto/lartc.tunnel.gre.html provides a way to check firewall allows GRE packets to be sent. ```bash pktminerg "-i eth0 -r 172.16.1.201 -k 12" pcapcompare --lpcap /path/to/leftfile.pcap --rpcap /path/to/rightfile.pcap gredump -i eth0 -o /path/to/gredump_output.pcap pktminerg "-i eth0 -r 172.16.1.201 -k 12" "-i eth1 -r 10.1.2.123 -n 12" ``` For more information on using these tools, please refer to this . For docker usage, please refer to this . You can also clone source from Github and build Netis Packet Agent in local, then check"/path/to/packet-agent/bin" to find all binary. <br/> For build precondition and steps, please refer to this . . Fork the project and send pull requests. We welcome pull requests from members of all open source community. Copyright (c) 2018 - 2020 Netis.<br/> The content of this repository bound by the following licenses: The computer software is licensed under the . You can E-mail to . You can also report issues and suggestions via . <br/>