FTP leere Verzeichnisse, connection nicht möglich

    • OMV 1.0

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • FTP leere Verzeichnisse, connection nicht möglich

      Hallo,

      ich habe die WD My CLoud 2, leider funktioniert mein FTP Zugang nicht, inzwischen bin ich auf OMV 1.18

      Screens von der Config



      root@MyCloud:/media/0e0780cf-c3c6-41a2-9f78-102a21479bbc# stat test
      Datei: âtestâ
      GröÃe: 4096 Blöcke: 8 EA Block: 4096 Verzeichnis
      Gerät: 804h/2052d Inode: 73924609 Verknüpfungen: 2
      Zugriff: (2777/drwxrwsrwx) Uid: ( 0/ root) Gid: ( 100/ users)
      Zugriff : 2015-04-24 07:16:30.190535877 +0200
      Modifiziert: 2015-04-24 07:06:34.245306922 +0200
      Geändert : 2015-04-24 07:16:30.190535877 +0200
      Geburt : -
      root@MyCloud:/media/0e0780cf-c3c6-41a2-9f78-102a21479bbc#

      Ports sind via Fritzbox frei, ACL wurde nicht genutzt

      Was mach ich falsch ? Bitte helft mir


      LG
      Images
      • 1.jpg

        124.97 kB, 936×751, viewed 539 times
      • 2.jpg

        105.51 kB, 730×720, viewed 468 times
      • ftp.jpg

        264.32 kB, 1,271×893, viewed 459 times
      • ftp-freigabe.jpg

        71.16 kB, 570×659, viewed 463 times
    • HI Subzero :)

      Access from Lan or Internet self problem :(

      FritzBox Port 19-21 on 19-21

      Filezillalog:

      Display Spoiler

      tatus: Verbinde mit 192.168.178.20:21...
      Status: Verbindung hergestellt, warte auf Willkommensnachricht...
      Trace: CFtpControlSocket::OnReceive()
      Antwort: 220 ProFTPD 1.3.4a Server ready.
      Trace: CFtpControlSocket::SendNextCommand()
      Befehl: USER crusherdc
      Trace: CFtpControlSocket::OnReceive()
      Antwort: 331 Password required for crusherdc
      Trace: CFtpControlSocket::SendNextCommand()
      Befehl: PASS ***************
      Trace: CFtpControlSocket::OnReceive()
      Antwort: 230-Welcome user crusherdc@meiner.fritz.box to MyCloud.local FTP server.
      Antwort: 230-The local time is: Sat Apr 25 15:19:10 2015
      Trace: CFtpControlSocket::OnReceive()
      Antwort: 230 User crusherdc logged in
      Trace: CFtpControlSocket::SendNextCommand()
      Befehl: SYST
      Trace: CFtpControlSocket::OnReceive()
      Antwort: 215 UNIX Type: L8
      Trace: CFtpControlSocket::SendNextCommand()
      Befehl: FEAT
      Trace: CFtpControlSocket::OnReceive()
      Antwort: 211-Features:
      Antwort: MDTM
      Antwort: MFMT
      Antwort: TVFS
      Antwort: UTF8
      Antwort: MFF modify;UNIX.group;UNIX.mode;
      Antwort: MLST modify*;perm*;size*;type*;unique*;UNIX.group*;UNIX.mode*;UNIX.owner*;
      Antwort: SITE MKDIR
      Antwort: SITE RMDIR
      Antwort: SITE UTIME
      Antwort: LANG en-US.UTF-8;en-US
      Antwort: SITE SYMLINK
      Antwort: REST STREAM
      Antwort: SITE COPY
      Antwort: SIZE
      Trace: CFtpControlSocket::OnReceive()
      Antwort: 211 End
      Trace: CFtpControlSocket::SendNextCommand()
      Befehl: OPTS UTF8 ON
      Trace: CFtpControlSocket::OnReceive()
      Antwort: 200 UTF8 set to on
      Status: Verbunden
      Trace: CFtpControlSocket::ResetOperation(0)
      Trace: CControlSocket::ResetOperation(0)
      Trace: CFileZillaEnginePrivate::ResetOperation(0)
      Trace: Measured latency of 19 ms
      Status: Empfange Verzeichnisinhalt...
      Trace: CFtpControlSocket::SendNextCommand()
      Trace: CFtpControlSocket::ChangeDirSend()
      Befehl: PWD
      Trace: CFtpControlSocket::OnReceive()
      Antwort: 257 "/media/0e0780cf-c3c6-41a2-9f78-102a21479bbc/test/crusherdc" is the current directory
      Trace: CFtpControlSocket::ResetOperation(0)
      Trace: CControlSocket::ResetOperation(0)
      Trace: CFtpControlSocket::ParseSubcommandResult(0)
      Trace: CFtpControlSocket::ListSubcommandResult()
      Trace: state = 1
      Trace: CFtpControlSocket::SendNextCommand()
      Trace: CFtpControlSocket::TransferSend()
      Trace: state = 1
      Befehl: TYPE I
      Trace: CFtpControlSocket::OnReceive()
      Antwort: 200 Type set to I
      Trace: CFtpControlSocket::TransferParseResponse()
      Trace: code = 2
      Trace: state = 1
      Trace: CFtpControlSocket::SendNextCommand()
      Trace: CFtpControlSocket::TransferSend()
      Trace: state = 2
      Befehl: PASV
      Trace: CFtpControlSocket::OnReceive()
      Antwort: 227 Entering Passive Mode (192,168,178,20,194,48).
      Trace: CFtpControlSocket::TransferParseResponse()
      Trace: code = 2
      Trace: state = 2
      Trace: CFtpControlSocket::SendNextCommand()
      Trace: CFtpControlSocket::TransferSend()
      Trace: state = 4
      Befehl: MLSD
      Trace: CTransferSocket::OnConnect
      Trace: CRealControlSocket::OnClose(0)
      Fehler: Verbindung vom Server geschlossen
      Trace: CControlSocket::DoClose(64)
      Trace: CFtpControlSocket::ResetOperation(66)
      Trace: CControlSocket::ResetOperation(66)
      Trace: CFtpControlSocket::ResetOperation(66)
      Trace: CControlSocket::ResetOperation(66)
      Fehler: Verzeichnisinhalt konnte nicht empfangen werden
      Trace: CFileZillaEnginePrivate::ResetOperation(66)



      This is the Problem :

      Fehler: Verzeichnisinhalt konnte nicht empfangen werden, on all Clients <X

      Self Problem here;:

      FTP kann das Home-/Hauptverzeichnis nicht laden


    • What I don't understand is why is trying to change to a dir in media. Is that you trying to manually change by entering the path?
      Shares in ftp are passed to virtual root at this folder /srv, so /media/uuid is never visible.

      Can you paste here the contents of this file /etc/proftpd/proftpd.conf
      chat support at #openmediavault@freenode IRC | Spanish & English | GMT+10
      telegram.me/openmediavault broadcast channel
      openmediavault discord server
    • HI,

      i not change manuel the path, the OMV is almost factory condition

      is that the failure :

      No User from me in quota?:

      Display Spoiler


      root@MyCloud:~# sudo repquota /media/0e0780cf-c3c6-41a2-9f78-102a21479bbc
      *** Report für user Quotas auf Gerät /dev/sda4
      Blockgnadenfrist: 7days; Inodegnadenfrist: 7days
      Block Limits Dateilimits
      Benutzer belegt weich hart Gnade belegt weich hart Gnade
      ----------------------------------------------------------------------
      root -- 26360 0 0 7 0 0
      debian-transmission -- 3408328 0 0 9 0 0

      root@MyCloud:~# lsattr /media/0e0780cf-c3c6-41a2-9f78-102a21479bbc
      -------------e-- /media/0e0780cf-c3c6-41a2-9f78-102a21479bbc/torrent
      -------------e-- /media/0e0780cf-c3c6-41a2-9f78-102a21479bbc/test
      ----i--A-----e-- /media/0e0780cf-c3c6-41a2-9f78-102a21479bbc/aquota.group
      ----i--A-----e-- /media/0e0780cf-c3c6-41a2-9f78-102a21479bbc/aquota.user


      /etc/fstab:

      Display Spoiler

      /dev/sda3 none swap sw 0 0
      # >>> [openmediavault]
      UUID=0e0780cf-c3c6-41a2-9f78-102a21479bbc /media/0e0780cf-c3c6-41a2-9f78-102a21479bbc ext4 defaults,nofail,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl 0 2
      # <<< [openmediavault]



      proftpd.conf

      Display Spoiler

      Include /etc/proftpd/modules.conf
      LoadModule mod_vroot.c
      UseIPv6 on
      ServerName "mycloud"
      ServerType standalone
      DeferWelcome on
      MultilineRFC2228 on
      DefaultServer on
      ShowSymlinks on
      DisplayChdir .message true
      ListOptions "-l"
      MaxInstances 30
      DenyFilter \*.*/
      AuthPAMConfig proftpd
      User proftpd
      Group nogroup
      Umask 000 000
      UseFtpUsers off
      PersistentPasswd off
      DefaultRoot /srv/ftp
      TimesGMT off
      AllowOverwrite on
      AuthOrder mod_auth_pam.c* mod_auth_unix.c
      DefaultTransferMode ascii
      #SystemLog /var/log/proftpd/proftpd.log
      <IfModule mod_facl.c>
      FACLEngine on
      </IfModule>
      <IfModule mod_quotatab.c>
      QuotaEngine off
      </IfModule>
      <IfModule mod_ratio.c>
      Ratios off
      </IfModule>
      <IfModule mod_delay.c>
      DelayEngine on
      </IfModule>
      <IfModule mod_ctrls.c>
      ControlsEngine on
      ControlsMaxClients 2
      ControlsLog /var/log/proftpd/controls.log
      ControlsInterval 5
      ControlsSocket /var/run/proftpd/proftpd.sock
      </IfModule>
      <IfModule mod_ctrls_admin.c>
      AdminControlsEngine off
      </IfModule>
      <IfModule mod_vroot.c>
      VRootEngine on
      VRootLog /var/log/proftpd/vroot.log
      </IfModule>
      Port 21
      TransferLog /var/log/proftpd/xferlog
      RequireValidShell on
      IdentLookups off
      UseReverseDNS on
      TimeoutIdle 1200
      TimeoutNoTransfer 600
      TimeoutStalled 600
      PassivePorts 49152 50000
      AllowRetrieveRestart on
      AllowStoreRestart on
      DeleteAbortedStores off
      AllowForeignAddress on
      MaxClients 5
      MaxConnectionsPerHost 2
      MaxLoginAttempts 1
      <Directory />
      HideFiles (welcome.msg)
      </Directory>

      <IfModule mod_vroot.c>
      VRootAlias "/media/0e0780cf-c3c6-41a2-9f78-102a21479bbc/test" "test"
      </IfModule>
      <Directory /test>
      <Limit ALL>
      AllowUser OR crusherdc
      AllowGroup OR meineadmin
      DenyAll
      </Limit>
      <Limit READ DIRS>
      AllowUser OR crusherdc
      AllowGroup OR meineadmin
      DenyAll
      </Limit>
      </Directory>
      <IfModule mod_ban.c>
      BanEngine off
      BanControlsACLs all allow user root
      BanLog /var/log/proftpd/ban.log
      BanMessage Host %a has been banned
      BanTable /var/run/proftpd/ban.tab
      </ifModule>

      DisplayLogin /srv/ftp/welcome.msg
      <IfModule mod_wrap.c>
      TCPAccessFiles /etc/hosts.allow /etc/hosts.deny
      TCPAccessSyslogLevels info warn
      TCPServiceName ftpd
      </ifModule>

    • Filezilla


      no crypt:

      forum.openmediavault.org/index…2032a6788b265aa2ae9683fe0

      aktiv:

      Display Spoiler

      Status: Verbinde mit 192.168.178.20:21...
      Status: Verbindung hergestellt, warte auf Willkommensnachricht...
      Status: Verbunden
      Status: Empfange Verzeichnisinhalt...
      Befehl: PWD
      Antwort: 257 "/media/0e0780cf-c3c6-41a2-9f78-102a21479bbc/test/crusherdc" is the current directory
      Befehl: TYPE I
      Antwort: 200 Type set to I
      Befehl: PORT 192,168,178,52,241,231
      Antwort: 200 PORT command successful
      Befehl: MLSD
      Fehler: Verbindung vom Server geschlossen
      Fehler: Verzeichnisinhalt konnte nicht empfangen werden


      passiv:

      Display Spoiler

      Status: Verbinde mit 192.168.178.20:21...
      Status: Verbindung hergestellt, warte auf Willkommensnachricht...
      Status: Verbunden
      Status: Empfange Verzeichnisinhalt...
      Befehl: PWD
      Antwort: 257 "/media/0e0780cf-c3c6-41a2-9f78-102a21479bbc/test/crusherdc" is the current directory
      Befehl: TYPE I
      Antwort: 200 Type set to I
      Befehl: PASV
      Antwort: 227 Entering Passive Mode (192,168,178,20,193,187).
      Befehl: MLSD
      Fehler: Verbindung vom Server geschlossen
      Fehler: Verzeichnisinhalt konnte nicht empfangen werden
      Images
      • ftp.jpg

        125.88 kB, 864×736, viewed 497 times
    • No idea what's going on.

      Just a guess, are the data drives mounted? you can check with the command mount

      Nixxnick wrote:

      can i change without data loss in fstab to /media/"intern" ?


      Why do you need that?, if you change it manually OMV is gonna lose all internal references to that share.
      chat support at #openmediavault@freenode IRC | Spanish & English | GMT+10
      telegram.me/openmediavault broadcast channel
      openmediavault discord server
    • Shell MOunt:

      Display Spoiler

      root@MyCloud:~# mount
      /dev/root on / type ext3 (rw,relatime,errors=continue,barrier=1,data=ordered)
      tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=23344k,mode=755)
      tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
      proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
      sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
      tmpfs on /dev type tmpfs (rw,relatime,size=10240k,mode=755)
      tmpfs on /run/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,size=46680k)
      devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620)
      /dev/root on /var/log.hdd type ext3 (rw,relatime,errors=continue,barrier=1,data=ordered)
      ramlog-tmpfs on /var/log type tmpfs (rw,relatime)
      tmpfs on /var/cache/samba type tmpfs (rw,relatime)
      /dev/sda4 on /media/0e0780cf-c3c6-41a2-9f78-102a21479bbc type ext4 (rw,noexec,relatime,user_xattr,barrier=1,data=ordered,jqfmt=vfsv0,usrjquota=aquota.user,grpjquota=aquota.group,_netdev)
      rpc_pipefs on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw,relatime)
      /dev/sda4 on /export/test type ext4 (rw,noexec,relatime,user_xattr,barrier=1,data=ordered,jqfmt=vfsv0,usrjquota=aquota.user,grpjquota=aquota.group)
      /dev/sda4 on /export/torrent type ext4 (rw,noexec,relatime,user_xattr,barrier=1,data=ordered,jqfmt=vfsv0,usrjquota=aquota.user,grpjquota=aquota.group)
      nfsd on /proc/fs/nfsd type nfsd (rw,relatime)
      /dev/sdb1 on /media/9a1a51e8-dd33-4f09-aaf9-7561b1997f17 type ext4 (rw,noexec,relatime,user_xattr,barrier=1,data=ordered,jqfmt=vfsv0,usrjquota=aquota.user,grpjquota=aquota.group,_netdev)
      root@MyCloud:~#



      forum.openmediavault.org/index…2032a6788b265aa2ae9683fe0
      Images
      • mount.jpg

        210.45 kB, 1,122×1,140, viewed 471 times
    • Hmm:


      Test log

      Source Code

      1. Warning: Plaintext FTP is insecure. You should use explicit FTP over TLS.
      2. Status: Resolving address of *******.de
      3. Status: Connecting to 1***2
      4. Warning: The entered address does not resolve to an IPv6 address.
      5. Status: Connected, waiting for welcome message...
      6. Reply: 220 ProFTPD 1.3.4a Server ready.
      7. Command: CLNT [url]https://ftptest.net[/url] on behalf of **.**.**.**
      8. Reply: 500 CLNT not understood
      9. Command: USER crusherdc
      10. Reply: 331 Password required for crusherdc
      11. Command: PASS ***************
      12. Reply: 230-Welcome user crusherdc@**.**.**.** to [color=#FF0000]127.0.1.1 FTP server.[/color]
      13. Reply: 230-The local time is: Mon Apr 27 10:59:41 2015
      14. Reply: 230 User crusherdc logged in
      15. Command: SYST
      16. Reply: 215 UNIX Type: L8
      17. Command: FEAT
      18. Reply: 211-Features:
      19. [color=#FF0000]Reply: LANG en-US.UTF-8;en-US* I use German translation .... [/color]
      20. Reply: MDTM
      21. Reply: MFMT
      22. Reply: TVFS
      23. Reply: UTF8
      24. Reply: MFF modify;UNIX.group;UNIX.mode;
      25. Reply: MLST modify*;perm*;size*;type*;unique*;UNIX.group*;UNIX.mode*;UNIX.owner*;
      26. Reply: SITE MKDIR
      27. Reply: SITE RMDIR
      28. Reply: SITE UTIME
      29. Reply: SITE SYMLINK
      30. Reply: REST STREAM
      31. Reply: SITE COPY
      32. Reply: SIZE
      33. Reply: 211 End
      34. Command: PWD
      35. Reply: 257 "/media/0e0780cf-c3c6-41a2-9f78-102a21479bbc/test/crusherdc" is the current directory
      36. Status: Current path is /media/0e0780cf-c3c6-41a2-9f78-102a21479bbc/test/crusherdc
      37. Command: TYPE I
      38. Reply: 200 Type set to I
      39. Command: PASV
      40. Reply: 227 Entering Passive Mode (192,168,178,20,206,191). [color=#FF0000]Port 191 ? WHY ? [/color]
      41. Error: Server returned unroutable private IP address in PASV reply
      42. Results
      43. Error: Server returned unroutable private IP address in PASV reply
      44. Make sure the server is configured to allow passive mode connections.
      45. If the server is behind a NAT router, make sure the server knows its external IP address.
      46. The range of ports used for passive mode must be opened in all involved firewalls.
      47. The range of ports used for passive mode must be forwarded by all involved NAT routers.
      48. Try uninstalling all firewalls and plug your computer directly into your modem, thus bypassing the router.
      49. Server details
      50. Host:Port:Username:Password:Protocol: Explicit FTP over TLS Implicit FTP over TLS Plain FTP (insecure)
      Display All

      The post was edited 1 time, last by WastlJ ().

    • In the field masquerade address put the domain of your house connection the ***.de domain that I see in the connection.


      The passive port response is 206x256+191=52927,

      I think this is the error, the passive range should be in between 49152-50000 and the server is responding to open different than the ones from the specified. The firewall is opening other ones. This I don't know why is happening.
      chat support at #openmediavault@freenode IRC | Spanish & English | GMT+10
      telegram.me/openmediavault broadcast channel
      openmediavault discord server

      The post was edited 1 time, last by subzero79 ().

    • i change the ports passiv ftp to 15000-15500

      result :( not answer

      forum.openmediavault.org/index…2032a6788b265aa2ae9683fe0

      my /etc/host......

      # This configuration file is auto-generated.
      # WARNING: Do not edit this file, your changes will be lost.
      127.0.0.1 localhost
      127.0.1.1 MyCloud.local MyCloud

      # The following lines are desirable for IPv6 capable hosts
      ::1 ip6-localhost ip6-loopback
      fe00::0 ip6-localnet ->disable for my with #
      ff00::0 ip6-mcastprefix ->disable for my with #
      ff02::1 ip6-allnodes ->disable for my with #
      ff02::2 ip6-allrouters ->disable for my with #
      ff02::3 ip6-allhosts ->disable for my with #

      192.168.1.10 MyCloud.local MyCloud -> bad ip


      Images
      • Unbenannt.jpg

        276.22 kB, 1,440×900, viewed 437 times

      The post was edited 1 time, last by Nixxnick ().