Tip of the day: With the UnrealIRCd administration panel you can add and remove server bans and do other server management from your browser. |
Deny DCC block
Jump to navigation
Jump to search
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; };