返回顶部
n

network-device-monitor

Monitor network devices, detect unknown clients, and alert on new connections. Works with any router that serves a web UI. Tracks device state changes over time.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
104
下载量
0
收藏
概述
安装方式
版本历史

network-device-monitor

# Network Device Monitor Monitor your network for unknown devices. Works with any router that exposes an HTTP admin panel. Tracks device state changes and alerts on new connections. ## Quick Start ```bash # Scan your network (requires nmap) python3 {baseDir}/scripts/scan-network.py --subnet 192.168.1.0/24 # Quick ARP-based scan (faster) python3 {baseDir}/scripts/scan-network.py --subnet 192.168.1.0/24 --arp ``` ## Options - `--subnet CIDR` — Network range to scan (required) - `--arp` — Use ARP scan (faster, requires root) - `--known FILE` — JSON file with known devices (MAC → name mapping) - `--state FILE` — State file for tracking changes (default: `~/.network-state.json`) - `--alerts` — Only output when unknown devices are found - `--json` — Output as JSON - `--table` — Pretty-print as table ## State Tracking The monitor saves device state between runs: ```json { "last_scan": "2026-03-29T12:00:00", "devices": { "AA:BB:CC:DD:EE:FF": { "ip": "192.168.1.100", "hostname": "my-laptop", "first_seen": "2026-03-29T10:00:00", "last_seen": "2026-03-29T12:00:00", "status": "online" } }, "unknown_devices": ["11:22:33:44:55:66"] } ``` ## Alert Mode Run with `--alerts` for cron/heartbeat integration: ```bash # Only prints output if unknown devices are detected python3 scan-network.py --subnet 192.168.1.0/24 --alerts ``` ## Known Devices Format Create a `known-devices.json`: ```json { "AA:BB:CC:DD:EE:FF": "My Laptop", "11:22:33:44:55:66": "Smart TV", "DE:AD:BE:EF:00:00": "Game Console" } ``` ## Notes - ARP scan requires root: `sudo python3 scan-network.py --arp` - nmap scan works without root but is slower - Works on Linux and macOS - No external API dependencies

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 network-device-monitor-1775939600 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 network-device-monitor-1775939600 技能

通过命令行安装

skillhub install network-device-monitor-1775939600

下载 Zip 包

⬇ 下载 network-device-monitor v1.0.0

文件大小: 3.86 KB | 发布时间: 2026-4-12 10:42

v1.0.0 最新 2026-4-12 10:42
Initial release — detect unknown devices on your network

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部