Skip to content

PumbaLP/adguardhome-dot

Repository files navigation

PumbaLP/adguardhome-dot

CrowdSec collection to detect and block DoT (DNS-over-TLS, port 853) scanners targeting AdGuard Home instances.

Installation

cscli collections install PumbaLP/adguardhome-dot

Then add to your acquisition config (e.g. acquis.yaml):

source: docker
container_name:
  - adguardhome
labels:
  type: adguardhome

What it detects

Port scanners and probers that connect to port 853 (DoT) without completing a proper TLS handshake. These appear as repeated connection reset by peer errors in AdGuard Home logs.

What it does NOT detect

  • DoQ (port 8853 or 853/udp) – no remote IP in logs
  • Direct DoH (port 443) – no remote IP in logs
  • DoH via Nginx reverse proxy – use crowdsecurity/nginx-logs instead

Tested against

AdGuard Home v0.107.x – confirmed working in production.

Components

Component Type Description
PumbaLP/adguardhome-dot-errors Parser Extracts remote IP from DoT connection reset errors
PumbaLP/adguardhome-dot-scan Scenario Bans after 5 resets in 10 minutes

About

CrowdSec parser and scenario for AdGuard Home DoT (DNS-over-TLS) scanner detection

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors