BSD Ports

net/endlessh 1.1_2 DragonFly

SSH tarpit

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
UNLICENSE
Categories
net
Package size
10.7 KiB, 20.9 KiB installed

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.

In the other systems

SystemPortVersion
DragonFlynet/endlessh1.1_2
FreeBSDnet/endlessh1.1_2
OpenBSDnet/endlessh1.1pre20210430p2
HardenedBSDnet/endlessh1.1_2
GhostBSDnet/endlessh1.1_2

Install

Binary package:

pkg install endlessh

From DPorts:

cd /usr/dports/net/endlessh && make install clean

Dependencies

No port depends on this one.

Configuration

No options to configure.

Service scripts
none

Message after installing

Configure endlessh either via endlessh.conf or using endlessh_args in rc.conf.
The defaults are commented out in endlessh.conf.

The default configuration only logs starts & stops to /var/log/endlessh.log.
To see the connections set LogLevel 1 in endlessh.conf or add "-v" to
endlessh_args. Sending SIGUSR1 to endlessh (pkill USR1 endlessh) will add
statistics to the /var/log/endlessh.log file

Link (or copy) endlessh.newsyslog.conf to /usr/local/newsyslog.conf.d/
to take care of log rotation.

ln -s /usr/local/etc/endlessh.newsyslog.conf /usr/local}/etc/newsyslog.conf.d/

Link (or copy) endlessh.newsyslog.conf to /usr/local/newsyslog.conf.d/
to take care of log rotation.

ln -s /usr/local/etc/endlessh.newsyslog.conf /usr/local/etc/newsyslog.conf.d/