Re: [Proftpd-user] Mod_ban.c : does it work with IfClass and with serveral VirtualHosts ?
Pieter de Gaaij <[email protected]>
| Newsgroups | gmane.network.proftpd.user |
|---|---|
| Message-ID | <[email protected]> |
Thank you in advance. With regards. Pieter. Verzonden door BlueMail Op 27 apr. 2020 21:50, om 21:50, TJ Saunders <[email protected]> schreef: > >> So, the problem is solved when I include "BanEngine on" in the server > >> config section and when I include in the </Global> section : > >Excellent. > >> Still I have a question about the second question: 2) Am I wrong >> asumming that the same BAN-module should function for the SFTP *and* >> FTP Virtual Hosts >> >> It turned out that when a client-host is banned from within the >> SFTP-VirtualHost, it isn't automatically banned in the >FTP-VirtualHost. > >> I hoped that when the SFTP-VirtualHost denied connection from >source-IP >> 10.65.140.15, that also FTP-connections from the same source IP >> 10.65.140.15 would have been denied. >> >> Or did I configure something wrong ? > >This is by design. Ban entries created by mod_ban are <VirtualHost> >specific; the assumption is that different <VirtualHost> sections will >have different subsets of clients, with different usage patterns. > >This means that if you do want ban entries generated by one ><VirtualHost> to be used in another, the configuration/setup is more >complex. > >I'll see if I can dig up previous email threads on this topic, and/or >relevant examples and module documentation. > >TJ _______________________________________________ ProFTPD Users List <[email protected]> Unsubscribe problems? http://www.proftpd.org/list-unsub.html