由 docterling 在 11-20-2003 22:05 发表:
关于proftp
大家不要骂先啊,该看的贴我都看了,但是还是搞不定啊.
我是宽带,ip是192.168.1.7,我装的是proftpd-1.2.8rc2-1.i386.rpm,proftpd-inetd-1.2.8rc2-1.i386.rpm.proftpd-standalone-1.2.8rc2-1.i386.rpm
和一个图形界面gproftpd-8.0.4-2.i386.rpm
我同学跟我同是宽带同一个hub,但是怎么连都连不上,就像根本没有ftp那样.
我把防火墙级别降到中等还是不行,ps查看已经在运行了,怎么一点反应都没有的?
proftp.conf配置如下:
ServerType standalone
DefaultServer on
Umask 022
RequireValidShell off
ServerIdent off
ServerName "My RedHat FTP Server"
ServerAdmin [email protected]
ServerIdent on "Welcome to Docterling's Server"
IdentLookups off
UseReverseDNS off
Port 21
TimesGMT off
User nobody
MaxHostsPerUser 2 "Sorry,connection is full!!!"
MaxClientsPerHost 1 "Sorry,only one connection per one IP!!!"
MaxInstances 2
MaxLoginAttempts 15
TimeoutLogin 60
TimeoutNoTransfer 60
User nobody
Group nobody
MaxClients 10
DefaultTransferMode binary
DisplayLogin welcome.msg
DisplayFirstChdir .message
AllowForeignAddress on
AllowRetrieveRestart on
AllowStoreRestart on
DeleteAbortedStores off
TransferRate RETR 1024
TransferRate STOR 2048
TransferRate STOU 2048
TransferRate APPE 2048
1<global>
2<limit login="">
3
4DenyALL
5
6</limit>
7</global>
#--End of the main configuration--#
马上就要毕业了,唉,一声长叹.
由 大熊宝宝 在 11-20-2003 22:28 发表:
你本机自己能连上吗 TELNET到21端口看看
请兄弟们正确发贴,把问题发到相关版块 发贴标题请简明扼要 谢谢大家配合.
新会员发贴前请学会搜索论坛 有可能你的问题已经有答案了
由 docterling 在 11-22-2003 10:20 发表:
自己本机也不行啊,telnet 168.68.1.7:21也不行
telnet: 168.68.1.7:21: Name or service not known
168.68.1.7:21: Host name lookup failure
不知道是什么原因
QQ:37663562
蜗牛的哲学
由 docterling 在 11-22-2003 13:27 发表:
现在自己本机能了,不过要用户名和密码
不是设有Anonymous了么,怎么还要的
不过同一个hub中的其他人还是不行
QQ:37663562
蜗牛的哲学
由 harrypotter 在 11-23-2003 12:59 发表:
老兄配置文件里没anonymous的内容呀?
Harry Potter LOTR GnOmE!
新机子:p4c-1.7+512DDR+40G(Fedora Core 1:15G)+ac97+geforce2MX400
http://freshmeat.net/projects/mydiary/
由 docterling 在 11-24-2003 13:44 发表:
我改过了:
This is a basic ProFTPD configuration file (rename it to
'proftpd.conf' for actual use. It establishes a single server
and a single anonymous login. It assumes that you have a user/group
"nobody" and "ftp" for normal operation and anon.
ServerName "My RedHat FTP Server"
ServerAdmin [email protected]
ServerType standalone
DefaultServer on
RequireValidShell off
ServerIdent off
UseReverseDNS off
IdentLookups off
DefaultRoot ~
Port 21 is the standard FTP port.
Port 21
Umask 022 is a good standard umask to prevent new dirs and files
from being group and world writable.
Umask 022
To prevent DoS attacks, set the maximum number of child processes
to 30. If you need to allow more than 30 concurrent connections
at once, simply increase this value. Note that this ONLY works
in standalone mode, in inetd mode you should use an inetd server
that allows you to limit maximum number of processes per service
(such as xinetd).
MaxInstances 30
MaxLoginAttempts 10
Set the user and group that the server normally runs at.
User ftp
Group ftp
Normally,we want files to be overwriteable.
1<directory></directory>
AllowOverwrite on TimeoutIdle 100
TimeoutLogin 100
TimeoutNoTransfer 100
TimeoutStalled 100
AllowOverwrite on
AllowStoreRe