mikaela.github.io/blog/_posts/2015-03-18-nodcc.md

40 lines
1.6 KiB
Markdown
Raw Normal View History

2015-03-18 18:41:33 +01:00
---
layout: post
comments: true
title: "Don't use DCC & How to disable it"
category: [english]
tags: [irc, english]
2018-11-25 23:51:24 +01:00
redirect_from: /english/2015/03/18/nodcc.html
2015-03-18 18:41:33 +01:00
---
DCC was way to send files and chat without having IRC server in the
between. It's not very common nowadays and what is done nowadays is
uploading images etc. to social media services or web servers or using
other file transfer protocols.
Here are some reasons to not use it:
2023-02-22 19:28:38 +01:00
- There is no proper standard or if there is, no one follows it, all
2015-03-18 18:41:33 +01:00
clients speak their own dialects and may be unable to communicate with
other clients. Not all clients even implement the same features.
2023-02-22 19:28:38 +01:00
- NAT and firewalls break it
- As DCC requires port on sending/hosting side, it must be opened in
firewall and if there is NAT which there is in most of situations
nowadays, the port must be forwarded. Most of average users have
no idea how to do the latter if even the first.
- The only place where most of people see it is spam. The only thing lately
2015-03-18 18:41:33 +01:00
where people have seen is two attacks which @grawity has documented
[here](https://nullroute.eu.org/~grawity/dcc.html)
## Disabling DCC
This depends on your client and I am only able to give instructions for
three:
2023-02-22 19:28:38 +01:00
- WeeChat: "`/plugin unload xfer`" and "`/set weechat.plugin.autoload *,!xfer`"
- The option in second command can be also be used to not automatically
load other plugins, I personally use `/set weechat.plugin.autoload alias,exec,irc,perl,python,script,trigger,logger`.
The `*,!xfer` simply means load everything else than xfer.
- HexChat: "`/ignore *!*@* DCC`"
- ZNC & clients behind it: "`/znc *controlpanel addctcp $me DCC`"