Difference between revisions of "ExtendedBans"

From Chat4AllFAQ
Jump to: navigation, search
m
(Reworked the article with some better examples and better structure.)
Line 1: Line 1:
Extended Ban Tutorial
+
= Extended Bans Tutorial =
 +
This tutorial will teach you how to make use of the new banning possibilities that have become available to channel operators.
 +
It makes use of the new Extended Bans that have become available in UnrealIRCd.
  
    * Extensions to old bans
+
With UnrealIRCd comes the masking of IP/host addresses to secure the privacy of the chatters.
    * New bans
+
Such masked IP/Hostname makes it more difficult to find the real IP/Hostname of someone.
 +
The '''"+x"''' usermode indicates that masking is active. Ban evasion gets more complicated, a hostname ban matches both masked and unmasked hostnames. Same applies to IP addresses.
  
 +
== Wildcarding ==
 +
As for most bans go: you can wildcard parts of the ban mask by replacing the part with a asterisk ''*''.
 +
For instance, given the following user:
 +
  ''Nickname:'' Lamer
 +
  ''Ident:'' iamlame
 +
  ''Hostname:'' lamest.user.example
 +
  ''Full hostmask:'' Lamer!iamlame@lamest.user.example
 +
You could ban everyone with a nickname starting with Lamer, by banning:
 +
  Lamer*!*@*
 +
or you could ban everyone with 'lame' in his ident, by banning:
 +
  *!*lame*@*
 +
or you could ban the user by banning everyone from lamest.user.example:
 +
  *!*@lamest.user.example
 +
Of course this can all be combined as well, by banning everyone with a nickname starting with '''Lame''', an ident ending in '''amlame''' and a hostname ending with '''user.example''' by banning the following mask:
 +
  Lame*!*amlame@*.user.example
  
 
+
If wildcarding still isn't clear, please join #help on the Chat4All IRC Network and ask for more examples :)
== New Ban Types ==
 
 
 
 
 
With the new IRC software comes the masking of IP/host addresses to secure the privacy of the chatters. Such masked IP/Hostname makes it more difficult to find the real IP/Hostname of someone. the '''"+x"''' usermode indicates that masking is active. Ban evasion gets more complicated, a hostname ban matches both masked and unmasked hostnames. Same applies to IP addresses.
 
  
 
== New ban modifiers ==
 
== New ban modifiers ==
 
 
 
New in the IRC software are the extended bans. Extended bans have the following syntaxis :
 
New in the IRC software are the extended bans. Extended bans have the following syntaxis :
 
  <type>:<stuff>
 
  <type>:<stuff>
Line 23: Line 35:
 
  * ~r : realname
 
  * ~r : realname
  
'''~q - Quiet'''<br />
+
=== ~q: (Quiet) ===
eg : ''/mode #channel +b ~q:*!*@*.test.be''<br />
+
The ~q extended ban will ban a user matching the ban from talking in a room, but will still allow them to enter the channel, or change their nick while being on the channel.
05:40 -!- mode/#lounge <nowiki>[+b ~q:*!*@*.test.be]</nowiki> by Jay<br />
+
Chatters matching this banmask are unable to speak unless they have +v or higher.
 +
 
 +
''Syntax:''
 +
  /mode #channel +b ~q:nick!ident@host.mask
 +
 
 +
''Example:''
 +
  /mode #lounge +b ~q:*!*@*.aol.com
 +
  05:40 -!- mode/#lounge <nowiki>[+b ~q:*!*@*.aol.com]</nowiki> by Jay
 +
would refuse anyone from AOL ('''*!*@*.aol.com''') to talk on '''#lounge'''. However, they would still be allowed to join the room and listen to others talking.
 +
 
 +
=== ~n: (Nickchange) ===
 +
The ~n extended ban will disallow nickname changes from people matching the banmask for as long as they are in the room. As with all bans, it will become useless if they have a voice (+v) or higher.
  
chatters matching this banmask are unable to speak unless they have +v or higher.
+
''Syntax:''
----
+
  /mode #channel +b ~n:nick!ident@host.mask
  
 +
Example:
 +
  ''/mode #lounge +b ~n:*!*@*.test.be''<br />
 +
  05:42 -!- mode/#lounge <nowiki>[+b ~n:*!*@*.test.be]</nowiki> by Jay<br />
 +
would refuse any chatters coming from '''test.be''' to change nickname while they are in '''#lounge'''. Unless they are voiced or higher.
  
'''~n - Nickchange'''<br />
+
=== ~c (Channel) ===
eg : ''/mode #channel +b ~n:*!*@*.test.be''<br />
+
If you have a lot of trolls coming from a rival channel, you might want to ban all chatters that are also present on that channel. The ~c extended ban can be used for that.
05:42 -!- mode/#lounge <nowiki>[+b ~n:*!*@*.test.be]</nowiki> by Jay<br />
 
  
chatters matching this banmask are unable to change nickname while they are in that chatroom. Unless they have +v or higher.
+
''Syntax:''
----
+
  /mode #channel +b ~c:#otherChannel
  
'''~c - Channel'''<br />
+
''Example:''
eg : ''/mode #channel +b ~c:#otherchannel''<br />
+
  /mode #lounge +b ~c:#lamerz
05:47 -!- mode/#lounge <nowiki>[+b ~c:#lamerz]</nowiki> by Jay<br />
+
  05:47 -!- mode/#lounge <nowiki>[+b ~c:#lamerz]</nowiki> by Jay<br />
 +
would ban access to '''#lounge''' to any chatters who are also on the '''#lamerz''' channel.
  
