Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
proftpd odd
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
D. M. P. inc
Apprentice
Apprentice


Joined: 29 Sep 2003
Posts: 228
Location: /home/dmpinc

PostPosted: Fri Feb 13, 2004 5:26 pm    Post subject: proftpd odd Reply with quote

i setup proftpd and run it.

the problem is that when a windows connect to the ftp it cant get login

~ Connecting...
~ Connected to 192.168.0.5, waiting for response...
< 220 ProFTPD 1.2.9 Server ready.
> USER user1
< 331 Password required for user1.
> PASS *****
< 230 Welcome
> REST 1
< 350 Restarting at 1. Send STORE or RETRIEVE to initiate transfer
> REST 0
< 350 Restarting at 0. Send STORE or RETRIEVE to initiate transfer
> SYST
< 215 UNIX Type: L8
> PWD
< 257 "/" is current directory.
~ Login completed.
> PORT 192,168,0,4,4,185
< 200 PORT command successful
> TYPE A
< 200 Type set to A
> LIST
~ Could not retrieve directory listing for "/"
! Socket Error: operation timed out or aborted
~ Disconnected


thats the error.
any ideas?
_________________
Live And Learn.
Back to top
View user's profile Send private message
D. M. P. inc
Apprentice
Apprentice


Joined: 29 Sep 2003
Posts: 228
Location: /home/dmpinc

PostPosted: Fri Feb 13, 2004 5:29 pm    Post subject: Reply with quote

my proftpd.conf

Code:
# 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                      "FTP"
ServerType                      standalone
DefaultServer                   on
AuthPAM                         on
AuthPAMConfig                   ftp

# 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

# Set the user and group under which the server will run.
User                            proftpd
Group                           proftpd

# To cause every FTP user to be "jailed" (chrooted) into their home
# directory, uncomment this line.
#DefaultRoot ~

# Normally, we want files to be overwriteable.
<Directory />
  AllowOverwrite                on
</Directory>

# A basic anonymous configuration, no upload directories.  If you do not
# want anonymous users, simply delete this entire <Anonymous> section.
<Anonymous ~ftp>
  User                          ftp
  Group                         ftp

  # We want clients to be able to login with "anonymous" as well as "ftp"
  UserAlias                     anonymous ftp

  # Limit the maximum number of anonymous logins
  MaxClients                    10

  # We want 'welcome.msg' displayed at login, and '.message' displayed
  # in each newly chdired directory.
  DisplayLogin                  welcome.msg
  DisplayFirstChdir             .message

  # Limit WRITE everywhere in the anonymous chroot
  <Limit WRITE>
    DenyAll
  </Limit>
</Anonymous>
<Global>
AllowRetrieveRestart on
AllowStoreRestart on
DefaultRoot ~
UseFtpUsers on
LoginPasswordPrompt on
AllowOverwrite on
AllowForeignAddress on
DeferWelcome on
TimeoutStalled 60
TimeoutNoTransfer 520
TimeoutLogin 60
RequireValidShell off
RootLogin off
AccessDenyMsg Wannabe eh? :D
AccessGrantMsg Welcome
DenyFilter \*.*/
PassivePorts 11000 11100
</Global>

_________________
Live And Learn.
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