Skip to content

Endlessh

Logo

Description

Endlessh is an SSH tarpit that very slowly sends an endless, random SSH banner. It keeps SSH clients locked up for hours or even days at a time. The purpose is to put your real SSH server on another port and then let the script kiddies get stuck in this tarpit instead of bothering a real server.

Image

linuxserver/endlessh:latest

Categories

  • Tools

Ports

  • 22:2222/tcp

Volumes

ContainerBind
/config/opt/appdata/endlessh

Environment Variables

NameLabelDefaultDescription
PUIDPUID1024for GroupID
PGIDPGID100for UserID
TZTZEurope/AmsterdamSpecify a timezone to use for example Europe/Amsterdam
MSDELAYMSDELAY10000The endless banner is sent one line at a time. This is the delay in milliseconds between individual lines.
MAXLINESMAXLINES32The length of each line is randomized. This controls the maximum length of each line. Shorter lines may keep clients on for longer if they give up after a certain number of bytes.
MAXCLIENTSMAXCLIENTS4096Maximum number of connections to accept at a time. Connections beyond this are not immediately rejected, but will wait in the queue.
LOGFILELOGFILEfalseBy default, the app logs to container log. If this is set to `true`, the log will be output to file under `/config/logs/endlessh` (`/config` needs to be mapped).
BINDFAMILYBINDFAMILY``````By default, the app binds to IPv4 and IPv6 addresses. Set it to `4` or `6` to bind to IPv4 only or IPv6 only, respectively. Leave blank to bind to both.

Labels

KeyValue
traefik.enabletrue
traefik.http.routers.endlessh.ruleHost(`endlessh.{$TRAEFIK_INGRESS_DOMAIN}`)
traefik.http.routers.endlessh.entrypointshttps
traefik.http.services.endlessh.loadbalancer.server.port2222
traefik.http.routers.endlessh.tlstrue
traefik.http.routers.endlessh.tls.certresolverdefault
traefik.http.routers.endlessh.middlewarestraefik-forward-auth
mafl.enabletrue
mafl.titleEndlessh
mafl.descriptionEndlessh is an SSH tarpit that very slowly sends an endless, random SSH banner.
mafl.linkhttps://endlessh.{$TRAEFIK_INGRESS_DOMAIN}
mafl.icon.wraptrue
mafl.icon.color#007acc
mafl.status.enabledtrue
mafl.status.interval60
mafl.groupTools
mafl.icon.urlhttps://github.com/linuxserver/docker-templates/raw/master/linuxserver.io/img/openssh-server-logo.png

Licensed under the MIT License. Free for all use cases. For enterprise or academic support, please reach out to us.