Am 05.02.2017 um 19:45 schrieb TJ Saunders: > > On Sun, Feb 5, 2017, at 10:43, Christian wrote: >> Am 05.02.2017 um 19:32 schrieb TJ Saunders: >>> Thanks for prodding me on this. Since there was not much response >>> either way, and because it seems like a sensible addition to me, I'll be >>> merging a PR which add this feature in shortly; see: >>> >>> https://github.com/proftpd/proftpd/pull/410 >>> >>> Cheers, >>> TJ >> wow, that is awesome :) >> May I apply #410 to 1.3.5d and rebuild ? > > I suspect that the PR may not apply cleanly to 1.3.5d, given that it > updates the RELEASE_NOTES and other files. If you accept the one-line > change to just modules/mod_core.c, that should suffice. > > Cheers, > TJ > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > ProFTPD Developers List > <[email protected]> > https://lists.sourceforge.net/lists/listinfo/proftp-devel > Thanks :) It works, and your changes, too.
Now I am using:
<Anonymous ~ftp>
# Limit LOGIN
<Limit LOGIN>
Order Allow,Deny
Include /etc/proftpd/includes/limit.conf
Deny from All
</Limit>
and I can use this 'limit.conf' not only with proftpd, but also with
apache2 :)
AuthName "Auth on repo Server"
AuthType Basic
AuthUserFile /srv/www/passwd/default
#<limit GET POST>
Require valid-user
<IfVersion < 2.4>
Order Deny,Allow
Deny from All
</IfVersion>
<IfVersion >= 2.4>
<IfModule !mod_access_compat.c>
Require all denied
</IfModule>
<IfModule mod_access_compat.c>
Order Deny,Allow
Deny from All
</IfModule>
</IfVersion>
Include /etc/apache2/includes/limit.conf
Satisfy Any
#</limit>
thank you very much for this enhancement :)
--
Christian
----------------------------------------------------
- Please do not 'CC' me on list mails.
Just reply to the list :)
----------------------------------------------------
http://www.sc24.de - Sportbekleidung
----------------------------------------------------
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________ ProFTPD Developers List <[email protected]> https://lists.sourceforge.net/lists/listinfo/proftp-devel
