From cf58ab3a78aea2e97053fc3fbf8b0050f420604a Mon Sep 17 00:00:00 2001 From: Andy Hsu Date: Thu, 12 Dec 2024 21:04:14 +0800 Subject: [PATCH] chore(config): disable FTP and SFTP by default --- internal/conf/config.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/conf/config.go b/internal/conf/config.go index 6c0ccb2adc2..a9b38242e25 100644 --- a/internal/conf/config.go +++ b/internal/conf/config.go @@ -180,7 +180,7 @@ func DefaultConfig() *Config { SSL: false, }, FTP: FTP{ - Enable: true, + Enable: false, Listen: ":5221", FindPasvPortAttempts: 50, ActiveTransferPortNon20: false, @@ -192,7 +192,7 @@ func DefaultConfig() *Config { EnablePasvConnIPCheck: true, }, SFTP: SFTP{ - Enable: true, + Enable: false, Listen: ":5222", }, }