1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-06-29 18:46:37 +02:00
Files
unrealircd/include
Bram Matthys 8607d950b7 - Made the IRCd calculate the cloaked host only once upon connect, and store (cache) it.
- When checking if a user is banned, we always check the cloakhost too. Previously we could
  not do this if the user had a /VHOST (=a minority of the cases, but still...). In short,
  this is some extra protection to combat ban evasion.
- Performance of is_banned() *slightly* improved (just 1-2 usec, but 7 usec if no bans).
- [Module coders] For extban routines, we now offer a routine extban_is_banned_helper(buf)
  which can be used instead of the ban_realhost/etc static chars stuff, see
  extban_modeq_is_banned for a (real-life) example of how this is used.
- [Services coders!] Added PROTOCTL CLK (requires NICKv2) which adds an extra field in the
  NICK command (when a user connects) right before the infofield (gecos).
  The added field contains the cloaked host, that is: the masked host if +x would have been
  set. This field is ALWAYS sent, regardless of whether the user is actually +x or not.
  Services can then store this field in memory, to know the host of the user if the user
  is set +x (+x-t). This is a (better) alternative to PROTOCTL VHP, with no race conditions,
  and avoids some other VHP problems.
  VHP will stay supported though... so it's not mandatory to switch over.
2006-04-16 23:27:56 +00:00
..
2006-04-11 22:27:35 +00:00
2004-01-08 19:00:44 +00:00
2003-01-02 19:32:58 +00:00
2002-03-05 23:09:39 +00:00
2002-01-19 17:04:04 +00:00
2004-05-12 22:02:05 +00:00
2002-02-16 20:15:41 +00:00
...
2004-11-26 22:28:13 +00:00
2004-05-12 23:05:40 +00:00
2001-04-16 15:36:30 +00:00
2000-02-28 22:45:44 +00:00
2004-05-12 22:02:05 +00:00
2000-07-14 20:22:59 +00:00
2004-05-13 16:39:23 +00:00
2004-05-13 16:39:23 +00:00
2004-02-22 02:52:12 +00:00
2004-05-13 16:39:23 +00:00