Operating IRC

From GnuCash
Revision as of 17:32, 5 March 2019 by Fell (talk | contribs) (ChanServ Help: fix syntax)
Jump to: navigation, search

As we are managing an IRC channel, here is some background, including a few operator commands: Commands to the server start with /.

Getting Operator Privileges

If you become a core developer of GnuCash, Operator Privilegs will be granted to you. There a two alternative ways to activate them (Gncbot is the preferred method):

From Gncbot

You need to register your nick[s] and a password once with gncbot. The easiest way to do that is to:

/msg gncbot register <name> <password>

Once you are registered, the channel owner needs to add you to the list of channel operators so that gncbot knows to provide channel ops. This is done via the capability add admin function: admin capability add <username> #gnucash,op.

Each time you connect, open a query with gncbot:

<you> identify <nick> <password>
<gncbot> The operation succeeded.
<you> op #gnucash

You can also do this within the #gnucash channel directly:

/msg gncbot identify <name> <password>
<gncbot> The operation succeeded
<you> @op
<gncbot> The operation succeeded

From IRC NickServ and ChanServ

You need to register your nick[s] and password once at GIMPnet IRC. You do this by sending a message to the NickServ identity to register after setting your nick:

/msg nickserv register <password> <email>
<nickserv> The operation Succeeded
Note
The email will be used in other nickserv commands like resetpass.

The channel owner then needs to add you to the list of users in the Channel Server. This is done by setting the user access in Chanserv: /msg ChanServ access #gnucash add <username> 5

Then each time you connect, you identify with your nick and password against GIMPnet IRC:

/msg nickserv identify <name> <password>
<nickserv> The operation succeeded

Gncbot

Usually at code.gnucash.org gncbot, currently a supybot, is running. He should manage the channel. There a 2 ways to contact him:

  1. In the gnucash channel precede commands by @. They are visible to other users.
  2. Open a query and enter commands there.

If you are in the operator group, he should grant you operator rights after identifying.

If gncbot got disconnected, sombody has to grant him the rights again:

/op gncbot to op the gncbot. @op gncbot returns an error.

If gncbot got a wrong name like gncbot', rename him by @nick gncbot.

Topic

Default
/t Free GPL Personal and Small Business Accounting || Please don't ask to ask, just ask and wait! (Possibly a few hours!!) || publicly-logged channel || latest stable: 5.9 || www.gnucash.org || wiki.gnucash.org/wiki/
under attack
/t Free GPL Personal and Small Business Accounting || Moderated mode: To get a voice, register with NickServ and then re-join. || Please don't ask to ask, just ask and wait! (Possibly a few hours!!) || publicly-logged channel || latest stable: 5.9 || www.gnucash.org || wiki.gnucash.org/wiki/

See #Channel Moderation.

Channel Moderation

On March 2, 2019, GIMPnet started receiving a flood of flyby spammers using random names AND a whole botnet worth of IP Addresses, making it difficult to defend against. To that end, we turned on channel moderation (requiring users to have a voice in order to say anything). This way we know users must have a registered account and can easily be banned if they misbehave. Then enabled NickServ and ChanServ to auto-voice identified users: /msg Chanserv levels #gnucash set autovoice 0

The next step was to turn moderation on in the #gnucash channel: /mode +m

If we feel that we don't need it anymore, we can turn it off (/mode -m and no longer require users to have a voice.

Freenode redirect

User:Jsled created in 2010 irc.freenode.net/gnucash with /topic „The real #gnucash is irc://irc.gnome.org/gnucash ; GnuCash - GPL Personal Finance and Small Business Management“.

Further Reading

ChanServ Help

/server irc.gnome.org
/msg ChanServ help
will return a text like
ChanServ allows you to register and control various aspects of channels. ChanServ can often prevent malicious users from "taking over" channels by limiting who is allowed channel operator privileges. Available commands are listed below; to use them, type
/msg ChanServ command. For more information on a specific command, type /msg ChanServ HELP command.
     BAN            Bans a given nick or mask on a channel
     DROP           Cancel the registration of a channel
     GETKEY         Returns the key of the given channel
     HELP           Displays this list and give information about commands
     INFO           Lists information about the specified registered channel
     INVITE         Invites you or an optionally specified nick into a channel
     KICK           Kicks a specified nick from a channel
     LIST           Lists all registered channels matching the given pattern
     REGISTER       Register a channel
     STATUS         Find a user's status on a channel
     UNBAN          Remove all bans preventing a user from entering a channel
  
Used to manage the list of privileged users
   ACCESS, AOP, FLAGS, HOP, LEVELS, QOP, SOP, VOP
  
Used to modify the channel status of you or other users
   DEHALFOP, DEOP, DEOWNER, DEPROTECT, DEVOICE, DOWN, HALFOP, OP, OWNER, PROTECT, UP, VOICE

Used to manage channels
   AKICK, CLONE, ENFORCE, ENTRYMSG, LOG, MODE, SET, SYNC, TOPIC

Use the HELP ALL command to list all commands and their descriptions.

Note that any channel which is not used for 6000 days (i.e. which no user on the channel's access list enters for that period of time) will be automatically dropped.