Chatters who are in that channel are unable to join your channel.
+
=== ~r (Realname) ===
----
+
''Syntax:''
 +
  ''/mode #channel +b ~r:real_name_goes_here''
 +
'''''Attention:''' replace your spaces by an underscore (''_'') , since spaces aren't allowed in bans. An underscore will then be recognised as either an underscore or a space.''
  
'''~r - Realname'''<br />
+
''Example:''
eg : ''/mode #channel +b ~r:*some real name*''<br />
+
  /mode #lounge +b ~r:netbus_pro*
05:50 -!- mode/#lounge <nowiki>[+b ~r:*netbus_pro*]</nowiki> by Jay<br />
+
  05:50 -!- mode/#lounge <nowiki>[+b ~r:netbus_pro*]</nowiki> by Jay<br />
'''''Attention:''' replace your spaces by _ , _ will be recognized as a space or _''<br />
+
If the realname of a chatter starts with netbus_pro , then (s)he will be unable to join #lounge.
<br />
 
If the realname of a chatter matches this ban , then (s)he will be unable to join
 
----
 
  
You'll see a message like this one, when you are banned :<br />
+
=== Result ===
06:51 <nowiki>[someUser]</nowiki> test answer :)<br />
+
When you are banned and still try to talk (in case of ~q ban), or try to change your nickname (in case of ~n ban) or try to join while you match a channel (~c) or realname (~r) ban, you will see the following message:
06:51 #lounge You are banned (#lounge)<br />
+
  06:51 <nowiki>[someUser]</nowiki> test answer :)
 +
  06:51 #lounge You are banned (#lounge)

Revision as of 19:18, 7 June 2009

Extended Bans Tutorial

This tutorial will teach you how to make use of the new banning possibilities that have become available to channel operators. It makes use of the new Extended Bans that have become available in UnrealIRCd.

With UnrealIRCd comes the masking of IP/host addresses to secure the privacy of the chatters. Such masked IP/Hostname makes it more difficult to find the real IP/Hostname of someone. The "+x" usermode indicates that masking is active. Ban evasion gets more complicated, a hostname ban matches both masked and unmasked hostnames. Same applies to IP addresses.

Wildcarding

As for most bans go: you can wildcard parts of the ban mask by replacing the part with a asterisk *. For instance, given the following user:

 Nickname: Lamer
 Ident: iamlame
 Hostname: lamest.user.example
 Full hostmask: Lamer!iamlame@lamest.user.example

You could ban everyone with a nickname starting with Lamer, by banning:

 Lamer*!*@*

or you could ban everyone with 'lame' in his ident, by banning:

 *!*lame*@*

or you could ban the user by banning everyone from lamest.user.example:

 *!*@lamest.user.example

Of course this can all be combined as well, by banning everyone with a nickname starting with Lame, an ident ending in amlame and a hostname ending with user.example by banning the following mask:

 Lame*!*amlame@*.user.example

If wildcarding still isn't clear, please join #help on the Chat4All IRC Network and ask for more examples :)

New ban modifiers

New in the IRC software are the extended bans. Extended bans have the following syntaxis :

<type>:<stuff>

The different types :

* ~q : quiet
* ~n : nickchange (Anti-Flood Feature)
* ~c : channel
* ~r : realname

~q: (Quiet)

The ~q extended ban will ban a user matching the ban from talking in a room, but will still allow them to enter the channel, or change their nick while being on the channel. Chatters matching this banmask are unable to speak unless they have +v or higher.

Syntax:

  /mode #channel +b ~q:nick!ident@host.mask

Example:

  /mode #lounge +b ~q:*!*@*.aol.com
  05:40 -!- mode/#lounge [+b ~q:*!*@*.aol.com] by Jay

would refuse anyone from AOL (*!*@*.aol.com) to talk on #lounge. However, they would still be allowed to join the room and listen to others talking.

~n: (Nickchange)

The ~n extended ban will disallow nickname changes from people matching the banmask for as long as they are in the room. As with all bans, it will become useless if they have a voice (+v) or higher.

Syntax:

  /mode #channel +b ~n:nick!ident@host.mask

Example:

 /mode #lounge +b ~n:*!*@*.test.be
05:42 -!- mode/#lounge [+b ~n:*!*@*.test.be] by Jay

would refuse any chatters coming from test.be to change nickname while they are in #lounge. Unless they are voiced or higher.

~c (Channel)

If you have a lot of trolls coming from a rival channel, you might want to ban all chatters that are also present on that channel. The ~c extended ban can be used for that.

Syntax:

  /mode #channel +b ~c:#otherChannel

Example:

 /mode #lounge +b ~c:#lamerz
 05:47 -!- mode/#lounge [+b ~c:#lamerz] by Jay

would ban access to #lounge to any chatters who are also on the #lamerz channel.

~r (Realname)

Syntax:

  /mode #channel +b ~r:real_name_goes_here

Attention: replace your spaces by an underscore (_) , since spaces aren't allowed in bans. An underscore will then be recognised as either an underscore or a space.

Example:

 /mode #lounge +b ~r:netbus_pro*
 05:50 -!- mode/#lounge [+b ~r:netbus_pro*] by Jay

If the realname of a chatter starts with netbus_pro , then (s)he will be unable to join #lounge.

Result

When you are banned and still try to talk (in case of ~q ban), or try to change your nickname (in case of ~n ban) or try to join while you match a channel (~c) or realname (~r) ban, you will see the following message:

 06:51 [someUser] test answer :)
 06:51 #lounge You are banned (#lounge)