Skip to content
A proftpd module enables Limit LOGIN directive in .ftpaccess ( post PASS )
C
Find file
Latest commit aa7f629 @hiboma fix: get_param_ptr(..., C_USER, ...) returns NULL on 1.3.4, so change…
…d the 2nd argument C_USER to 'UserName'
Failed to load latest commit information.
.gitignore
Makefile add Makefile
README.md make tidy
mod_limit_login_post_pass.c fix: get_param_ptr(..., C_USER, ...) returns NULL on 1.3.4, so change…

README.md

mod_limit_login_post_pass.c

DESCRIPTION

  • .ftpaccess内で を有効にするモジュール
  • /etc/proftpd.confを編集できる権限をもたないユーザーにもログイン制限を与えたい場合に便利

USAGE

  • /etc/proftpd.conf
LoadModule mod_limit_login_post_pass.c
  • $HOME/.ftpaccess
<Limit LOGIN>
    DenyAll
</Limit>
  • denied login is logged to /var/log/secure
Jan 27 18:14:56 *** proftpd[10219]: ***.***.jp (*.*.*.*[*.*.*.*]) - hoge: Limit access denies login.
Jan 27 18:14:56 *** proftpd[10219]: ***.***.jp (*.*.*.*[*.*.*.*]) - FTP session closed.

INSTALL

dso-supported proftpd needed( ./configure --enabole-dso )

/path/to/proftpd/bin/prxs -c mod_limit_login_post_pass.c -i
Something went wrong with that request. Please try again.