Difference between revisions of "IRC"

753 bytes added ,  22:08, 3 June 2021
adding +s stops spam attacks
(Simplify it)
(adding +s stops spam attacks)
 
(8 intermediate revisions by 2 users not shown)
Line 6: Line 6:
!width="180" style="background:#ffdead;" | Server(s)
!width="180" style="background:#ffdead;" | Server(s)
|- style="background:#efefef;"  
|- style="background:#efefef;"  
| FOSS Community India || #fsci || [irc://irc.oftc.net irc.freenode.net], irc.wikicities.com
| FOSS Community India || #fsci || [irc://irc.oftc.net irc.oftc.net]
|-
|-
| GNU India || #gnu-india || [irc://irc.freenode.net irc.freenode.net]
| GNU India || #gnu-india || [irc://irc.freenode.net irc.freenode.net]
Line 41: Line 41:
# Invite @oftc-irc:matrix.org to the new chat
# Invite @oftc-irc:matrix.org to the new chat
# Say !nick <yournick>  
# Say !nick <yournick>  
# A request for new chat with NickServ will pop up (if not invite @_oftc_NickServ:matrix.org). Accept it and identify yourself with your OFTC password (identify <password>)
# A request for new chat with NickServ will pop up (if not invite @_oftc_NickServ:matrix.org). Accept it.
# Send "REGISTER <password> <email>"
# Send "REGISTER <password> <email>" to register your nickname.
# "identify <password>" can be used to authenticate (in case the bridge reconnects)


This works for nicks that are known to matrix.org, i.e. if the nick has never joined an IRC channel that was bridged to matrix it won't work.
== Fighting IRC spam ==
 
The following commands should be sent to '''@oftc-irc:matrix.org''' for OFTC channels or '''@appservice-irc:matrix.org''' for Freenode channels.
 
''Unlist the room from directory'''
This effectively stops all mass spamming attacks.
* From Matrix:
    !cmd MODE #<channel name> +s
 
* From IRC:
    "/mode #<channel name> +s"
 
1. '''Quiet all unregistered users:'''
* From Matrix:
    "!cmd MODE #<channel name> +q $~a"
 
* From IRC:
    "/mode #<channel name> +q $~a"
 
2. '''Add Matrix users to the exemption list'''
 
* From Matrix:
 
** For Freenode:
    "!cmd MODE #<channel name> +e *!*@gateway/shell/matrix.org/*"
 
** For OFTC:
    "!cmd MODE #<channel name> +e *!*@2001:470:1af1:101:*"
 
* From IRC:
 
** For Freenode:
    "/mode #<channel name> +e *!*@gateway/shell/matrix.org/*"
 
** For OFTC:
    "/mode #<channel name> +e *!*@2001:470:1af1:101:*"