Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

ProFTPD with mod_ifsession enabled

Discussion in 'General Discussion' started by ITGabs, Jan 7, 2016.

  1. ITGabs

    ITGabs Well-Known Member

    Joined:
    Jul 30, 2013
    Messages:
    81
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Hi All,

    I want to use this module in proftpd but i don't want to break anything in the config in cPanel

    Should be perfect if I can add this setting in some template configuration so changing from pure-ftpd to proftpd keep these settings.

    The approach is to filter FTP webcams or heavy FTP users from the logs (whitelisted IP address) to keep the focus in unwanted connections.

    Something that is out of my control is that some of these security webcams log in and out every 4-2 seconds, so only logging the AUTH commands are still painful.

    I only need to add this module to proftpd


    Installation

    To install mod_ifsession, copy the mod_ifsession.c file into:
    proftpd-dir/contrib/

    after unpacking the latest proftpd-1.3.x source code. Then follow the usual steps for using third-party modules in proftpd:
    ./configure --with-modules=mod_ifsession
    make
    make install

    Note that mod_ifsession should be the last module in the --with-modules list, if multiple modules are listed. This makes sure that mod_ifsession's changes will be seen properly by other modules.
    To build mod_ifsession as a DSO module:
    ./configure --enable-dso --with-shared=mod_ifsession

    Then follow the usual steps:
    make
    make install

    Alternatively, if your proftpd was compiled with DSO support, you can use the prxs tool to build mod_ifsession as a shared module:
    prxs -c -i -d mod_ifsession.c
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,214
    Likes Received:
    1,936
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...
Similar Threads - ProFTPD mod_ifsession enabled
  1. stefanbc
    Replies:
    5
    Views:
    562

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice