-
Notifications
You must be signed in to change notification settings - Fork 2
Installation
SecureNet IDS edited this page Aug 31, 2026
·
1 revision
Complete setup guide for SecureNet IDS on Windows, Linux, and macOS.
| Requirement | Version | Notes |
|---|---|---|
| Python | 3.8+ | Required |
| Node.js | 16+ | For frontend dashboard |
| npm | 8+ | Bundled with Node.js |
| Admin/Root | Required | For packet capture |
| Npcap / libpcap | Latest | Windows: Npcap, Linux/Mac: libpcap |
Download and install from: https://npcap.com/#download
- Enable "Install Npcap in WinPcap API-compatible Mode"
git clone https://github.com/pathakpk7/SecureNet_IDS.git
cd SecureNet_IDS
python -m venv venv
venv\Scripts\activate
pip install -r requirements.txtcd securenet-ui
npm install
cd ..copy .env.example .env
notepad .envGet-NetAdapter | Select-Object Name, StatusUpdate NETWORK_INTERFACE=Wi-Fi (or your interface name) in .env
sudo apt-get install libpcap-dev # Ubuntu/Debian
sudo yum install libpcap-devel # CentOS/RHELgit clone https://github.com/pathakpk7/SecureNet_IDS.git
cd SecureNet_IDS
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txtip link show
# or
ifconfig -aUpdate NETWORK_INTERFACE=eth0 in .env
sudo python backend/main.pybrew install libpcap
git clone https://github.com/pathakpk7/SecureNet_IDS.git
cd SecureNet_IDS
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txtEdit your .env file:
# === Database (Optional - falls back to SQLite if not set) ===
SUPABASE_URL=https://your-project.supabase.co
SUPABASE_KEY=your-anon-key
# === Threat Intelligence API Keys (Optional but recommended) ===
VIRUSTOTAL_API_KEY=your_key_here
ABUSEIPDB_API_KEY=your_key_here
URLSCAN_API_KEY=your_key_here
OTX_API_KEY=your_key_here
# === Network Settings ===
NETWORK_INTERFACE=Wi-Fi # Windows
# NETWORK_INTERFACE=eth0 # Linux
# NETWORK_INTERFACE=en0 # macOS
# === Server Settings ===
HOST=0.0.0.0
PORT=8000
DEBUG=false
LOG_LEVEL=INFONote: The system works fully without API keys using the embedded SQLite database and offline ML model. API keys enhance threat intelligence enrichment.
# Test backend starts correctly
python backend/main.py
# Should see:
# ✅ SecureNet IDS started successfully!
# 📡 Network monitoring engine active and running
# INFO: Uvicorn running on http://0.0.0.0:8000Visit http://localhost:8000/health — should return {"status": "healthy"}