summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlexander Bantyev <balsoft@balsoft.ru>2022-11-27 18:00:54 +0400
committerGitHub <noreply@github.com>2022-11-27 18:00:54 +0400
commit93ecaab8f8b80abf42b2c7e682603ae3744a2c6d (patch)
treeeb9478b8cc4dfe8140c7b34a4a65385170d878a4
parent98d30160b437c5d6f6d9338e565e1f47a3ebda14 (diff)
parent2072485ad911cd6e71d63cfb49f02b862823f4e9 (diff)
downloadnixpkgs-93ecaab8f8b80abf42b2c7e682603ae3744a2c6d.tar
nixpkgs-93ecaab8f8b80abf42b2c7e682603ae3744a2c6d.tar.gz
nixpkgs-93ecaab8f8b80abf42b2c7e682603ae3744a2c6d.tar.bz2
nixpkgs-93ecaab8f8b80abf42b2c7e682603ae3744a2c6d.tar.lz
nixpkgs-93ecaab8f8b80abf42b2c7e682603ae3744a2c6d.tar.xz
nixpkgs-93ecaab8f8b80abf42b2c7e682603ae3744a2c6d.tar.zst
nixpkgs-93ecaab8f8b80abf42b2c7e682603ae3744a2c6d.zip
Merge pull request #187596 from Izorkin/init-diswall
diswall: init at 0.2.0
-rw-r--r--pkgs/applications/networking/diswall/default.nix33
-rw-r--r--pkgs/top-level/all-packages.nix2
2 files changed, 35 insertions, 0 deletions
diff --git a/pkgs/applications/networking/diswall/default.nix b/pkgs/applications/networking/diswall/default.nix
new file mode 100644
index 00000000000..6b3b7f28430
--- /dev/null
+++ b/pkgs/applications/networking/diswall/default.nix
@@ -0,0 +1,33 @@
+{ lib, rustPlatform, fetchFromGitHub }:
+
+rustPlatform.buildRustPackage rec {
+  pname = "diswall";
+  version = "0.2.0";
+
+  src = fetchFromGitHub {
+    owner = "dis-works";
+    repo = "diswall-rs";
+    rev = "v${version}";
+    sha256 = "sha256-zT8RRg+Ver7dYtJL9htrZ8nXoD0V7IvdIqHTKDmbZ7c=";
+  };
+
+  cargoSha256 = "sha256-N+w1OiCy3scahFdYI49GpL301t1qNd/X4fdLMoQE/2s=";
+
+  doCheck = false;
+
+  meta = with lib; {
+    description = "Distributed firewall";
+    longDescription = ''
+      Diswall (distributed firewall) - a client of distributed firewall
+      working on many servers and using NATS for the transport level.
+      Its purpose - blocking IPs with a blink of the eye on all servers
+      in any infrastructure when some IP checks any of the closed ports
+      of anyone of these servers. Therefore, diswall provides good
+      protection of whole infrastructure (as anti-shodan) preventing
+      intruder to get any system information.
+    '';
+    homepage = "https://www.diswall.stream";
+    license = with licenses; [ gpl3 ];
+    maintainers = with maintainers; [ izorkin ];
+  };
+}
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index 7ad926a83e6..bb32b4a5c56 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -686,6 +686,8 @@ with pkgs;
 
   dispad = callPackage ../tools/X11/dispad { };
 
+  diswall = callPackage ../applications/networking/diswall { };
+
   dupeguru = callPackage ../applications/misc/dupeguru { };
 
   dump1090 = callPackage ../applications/radio/dump1090 { };