summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorSergey Mironov <smironov@ecotelecom.ru>2014-12-09 12:58:34 +0300
committerSergey Mironov <grrwlf@gmail.com>2015-02-18 11:51:43 +0300
commitac65a757f0555c758e07a493f02514bc5a4bf691 (patch)
treec1be1d5036d1e3566b5114e28d285e98367c3692 /nixos
parent96d6344b131cad5af56ecef5cef7b4fd515e1982 (diff)
downloadnixpkgs-ac65a757f0555c758e07a493f02514bc5a4bf691.tar
nixpkgs-ac65a757f0555c758e07a493f02514bc5a4bf691.tar.gz
nixpkgs-ac65a757f0555c758e07a493f02514bc5a4bf691.tar.bz2
nixpkgs-ac65a757f0555c758e07a493f02514bc5a4bf691.tar.lz
nixpkgs-ac65a757f0555c758e07a493f02514bc5a4bf691.tar.xz
nixpkgs-ac65a757f0555c758e07a493f02514bc5a4bf691.tar.zst
nixpkgs-ac65a757f0555c758e07a493f02514bc5a4bf691.zip
vsftpd.nix: add 'portPromiscuous' option
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/networking/vsftpd.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/nixos/modules/services/networking/vsftpd.nix b/nixos/modules/services/networking/vsftpd.nix
index 62b6027c012..447149552f4 100644
--- a/nixos/modules/services/networking/vsftpd.nix
+++ b/nixos/modules/services/networking/vsftpd.nix
@@ -68,6 +68,11 @@ let
       Only applies if <option>sslEnable</option> is true. Non anonymous (local) users
       must use a secure SSL connection for sending/receiving data on data connection.
     '')
+    (yesNoOption "portPromiscuous" "port_promiscuous" false ''
+      Set to YES if you want to disable the PORT security check that ensures that
+      outgoing data connections can only connect to the client. Only enable if you
+      know what you are doing!
+    '')
     (yesNoOption "ssl_tlsv1" "ssl_tlsv1" true  '' '')
     (yesNoOption "ssl_sslv2" "ssl_sslv2" false '' '')
     (yesNoOption "ssl_sslv3" "ssl_sslv3" false '' '')