Documents Project
The Documents Project, formerly known as Doco-Com, is responsible for creating and maintaining useful resource documentation for the Undernet community. Both new and experienced IRC users will find information here on everything from downloading an IRC client to explanation of the various protocols.
Posted on 7th Apr 2020 23:30:29 in About Undernet
What is chanfix? Chanfix, also known as 'C' is a service which keeps scores for registered users in IRC channels, so that members of channels with high scores can be reopped. This will not be true if less than four (4) people have been present on your channel. Chanfix begins to score when four people are present in a channel at the same time, at least one of the four must be logged into X, and opped in the channel, whether or not they use /mode nick +x. If you join a channel, the first person in is automatically opped. He/she can op their friends, but if a friend turns out to be a baddie, he/she can deop you and then they own it, unless one of you has a score in C. If everyone in your channel gets deopped, Chanfix will immediately begin to reop the channel. If people with high scores are there, or join the channel, C will op the highest scoring ops first and keep opping until 5 users are opped, or no one has a high enough score. If you op your friends, C will stop opping. If none of the high scoring people logs into X and joins the channel, C will keep keep working for a few days. Chanfix knows who you are! It knows who joined the channel in the first three days of its life, and it remembers who was opped in the last two weeks, (14 days). This stranger in your channel may have pretended to be your friend. They might have a score too. You can tell who has a high score with the command /msg C CanFix #channel. C may reply with something that looks like this: -C- Accounts who can issue fixes in channel #channel: These dates and times show: You will probably want to know more of the 'nitty gritty' of how Chanfix works - please read below. :-) Chanfix is the product of several years consideration of how Undernet can assist users in maintaining control of channels which don't have X. Chanfix will only keep track of channels that: Are not registered with X. Chanfix only tracks channel ops that are logged in to X. It does NOT matter if these ops are +x'ed or not. For every 5 minutes you are opped, you get 1 point. Chanfix works three ways: automatically, by the request of IRC Operators (opers), or at the request of members of the channel with high scores. Score calculation in Chanfix Version 2.0, is based upon two different calculations: a) Opped Time: For every 5 minutes that a person is logged into X and oped in the channel, you get 1 point. (12 intervals/hour *24 hours/day * 14 days = 4032). If the first opped timestamp is greater than 30 days, we have a factor x which equals 3000 / (# of days since oldest op timestamp), otherwise, x is simply 100. Then we multiply this factor times the number of days since this user was first opped. This total is then added to the users score. Max given points: 3000. Chanfix can keep reopping its 5 top channel ops based on score for up to an hour. Channels requesting a 'fix', must meet certain criteria: The person sending the command must have a score higher than 1000 points. C's possible answers when using REQUESTOP: If for any reason. you feel you may have received one of these replies in error, please ask in channel: #help.
On Undernet, if you have an X username and have been logging in to X, joining a channel, and being opped regularly, you probably have a score in Chanfix.
You need to be opped in the channel for 13.6 hours, in the two week scoring period, for C to start to build a score for you. You get 1 point for every 5 minutes opped.
Let's talk about what happens if a stranger gets opped in your channel and deops you and your friends.
It's important to be opped! If you haven't joined the channel for 14 days, and been logged into X and opped, Chanfix's scores are cleared./msg c canfix #channel
-C- Account -- Time first opped / Time last opped
-C- SomeFriend -- 2010-09-15 / 2011-10-30 17:22:24
-C- PalOfMine -- 2010-12-01 / 2011-10-30 17:22:24
-C- ThatGuy -- 2010-09-16 / 2011-10-30 17:22:24
1. The first time the user was opped in the channel.
2. The most recent time they got opped. IRC Operators find this information useful in making fine determinations.
CanFix will only reply to the people who are qualified to issue the REQUESTOP
command.
These users will be able to issue /msg C requestop #channel contact
.
If C replies: "You do not have a high enough score for #channel to check canfix list." - you will need to look for friends who were opped more than you were.
Then, ask the likely friends to try sending: /msg C CanFix #channel
and, if they have a score, then the command: /msg C requestop #channel contact
.
You will be able to send this command yourself, if /msg C CanFix #channel
shows your username./msg C REQUESTOP #channel contact
- will clearmode the channel, removing all modes, bans, voice, ops. 2. Will begin to op the highest scoring ops. 3. typing 'contact' notifies the highest scoring channel members, so that they can rejoin the channel and be opped by Chanfix or their friends.
Always teach /
type the command as /msg C REQUESTOP #channel contact
- failing to do this will result in members not being informed.
Chanfix and Requestop are designed to assist with obvious takeovers and reopping. They are not intended to replace the sound judgment of experienced IRC Operators, who are able to exercise discernment and make choices that Chanfix can't make.
If you have any questions or problems, a situation in which Chanfix tells you it can't help, please always join #Help helpers and opers will be happy to assist you.
The Coding staff released Chanfix in stages, as each part took many hours of coding and extensive testing.
In times past, from day to day across Undernet, users were confronted with the loss of ops by takeovers, splits, and connection issues.
Every situation required effort from helpers and IRC Operators, (opers), and much user and oper time. Opers and helpers needed to search through logs and listen to arguments in order to determine the rightful owner of a channel.
The mediations often took so long that users could be waiting in an oper help channel for hours before being assisted. People were often frustrated.
Undernet and the coding staff are always looking for ways to improve. Chanfix and the REQUESTOP
command are the culmination of a great deal of effort.
The Chanfix system was developed to keep track of which ops have been opped the longest, and based on that, determines who will be reopped.
The automation of most reopping makes maintaining channels simpler, and prevents the loss of ops and takeovers by newcomers.
Chanfix and Requestop are designed to assist with obvious takeovers and reopping. They are not intended to replace the sound judgment of experienced IRC Operators, who are able to exercise discernment and make choices that Chanfix can't make.
Chanfix allows regular ops to be automatically reopped, and enables established regulars to help themselves recover from most takeovers.
IRC Operators will still be available, and are needed to assist in those situations where Chanfix is not able to perform the reop.
Have at least 1 op with a registered X username.
Have at least 4 users.
Because Chanfix keeps data based on how long users have been opped, its data is highly reliable.
More highly respected and trusted channel ops will have been opped longer in most cases, thus will get ops first in a fix.
When chanfix "fixes", or is in the process of reopping a channel, it can op the top 5 highest scoring ops that it finds on the channel.
These ops must have been opped for at least 13.5 hours total, over the past 2 weeks, to be considered for ops by chanfix.
Chanfix decides who it will op based on a score. Each op Chanfix sees has their own score, between 1 and 7032.
To get ops at all, you must have at least 281 points.
Chanfix will automatically start fixing your channel if it is opless.
A takeover exists when someone who should not be opped, a stranger, someone who has recently been opped, is opped alone, or removes ops from others. They may ban the other members from the room etc.
If someone becomes opped who should not be there, it can be considered a takeover. If none of the regular ops are opped to remove them, someone who has been opped regularly may try issuing the REQUESTOP
command.
Chanfix follows the same procedure to determine who be can reopped, both manually and automatically.
Chanfix begins with the highest possible score: 7032, and determines who can be opped.
b) First Time Opped: Chanfix tracks the first time, (in Chanfix's memory), that someone was ever opped in the channel. It sees the timestamp of the user who was first opped, (oldest timestamp known), in addition, it calculate the days since a user was opped, (up to 14 days).
If you have 7032 points, you will be reopped instantly
If none of the uses with high scores joins the Channel, Chanfix will continue to run until the scores diminish.
Chanfix keeps track of the last fourteen days of score. If a user does not join the channel or op, his score will decrease over time.
If ops are lost, it is important to begin the reopping procedure, either by using the commands or visiting a reop channel for help, as soon as possible.
As of September 2011, Undernet has a way for people who have been regularly logged into X, and opped in unregistered channels, to regain control of their channel without any IRC Operator intervention.
Chanfix (C) is now able to decide, using the algorithm, whether or not there has been a takeover, and op those who have the highest scores.
This is possible by using the command: /msg c REQUESTOP #channel [contact]. Users with appropriately high scores, can use Chanfix (C), in a similar way to an IRC Operator's manual Chanfix./msg C REQUESTOP #channel contact
- will clearmode the channel, removing all modes, bans, ops. 2. Will begin to op the highest scoring ops. 3. typing 'contact' notifies the highest scoring channel members, so that they can rejoin the channel and be opped by Chanfix or their friends.
Always teach /
type the command as /msg C REQUESTOP #channel contact
- failing to do this will result in members not being informed.
The person sending the command must be in the top 10 highest channel scores.
No one is opped on the channel with a high score (>2000 points). If a high scoring user is already opped, then it is not considered a take-over, and C will not act.
The person sending the request must have a higher score than anyone who is opped. If the person sending the request has a lower score than any of the current ops, again it is not considered a channel takeover.
There is no one opped on the channel with a 'first opped date' within 3 days of the oldest first opped date. This prevents newer ops that might have higher scores from requesting a chanfix.
/msg x op #channel_name
to be opped./msg C REQUESTOP
command. Look for someone whom you believe was logged into X and opped more than you were, to suggest that they send the command./msg c CanFix #channel_name
, you will know whose score will be high enough to initiate reopping./msg c REQUESTOP
#channel.REQUESTOP
command requires a certain delay between requests. If a channel was just fixed, you'll need to wait the specified number of seconds, before repeating the command./msg c REQUESTOP #class contact
).REQUESTOP
, or you may see a message like this, and will need to wait 14,000 years, or try to get help in #help or #zt.