From 439ebe4062dae1c3a55cec6d0bbd8b495aa67825 Mon Sep 17 00:00:00 2001 From: Noratrieb <48135649+Noratrieb@users.noreply.github.com> Date: Mon, 26 Aug 2024 03:27:28 +0200 Subject: [PATCH] update cluelessh-faked --- newinfra/nix/hive.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/newinfra/nix/hive.nix b/newinfra/nix/hive.nix index ff0d493..c2378ea 100644 --- a/newinfra/nix/hive.nix +++ b/newinfra/nix/hive.nix @@ -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;";