mirror of
https://github.com/Noratrieb/vps.git
synced 2026-01-14 16:55:00 +01:00
update cluelessh-faked
This commit is contained in:
parent
1d88b9498e
commit
439ebe4062
1 changed files with 4 additions and 4 deletions
|
|
@ -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;";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue