Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
help:irc:hostmasks [2007/02/12 22:54]
rubin
help:irc:hostmasks [2007/02/12 22:55]
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 26: Line 27:
 EXAMPLES: EXAMPLES:
 To match everyone with a .br country ending: To match everyone with a .br country ending:
-  ''*!*@*.br''+  <code>*!*@*.br</code>
 To match everyone with nick "warez": To match everyone with nick "warez":
   ''warez!*@*''   ''warez!*@*''