Coder Social home page Coder Social logo

farazulhoda / network-traffic-analysis Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 47.96 MB

The Network Traffic Analyzer is a Python script designed for capturing and analyzing network traffic, focusing primarily on DNS traffic. This tool provides users with the capability to monitor network activity in real-time and extract relevant information from captured packets.

Home Page: https://github.com/farazulhoda/network-traffic-analysis.git

License: Mozilla Public License 2.0

Python 0.26% TeX 33.39% HTML 66.35%
cybersecurity data-analysis dns-analysis network-analysis network-forensics network-monitoring-tool network-traffic networking-utility open-source packet-sniffer python-scripting python3 scapy-library security-analysis traffic-monitoring whois-lookup

network-traffic-analysis's Introduction

Network Traffic Analyzer

This project is a Python script for capturing and analyzing network traffic, focusing on DNS traffic, using the Scapy library. It provides a simple interface for monitoring network activity and extracting relevant information from captured packets.

Features

  • Captures network traffic on a specified network interface.
  • Filters traffic based on user-defined criteria (e.g., port number, protocol).
  • Extracts information from DNS packets, including DNS queries and answers.
  • Integrates WHOIS lookup for source and destination IP addresses.
  • Saves analyzed traffic data to a CSV file for further analysis.

Requirements

  • Python 3.x
  • Scapy library
  • python-whois library

Installation

  1. Clone the repository:

    git clone https://github.com/farazulhoda/network-traffic-analyzer.git
  2. Install dependencies:

    pip install scapy python-whois

Usage

  1. Navigate to the project directory:

    cd network-traffic-analyzer
  2. Navigate to src folder:

    cd src
  3. Run the script:

    sudo python3 network_analyzer.py
  4. Follow the on-screen instructions to capture and analyze network traffic.

Contributing

Contributions are welcome! Feel free to submit bug reports, feature requests, or pull requests.

License

This project is licensed under the MIT License. See the LICENSE file for details.

network-traffic-analysis's People

Contributors

farazulhoda avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

sampada067

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.