1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-06-28 06:16:37 +02:00
Files
unrealircd/src/modules
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
..
2004-11-04 21:42:34 +00:00
2005-01-15 00:39:10 +00:00
2004-05-28 00:44:07 +00:00
2004-02-22 18:41:06 +00:00
2005-02-03 17:04:45 +00:00
2004-02-16 23:17:13 +00:00
2004-05-12 22:02:05 +00:00
2005-01-29 16:55:30 +00:00
2004-06-17 21:16:58 +00:00
2004-09-04 15:53:02 +00:00
2004-02-16 23:17:13 +00:00
2004-02-22 18:41:06 +00:00
2004-05-12 22:02:05 +00:00