InspIRCd v2 is coming to the end of its lifetime!
Fixes for security vulnerabilities will be provided until 2020-06-01 but after this date v2 will no longer be maintained.
InspIRCd v3 contains many new features including full support for all currently ratified IRCv3 extensions and WebSocket connections.
The "dccallow" Module
This module allows the server administrator to configure what files are allowed to be sent via DCC SEND and allows users to configure who can send them DCC CHAT and DCC SEND requests.
To load this module use the following
<banfile> tag defines a rule to use when determining if a file can be sent with
DCC SEND. This tag can be defined as many times as required.
|action||Text||block||The action to take when a file matches the pattern.|
|pattern||Text||None||Required! A glob pattern for the filename.|
The action field should be set to one of the following values:
|allow||Allows files matching the pattern to be sent.|
|block||Blocks file matching the pattern from being sent.|
Bans executables from being sent:
<banfile action="block" pattern="*.exe">
Allows only text files to be sent:
<banfile action="allow" pattern="*.txt"> <banfile action="block" pattern="*">
<dccallow> tag defines settings about how the dccallow module should behave. This tag can only be defined once.
|action||Text||block||The default action to take if a file does not match a
|blockchat||Boolean||No||Whether DCC CHAT also requires the source to be on the DCC whitelist.|
|length||Number||0||The default time a DCC whitelist entry is valid for. Setting this to 0 means the entry is permanent.|
|maxentries||Number||20||The maximum number of entries that a user can have on their DCC whitelist.|
<banfile> documentation above for a list of possible values for the action field.
<dccallow action="block" blockchat="no" length="0" maxentries="20">
||Allows users to add other users to their DCC whitelist, remove other users from their DCC whitelist, and view the users on their DCC whitelist.|
Lists all users on your DCC whitelist:
Adds Adam to your DCC whitelist until the server expires it:
Adds Sadie to your DCC whitelist for two hours:
/DCCALLOW +Sadie 2h
Removes "Attila" from your DCC whitelist: