add Pasv min and max port support in vsftpd

This commit is contained in:
coolsnowwolf 2018-11-18 19:33:04 +08:00
parent fe830ebd5e
commit 8538747cac
2 changed files with 3 additions and 1 deletions

View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=vsftpd-alt
PKG_VERSION:=3.0.3
PKG_RELEASE:=5
PKG_RELEASE:=6
PKG_SOURCE:=vsftpd-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://security.appspot.com/downloads/

View File

@ -133,6 +133,8 @@ config_load vsftpd
output_const "background" YES
output_field listen port "listen_port" 21
output_field listen dataport "ftp_data_port" 20
output_field listen pasv_min_port "pasv_min_port" 50000
output_field listen pasv_max_port "pasv_max_port" 51000
# global
output_bool global 'write' "write_enable" 1