Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
help:irc:hostmasks [2007/02/12 22:53]
rubin
help:irc:hostmasks [2007/02/12 22:54]
rubin
Line 18: Line 18:
 ===== Masks in practice ===== ===== Masks in practice =====
 For example, my user@host string is Krobar!krobar@kro.bar, but if I added myself to the userlist that way and I didn't use the nickname Krobar one day, I wouldn't be recognized. On the flip side, if I added myself as *!*@*, then everyone would match. A typical mask is *!*UserID@*.Host This way any nickname used, from any machine in the domain is matched. The * in front of a UserID is usually a good idea, because some servers will add a ~ in front if identd (a nameserver of sorts) isn't working or is too slow. I typically add myself as *!*krobar@kro.bar For example, my user@host string is Krobar!krobar@kro.bar, but if I added myself to the userlist that way and I didn't use the nickname Krobar one day, I wouldn't be recognized. On the flip side, if I added myself as *!*@*, then everyone would match. A typical mask is *!*UserID@*.Host This way any nickname used, from any machine in the domain is matched. The * in front of a UserID is usually a good idea, because some servers will add a ~ in front if identd (a nameserver of sorts) isn't working or is too slow. I typically add myself as *!*krobar@kro.bar
 +
  
  
Line 25: Line 26:
 EXAMPLES: EXAMPLES:
 To match everyone with a .br country ending: To match everyone with a .br country ending:
-  *!*@*.br+  ''*!*@*.br''
 To match everyone with nick "warez": To match everyone with nick "warez":
-  warez!*@*+  ''warez!*@*''
 To match your friend John (John!jdoe@d-32.alaska.dialamerica.com): To match your friend John (John!jdoe@d-32.alaska.dialamerica.com):
-  %%*!*jdoe@*.alaska.dialamerica.com%%+  ''*!*jdoe@*.alaska.dialamerica.com''
 When John complains that he's not recognized when he dials in from Florida: When John complains that he's not recognized when he dials in from Florida:
-  %%*!*jdoe@*.dialamerica.com%%+  ''*!*jdoe@*.dialamerica.com
 To match John when his IP shows up instead: To match John when his IP shows up instead:
-  %%*!*jdoe@132.31.206.*%%+  ''*!*jdoe@132.31.206.*''
 To match people with the tell-tale "typehere" userid: To match people with the tell-tale "typehere" userid:
   *!*typehere@*   *!*typehere@*