| Tip of the day: Log files can use JSON logging. You can also send the JSON data to IRCOps on IRC. The JSON is machine readable and contains lots of details about every log event. |
Translations:Configuration/26/en
Jump to navigation
Jump to search
Deny DCC block
The deny dcc block allows you to specify a filename which will not be allowed to be sent via DCC over the server. This can be useful in helping stop distribution of trojans and viruses.
Syntax
deny dcc {
filename <file-to-block>;
reason <reason-for-ban>;
soft [yes|no];
}
The deny::filename parameter specifies a wildcard mask of the filename to reject sends of, and deny::reason specifies the reason why this file is blocked.
There's also a deny::soft option, if set to 'yes' the dcc is blocked unless the user explicitly allows it via /DCCALLOW +nickname-trying-to-send. See dccallow.conf for a good example configuration for dccallow.
Example
deny dcc {
filename virus.exe;
reason "This is a GD Virus";
}
deny dcc {
filename "*.exe";
reason "Executable content";
soft yes;
}