GithubHelp home page GithubHelp logo

Comments (6)

Castaglia avatar Castaglia commented on June 2, 2024

Could you provide the ProFTPD debug logging, debug level 10, for both the FTP and SFTP logins for the user in question? I'm hoping that that logging can help provide more details about what is happening. Thanks!

from proftpd.

fgleixner avatar fgleixner commented on June 2, 2024

proftpd_debug.log

Here are the logs with the config above. If you need more from the config, i can provide it.

from proftpd.

Castaglia avatar Castaglia commented on June 2, 2024

Here are the logs with the config above. If you need more from the config, i can provide it.

Hmm. In the provided logs, it looks like you are using an SFTP client in both cases to log into your two separate <VirtualHost> sections. That's not what I expected. I thought you would use an FTP client for the FTP virtual host, and an SFTP client for the SFTP virtual host. FTP and SFTP are very, very different protocols.

from proftpd.

fgleixner avatar fgleixner commented on June 2, 2024

Tried again. Now i have two new findings:

  1. I dont see logs from the ftp virtual host. I dont know, why logins and other things are not logged.
  2. If i try ftp localhost, then the Limit restrictions do not apply. They do apply when i ftp to the outbound IP of the server. But the proftpd process listens on 0.0.0.0:21 - no other process or xinetd picks up connections to 127.0.0.1:21

from proftpd.

fgleixner avatar fgleixner commented on June 2, 2024

Found out, that this is a configuration issue, where ftp clients sometimes do not land in one of the VirtualHost contexts, but in the "server config" section.
I added a
Port 0
to the outer server config, and now it works as expected.

from proftpd.

Castaglia avatar Castaglia commented on June 2, 2024

Interesting. But I'm glad you were able to make it work!

from proftpd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.