Giter VIP home page Giter VIP logo

network-analyzer's Introduction

Network Analyzer

version compiler license author

This is a network analyzer that can be used to analyze the network traffic of a computer. It is written in C and uses the libpcap library to capture the packets. You need to have the libpcap library installed on your computer to compile the program :

sudo apt install libpcap-dev

Table of Contents

  1. Compilation
  2. Usage
  3. Examples

Compilation

To execute the program, you must first compile it using the command make. This will create an executable file called sniffer in the bin folder. You can also use the command make test to compile the program and test it whith the files in the test folder.

Usage

To use the programm, you must run the executable file sniffer with the following arguments:

  • -i followed by the name of the interface to capture the packets from.
  • -o followed by the file name to sniffer the packets from.
  • -f followed by the filter to apply to the packets. (not implemented yet)
  • -v followed by 0 or 1 or 2 to display more infos in the terminal.
  • -h to display the help.

Examples

  • ./sniffer -i eth0: Capture the packets from the interface eth0.
    • Note: You must run the program with sudo if you want to capture the packets from an interface.
  • ./sniffer -o capture.pcap: Capture the packets from the file capture.pcap.
  • ./sniffer -i eth0 -v 1: Capture the packets from the interface eth0 and display more infos in the terminal.

network-analyzer's People

Contributors

loskeeper avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.