LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1881|回复: 18

PROFTPD服务答疑(请各位会的老兄多多指教)

[复制链接]
发表于 2003-6-14 13:48:34 | 显示全部楼层 |阅读模式
Q1
DisplayLogin                    ./welcome.msg
DisplayFirstChdir             ./message.msg
这两个信息文件放到那个目录里,如果是相对目录,那它应该相对于那个目录(请举例说明)
 楼主| 发表于 2003-6-14 13:55:05 | 显示全部楼层
Q2

MaxClients     XX
MaxClientsPerUser   XX
MaxClientsPerHost  xx  
这些各表示什么意义
MaxClietnsXX 和MaxClientsPerUser xx 之间有什么区别。
发表于 2003-6-14 14:12:25 | 显示全部楼层
A1:
DisplayLogin ./welcome.msg
The DisplayLogin directive configures an ASCII text filename which will be displayed to the user when they initially login. The filename can be either relative or absolute. In the case of a relative filename, the file is searched for in the initial directory a user is placed in immediately after login (home directory for unix user logins, anonymous-root directory for anonymous logins). Note: that for jailed logins, the file must reside inside the chroot()ed file system space. If the file cannot be found or accessed, no error occurs and nothing is logged or displayed to the client. DisplayLogin supports the same "magic cookies" as DisplayFirstChdir.

DisplayFirstChdir ./message.msg
The DisplayFirstChdir directive configures an ASCII text filename which will be displayed to the user the first time they change into a directory (via CWD) per a given session. The file will also be displayed if proftpd detects that its last modification time has changed since the previous CWD into a given directory. If the filename is relative, it is looked for in the new directory that the user has changed into. Note that for anonymous ftp logins (see <Anonymous>), the file must reside inside the chroot()ed file system space. If the file cannot be found or accessed, no error occurs and nothing is logged or displayed to the client.

A2:
MaxClients Limits the number of users that can connect
MaxClientsPerUser  Limit the number of connections per userid
MaxClientsPerHost Limits the connections per client machine
 楼主| 发表于 2003-6-14 14:46:29 | 显示全部楼层
Q2
MaxClients XX 表示可以有多少个用户连接

MaxClientsPerHost XX表示一个IP可以有多少个线程进行连接

MaxClientsPerUser  XX  还是不太明白。
 楼主| 发表于 2003-6-14 15:42:19 | 显示全部楼层
TransferRate APPE,RETR,STOR,STOU 500:500
TransferRate APPE,RETR,STOR,STOU 1000
请问这段设置是什么意思

MaxClientsPerHost XX 表示一个IP可以有多少个连接
MaxClientsPerUser       XX是不是一个连接可以有多少线程啊(如有错误请指正)
发表于 2003-6-14 16:05:04 | 显示全部楼层
TransferRate APPE,RETR,STOR,STOU 500:500
对APPE,RETR,STOR,STOU的速率限制:当超过500byte时,最大速率就限定为500k/s
TransferRate APPE,RETR,STOR,STOU 1000
一直限速1000k/s

MaxClientsPerUser 我的理解,不是指线程,而是指连接数,比方说可以从不能机器用同一个用户名,或者不同的应用程序用同一个用户名。

另外问一声:linux支持线程吗?

www.proftpd.org 有配置文档的,自己找找看吧
 楼主| 发表于 2003-6-14 16:48:06 | 显示全部楼层
具体我也不知道支不支持线程,我说的意思就当用网际快车下载的时候它默认不就是用5个线程。

TransferRate APPE,RETR,STOR,STOU 500:500
中APPE,RETR....是表示用户吗。

MaxClientsPerUser xx 表示同一个用户名可以同时XX个登陆?
发表于 2003-6-14 19:43:22 | 显示全部楼层
>TransferRate APPE,RETR,STOR,STOU 500:500
>中APPE,RETR....是表示用户吗。


APPE:append,指追加,简单的说,就是上传文件的续传。
RETR:retrive,下载
STOR:store,上传
STOU: Short for STOre Uunique, it requests that the file being stored on the server be given a unique filename. The server chooses the unique name for the stored file, and reports the name chosen back to the client. On some FTP clients, this ability is enabled using the client-specific "sunique" command.

>MaxClientsPerUser xx 表示同一个用户名可以同时XX个登陆?
我是这么理解的
 楼主| 发表于 2003-6-15 10:34:53 | 显示全部楼层
再次向你表示感谢。因为我正在事理PROFTPD的配置文档所以问题多了点,以后可能还会有一些可笑的问题,请多帮忙了。
发表于 2003-6-15 12:26:57 | 显示全部楼层
这些在 www.proftpd.org 网站上都有很详细的文档,你好好看看吧
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表