1。如果使proftpd服务端支持FXP功能
To support FXP when connecting as a user place "AllowForeignAddress on" in the Global or VirtualHost context.
To support FXP when connecting as anon "AllowForeignAddress on" must be placed in the Anonymous context.
The config will happily support "AllowForeignAddress on" in multiple places within the config..
You may need to add the following "PassivePorts 49152 65534"
要想proftpd支持FXP功能,请在适当的地方加入"AllowForeignAddress on",这个参数,这个参数可以放在全局段,或者虚拟ftp段,如果你要使匿名用户支持FXP,则需要把这个参数放在Anonymous段。
另外如果需要的话,还可以加上"PassivePorts 49152 65534" 这个参数(不是必须)。
2。"Fatal: unable to determine IP address of "hostname:
一般出现这个错误,你只要修改/etc/hosts这个文件,添加你服务器对应的ip地址就行
3。安装完proftpd,启动报No such group "nogroup"错误
默认系统没有"nogroup"这个用户组,才会报这个错误,只要把nogroup改成nobody就行,重新启动就不会报错
4。如何实现一个用户登录以后将其的访问限定在某个目录之下?
可以通过指令DefaultRoot来实现。例如若希望将ftpusers组的用户限定在自己的home目录下,则需要首先创建该组:
/usr/sbin/groupadd ftpusers
然后将用户kaoyan加入到该组中:
usrmod -G ftpusers kaoyan
最后在在proftpd.conf文件中添加如下内容:
DefaultRoot ~ ftpusers
5。如何使用户登陆时不显示ftp服务器版本信息,以增强安全性
ServerIdent off
6。默认安装proftpd,发现上传文件无法做到断点续传,下载却可以
proftpd默认就支持下载断点续传,但上传就必须设置才能支持
AllowStoreRestart on #这样设置就使服务器支持断点上传续传了
7。如何关闭proftpd把log日志写到wtmp
WtmpLog off
不断更新中。。。
我用默认安装的mandrake8上的proftpd 1.2.2rc1出了点问题,登陆以及list 速度比较慢,不过传文件的速度却很快!why?by the way,在本机用ftp localhost 时一切正常!
Posted by: swordzj at June 16, 2004 01:59 PM我在redhat上装proftpd + mysql 验证时,
只要一加上mysql验证部分,就出现:
正在连接到 localhost
已连接到 localhost -> IP=127.0.0.1 PORT=21
连接失败 (连接已丢失)
然后就OVER了。
mysql连接时的帐号密码,主机全是正确的。直接mysql连接都能连接上,请问这是为什么?
ftp不会死掉的吧
实在想不出什么东西能取代ftp
。
个人认为telnet、ftp已经快死掉了。再研究就不太值得了。呵呵。
Posted by: roperope at March 25, 2004 09:22 AM如果我编译proftpd的时候,没有加入quota模块,是不是只能重新编译安装?望指点!
Posted by: 说梦人 at March 3, 2004 11:57 PMbsd没用过,但出现这个错误的话,你用
/var/run/proftpd/proftpd.scoreboard 启动一下服务试一下
参看:
http://www.freebsddiary.org/phorum/read.php?f=1&i=8555&t=8555
Mar 3 15:05:52 zhongdian proftpd[268]: 192.168.1.8 - error opening scoreboard: No such file or directory
我的是FreeBSD 4.9 安装后启动出现上面的提示。
我这台机IP为192.168.1.8机器名为zhongdian