You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
1.6 KiB
YAML
35 lines
1.6 KiB
YAML
# [Endlessh](https://github.com/skeeto/endlessh) 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.
|
|
|
|
---
|
|
version: "2.1"
|
|
services:
|
|
endlessh:
|
|
image: ghcr.io/linuxserver/endlessh
|
|
container_name: endlessh
|
|
environment:
|
|
# for GroupID
|
|
- PUID=${PUID:-1024}
|
|
# for UserID
|
|
- PGID=${PGID:-100}
|
|
# Specify a timezone to use for example Europe/Amsterdam
|
|
- TZ=${TZ:-Europe/Amsterdam}
|
|
# The endless banner is sent one line at a time. This is the delay in milliseconds between individual lines.
|
|
- MSDELAY=10000 # optional
|
|
# The 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.
|
|
- MAXLINES=32 # optional
|
|
# Maximum number of connections to accept at a time. Connections beyond this are not immediately rejected, but will wait in the queue.
|
|
- MAXCLIENTS=4096 # optional
|
|
# By 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).
|
|
- LOGFILE=false # optional
|
|
volumes:
|
|
# Required if `LOGFILE` is set to `true`.
|
|
- ${BASEDIR:-/volume1/docker}/endlessh/config:/config # optional
|
|
ports:
|
|
# ssh port
|
|
- 22:2222
|
|
restart: unless-stopped
|