Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
proftpd config
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
sobers_2002
Veteran
Veteran


Joined: 16 Mar 2004
Posts: 1128

PostPosted: Wed May 05, 2004 3:56 pm    Post subject: proftpd config Reply with quote

hi all,
i was trying out proftpd and i am having some probs with my config file.
So i want to know how to make a config file which allows upload in a "upload" directory with 5MB/s speed and a universal download speed of 600KB/s, anonymous login and restricted to 3 users. My config file right now is like
Code:

ServerName                      "Dennis"
ServerType                      standalone
DefaultServer                   on
ServerIdent                     on "Paradise ftp server"
DeferWelcome                    on
Port                            21
PassivePorts                    30000 40000
Umask                           022
TimeoutLogin                    120
TimeoutIdle                     240
TimeoutNoTransfer               300
TimeoutStalled                  600
MaxInstances                    3
DefaultRoot ~ !saurabh
DefaultRoot / abi
MaxHostsPerUser                 2 "Sorry, large number of users."
MaxClientsPerHost               1 "Sorry, you may not connect more than one time."
MaxClientsPerUser               2 "Sorry, you may not connect more than one time."
#AllowFilter "./*[a-zA-Z0-9 ]+$"

<GLobal>
DisplayReadme README*
DisplayLogin                    welcome.msg
AccessGrantMsg "logged in as %u"
DisplayFirstChdir               .message
#LoginPasswordPrompt            off "Wibble"
TCPAccessFiles ~/my.allow ~/my.deny

</GLobal>

<Anonymous /home/ftp>
  User                          ftp
  Group                         nobody
  RequireValidShell             off
  UserAlias                     anonymous ftp
  MaxClients    2 "Sorry  max users plz start a mirror and reduce the load"
  AccessGrantMsg "logged in as %u"
  AnonRequirePassword           off
  ListOptions "+R"

  <Limit LOGIN>
    Order deny,allow
    Deny   from 10.10. 10.11. 10.1. 10.12.
    Allow  from all
  </Limit>

  <Directory all>
        TransferRate RETR 600:5120 group !saurabh
        HideFiles (\.allow|deny|ftpaccess)$
  </Directory>
  <Limit WRITE>
    DenyAll
  </Limit>
  <Limit READ DIRS>
     IgnoreHidden                        on
   </Limit>
  <Directory incoming>
  <Limit STOR MKD RMD XMKD XRMD>
    AllowAll
    IgnoreHidden                      on
  </Limit>
  </Directory>
</Anonymous>


with this config i am having a prob that i can;t login anonymously at all.[/code]
_________________
Pdict - dockable dictionary client for linux
FREE97WIN: Use this code on Dreamhost and you get $97 off !!
Back to top
View user's profile Send private message
Janne Pikkarainen
Veteran
Veteran


Joined: 29 Jul 2003
Posts: 1143
Location: Helsinki, Finland

PostPosted: Wed May 05, 2004 6:47 pm    Post subject: Reply with quote

What do the logs say about the anonymous logins?
_________________
Yes, I'm the man. Now it's your turn to decide if I meant "Yes, I'm the male." or "Yes, I am the Unix Manual Page.".
Back to top
View user's profile Send private message
sobers_2002
Veteran
Veteran


Joined: 16 Mar 2004
Posts: 1128

PostPosted: Wed May 05, 2004 7:15 pm    Post subject: Reply with quote

well........there is another problem then........there are no logs with proftpd name in /var/log :-/
_________________
Pdict - dockable dictionary client for linux
FREE97WIN: Use this code on Dreamhost and you get $97 off !!
Back to top
View user's profile Send private message
Janne Pikkarainen
Veteran
Veteran


Joined: 29 Jul 2003
Posts: 1143
Location: Helsinki, Finland

PostPosted: Wed May 05, 2004 7:21 pm    Post subject: Reply with quote

Maybe it goes to /var/log/messages? Try grep ftpd /var/log/* and see what happens.
_________________
Yes, I'm the man. Now it's your turn to decide if I meant "Yes, I'm the male." or "Yes, I am the Unix Manual Page.".
Back to top
View user's profile Send private message
eltech
Guru
Guru


Joined: 05 Nov 2002
Posts: 582
Location: New York

PostPosted: Fri May 07, 2004 3:55 am    Post subject: Reply with quote

sobers_2002 wrote:
well........there is another problem then........there are no logs with proftpd name in /var/log :-/

add this to the config file maybe

ExtendedLog /var/log/ftp.log auth,all
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum