• April 27, 2024, 02:59:45 PM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Author Topic: FTP Problem  (Read 4472 times)

lionkd75

  • Level 1 Member
  • *
  • Posts: 15
FTP Problem
« on: June 09, 2016, 11:53:50 AM »

I created an FTP share on Volume_1. Filezilla connects to the server, but I have no access to Volume_1. I receive the following error:

Command:   CWD Volume_1
Response:   553 User not allow
Error:   Failed to retrieve directory listing

If I set anonymous access to read only and connect anonymously, I have access to the folder.
However, I want to block anonymous access and connect only with username and password.

Any help is really appreciated.
Logged

FurryNutz

  • Poweruser
  •   ▲
    ▲ ▲
  • *****
  • Posts: 49923
  • D-Link Global Forum Moderator
    • Router Troubleshooting
Re: FTP Problem
« Reply #1 on: June 09, 2016, 12:27:35 PM »

Did you review this? http://forums.dlink.com/index.php?topic=64492.0
You might post this here as well...

What FW version is currently loaded on the DNS?
Logged
Cable: 1Gb/50Mb>NetGear CM1200>DIR-882>HP 24pt Gb Switch. COVR-1202/2202/3902,DIR-2660/80,3xDGL-4500s,DIR-LX1870,857,835,827,815,890L,880L,868L,836L,810L,685,657,3x655s,645,628,601,DNR-202L,DNS-345,DCS-933L,936L,960L and 8000LH.

lionkd75

  • Level 1 Member
  • *
  • Posts: 15
Re: FTP Problem
« Reply #2 on: June 09, 2016, 12:53:48 PM »

Yes I have reviewed it.
The FW version is 1.07b04.
Filezilla connects to the server but I have no access to the shared folder (Volume_1).
Logged

FurryNutz

  • Poweruser
  •   ▲
    ▲ ▲
  • *****
  • Posts: 49923
  • D-Link Global Forum Moderator
    • Router Troubleshooting
Re: FTP Problem
« Reply #3 on: June 09, 2016, 12:57:30 PM »

And you are sure you have all credentials configured correctly on the DNS and FTP app?
Does using anonymous credentials work as a quick test?
Logged
Cable: 1Gb/50Mb>NetGear CM1200>DIR-882>HP 24pt Gb Switch. COVR-1202/2202/3902,DIR-2660/80,3xDGL-4500s,DIR-LX1870,857,835,827,815,890L,880L,868L,836L,810L,685,657,3x655s,645,628,601,DNR-202L,DNS-345,DCS-933L,936L,960L and 8000LH.

lionkd75

  • Level 1 Member
  • *
  • Posts: 15
Re: FTP Problem
« Reply #4 on: June 09, 2016, 01:10:04 PM »

Yes, all credentials are configured correctly and yes, anonymous work if I enable anonymous read only mode on the share.
Logged

ivan

  • Level 8 Member
  • ***
  • Posts: 1480
Re: FTP Problem
« Reply #5 on: June 09, 2016, 02:06:11 PM »

Am I correct in assuming you have a user, with password, set for Volume_1 and that you put that user and password in FileZilla?  Can I also assume that you have given FTP access to that user with that password?

We have several instances where someone was trying to access the full volume using a user/password that only accessed a single folder.  I am not saying this is what is happening in your case but it is something to be aware of.

Logged

lionkd75

  • Level 1 Member
  • *
  • Posts: 15
Re: FTP Problem
« Reply #6 on: June 09, 2016, 03:48:54 PM »

Hi Ivan, thank you for your answer, that solved the problem. I had not created any user and I was trying to access Volume_1 using username admin or root and relevant password. But I don't understand. Filezilla connects to NAS FTP server when using username admin or root, however, volume_1 is not accessible. Is there any solution to that?
Logged

ivan

  • Level 8 Member
  • ***
  • Posts: 1480
Re: FTP Problem
« Reply #7 on: June 10, 2016, 07:41:07 AM »

Quote
Filezilla connects to NAS FTP server when using username admin or root, however, volume_1 is not accessible.

What you are seeing is normal for FTP.  The FTP protocol only requires a legitimate IP address and username to connect between client and server.  After all, you have to be able to connect to a server and input a password.

Both Admin and root are considered legitimate user names in the Linux world and the NAS firmware is based on Linux. Since neither are setup as users you don't have access to anything which is 'a good thing' otherwise anyone would be able to access your NAS.
« Last Edit: June 10, 2016, 07:44:19 AM by ivan »
Logged

lionkd75

  • Level 1 Member
  • *
  • Posts: 15
Re: FTP Problem
« Reply #8 on: June 10, 2016, 10:17:12 AM »

How would anyone get access to the files without the password? He would have only the username (root or admin) but not the password so he wouldnt have access to the files.
I understand what you are saying about Linux. However, it is strange because my previous NAS was eTrayz which is also a linux-based NAS. I could use root and admin (sysadmin) as username and by using the correct password I had access to the files. How can this be explained?
Thanks again.
Logged

ivan

  • Level 8 Member
  • ***
  • Posts: 1480
Re: FTP Problem
« Reply #9 on: June 10, 2016, 01:33:58 PM »

Quote
How would anyone get access to the files without the password?

Unfortunately quite a lot of people don't set passwords when they should and then they wonder how everybody can access their data.

Quote
it is strange because my previous NAS was eTrayz which is also a linux-based NAS. I could use root and admin (sysadmin) as username and by using the correct password I had access to the files.

With your old NAS the people that wrote the firmware don't appear to be as security aware as they should have been because they left open a default root/admin account that allowed access to all files when it should have been an option to allow that account.

From what we have seen D-Link are at least thinking about having their NAS boxes secure by default thus requiring the user to make choices about what is allowed.
Logged

lionkd75

  • Level 1 Member
  • *
  • Posts: 15
Re: FTP Problem
« Reply #10 on: June 11, 2016, 02:35:59 AM »

I see. Thank you for your answer. What about sftp? I have installed openssh and using winscp I can connect to 320L using as username root and password the one I have set for root. I have full access to the files. Why can this be done with sftp but not with ftp?  I am new to Linux and I am trying to understand. Thanks again!
Logged