[ProFTP] (New) Modules zu activate

Hilmar Preuße hille42 at web.de
Tue May 8 22:00:01 BST 2018


On 07.05.2018 11:42, Francesco P. Lovergine wrote:
> On Mon, May 07, 2018 at 11:09:20AM +0200, Hilmar Preuße wrote:

Hi,

>> 1. I intend like to package the module mod_snmp; would be done in a
>> separate Debian binary package. Objections?
>>
>> Who generated the sample config files? Are they Debian specific and I
>> should produce one?
> 
> The config file templates are generally Debian specific, and should
> provides common items and reasonable defaults. Ideally all should work
> as for other modules, with commented out stuff that should be useful
> for simplifying admin tasks, not complicating them.
> 
Attached is a draft sample config file.

Of course there are more options to that module, but I left them out;
anybody needing these will find them. I still have to check if the
specification "SNMPAgent master 0.0.0.0 161" works.

Let me know if that sample config file looks OK.

Hilmar
-- 
#206401 http://counter.li.org
-------------- next part --------------
<IfModule mod_snmp.c>

SNMPEngine on

# REQUIRED: Configure the agent to listen on 1.2.3.4, port 161
# Do not configure mod_snmp to listen on a public Internet address!
SNMPAgent master 0.0.0.0 161

# REQUIRED: Configure the SNMP community string
SNMPCommunity proftp

SNMPLog /var/log/proftpd/snmp.log

#The mod_snmp module supports sending notifications (via SNMP traps) whenever
#certain events occur or conditions are met. Note that only SNMPv2 traps are
#generated; there is currently no support for SNMPv1 traps.

#Currently supported notifications:

#  • MaxInstances limit exceeded
#  • Failed FTP login due to bad/wrong password
#  • Failed FTP login due to bad/unknown user name

# SNMPNotify

# SNMPOptions

# Configure the directory that mod_snmp will use for its database files
SNMPTables /var/lib/proftpd/snmp

#  <Limit SNMP>
#    # Allow SNMP packets from 10.x.x.x and 127.0.0.1 addresses
#    Allow from 10., 127.0.0.1
#    DenyAll
#  </Limit>

</IfModule>


More information about the Pkg-proftpd-maintainers mailing list