Use when detecting port scans and adding dynamic blocks.
Scanned 9/10/2026
Install to Claude Code
npx -y skills add LoopyLuci/Skills --skill port-scanner-detection --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Port Scanner Detection?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/loopyluci-port-scanner-detection)More formats (shields.io, HTML) on the badges page.
---
name: port-scanner-detection
title: Port Scanner Detection
description: Use when detecting port scans and adding dynamic blocks.
category: networking
tags: [port-scan, detection, security, dynamic-block, rust]
---
# Port Scanner Detection
**Trigger**: Use when implementing port scan detection and throttling.
**Libraries**: `pcap`, `pnet`, `dashmap` (concurrent state)
**Implementation**: Sliding window: count unique ports per source IP within time window. Configurable thresholds (N ports in M seconds). TCP flag anomaly detection (SYN-only, FIN-only, X-mas, NULL). Dynamic block: auto-add nftables/WFP rule with configurable duration. Rate limiting option. Whitelist trusted scanners.
**Connected**: `packet-capture-engine`, `firewall-rules-engine`, `connection-monitor`, `gpu-packet-classifier`
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!