update cluelessh-faked

This commit is contained in:
nora 2024-08-26 03:27:28 +02:00
parent 1d88b9498e
commit 439ebe4062

View file

@ -245,8 +245,8 @@
# VPS5 is the primary test server, where new things are being deployed that could break stuff maybe.
vps5 = { name, nodes, modulesPath, config, pkgs, lib, ... }:
let
commit = "c8842ef22a2b7170316e5ee52da127baf58b9971";
fakessh = import (fetchTarball "https://github.com/Noratrieb/fakessh/archive/${commit}.tar.gz");
commit = "5f203d0f5ba2639043bd5bd1c3687c406d6abac1";
cluelessh = import (fetchTarball "https://github.com/Noratrieb/cluelessh/archive/${commit}.tar.gz");
in
{
imports = [
@ -260,12 +260,12 @@
services.openssh.ports = [ 2000 ];
systemd.services.fakessh = {
description = "fakessh ssh honeypot";
description = "cluelessh-faked ssh honeypot";
wantedBy = [ "multi-user.target" ];
after = [ "network.target" ];
serviceConfig = {
DynamicUser = true;
ExecStart = "${lib.getExe (fakessh {inherit pkgs;})}";
ExecStart = "${lib.getExe' (cluelessh {inherit pkgs;}) "cluelessh-faked" }";
AmbientCapabilities = "CAP_NET_BIND_SERVICE";
# i really don't trust this.
MemoryHigh = "100;";