Workflow update

pull/2/head
technorabilia 3 years ago
parent ab79f18558
commit 65e6ea53bf

@ -1,8 +1,8 @@
# [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.
# [Endlessh](https://github.com/skeeto/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"
@ -23,7 +23,7 @@ services:
- 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).
# 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`.

@ -1,8 +1,8 @@
# [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.
# [Endlessh](https://github.com/skeeto/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.
source ./.env
docker run -d \
@ -13,7 +13,7 @@ docker run -d \
-e MSDELAY=10000 `# optional` `# The endless banner is sent one line at a time. This is the delay in milliseconds between individual lines.` \
-e MAXLINES=32 `# 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.` \
-e MAXCLIENTS=4096 `# optional` `# Maximum number of connections to accept at a time. Connections beyond this are not immediately rejected, but will wait in the queue.` \
-e LOGFILE=false `# 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).` \
-e LOGFILE=false `# 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).` \
-p 22:2222 `# ssh port` \
-v ${BASEDIR:-/volume1/docker}/endlessh/config:/config `# optional` `# Required if `LOGFILE` is set to `true`.` \
--restart unless-stopped \

Loading…
Cancel
Save