麻豆小视频在线观看_中文黄色一级片_久久久成人精品_成片免费观看视频大全_午夜精品久久久久久久99热浪潮_成人一区二区三区四区

首頁 > 編程 > .NET > 正文

vsftpd-1.1.3配制實例之二:INTERNET_SITE_NOINETD

2024-07-21 02:35:43
字體:
來源:轉載
供稿:網友

  This example shows how to run vsFTPd in "standalone" mode - i.e. without
  needing to run an inetd of some kind (inetd, xinetd, tcpserver etc).
  vsftpd has supported standalone mode since v1.1.0.
  With the release of v1.1.3, the feature list of standalone mode has grown so
  that large internet sites no longer need to use an inetd.
  PReviously, large internet sites were forced to use xinetd for the important
  feature of "limit number of concurrent connections from a single ip address".
  Unfortunately, there seem to be xinetd stability issues - various larger
  sites are reporting that xinetd's session counting can go wrong and incorrectly
  kick off users because it thinks the FTP site is full when it is not.
  vsftpd now natively handles maximum session counts and maximum session per IP
  counts. It can also do native access control via tcp_wrappers integration and
  even per-connect-IP configurability.
  To use this example config:
  1) Copy the vsftpd.conf file in this Directory to /etc/vsftpd.conf.
  2) Start up vsftpd, e.g.
  vsftpd &
  3) That should be it!
  The example vsftpd.conf is based on the vsftpd.conf from the INTERNET_SITE
  example. Let's look at the differences (at the top):
  # Standalone mode
  listen=YES
  This tells vsftpd to run in standalone mode. Do NOT try and run vsftpd from
  an inetd with this option set - it won't work, you may well get 500 OOPS:
  could not bind listening socket.
  max_clients=200
  max_per_ip=4
  The maximum number of session is 200 (new clients will get refused with a
  busy message). The maximum number of sessions from a single IP is 4 (the
  5th connect will get refused with a suitable message).
  One further note on standalone mode, regarding virtual IPs. This is very
  easy - just run one copy of vsftpd per virtual IP (remembering to give each
  a separate config file on the command line).
  Distinguish which vsftpd is for which virtual IP with a setting like this
  in the vsftpd.conf:
  listen_address=192.168.1.2
  And launch vsftpd with a specific config file like this:
  vsftpd /etc/vsftpd.conf.site1 &
  vsftpd.conf
  # Standalone mode
  listen=YES
  max_clients=200
  max_per_ip=4
  # Access rights
  anonymous_enable=YES
  local_enable=NO
  write_enable=NO
  anon_upload_enable=NO
  anon_mkdir_write_enable=NO
  anon_other_write_enable=NO
  # Security
  anon_world_readable_only=YES
  connect_from_port_20=YES
  hide_ids=YES
  pasv_min_port=50000
  pasv_max_port=60000
  # Features
  xferlog_enable=YES
  ls_recurse_enable=NO
  ascii_download_enable=NO
  async_abor_enable=YES
  # Performance
  one_process_model=YES
  idle_session_timeout=120
  data_connection_timeout=300
  accept_timeout=60
  connect_timeout=60
  anon_max_rate=50000 right">(出處:清風軟件下載學院)

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 小视频免费在线观看 | 免费嗨片首页中文字幕 | 四虎久草 | 视频一区国产精品 | 久久99综合久久爱伊人 | 欧美中文字幕一区二区三区亚洲 | 国产精品一区二区x88av | 欧美日本91精品久久久久 | 久久久线视频 | 日本一区二区视频在线观看 | 欧美日韩免费一区二区三区 | 黄色片在线观看网站 | 一级国产免费 | 国产精品国产成人国产三级 | 草免费视频 | 羞羞的视频免费观看 | 国产精品视频一区二区三区四 | 欧美中文字幕一区二区 | 鲁久久| 欧日韩在线 | 55夜色66夜色国产精品视频 | 免费看成年人网站 | 免看黄大片aa | www.国产一区.com | 国产1区视频 | 在线观看免费污视频 | 中国漂亮护士一级a毛片 | 一区二区三区视频播放 | 特级毛片a级毛片100免费 | 日韩黄色免费在线观看 | 91精品国产一区二区三区四区在线 | 亚洲午夜激情网 | 国产亚洲精品久久久久久久久 | 欧美人成在线视频 | 黑人一区二区 | 韩国19禁在线 | 久久久精品网 | 免费a级毛片大学生免费观看 | 午夜影院在线免费观看 | 久久草草影视免费网 | 看免费毛片 |