The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    654
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...
Similar Threads - ProFTPD mod_ifsession enabled
  1. samend
    Replies:
    1
    Views:
    356
  2. samend
    Replies:
    3
    Views:
    508

Share This Page