A few tweaks: * set MAKE_FLAGS so that the build respects CFLAGS * NO_TESTS = Yes * add README and endless.rc to the port itself, reformat, turn on -s per default (syslog logging) * add dedicated _endlessh user * install a default config file into examples and @sample it
On Fri, 16 Dec 2022 21:17:52 +0100, Michael wrote: > Hi ports, > > this is a port for endlessh [1], an SSH tarpit that slowly sends an > endless banner. From pkg/DESCR: > > 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. > > This uses the latest git commit since some OpenBSD specific files were > added after version 1.1 got tagged. Same for some compiler warning > fixes. I would like to switch back on using some release or tagged > version as soon as it becomes available. > > I am unsure if all lines in post-install are correct the way they are, > however providing those files makes sense to me. > > Tested on amd64. > > > [1] https://github.com/skeeto/endlessh > >>> application/octet-stream attachment, name=endlessh.tar.gz
endlessh.tgz
Description: endlessh.tgz
