proftpd | detailed installation instructions , see the INSTALL file | FTP library

 by   proftpd C Version: v1.3.7f License: GPL-2.0

kandi X-RAY | proftpd Summary

kandi X-RAY | proftpd Summary

proftpd is a C library typically used in Networking, FTP applications. proftpd has no bugs, it has no vulnerabilities, it has a Strong Copyleft License and it has low support. You can download it from GitHub.

For detailed installation instructions, see the INSTALL file in the root directory of the source distribution. The ProFTPD source distribution is designed to be configured using the GNU autotools, so compiling and installing follows the familiar command sequence of. However, a significant portion of ProFTPD's configurability is done at compile time, so it is highly recommended that you read INSTALL and all of the README.* files that pertain to your platform and desired features before building the sources. ProFTPD uses a single configuration file. A few examples are included in the sample-configurations/ subdirectory of the source distribution. On most systems, the inetd or xinetd configuration must be changed, either to remove the current ftpd entry to run ProFTPD standalone, or to change the current ftpd entry to use the proftpd daemon.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              proftpd has a low active ecosystem.
              It has 442 star(s) with 181 fork(s). There are 32 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 102 open issues and 537 have been closed. On average issues are closed in 148 days. There are 55 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of proftpd is v1.3.7f

            kandi-Quality Quality

              proftpd has 0 bugs and 0 code smells.

            kandi-Security Security

              proftpd has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              proftpd code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              proftpd is licensed under the GPL-2.0 License. This license is Strong Copyleft.
              Strong Copyleft licenses enforce sharing, and you can use them when creating open source projects.

            kandi-Reuse Reuse

              proftpd releases are available to install and integrate.
              Installation instructions, examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of proftpd
            Get all kandi verified functions for this library.

            proftpd Key Features

            No Key Features are available at this moment for proftpd.

            proftpd Examples and Code Snippets

            No Code Snippets are available at this moment for proftpd.

            Community Discussions

            QUESTION

            Proftpd mod_rewrite not working as expected. How do I make it work correctly?
            Asked 2021-Jan-26 at 13:06

            I'm trying to replace backslashes with regular slashes in FTP requests (anonymous), according to Proftp's how-to:

            http://www.proftpd.org/docs/howto/Rewrite.html

            When I put the following in one of my Proftpd configs:

            ...

            ANSWER

            Answered 2021-Jan-26 at 12:57

            The Proftpd how-to was incorrect in that you must use 4 backslashes. Use only two backslashes:

            Source https://stackoverflow.com/questions/65899595

            QUESTION

            cURLFTPFS refuses to mount root directory
            Asked 2020-Jul-28 at 11:37

            I'm trying to have full access to my CentOS8 VPS (ie accessing root directory /) through a mounted cURLFTPFS directory on my local Archlinux system. However no config seems to allow me to mount anything other than the user's home directory (/home/admin).

            I've tried all combinations of:

            • Setting the line DefaultRoot / admin in /etc/proftpd.conf
            • Setting the line DefaultChdir / in /etc/proftpd.conf
            • Mounting with curlftpfs vps.example.com mountpoint
            • Mounting with curlftpfs vps.example.com/ mountpoint
            • Mounting with curlftpfs vps.example.com// mountpoint
            • Mounting with curlftpfs vps.example.com:/ mountpoint
            • Mounting with curlftpfs vps.example.com:// mountpoint

            Preemptive responses:

            • I'm using ProFTPD
            • The user I'm connecting with is admin
            • Login details are set in .netrc
            • I'm not using a VirtualHost in the proftpd config file.
            • I am not forgetting to systemctl reload proftpd

            Any advice would be highly welcomed.

            ...

            ANSWER

            Answered 2020-Jul-28 at 11:37

            I have found the problem and it's as dumb as can reasonably be expected.

            By default, ProFTPD locks all users to home directories except for the adm group. This overrides all other access controls.

            All I had to do was change the line DefaultRoot ~ !adm (which his hidden amongst lines of comments in /etc/proftpd.conf) to DefaultRoot ~ !adm,!admin.

            Source https://stackoverflow.com/questions/63132345

            QUESTION

            Stopping old XAMPP background processes
            Asked 2020-Jul-15 at 12:09

            I reinstalled an old XAMPP program on my PC because an error occurred on the old one. Unfortunately, I forgot to stop the three servers before uninstalling. Now I always get an error

            XAMPP: Stopping Apache ... not running. XAMPP: Stopping MySQL ... ok. XAMPP: Stopping ProFTPD ... not running.

            If I want to start the three new servers of the new XAMPP program. I now suspect that the old processes did not end after uninstalling the old program. I also ended my Apache2 server, which also runs on my PC. I have already looked into the system monitoring but found nothing.

            ...

            ANSWER

            Answered 2020-Jul-15 at 12:09

            You must go to the Terminal and type

            Source https://stackoverflow.com/questions/62913858

            QUESTION

            Why does the output remain blank?
            Asked 2020-Jun-28 at 00:28

            I'm following the book "Black Hat Python", the author creates a TCP proxy, but I can't seem to make it work.

            Here's the code that I'm using:

            ...

            ANSWER

            Answered 2020-Jun-28 at 00:28

            If you run it with 127.0.0.1 21

            Source https://stackoverflow.com/questions/62615620

            QUESTION

            K8S: Pass the runAsUser permission to files created inside container
            Asked 2020-Jun-17 at 19:17

            Let's say I have the below yaml:

            ...

            ANSWER

            Answered 2020-Jun-05 at 11:07

            The error you're encountered is being being printed by following code:

            Source https://stackoverflow.com/questions/62204254

            QUESTION

            Read config.py file from a compiled python .exe script
            Asked 2020-Apr-24 at 20:37

            How do you make it so that an already compiled python script that was turned into a .exe import a config file?

            Here is what I have:

            ...

            ANSWER

            Answered 2020-Apr-24 at 20:37

            When you convert a python script to .exe you take away the ability to dynamically load python files (plus it can cause silent errors).

            In general if you want to save information permanently then you should use any type of file (for example .txt) but it is better to use a pre-established format (such as .ini, .yaml, .csv, etc) and use a library that read safely such as ConfigParser, QSettings, etc.

            On the other hand you should not use getcwd() but you should obtain the information dynamically as the answers to this question suggest.

            Source https://stackoverflow.com/questions/61416629

            QUESTION

            configure proftpd to serve ftp and sftp simultaneously
            Asked 2020-Apr-21 at 23:25

            Using Ubuntu 18.04 LTS and ProFTPD 1.3.5e.

            I have ProFTPD serving FTP on ports 20, 21 and running just fine.

            When I add in /etc/proftpd/conf.d/sftp.conf, FTP quits working. When I delete the sftp.conf and restart proftpd, FTP starts working again. I conclude that there is something wrong with this conf file.

            Also, I want sftp to accept just a login id and password for authentication. How do I do that? I have looked at the SFTPAuthMethods directive and it looks like if I leave it out then it will allow all authentication methods and that is okay with me.

            Here is the sftp.conf file:

            ...

            ANSWER

            Answered 2020-Apr-21 at 23:25

            Here is the full /etc/proftpd/proftpd.conf that accomplishes my goals as stated above.

            Note that I am also using mod_sql to provide for authentication via MySQL. So there are other configuration files referenced by this config file but are not listed in this posting.

            Source https://stackoverflow.com/questions/61333456

            QUESTION

            UID & GID for ProFTPd with MySQL auth mod
            Asked 2020-Apr-20 at 14:55

            Good day to you all!

            I have a Ubuntu 18.04 LTS server with MySQL 8.0 and ProFTPD 1.3.5e Server.

            I used these instructions to set up MySQL authentication for ProFTPd.

            https://medium.com/@nico26deo/how-to-set-up-proftpd-with-a-mysql-backend-on-ubuntu-c6f23a638caf

            And it works great!

            The article above sets up the first user "test" with a UID of 5500 and a GID of 5500. It says that the FTP user directory should be created and chowned to 5500:5500. All very nice.

            What it does not say is what to do when the second and third and successive users come along. It is easy to create new users in the database with an INSERT query but should the UID and GID be unique to the new ftp user? If so, is there an easy way to get MySQL to AUTO_INCREMENT the new values above 5500 and 5500 respectively?

            Obviously, outside of that query, I will need an auxiliary process that creates the directory and chowns it to the correct UID and GID in the database. My thoughts is as follows:

            1. INSERT the new ftp user name, password, homedir into the database. This would include what ever UID and GIU need to be inserted.
            2. Create a beanstalkd task to create homedir for the new ftp user and pass the ftp user name used in the SELECT query.
            3. The FTP server would check beanstalkd and find out it has a task to perform.
            4. The FTP server would query the db for the details associated with the new ftp user. (e.g. homedir, UID,GID,etc)
            5. The FTP server would create the new user's homedir and chown it to the UID and GID in the database.

            So to make my questions crystal clear:

            1. Should the UID and GID be unique to the new ftp user?
            2. And if so, in the context of ProFTPD auth from MySQL, is there an easy way to get MySQL to AUTO_INCREMENT the new values starting at 5500 and 5500 respectively?

            Thanks!

            ...

            ANSWER

            Answered 2020-Apr-20 at 14:55

            For auto-incrementing using MySQL, you can define the UID and GID columns, in your users table, as using the AUTO_INCREMENT MySQL keyword.

            In general, it is best to have separate UID and GID values for your users. This helps ensure that filesystem access/permissions to those files are unique/separate. If you re-used the same UID/GID for all your users, it is like having one user with multiple working passwords -- to the filesystem, all the files and directories would be owned by, and accessible to, the same user, regardless of how they logged in. A mistaken configuration would allow one user to access another user's files, because to the filesystem (which only cares about UIDs/GIDs, not names), they are all the same.

            As for creating the home directories, this can be automated/done in ProFTPD itself, using its CreateHome configuration directive.

            Hope this helps!

            Source https://stackoverflow.com/questions/61308822

            QUESTION

            set verbose logging for ProFTPd
            Asked 2020-Apr-20 at 14:45

            Proftpd 1.3.5e Server on Ubuntu 18.04 LTS.

            How do I set up verbose logging for ProFTPd such that the ftp USER and filename and IP address and timestamp all show up on one line? For each file name uploaded and/or downloaded? One line per file?

            Thanks!

            ...

            ANSWER

            Answered 2020-Apr-20 at 14:45

            There are two ways you might achieve this. The easiest is to configure a TransferLog directive in your proftpd.conf:

            Source https://stackoverflow.com/questions/61309567

            QUESTION

            Tkinter Button runs program in background and allows user input
            Asked 2020-Apr-03 at 10:59

            Sorry if the title is not accurate to what I am trying to do. It was the best way of explaining my problem at the time.

            Okay so on to my problem:

            I am trying to create a Tkinter program that when a button is clicked a program that I have created will run in the background and will not stop the user from using the Tkinter program. (Sorry, I really hope you understand this) The closest thing I can think of, that is doing something similar to what I am trying to do, is when you click the "scan this computer" on your anti-malware. It runs the scan but still allows the user to click cancel and go about the program if they want. I am able to get the program to run the command but every time it focuses all of its' attention on the scan and I (the user) can no longer browse about the program.

            I have tried using multi-threading but I cant tell if I am supposed to use that for the program or if I am supposed to use multi-processing, I don't know.

            (I don't know if when you paste all of this into a file if it will work or not) I will try to post as much of the code as possible:

            Main Script ...

            ANSWER

            Answered 2020-Apr-02 at 16:39

            Instead of using root.mainloop(), add the root.update() in your main function, inside the main loop if there is one. Hope that's helpful!

            Source https://stackoverflow.com/questions/60996384

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install proftpd

            For detailed installation instructions, see the INSTALL file in the root directory of the source distribution. The ProFTPD source distribution is designed to be configured using the GNU autotools, so compiling and installing follows the familiar command sequence of. However, a significant portion of ProFTPD's configurability is done at compile time, so it is highly recommended that you read INSTALL and all of the README.* files that pertain to your platform and desired features before building the sources. ProFTPD uses a single configuration file. A few examples are included in the sample-configurations/ subdirectory of the source distribution. On most systems, the inetd or xinetd configuration must be changed, either to remove the current ftpd entry to run ProFTPD standalone, or to change the current ftpd entry to use the proftpd daemon.

            Support

            The doc/ directoryhttp://www.proftpd.org/docs/
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/proftpd/proftpd.git

          • CLI

            gh repo clone proftpd/proftpd

          • sshUrl

            git@github.com:proftpd/proftpd.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular FTP Libraries

            curl

            by curl

            git-ftp

            by git-ftp

            sftpgo

            by drakkan

            FluentFTP

            by robinrodricks

            pyftpdlib

            by giampaolo

            Try Top Libraries by proftpd

            mod_ldap

            by proftpdC

            www.proftpd.org

            by proftpdCSS

            user-guide

            by proftpdShell

            proftpd.github.com

            by proftpdRuby

            admin

            by proftpdPerl