ntopng-admin
Professional network monitoring and device identification using ntopng Redis data. Designed for security auditing and diagnostic environments.
- License 许可
- MIT
- 最近更新
- 2026-06-07
- Stars
- ★ 0
- Forks
- 1
01 前言 Front Matter
- name
- ntopng-admin
- metadata
- { "openclaw": { "requires": { "env": [ "OPNSENSE_HOST", "OPNSENSE_SSH_PORT", "NTOP_INSECURE" ], "bins": [ "ssh", "jq" ] }, "disableModelInvocation": true } }
- description
- Professional network monitoring and device identification using ntopng Redis data. Designed for security auditing and diagnostic environments.
03 SKILL.md 正文
ntopng Network Monitor (Secure Edition)
A powerful network auditing tool that queries ntopng data directly from Redis via a secure SSH tunnel. This skill is built for network administrators and security professionals who need high-visibility into local network traffic.
⚠️ High Privilege Warning & Responsible Use
PROCEED WITH CAUTION: This skill performs high-privilege operations, including executing commands on your network gateway via SSH and reading internal network states.
- Strict Audit Only: Intended for Lab, Test, or controlled Audit environments. Avoid use in critical production systems unless the agent's access is strictly isolated.
- Explicit Consent: By default, autonomous invocation is disabled. You must manually approve each query to maintain full oversight of the data being accessed.
- Security Posture: This tool uses SSH Key Authentication. Never use plain-text passwords. Ensure your SSH keys are protected with passphrases where applicable.
- Data Sensitivity: Be aware that this tool exposes MAC addresses, internal IPs, and connection metadata. Handle output with the same care as your network configuration files.
Prerequisites
- SSH Key Access: Public key authentication must be configured between the OpenClaw host and the OPNsense/ntopng host.
- Binaries:
sshandjqmust be available in the local environment. - Backend: ntopng must be running with Redis persistence enabled on the target host.
Configuration
Declare these variables in your environment or agent configuration:
| Variable | Description | Default |
|---|---|---|
OPNSENSE_HOST |
Target gateway IP or hostname | 192.168.1.1 |
OPNSENSE_SSH_PORT |
SSH service port | 50222 |
NTOP_INSECURE |
Set to true for self-signed certificates (if applicable) |
false |
Available Commands
The helper script scripts/ntopng-helper.sh provides safe, read-only data extraction:
1. Network Inventory
./scripts/ntopng-helper.sh list [limit]
Lists detected devices with MAC, IP, total traffic volume, and last-seen timestamps.
2. Device Forensics
./scripts/ntopng-helper.sh device-info <ip|mac>
Provides granular traffic breakdown, packet counts, and inferred device classification.
3. Connection Audit
./scripts/ntopng-helper.sh connections <ip> [sample_size]
Extracts a sample of external domains contacted by a specific device from ntopng logs.
4. Health & Statistics
./scripts/ntopng-helper.sh status # Verifies the ntopng service state
./scripts/ntopng-helper.sh stats # Global network device counts
Data Interpretation Guide
- Exfiltration Pattern: An Upload:Download ratio higher than 5:1 on a non-server device is a high-priority anomaly.
- Device Spoofing: Unexpected MAC addresses or MACs with the
DE:AD:BE:EFprefix (often VPN/Tunnel interfaces) should be verified. - Protocol Anomalies: Use the
appcommand to detect devices using protocols that violate your local security policy (e.g., unexpected SSH or HTTP servers).
Security Implementation
- No Secret Leaking: Scripts are hardened to never echo credentials or sensitive environment variables.
- Input Sanitization: Arguments are filtered to prevent shell injection attempts.
- Secure by Default: SSL verification is active unless explicitly overridden for lab use.
04 同仓库更多 Skills
crowd-prompting
A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.
ceaser
Interact with the Ceaser privacy protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- shield, unshield, note management, and protocol queries. All ceaser tool calls use CLI subcommands (npx -y ceaser-mcp <subcommand>). Ceaser is a privacy-preserving ETH wrapper using Noir/UltraHonk zero-knowledge proofs on Base L2 (chain ID 8453).
ceaser-send
Fully automated private ETH transfer via Ceaser Protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- all ceaser tool calls use CLI subcommands (npx -y ceaser-mcp <subcommand>). WARNING -- creates observable on-chain links between user wallet and hot wallet (see Privacy Warning). Generates an ephemeral hot wallet with BIP-39 mnemonic recovery, user funds it, agent signs and broadcasts the Shield TX automatically. Exactly one manual step required (funding the hot wallet with ETH). Uses Noir/UltraHonk zero-knowledge proofs.
dilemm-ai
Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).
moldium
Post and manage content on the Moldium blog platform. Triggered by "post to Moldium", "write a blog post", "publish an article", etc.
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, submit comments, search papers, and import papers. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, submitting paper reviews, searching papers by title, or importing papers from arXiv URLs via API at http://weakaccept.top:8000/.