mirror of
https://github.com/Noratrieb/vps.git
synced 2026-01-15 17:15:14 +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 is the primary test server, where new things are being deployed that could break stuff maybe.
|
||||||
vps5 = { name, nodes, modulesPath, config, pkgs, lib, ... }:
|
vps5 = { name, nodes, modulesPath, config, pkgs, lib, ... }:
|
||||||
let
|
let
|
||||||
commit = "c8842ef22a2b7170316e5ee52da127baf58b9971";
|
commit = "5f203d0f5ba2639043bd5bd1c3687c406d6abac1";
|
||||||
fakessh = import (fetchTarball "https://github.com/Noratrieb/fakessh/archive/${commit}.tar.gz");
|
cluelessh = import (fetchTarball "https://github.com/Noratrieb/cluelessh/archive/${commit}.tar.gz");
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
|
|
@ -260,12 +260,12 @@
|
||||||
|
|
||||||
services.openssh.ports = [ 2000 ];
|
services.openssh.ports = [ 2000 ];
|
||||||
systemd.services.fakessh = {
|
systemd.services.fakessh = {
|
||||||
description = "fakessh ssh honeypot";
|
description = "cluelessh-faked ssh honeypot";
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
after = [ "network.target" ];
|
after = [ "network.target" ];
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
DynamicUser = true;
|
DynamicUser = true;
|
||||||
ExecStart = "${lib.getExe (fakessh {inherit pkgs;})}";
|
ExecStart = "${lib.getExe' (cluelessh {inherit pkgs;}) "cluelessh-faked" }";
|
||||||
AmbientCapabilities = "CAP_NET_BIND_SERVICE";
|
AmbientCapabilities = "CAP_NET_BIND_SERVICE";
|
||||||
# i really don't trust this.
|
# i really don't trust this.
|
||||||
MemoryHigh = "100;";
|
MemoryHigh = "100;";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue