#11  
Old 2nd September 2005, 12:38
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,490
Thanks: 835
Thanked 5,533 Times in 4,351 Posts
Default

Quote:
Originally Posted by latcarf
so that means that it has to be something in my proftpd.conf doesn't it? I have checked my router a couple times and port 21 is open for FTP.
Yes, you should chech the authentication settings in your proftpd.conf. Is Authentication set to PAM or unix?
Reply With Quote
Sponsored Links
  #12  
Old 2nd September 2005, 18:59
latcarf latcarf is offline
Senior Member
 
Join Date: Jul 2005
Posts: 215
Thanks: 0
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by till
Yes, you should chech the authentication settings in your proftpd.conf. Is Authentication set to PAM or unix?
well that may definitely be a problem as I don't see anything regarding authentication in my conf file. I posted it here I got it from a HowTo on the net and only changed what they recommended.

Should I run Standalone, inted or xinted? I have been looking and was possibly considering this HowTo as a set up http://gentoo-wiki.com/HOWTO_ProFTPD Seems pretty good and understandable for even me. There is stuff there I don't need i.e. mySQL but it seems clear how you work around that if you don't need it. Basically it will be me and one user group from a forum. I would like them to be able to upload and download to one specific location. I have not tried to work the forum group into this conf file as I wanted to get learn it first and know I can use it before I opened it up to others.

thanks
lance

Code:
# This is the ProFTPD configuration file
# $Id: proftpd.conf,v 1.1 2004/02/26 17:54:30 thias Exp $

ServerName			"The Farm FTP"
ServerType			standalone
ServerIdent			off
DefaultServer			on

# 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				nobody
Group				nobody

# 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>
Reply With Quote
  #13  
Old 2nd September 2005, 21:19
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,745 Times in 2,578 Posts
Default

Quote:
Originally Posted by latcarf
falko... hope your having a good holiday! I checked WS_FTP and passive is not one of the options it seems, been running on auto detect.
Passive Transfers is not on the "General" tab in WS_FTP, it's on the "Advanced" tab.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #14  
Old 4th September 2005, 04:33
latcarf latcarf is offline
Senior Member
 
Join Date: Jul 2005
Posts: 215
Thanks: 0
Thanked 1 Time in 1 Post
Default

I have found that I can log into my FTP site from outside my network. I am at our home in Michigan this weekend and was able to log in using my user name and as anonymous via WS_FTP.

So now I am kind of curiuos why it won't from in my network?
Reply With Quote
  #15  
Old 4th September 2005, 09:12
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,490
Thanks: 835
Thanked 5,533 Times in 4,351 Posts
Default

This looks like a router issue. Have you tried to login from your home network with your IP or your domain?
Reply With Quote
  #16  
Old 5th September 2005, 02:53
latcarf latcarf is offline
Senior Member
 
Join Date: Jul 2005
Posts: 215
Thanks: 0
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by till
This looks like a router issue. Have you tried to login from your home network with your IP or your domain?
The start of this thread was me trying to log in from my network...

From inside my network it will log into www.mydomain.net but will not log into ftp.mydomain.net

From outside my network it will log into www. and ftp.mydomain.net.
Reply With Quote
  #17  
Old 6th September 2005, 21:04
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,745 Times in 2,578 Posts
Default

Quote:
Originally Posted by latcarf
The start of this thread was me trying to log in from my network...

From inside my network it will log into www.mydomain.net but will not log into ftp.mydomain.net

From outside my network it will log into www. and ftp.mydomain.net.
Do the name servers you use in your home network resolve ftp.mydomain.net correctly? You can find that out by running
Code:
dig @[IP of you name server] ftp.mydomain.net
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #18  
Old 6th September 2005, 23:52
latcarf latcarf is offline
Senior Member
 
Join Date: Jul 2005
Posts: 215
Thanks: 0
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by falko
Do the name servers you use in your home network resolve ftp.mydomain.net correctly? You can find that out by running
Code:
dig @[IP of you name server] ftp.mydomain.net
They should as everything else is. I can't check at the moment

