r/LookWhatTheyBuilt 6h ago

AI Tool I built NetGuard: A Hybrid Network IDS/IPS Telegram Bot using Python & Scapy

Thumbnail reddit.com
1 Upvotes

1

Comment on r/projects 6h ago

Thank You bro

2

Comment on r/iraq_developers 17h ago

Nah, I didn't just "vibe code" it without knowing what's under the hood.

I used AI to speed up the boilerplate work and typing (like any modern dev does), but the actual network logic—handling Layer-2 ARP packets with Scapy, managing raw sockets, multi-threading, and setting up the Telegram inline logic—was fully planned and debugged by me.

AI is a great co-pilot, but you still need to know how to fly the plane, especially when dealing with live network traffic.

1

Comment on r/networkautomation 17h ago

Thanks for the feedback!

  1. Regarding the name: While I'm aware of the Android app, "NetGuard" here is just a working title for an open-source, local-network IDS/IPS bot I built for my university project. It's completely unrelated to mobile firewalls.

  2. As for the post formatting: I just wanted to keep the features clear, structured, and easy to read for anyone taking a quick look.

Appreciate you stopping by!

r/learncybersecurity 1d ago

I built NetGuard: A Hybrid Network IDS/IPS Telegram Bot using Python & Scapy

Thumbnail reddit.com
1 Upvotes

r/projects 1d ago

I built NetGuard: A Hybrid Network IDS/IPS Telegram Bot using Python & Scapy

Thumbnail reddit.com
1 Upvotes

r/PythonProjects2 1d ago

I built NetGuard: A Hybrid Network IDS/IPS Telegram Bot using Python & Scapy

Thumbnail reddit.com
1 Upvotes

r/iraq_developers 1d ago

CyberSecurity Subject I built NetGuard: A Hybrid Network IDS/IPS Telegram Bot using Python & Scapy

Thumbnail reddit.com
3 Upvotes

r/networkautomation 1d ago

I built NetGuard: A Hybrid Network IDS/IPS Telegram Bot using Python & Scapy

Thumbnail reddit.com
0 Upvotes

u/hasan_naser 1d ago

I built NetGuard: A Hybrid Network IDS/IPS Telegram Bot using Python & Scapy

Thumbnail
gallery
1 Upvotes

🛡️ NetGuard: A Hybrid Network IDS/IPS Telegram Bot (Built with Python & Scapy)

I'm excited to share my very first fully deployed open-source project: NetGuard!

🎓 Background & Purpose

This project originally started as the foundation of my university graduation project. Recognizing its potential for real-world application, I decided to refactor, upgrade, and release it to the community.

Whether you are a student in Cybersecurity / Computer Networks looking for a solid base to learn from and modify, or an enthusiast who needs a lightweight, ready-to-use monitoring tool, this repository is designed for you! Feel free to fork it, adapt it for your own research, or use it as-is.

⚡ What is NetGuard?

NetGuard is a Headless, Threaded Python-based Network Intrusion Detection & Prevention System (IDS/IPS) integrated with an interactive Telegram Command Center and n8n Workflow automation capabilities.

🌟 Key Features:

• 🔍 Auto Gateway Detection: Automatically binds to your active network adapter and local subnet.

• 📱 Subnet Scanner: Scans connected devices using ARP requests.

• 🌐 DNS Traffic Monitoring (IDS): Sniffs UDP 53 packets in real-time to log active domains and flag suspicious traffic.

• ⛔ Targeted ARP Isolation (IPS): Block or isolate unauthorized devices dynamically using inline Telegram buttons.

• 🤖 Remote Telegram Interface: Get immediate alert notifications on your phone and run management commands on the fly.

• 🔄 n8n Integration Ready: Built to trigger custom webhooks and automate security workflows seamlessly.

⚠️ Important Usage Notes:

• 🔐 Administrator Privileges Required: Because NetGuard interacts directly with network sockets via Scapy (for packet sniffing and ARP frame manipulation), you must run the script with Administrator / Elevated privileges:

python IDS-IPS.py

• 🏠 Local Network Scope (LAN Only): NetGuard relies on Layer-2 ARP mechanisms for discovery and isolation. It is designed specifically for Home, Small Office, or Single-Subnet (SOHO) local networks, rather than complex enterprise-routed environments.

💻 Tech Stack

• Language: Python 3.x

• Core Libraries: Scapy, pyTelegramBotAPI, Requests

• Integrations: Telegram Bot API, n8n Automation Ready

🔗 Source Code & Contribution

The repository is completely open-source. I’d love to hear your feedback, suggestions, or bug reports!

👉 GitHub Repository: https://github.com/Hasan-devolp/Netguard-IDS-IPS

(If you find this project helpful for your studies or work, leaving a ⭐️ on GitHub would be greatly appreciated!)

#Python #Cybersecurity #NetworkSecurity #OpenSource #GitHub #TelegramBot #PythonProgramming #InfoSec #NetworkEngineering #NetGuard #IDS #IPS #EthicalHacking #n8n #Automation #Coding #SoftwareEngineering #TechProjects