File tree Expand file tree Collapse file tree 2 files changed +77
-0
lines changed Expand file tree Collapse file tree 2 files changed +77
-0
lines changed Original file line number Diff line number Diff line change @@ -5680,3 +5680,64 @@ The default value is 2048. You are advised to change the value to 8192."
5680
5680
- 1
5681
5681
- 128
5682
5682
dtype : " int"
5683
+ -
5684
+ name : " vsftpd.anonymous_enable"
5685
+ info :
5686
+ desc : " Allow anonymous FTP or not."
5687
+ get : cat /etc/squid/squid.conf | grep "anonymous_enable" | awk -F '=' '{print $2}'
5688
+ set : sed -i 's/^anonymous_enable.*$/anonymous_enable=$value/g' /etc/squid/squid.conf
5689
+ needrestart : " true"
5690
+ type : " discrete"
5691
+ options :
5692
+ - " NO"
5693
+ - " YES"
5694
+ dtype : " string"
5695
+ -
5696
+ name : " vsftpd.xferlog_enable"
5697
+ info :
5698
+ desc : " Activate logging of uploads/downloads."
5699
+ get : cat /etc/squid/squid.conf | grep "xferlog_enable" | awk -F '=' '{print $2}'
5700
+ set : sed -i 's/^xferlog_enable.*$/xferlog_enable=$value/g' /etc/squid/squid.conf
5701
+ needrestart : " true"
5702
+ type : " discrete"
5703
+ options :
5704
+ - " NO"
5705
+ - " YES"
5706
+ dtype : " string"
5707
+ -
5708
+ name : " vsftpd.accept_timeout"
5709
+ info :
5710
+ desc : " Timeout interval for accepting an FTP data connection."
5711
+ get : cat /etc/vsftpd/vsftpd.conf | grep "connect_timeout" | awk -F '=' '{print $2}'
5712
+ set : sed -i 's/^connect_timeout.*$/connect_timeout=$value/g' /etc/vsftpd/vsftpd.conf
5713
+ needrestart : " true"
5714
+ type : " continuous"
5715
+ scope :
5716
+ - 1
5717
+ - 3600
5718
+ dtype : " int"
5719
+ -
5720
+ name : " vsftpd.connect_timeout"
5721
+ info :
5722
+ desc : " Timeout interval for establishing a data connection in port mode."
5723
+ get : cat /etc/vsftpd/vsftpd.conf | grep "connect_timeout" | awk -F '=' '{print $2}'
5724
+ set : sed -i 's/^connect_timeout.*$/connect_timeout=$value/g' /etc/vsftpd/vsftpd.conf
5725
+ needrestart : " true"
5726
+ type : " continuous"
5727
+ scope :
5728
+ - 1
5729
+ - 3600
5730
+ dtype : " int"
5731
+ -
5732
+ name : " vsftpd.data_connection_timeout"
5733
+ info :
5734
+ desc : " Timeout interval for establishing an FTP data connection."
5735
+ get : cat /etc/vsftpd/vsftpd.conf | grep "data_connection_timeout" | awk -F '=' '{print $2}'
5736
+ set : sed -i 's/^data_connection_timeout.*$/data_connection_timeout=$value/g' /etc/vsftpd/vsftpd.conf
5737
+ needrestart : " true"
5738
+ type : " continuous"
5739
+ scope :
5740
+ - 1
5741
+ - 3600
5742
+ dtype : " int"
5743
+
Original file line number Diff line number Diff line change
1
+ project : " vsftpd"
2
+ maxiterations : 100
3
+ startworkload : " systemctl start vsftpd"
4
+ stopworkload : " systemctl stop vsftpd"
5
+ object :
6
+ -
7
+ name : " vsftpd.anonymous_enable"
8
+ -
9
+ name : " vsftpd.xferlog_enable"
10
+ -
11
+ name : " vsftpd.accept_timeout"
12
+ -
13
+ name : " vsftpd.connect_timeout"
14
+ -
15
+ name : " vsftpd.data_connection_timeout"
16
+
You can’t perform that action at this time.
0 commit comments