Back to skills
SKILL.md
Port Scanner Detection
ASecurityUse when detecting port scans and adding dynamic blocks.
- 2 stars
- 0 votes
- 0 copies
- 3 views
- Added September 10, 2026
Security analysis
100/100npx -y skills add LoopyLuci/Skills --skill port-scanner-detection --agent claude-codeAre you the author of Port Scanner Detection?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/loopyluci-port-scanner-detection)---
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`
Attribution
Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.