summary refs log tree commit diff
diff options
context:
space:
mode:
authorSou Bunnbu <iyzsong@gmail.com>2015-02-18 19:18:34 +0800
committerSou Bunnbu <iyzsong@gmail.com>2015-02-18 19:18:34 +0800
commitf8dbd6f9aed5f4f4b29299d5586af4f415abbb48 (patch)
treee16832b537829e516c6c101b3d02d308e023fb25
parentb7c3afa6741f9bd64f4e91c614e1b2d31b377e73 (diff)
parentac65a757f0555c758e07a493f02514bc5a4bf691 (diff)
downloadnixlib-f8dbd6f9aed5f4f4b29299d5586af4f415abbb48.tar
nixlib-f8dbd6f9aed5f4f4b29299d5586af4f415abbb48.tar.gz
nixlib-f8dbd6f9aed5f4f4b29299d5586af4f415abbb48.tar.bz2
nixlib-f8dbd6f9aed5f4f4b29299d5586af4f415abbb48.tar.lz
nixlib-f8dbd6f9aed5f4f4b29299d5586af4f415abbb48.tar.xz
nixlib-f8dbd6f9aed5f4f4b29299d5586af4f415abbb48.tar.zst
nixlib-f8dbd6f9aed5f4f4b29299d5586af4f415abbb48.zip
Merge pull request #6427 from grwlf/vsftpd-port
vsftpd.nix: add 'portPromiscuous' option
-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 62b6027c0120..447149552f48 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 '' '')