1 { lib, stdenv, rustPlatform, fetchFromGitHub, darwin }:
4 inherit (darwin.apple_sdk.frameworks) Security;
6 rustPlatform.buildRustPackage rec {
10 src = fetchFromGitHub {
14 sha256 = "sha256-jrifO6LRxVhgPoUOAm+7RT+LIhjsw/mEDFBZSJYMv/w=";
17 buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
21 cargoHash = "sha256-1HxuVZ4J/Ds1aOIIcNa/XGi7PhKgB+iAESMa1muTL48=";
26 description = "Distributed firewall";
28 Diswall (distributed firewall) - a client of distributed firewall
29 working on many servers and using NATS for the transport level.
30 Its purpose - blocking IPs with a blink of the eye on all servers
31 in any infrastructure when some IP checks any of the closed ports
32 of anyone of these servers. Therefore, diswall provides good
33 protection of whole infrastructure (as anti-shodan) preventing
34 intruder to get any system information.
36 homepage = "https://www.diswall.stream";
37 license = with licenses; [ gpl3 ];
38 maintainers = with maintainers; [ izorkin ];
39 mainProgram = "diswall";