proftpd配置

由 jeoncanon 在 09-21-2002 11:42 发表:

proftpd配置

我安装完proftpd后

按照他的说明

将group 改为 nobody

然后登录

用anonymous

password不输入

显示login failed

为何?

有哪位朋友能给我个详细配置文件吗

比如实现匿名登陆最多20个用户

且每个ip限制登录1次

而且限速下载每个连接不超过30K/S

谢谢

我实在是没经验

搞了几次也没搞好:(


Debian FreeBSD OpenBSD 个个都喜欢

HW:VIA694X+256M+TNT2 M64


由 北南南北 在 09-21-2002 11:44 发表:


兄弟,把所用的文章以及你的配制文件都发上来,这样就方便有此经验的弟兄帮助指点了。

多谢。


===========================

请弟兄们发帖时要写个好标题,多谢!

===========================

每天以1000KM/H的速度在跑,感觉还是时间不够:(

“西学东渐,洋为中用” + 创造 = ?

linux ppc


由 jeoncanon 在 09-21-2002 18:20 发表:

像这样的

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 "itpioneer"

ServerType standalone

DefaultServer on

ServerIdent off

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

TimeoutLogin 120

TimeoutIdle 600

TimeoutNoTransfer 900

TimeoutStalled 3600

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

RequireValidShell off

Set the user and group that the server normally runs at.

User nobody

Group nobody

Normally, we want files to be overwriteable.

1<directory *="">   
2  
3AllowOverwrite off   
4  
5</directory>

A basic anonymous configuration, no upload directories.

 1<anonymous tmp="" var="">   
 2  
 3User ftp   
 4  
 5Group ftp   
 6  
 7# We want clients to be able to login with "anonymous" as well as "ftp"   
 8  
 9UserAlias anonymous ftp   
10  
11  
12  
13# Limit the maximum number of anonymous logins   
14  
15MaxClients 10</anonymous>
Published At
Categories with 服务器类
Tagged with
comments powered by Disqus