I have a much bigger problem which I posted in the Linux Instal forum about. As soon as I get that one figured out I can check, I hope....
Reply With Quote
  #19  
Old 23rd September 2005, 02:42
latcarf latcarf is offline
Senior Member
 
Join Date: Jul 2005
Posts: 215
Thanks: 0
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by latcarf
They should as everything else is. I can't check at the moment

I have a much bigger problem which I posted in the Linux Instal forum about. As soon as I get that one figured out I can check, I hope....
bummer! my hard drive went kaput so you know what I have been doing since I did not have a image made yet!

Anyway, I have rebuilt the system and software and solved most of the ftp problems I was having before. I have one last problem I can't get figured out.

I want a directory where people can upload files. I thought this configuration would do it in the /plant directory but it does not. When I try it I get
Code:
550 [filename] Permission Denied
here is my config file anyone see what I am doing wrong?
Code:
# This is the ProFTPD configuration file
# $Id: proftpd.conf,v 1.1 2004/02/26 17:54:30 thias Exp $

ServerName			"ProFTPD server"
ServerIdent			on "FTP Server ready."
ServerAdmin			root@localhost
ServerType			standalone
DefaultServer			on
AccessGrantMsg			"User %u logged in."
DeferWelcome			off

# Use this to excude users from the chroot
DefaultRoot			~ !adm

# Use pam to authenticate (default) and be authoritative
AuthPAMConfig			proftpd
AuthOrder			mod_auth_pam.c* mod_auth_unix.c

# Do not perform ident nor DNS lookups (hangs when the port is filtered)
IdentLookups			off
UseReverseDNS			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

# Default to show dot files in directory listings
ListOptions			"-a"

# Allow to resume not only the downloads but the uploads too
AllowRetrieveRestart		on
AllowStoreRestart		on

# 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			20

# Set the user and group that the server normally runs at.
User				nobody
Group				nobody

# This is where we want to put the pid file
ScoreboardFile			/var/run/proftpd.score

# Normally, we want users to do a few things.
<Global>
  AllowOverwrite		yes
  <Limit ALL SITE_CHMOD>
    AllowAll
  </Limit>
</Global>

# Define the log formats
LogFormat			default	"%h %l %u %t \"%r\" %s %b"
LogFormat			auth	"%v [%P] %h %t \"%r\" %s"

# anonymous configuration, with an upload directory.
<Anonymous ~ftp>
  User				ftp
  Group				ftp
  AccessGrantMsg		"Anonymous login ok, restrictions apply."
#
#  # 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 "Sorry, max %m users -- try again later"

# Put the user into /pub right after login
  DefaultChdir			/crops

# We want 'welcome.msg' displayed at login, '.message' displayed in
# each newly chdired directory and tell users to read README* files. 
  DisplayLogin			/welcome.msg

# Some more cosmetic and not vital stuff
  DirFakeUser			on ftp
  DirFakeGroup			on ftp

# Limit WRITE everywhere in the anonymous chroot
  <Limit WRITE SITE_CHMOD>
    DenyAll
  </Limit>

# An upload directory that allows storing files but not retrieving
# or creating directories.
   <Directory /plant/*>
	  AllowOverwrite		no
	<Limit READ>
	  DenyAll
	</Limit>
	<Limit STOR>
	  AllowAll
	</Limit>
  </Directory>

# Logging for the anonymous transfers
  ExtendedLog		/var/log/proftpd/access.log WRITE,READ default
  ExtendedLog		/var/log/proftpd/auth.log AUTH auth

</Anonymous>
Reply With Quote
  #20  
Old 23rd September 2005, 10:09
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,490
Thanks: 835
Thanked 5,533 Times in 4,351 Posts
 
Default

Is your anonymous directory (/plant) owned by the user ftp and does the user ftp has write permissions?
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 08:38.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.