Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Advanced Network Monitoring & Security Analysis Tool

NotificationsYou must be signed in to change notification settings

Goofisded/netsniff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

NetSniff Banner

Python VersionLicense: MITOpen Source

NetSniff 🔍

Advanced Network Monitoring & Security Analysis Tool

Table of Contents

Features ✨

  • Real-time network traffic monitoring
  • Port scan detection & threat alerts
  • DNS query logging & analysis
  • Protocol breakdown (TCP/UDP/ICMP)
  • Connection tracking & statistics
  • Cross-platform support (Windows/Linux/macOS)
  • Customizable whitelists & thresholds

Installation 💻

Prerequisites

  • Python 3.8+
  • Npcap (Windows) / libpcap (Linux)
# Clone repositorygit clone https://github.com/Goofisded/netsniff.gitcd netsniff# Install dependenciespip install -r requirements.txt

Linux Setup

# Install libpcapsudo apt-get install libpcap-dev# Run with privilegessudo python3 netsniff.py -i eth0

Windows Setup

  • InstallNpcap
  • Run Command Prompt as Admin:
python netsniff.py -i"Ethernet"

Usage 🚀

Basic command structure:

sudo python3 netsniff.py -i [interface]

Example with common interface names:

# Linux wireless interfacesudo python3 netsniff.py -i wlp2s0# Windows Ethernetpython netsniff.py -i"Ethernet 2"

Configuration ⚙️

Edit theCONFIG section in the code:

CONFIG= {"CHECK_INTERVAL":5,# Stats refresh rate (seconds)"SCAN_THRESHOLD":15,# SYN packets/min for alerts"DNS_THRESHOLD":50,# DNS queries/min limit"WHITELISTED_IPS": [],# Trusted IP addresses"LOG_FILE":"netsniff.log"# Log file path}

Screenshots 📸

Contributing 🤝

  • Fork the repository
  • Create your feature branch:
git checkout -b feature/amazing-feature
  • Commit changes:
git commit -m'Add amazing feature'
  • Push to branch:
git push origin feature/amazing-feature
  • Open a Pull Request

License 📄

Distributed under MIT License. See LICENSE for more information.

Made with ❤️ by Goofisded | 🛡️ Happy Monitoring!

[8]ページ先頭

©2009-2025 Movatter.jp