DALnet XFlags FAQ

Version 1.3.0


Last revised by h () on 2018-10-08

Originally written by h () on 2018-10-05

Please direct any comments or feedback about this document (only! no help requests!) to docs@dal.net. If you need help on issues not covered in this document, please see the information at http://help.dal.net.

Introduction

A common question on DALnet is: "How can I stop floodbots from attacking my channel?". This document attempts to help stop or at least minimize the flooding. It explains the new eXtended flags command and how it exactly works, and why it might be needed in the channel.

Contents

1 · What is XFLAG?

The XFLAG is a command that prevents floodbots or annoying users from abusing your channel with unwanted messages or notices. The extended channel flags can be set by the managers or the founder only.

NOTE: This feature can help you to avoid attackers from abusing your channel, and it can make your channel more secured. For more information please read the article https://www.dal.net/kb/view.php?kb=414

2 · Do I need XFLAG?

In most cases, the answer is "no". DALnet's Channel modes are designed to prevent floodbots from joining your channel and stop them from their misbehavior. In fact, you can still set your channel to +RM. Read more about channel modes in http://docs.dal.net/docs/modes.html.

There are many options and values for extended flags in your channel, and they are all going to be explained one by one in this FAQ. We will also show you how to set your channel XFLAG to the recommended options which will protect your channel from being abused, or reset it to default option. Please check our special eXtended Flags at section 5

3 · How to check a channel eXtended flags

To check a channel XFLAG, you will need to be at least an AOp to issue the command.

XFLAG Command: /chanserv XFLAG #channel

Below is an example of what the XFLAG INFO request may return as an information for the channel #docsteam:

-ChanServ- XFLAGs for the channel #docsteam:
-ChanServ- JOIN_CONNECT_TIME: 30
-ChanServ- TALK_CONNECT_TIME: 0
-ChanServ- TALK_JOIN_TIME: 60
-ChanServ- GREETMSG: This channel is protected due to abuse, you may need to wait 30 seconds before being able to talk! (read-only)
-ChanServ- NO_NOTICE: On
-ChanServ- NO_CTCP: On
-ChanServ- NO_PART_MSG: On
-ChanServ- NO_QUIT_MSG: On
-ChanServ- EXEMPT_OPPED: On
-ChanServ- EXEMPT_VOICED: On
-ChanServ- EXEMPT_IDENTD: On
-ChanServ- EXEMPT_REGISTERED: On
-ChanServ- EXEMPT_INVITES: On
-ChanServ- End of list.

NOTE:In this example, users will only be able to join the channel after being online for 30 seconds and will only be able to talk on the channel after 60 seconds (+r'ed users and users with identd will be exempted from both, while voiced+opped users will be exempted from the 30 seconds delay). In fact, you can use a recommended eXtended flags, for more information please check section 5.

4 · What is the XFLAG Command?

Syntax: /chanserv XFLAG #channel option:value [...] option:value

Information: You can set an option and value for your channel to extend the security of your channel.

Note: Users can add them all in a row "all in one command". For more help /msg ChanServ@services.dal.net XFLAG HELP.

4.1 Join connect time

Syntax: /chanserv XFLAG #channel JOIN_CONNECT_TIME:VALUE

Information: Number of seconds the user must be online in DALnet network to be able to join your channel. For example, if you want users to stay 10 seconds in a queue before they join your channel, you need to change the word VALUE to 10.

4.2 Talk connect time

Syntax: /chanserv XFLAG #channel TALK_CONNECT_TIME:VALUE

Information: Number of seconds the user must be online in DALnet network to be able to talk on your channel. For example, if you want users to wait 30 seconds before they talks in your channel, you need to change the word VALUE to 30.

4.3 Talk Join time

Syntax: /chanserv XFLAG #channel TALK_JOIN_TIME:VALUE

Information: Number of seconds the user must be on the channel to be able to talk on your channel. For example, if you want users to be muted for 15 seconds after they join your channel, you need to change the word VALUE to 15.

4.4 Notice

Syntax: /chanserv XFLAG #channel NO_NOTICE:ON/OFF

Information: You will prevent anyone from sending notices to your channel.

4.5 CTCP

Syntax: /chanserv XFLAG #channel NO_CTCP:ON/OFF

Information: You will prevent users from sending CTCP to check other users info like ping, time, version, userinfo or clientinfo on your channel.

4.6 Part Messages

Syntax: /chanserv XFLAG #channel NO_PART_MSG:ON/OFF

Information: Part messages from users that leave the channel will not be shown to the users who are in your channel.

4.7 Quit Messages

Syntax: /chanserv XFLAG #channel NO_QUIT_MSG:ON/OFF

Information: You will not see any quit message from quitting users in your channel unless you turn this option OFF.

4.8 Exempt Opped

Syntax: /chanserv XFLAG #channel EXEMPT_OPPED:ON/OFF

Information: You can exempt your ops from other channel XFLAG options you have set.

4.9 Exempt Voiced

Syntax: /chanserv XFLAG #channel EXEMPT_VOICED:ON/OFF

Information: You can exempt voiced users from your channel XFLAG options you have set.

4.10 Exempt Identd

Syntax: /chanserv XFLAG #channel EXEMPT_IDENTD:ON/OFF

Information: Your users with ident ON will be exempted from your channel XFLAG options you have set.

4.11 Exempt Registered Nicks

Syntax: /chanserv XFLAG #channel EXEMPT_REGISTERED:ON/OFF

Information: Users with the umode +r will be exempted from your channel XFLAG options you have set.

4.12 Exempt Invited users

Syntax: /chanserv XFLAG #channel EXEMPT_INVITES:ON/OFF

Information: Users with the channelmode +I will be exempted from your channel XFLAG options you have set.

5 · Special XFLAG

DALnet has designed special flags for the channels that are being flooded. In fact, you can also set your own desired options with the special eXtended flags.

5.1 Recommended

Syntax: /chanserv XFLAG #channel RECOMMENDED

Information: Recommended option will stop unwanted users who join your channel for flooding from talking for 30 seconds and will prevent them from sending any notice or ctcps to channel users. Exempted from that are opped, voiced, registered and invited users. All those options can be set using this one command.

5.2 Default

Syntax: /chanserv XFLAG #channel DEFAULT

Information: This option will reset all eXtended flags to off and 0.

6 · Conclusion

During a huge flood, this feature will minimize the flood effect on channels. These flags will be controlled by DALnet services, and will be available to all channels and IRC Operator will be able to check the channel flags.