Migration from Solaris WU-FTPD to ProFTPD

Introduction
------------ This document provides an overview of migrating the Solaris WU-FTPD
configuration to Solaris ProFTPD. ProFTPD replaces WU-FTPD in this
Oracle Solaris release and has a different configuration system. Migration from the previous Solaris FTP server setup must be done
manually. This document contains the following sections: * Section 1 - basic overview of configuration
* Section 2 - managing access
* Section 3 - virtual host configuration
* Section 4 - other options 1. Basic overview of configuration WU-FTPD uses several configuration files to manage the FTP server: /etc/ftpd/ftpaccess
/etc/ftpd/ftpservers
/etc/ftpd/ftphosts
/etc/ftpd/ftpconversions
/etc/ftpd/ftpgroups These configuration files manage all aspects from general options to
account management and virtual servers. Configuration of ProFTPD is contained in /etc/proftpd.conf. It is also
possible to manage some options on per-directory basis with .ftpaccess
files. ProFTPD consists of a core server and a series of "modules".
Configuration of ProFTPD is separated into "contexts" containing
"directives". 2. Managing access WU-FTPD uses several files to manage access to system: /etc/ftpd/ftpaccess
/etc/ftpd/ftphosts
/etc/ftpd/ftpgroups ProFTPD uses the "Limit" context to configure access. For backward compatibility /etc/ftpd/ftpusers is provided and
/etc/ftpusers is symlink to /etc/ftpd/ftpusers. It is used if
UseFtpUsers is set to "on" which is the default setting. 2.1. Anonymous access In WU-FTPD anonymous access is enabled by the ftpconfig(1M) command
which also created the necessary chroot(1M) environment. ProFTPD does
not need chroot(1M) as all access management is handled as part of the
"Anonymous" context. 2.2. Allow/deny retrieve of files In ProFTPD it is possible to manage access to files on a per-directory
basis with .ftpaccess files. 2.3. Control of download/upload size Directives are provided for control of download and upload size: MaxRetrieveFileSize - size of downloaded files
MaxStoreFileSize - size of uploaded files 2.4. Maximum login failures before terminating the FTP connection MaxLoginAttempts controls the maximum number of login failures. The
default is 3. 3. Virtual host configuration ProFTPD provides a comprehensive set of directives to manage virtual
FTP servers. Refer to the VirtualHost documentation for details. 4. Other options Other common WU-FTPD /etc/ftpd/ftpaccess options are configured in
ProFTPD as follows: 4.1. Connection management 4.1.1. Limit IP address on which FTP server listens For a standalone FTP server DefaultAddress configures the listener
address. For virtual servers the IP addresses are part of the
VirtualHost context. 4.1.2. IP Class of Service setup ProFTPD does not support manipulation of IP Class of Service within FTP
server implementation. 4.1.3. Keepalive ProFTPD always sets the SO_KEEPALIVE socket option. 4.1.4. TCP window size Directives are provided for control of socket options: SocketOptions - tune socket-level options, including
TCP send/receive window sizes. 4.1.5. Enable/disable reverse remote host lookup Reverse DNS lookup is configured using UseReverseDNS, the default is
"on". 4.2. Session management 4.2.1. Timeouts management ProFTPD provides the following set of timeouts: TimeoutIdle - the idle connection timeout
TimeoutLinger - the timeout used for lingering closes
TimeoutLogin - the login timeout
TimeoutNoTransfer - the connection without data transfer timeout
TimeoutSession - the timeout for the whole session
TimeoutStalled - the timeout on stalled downloads 4.2.2. banner option The DisplayConnect directive configures an ASCII text filename which
will be displayed to the user when they initially connect but before
they login. 4.2.3. message option Two directives are provided: DisplayLogin - for message file after login
DisplayChdir - for message file after every chdir 4.2.4. Control of list options ProFTPD does not allow the use of an external command to generate
directory listings. Listing output is controlled by ListOptions. 4.3. Process management 4.3.1. Setting nice(1) ProFTPD does not provide an interface for changing the nice value. The
nice value needs to managed outside of ProFTPD for example using the
nice(1) command. 4.3.2. Setting umask Use the Umask directive. 4.3.3. E-mail notification for uploads ProFTPD provides /usr/sbin/ftpmail script which reads TranferLog
entries and sends e-mail notifications when uploads occur. 4.3.4. Shutdown management ftpshut(1M) and ftprestart(1M) commands are provided. The file
monitored by FTP server is set to /etc/shutmsg and it is not possible
to configure the path. 4.4. Log options The ProFTPD mod_log module handles logging. By default it uses
syslogd(1M). Control of the log format is provided by the LogFormat
directive. 4.5. Kerberos support ProFTPD supports Kerberos authentication through the mod_gss module. 4.6. Miscellaneous options 4.6.1. cdpath Provided by the CDPath directive. 4.7. Removed options 4.7.1 alias Aliasing of directory paths is not provided by ProFTPD. 4.7.2 ftpconversion and compress ftpconversion is not supported by ProFTPD. For compression external
modules mod_deflate and mod_gzipfs can be used but they are not
provided in the Solaris default installation. 4.7.3. SITE EXEC SITE EXEC is not provided by ProFTPD. Consider using other more secure
methods for command execution. 4.7.4. quota-info quota-info option replacement is not provided by ProFTPD. 4.7.5. passive address passive address option replacement is not provided by ProFTPD. -- end --

  

O网页链接
基于 wu-ftpd 分发的旧 FTP 服务器已由 proftpd 服务器替换。/usr/share/doc/proftpd/proftpd_migration.txt 中介绍了从旧服务到新服务的配置信息迁移。

http://www.proftpd.org/docs/configs/anonymous.conf

