An easy to set up and use SSH honeypot, a fake SSH server that lets anyone in and logs their activity. sshesame accepts and logs SSH connections and activity (channels, requests), without doing anything on the host (e.g. executing commands, making network requests).
28 lines
577 B
Makefile
28 lines
577 B
Makefile
PORTNAME= sshesame
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 0.0.39
|
|
CATEGORIES= security
|
|
|
|
MAINTAINER= skozlov@FreeBSD.org
|
|
COMMENT= Easy to set up and use SSH honeypot
|
|
WWW= https://github.com/jaksi/sshesame
|
|
|
|
LICENSE= APACHE20
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USES= go:1.22,modules
|
|
USE_RC_SUBR= ${PORTNAME}
|
|
|
|
USERS= sshesame
|
|
GROUPS= sshesame
|
|
|
|
GO_MODULE= github.com/jaksi/sshesame
|
|
|
|
PLIST_FILES= "@sample etc/${PORTNAME}.yaml.sample" \
|
|
bin/${PORTNAME}
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.yaml ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.yaml.sample
|
|
|
|
.include <bsd.port.mk>
|