2015-03-18 18:41:33 +01:00
|
|
|
---
|
|
|
|
layout: post
|
2024-06-03 08:48:19 +02:00
|
|
|
sitemap: true
|
|
|
|
robots: noai
|
2015-03-18 18:41:33 +01:00
|
|
|
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
|
|
|
---
|
|
|
|
|
2024-06-19 07:19:44 +02: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.
|
2015-03-18 18:41:33 +01:00
|
|
|
|
|
|
|
Here are some reasons to not use it:
|
|
|
|
|
2024-06-19 07:19:44 +02:00
|
|
|
- There is no proper standard or if there is, no one follows it, all 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
|
2024-06-19 07:19:44 +02:00
|
|
|
- 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.
|
2023-02-22 19:28:38 +01:00
|
|
|
- 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
|
|
|
|
|
2024-06-19 07:19:44 +02:00
|
|
|
This depends on your client and I am only able to give instructions for three:
|
2015-03-18 18:41:33 +01:00
|
|
|
|
2023-02-22 19:28:38 +01:00
|
|
|
- WeeChat: "`/plugin unload xfer`" and "`/set weechat.plugin.autoload *,!xfer`"
|
2024-06-19 07:19:44 +02:00
|
|
|
- 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`.
|
2023-02-22 19:28:38 +01:00
|
|
|
The `*,!xfer` simply means load everything else than xfer.
|
|
|
|
- HexChat: "`/ignore *!*@* DCC`"
|
|
|
|
- ZNC & clients behind it: "`/znc *controlpanel addctcp $me DCC`"
|