solairs11与solairs10 ftp服务的区别的更多相关文章

  1. [转] Linux学习之CentOS(三十六)--FTP服务原理及vsfptd的安装、配置

    本篇随笔将讲解FTP服务的原理以及vsfptd这个最常用的FTP服务程序的安装与配置... 一.FTP服务原理 FTP(File Transfer Protocol)是一个非常古老并且应用十分广泛的文 ...

  2. linux Centos 6.5 FTP服务原理及vsfptd的安装、配置(转)

    本篇随笔将讲解FTP服务的原理以及vsfptd这个最常用的FTP服务程序的安装与配置... 一.FTP服务原理 FTP(File Transfer Protocol)是一个非常古老并且应用十分广泛的文 ...

  3. ftp服务配置

      文件传输协议(File Transfer Protocol,FTP),基于该协议FTP客户端与服务端可以实现共享文件.上传文件.下载文件. FTP 基于TCP协议生成一个虚拟的连接,主要用于控制F ...

  4. atitit.网络文件访问协议.unc smb nfs ftp http的区别

    atitit.网络文件访问协议.unc smb nfs ftp http的区别 1. 网络文件访问协议1 2. NETBios协议  2 3. SMB(Server Message Block)2 3 ...

  5. linux服务基础之ftp服务

    ftp是一种文件传输协议,我们以redhat6.9为服务器系统,来介绍一下ftp服务器,这里我们先介绍一下ftp协议工作的原理 ftp协议可以在不同类型的计算机之间传输文件,工作流程大致为 1:客户机 ...

  6. FTP服务基础

    网络文件共享 本章内容 FTP服务 NFS服务 SAMBA服务 DAS.NAS.SAN(文件) DAS:开放系统的直连式存储(Direct-Attached Storage) 磁盘连接到本机的电脑上, ...

  7. CentOS7.5上FTP服务的安装与使用

    1.FTP简介 1.1FTP:File Transfer Protocol 文件传输协议 FTP是用于在网络上进行文件传输的一套标准协议,使用客户/服务器模式.它属于网络传输协议的应用层.文件传送(f ...

  8. CentOS6.5下搭建FTP服务

    一.FTP协议 FTP(File Transfer Protocol,文件传输协议) 是 TCP/IP 协议组中的协议之一.FTP协议包括两个组成部分,其一为FTP服务器,其二为FTP客户端.其中FT ...

  9. 利用vsftpd在Linux构建安全的FTP服务

    最近在机房搭建Linux环境,需要用到了FTP服务,查看了许多的资料,在这里做一下笔记 一.安装 方法一,使用yum命令安装,需要能够连接外网 # yum install vsftpd 方法二,使用安 ...

随机推荐

  1. OpenStack 虚拟机冷/热迁移的实现原理与代码分析

    目录 文章目录 目录 前文列表 冷迁移代码分析(基于 Newton) Nova 冷迁移实现原理 热迁移代码分析 Nova 热迁移实现原理 向 libvirtd 发出 Live Migration 指令 ...

  2. 阶段3 2.Spring_02.程序间耦合_4 曾经代码中的问题分析

    创建新的项目 修改打成jar包 创建一个接口 用来模拟保存的方法 创建接口的实现类 我们没有IAccountDao这个类.那么就需要去创建Iaccountdao IAccountDao接口的创建 创建 ...

  3. 如何利用Nginx的缓冲、缓存优化提升性能

    使用缓冲释放后端服务器 反向代理的一个问题是代理大量用户时会增加服务器进程的性能冲击影响.在大多数情况下,可以很大程度上能通过利用Nginx的缓冲和缓存功能减轻. 当代理到另一台服务器,两个不同的连接 ...

  4. sql server 字符串拆分

    最近项目调取存储的时候直接传入string 作为in的查询范围,结果报错了,深思之后才发现,数据库对于传进来的String,并不是我们想的直接可以作为参数,而是作为一个整体,而in是需要一个类似arr ...

  5. 使用Python创建AI比你想象的轻松

    使用 Python 创建 AI 比你想象的轻松 可能对AI领域,主要开发阶段,成就,结果和产品使用感兴趣.有数百个免费源和教程描述使用Python的AI.但是,没有必要浪费你的时间看他们.这里是一个详 ...

  6. codeblocks无法识别的16位程序解决方法

    被codeblocks心态搞崩了,分享一下经验给大家,具体就是无法运行编译好的程序,还有就是调试功能没法用. 查了很多资料,自己搞了一个终极解决方法:1卸载codeblocks,2打开我的电脑,全盘搜 ...

  7. http 协议里的 200、301、302、401、403、405、500 分别代表什么?

    http 协议里的 200.301.302.401.403.405.500 分别代表什么? 详细描述: 打开某些网页时,无法正常打开,出现 200.301.302.401.403.405.500 这此 ...

  8. Vmware ESXI 安装Windows

    Vmware ESXI 安装Windows >ESXi专为运行虚拟机.最大限度降低配置要求和简化部署而设计.只需几分钟时间,客户便可完成从安装到运行虚拟机的全过程,特别是在下载并安装预配置虚拟设 ...

  9. CentOS7 linux系统多种方式安装ClickHouse数据库

    clickhouse是由俄罗斯Yandex公司开发的列式存储数据库,于2016年开源,clickhouse的定位是快速的数据分析,对于处理海量数据的情况性能非常好,在网上也有很多测试的案例,在大数据的 ...

  10. SpringBoot_02通用mapper

    注意:一旦引入了通用Mapper的启动器,会覆盖Mybatis官方启动器的功能,因此需要移除对官方Mybatis启动器的依赖. 无需任何配置就可以使用了.如果有特殊需要,可以到通用mapper官网查看 ...