Commit graph

  • 5ca543e7c5 Remove FLAGS2_NOLIMIT (IsExemptLimits/SetExemptLimits). This only has an effect at connection time, and the ConfItem flag suffices for that. Jilles Tjoelker 2008-01-06 00:16:57 +0100
  • e4b9c8e115 Add two missing colons for sendto_one_notice(). Jilles Tjoelker 2008-01-06 00:12:51 +0100
  • c728f9934c Add PRIVS extension, a command that shows oper and some auth{} privileges. Jilles Tjoelker 2008-01-05 23:59:43 +0100
  • 19c13ce523 flag_table -> oper_table (more descriptive name) Jilles Tjoelker 2008-01-05 22:51:09 +0100
  • 0a621c4b5b If stats k is masked for nonopers, treat stats k and K the same. There is no point in forcing two stats requests for just one line of information. Jilles Tjoelker 2008-01-05 17:00:00 +0100
  • de82e84fae Use a more expected value for SHARED_TRESV. Jilles Tjoelker 2008-01-05 14:58:13 +0100
  • b4838ccdf5 Show full flag name, not letter, when refusing to set umode +s +n or +a. Jilles Tjoelker 2008-01-05 01:37:03 +0100
  • 86737148fa sgml docs: kline_exempt does not exempt from D:lines in any way Jilles Tjoelker 2008-01-05 00:52:02 +0100
  • 962747349b Send a rate-limited server notice if a blacklist gives a non-127.0.0.x reply. Jilles Tjoelker 2008-01-05 00:38:23 +0100
  • 1115a7a586 Various updates to the INSTALL document. Jilles Tjoelker 2008-01-04 18:50:46 +0100
  • fddc5ee420 config.h: remove some obsolete options, move MAX_BUFFER to tunable section Jilles Tjoelker 2008-01-04 18:42:59 +0100
  • be462ae76a Overwrite config.h.dist with config.h. config.h.dist serves no purpose other than a backup copy for local changes to config.h Jilles Tjoelker 2008-01-04 18:33:36 +0100
  • a260ff7df8 Charybdis does not have --enable-services, it is always enabled. Jilles Tjoelker 2008-01-04 17:29:15 +0100
  • 05ee179e43 Update some copyright years. Jilles Tjoelker 2008-01-02 22:34:29 +0100
  • 137d856d65 Only accept 127.0.0.x as a dnsbl listing. Jilles Tjoelker 2008-01-02 22:32:09 +0100
  • 85e132a46f Update main copyright year. Jilles Tjoelker 2008-01-02 00:09:50 +0100
  • c8de4f0037 Include time the k/d line was set in the reason when reading ban confs. This correspond to what happens when a kline or dline is set. Jilles Tjoelker 2008-01-02 00:06:08 +0100
  • cdd5b26189 Remove idle time checking (auto disconnecting users idle too long). Jilles Tjoelker 2008-01-01 23:04:34 +0100
  • c14b0e4030 Document special characters in stats i/testmask in sgml. Jilles Tjoelker 2008-01-01 22:40:22 +0100
  • c4f13a6499 STATS I and TESTMASK: Show some more auth{} flags. flood_exempt (|), dnsbl_exempt ($), gline_exempt (_) All these are only shown to opers. Jilles Tjoelker 2008-01-01 21:54:27 +0100
  • f56fdec2a0 Fix a crash when connecting to a server. Jilles Tjoelker 2008-01-01 18:47:10 +0100
  • a63a1eab74 STATS I: Show spoofed auth{} blocks and ^<> flags to remote opers also. Jilles Tjoelker 2008-01-01 18:25:04 +0100
  • 997613d2f3 Fix a crash after a local client exits. Jilles Tjoelker 2008-01-01 18:15:56 +0100
  • d61de0adff Remove various obsolete ConfItem statuses (types) and flags. Jilles Tjoelker 2008-01-01 16:06:59 +0100
  • 7a8dcc086d Remove long obsolete comment. Jilles Tjoelker 2007-12-28 23:23:15 +0100
  • c5c2f506c1 Replace int fd; in local client object with an fde object. William Pitcock 2007-12-28 15:06:33 -0600
  • 35cf4c7998 Use connect_timeout for handshakes; add snote and log when they time out. Jilles Tjoelker 2007-12-28 16:38:39 +0100
  • e2a980439e Remove code for unregistered clients from check_pings_list() because it is only called for lists of registered clients. Jilles Tjoelker 2007-12-28 16:17:39 +0100
  • 922aa82644 More helpful ERROR server notices. - Do not use hide_error_messages for certain "safe" ERRORs. - If hide_error_messages hides an ERROR from a handshake, send a server notice anyway, but without the message text. - Send server notices about ERRORs from handshakes network wide if it was a remote connect. Jilles Tjoelker 2007-12-28 01:31:56 +0100
  • 06b697a268 Make remote numerics to channels work. Note that +D clients do not get these. This is consistent with how ircu treats remote numerics and with how we treat server notices from other servers, but not with how locally generated notices and numerics are sent also to +D clients. Jilles Tjoelker 2007-12-26 22:46:43 +0100
  • 7f27e3163d Never allow a duplicate kline; always allow a wider kline. Duplicate klines are now disallowed regardless of no_redundant_klines. There is a somewhat hackish check to see if the new kline is wider than the existing one. Jilles Tjoelker 2007-12-26 00:51:22 +0100
  • d922ddedfd When removing a temp kline, show removed mask, not given mask. Example: when temp klining 10.0.0.0/16 and unklining 10.0.0.1/16, it showed 10.0.0.1/16 being removed before, and shows 10.0.0.0/16 now. Jilles Tjoelker 2007-12-26 00:18:22 +0100
  • a58cdfa3f4 Send a few more snotes about remote connects netwide. (bad password for server, SID exists) Jilles Tjoelker 2007-12-25 16:19:54 +0100
  • b50c1127d6 Add chm_quietunreg_compat extension, makes cmode +-R an alias for +-q $~a. Jilles Tjoelker 2007-12-25 13:56:05 +0100
  • 6dc16f7e82 Add no_locops extension to disable LOCOPS (force everyone -l). Jilles Tjoelker 2007-12-25 13:27:41 +0100
  • bd2b16f309 Use "SID Exists" instead of "Server Exists" where appropriate. Jilles Tjoelker 2007-12-25 01:16:18 +0100
  • 7d1f9131fb Consolidate duplicate channel mode flags tables to one. Jilles Tjoelker 2007-12-25 01:00:20 +0100
  • 34c10ff5f5 Make the notable TS delta snote netwide as this may screw up the entire network. Jilles Tjoelker 2007-12-25 00:18:34 +0100
  • 62433315e9 Put full detail in the SQUIT reason for invalid TS version or excessive TS delta. Jilles Tjoelker 2007-12-25 00:16:26 +0100
  • 0b580267af Remove "<server> had been connected for <time>" snote. For registered servers, it is entirely redundant with the "<server> was connected for <time>. <traffic>" snote, and only sent for some ways of closing; for handshakes, you already know that it had not been connected for long. Jilles Tjoelker 2007-12-24 23:29:01 +0100
  • f2c1b06bcf Make the other notices to snomask +b network wide. (with the exception of flooding on an &channel) Jilles Tjoelker 2007-12-24 22:43:47 +0100
  • 153fc4bb29 Document the mass_notice oper privilege. Jilles Tjoelker 2007-12-24 22:04:18 +0100
  • 14f95b6e34 Document the resv oper privilege. Jilles Tjoelker 2007-12-24 21:59:21 +0100
  • a6f4368b96 Add mass_notice oper priv, enabled by default for compatibility. Controls /wallops and masked notices/privmsgs. Jilles Tjoelker 2007-12-24 21:47:05 +0100
  • 3fec9477b8 Rearrange flags2 to make room for 3 more oper privileges. Jilles Tjoelker 2007-12-24 21:16:19 +0100
  • 095328a742 Move various flags from flags2 to flags. Jilles Tjoelker 2007-12-24 20:58:55 +0100
  • 9696c9d6ab Remove various unused macros. Jilles Tjoelker 2007-12-24 20:40:12 +0100
  • 86142e83d7 Remove unused CONF_FLAGS_DO_IDENTD and FLAGS_NEEDID. Jilles Tjoelker 2007-12-24 20:32:41 +0100
  • 29c55c49f2 Remove unused flag FLAGS_CHKACCESS. Jilles Tjoelker 2007-12-24 20:26:39 +0100
  • c3fed903fd Branch merge. Jilles Tjoelker 2007-12-24 18:24:49 +0100
  • 420b2c9a10 Remove dot_in_ip6_addr config option. Jilles Tjoelker 2007-12-24 18:24:23 +0100
  • de845813f9 update IDEAS for suggestions on how you can help with the I/O refactoring. William Pitcock 2007-12-22 16:38:09 -0600
  • c1e5bc4117 comm_locate_fd(), not comm_lookup_fd(). William Pitcock 2007-12-22 16:30:06 -0600
  • 5cd74a3b6c linebuf_flush(): use fde_t's. William Pitcock 2007-12-22 16:28:05 -0600
  • d877759f5b Make fde raw I/O functions act on the FDE object, not the FD directly. William Pitcock 2007-12-22 16:15:09 -0600
  • 5893220fdc wtf mercurial, tbh. William Pitcock 2007-12-22 16:08:34 -0600
  • 7b3c01255b Automated merge with ssh://hg.atheme.org//hg/charybdis William Pitcock 2007-12-22 16:06:35 -0600
  • 868590746d - add IOReadFunc and IOWriteFunc types. - add fde::read_impl, fde::write_impl. (defaults to read(2) and write(2) with raw FDs at the moment; this will be revised to act on the fde later.) William Pitcock 2007-12-22 16:05:51 -0600
  • 404d3a3a62 Fix includes. William Pitcock 2007-12-22 14:24:00 -0600
  • 64513f3675 Automated merge with ssh://hg.atheme.org//hg/charybdis William Pitcock 2007-12-22 14:05:45 -0600
  • 2cac65a378 Add some GNUTLS helper code. William Pitcock 2007-12-22 14:05:03 -0600
  • 95d36ef54b It is ok to send 402 to local clients for any hunt_server operation. Jilles Tjoelker 2007-12-22 00:20:54 +0100
  • 38b91e8915 again, fbfile.c hasn't existed in a long time. William Pitcock 2007-12-21 11:14:08 -0600
  • 207aba5c3d fbfile.c hasn't existed in a long time. William Pitcock 2007-12-21 11:13:49 -0600
  • 29344cc799 Remove rfc1459, because IETF documentation does not contain any permission notices allowing modification. William Pitcock 2007-12-21 11:09:55 -0600
  • 201f4ef72f We need to do that in another spot. Yuck. William Pitcock 2007-12-20 16:59:52 -0600
  • d60ba3dabf Handle EBADF condition. yuck! William Pitcock 2007-12-20 16:56:07 -0600
  • 66df8c7271 Fix a lot of bad assumptions in the epoll code (this needs major testing). William Pitcock 2007-12-20 16:37:57 -0600
  • adb3f9d000 Deny $o extbans with data, to be better compatible with future meanings of it. Jilles Tjoelker 2007-12-18 23:00:42 +0100
  • aee6f89036 Add adminwall from ratbox, as an extension. Jilles Tjoelker 2007-12-18 22:54:18 +0100
  • 1ef5b43053 Require resv oper privilege to set cmode +L or +P. Jilles Tjoelker 2007-12-18 00:24:05 +0100
  • 544cde9033 Don't allow opers to bypass can_create_channel check. Modules need to do so themselves, if desired. Jilles Tjoelker 2007-12-18 00:17:25 +0100
  • b47db00e58 createauthonly: allow opers through explicitly Jilles Tjoelker 2007-12-18 00:15:54 +0100
  • 326217c4d0 Don't allow faking adminwall via wallops, in case anyone loads it. Jilles Tjoelker 2007-12-17 18:50:22 +0100
  • 1ebe6ffc92 Add resv oper priv, enabled by default for compatibility. Jilles Tjoelker 2007-12-17 02:20:14 +0100
  • 33b310b376 Make the epoll check work more reliably. Submitted by spb. Jilles Tjoelker 2007-12-13 00:43:31 +0100
  • c422d2a067 Silence harmless compiler warning. Jilles Tjoelker 2007-12-13 00:20:06 +0100
  • d7f753cd3a Do not copy string passed to add_top_conf()/add_conf_item(). If the caller can keep a function pointer valid, they can certainly keep a string valid. This also fixes an error with HAVE_STRDUP undefined. Jilles Tjoelker 2007-12-13 00:14:02 +0100
  • 19fcdbd561 hurt: Do not store to-be-freed strings in const pointers (+ cast when freeing). Take away the const. Jilles Tjoelker 2007-12-13 00:03:20 +0100
  • e8149a2c64 Make /rehash help work again. Jilles Tjoelker 2007-12-12 22:26:17 +0100
  • 351078d072 Use 127.0.0.1 as nameserver if none can be found in /etc/resolv.conf. This agrees with bind's behaviour. Jilles Tjoelker 2007-12-11 18:37:14 +0100
  • 35f6f850b6 Remove reject entries on unkline/ungline/unxline. When a user is rejected, remember the hash value of the ban mask (for klines/glines, hash value of the user part XOR hash value of the host part) with the rejected IP; if the kline/gline/xline is removed, remove rejects with the same hash value also. Note that this does not happen for expiries; this is deliberate. Rejects for no auth{} or dnsbl put a hash value of 0; they cannot be removed selectively. Jilles Tjoelker 2007-12-08 21:54:51 +0100
  • 6bfe3faec0 Automated merge with ssh://hg.atheme.org//hg/charybdis William Pitcock 2007-12-08 13:38:49 -0600
  • f13494df72 Remove --disable-shared-modules configure option. It should have been removed when we removed the rest of that code. William Pitcock 2007-12-08 13:38:28 -0600
  • 1cda7a9cb2 Change meaning of "bits" in FNV hash functions to bitlen instead of 32-bitlen. Do reduction like recommended by http://www.isthe.com/chongo/tech/comp/fnv/index.html#xor-fold Jilles Tjoelker 2007-12-08 19:44:18 +0100
  • 176489286d Mention vhost in serverlog connect log message. Jilles Tjoelker 2007-12-06 22:45:26 +0100
  • 43de0f45a1 Make sure the nd_dict is always created. William Pitcock 2007-12-03 19:37:33 -0600
  • 9802490cbb help system rework, part 1 William Pitcock 2007-12-03 19:35:55 -0600
  • b37021a45e nickdelay -> dictionary. William Pitcock 2007-12-03 10:59:25 -0600
  • 3e91d7006f I was nuts when I wrote that comment, lets kill it off. William Pitcock 2007-12-02 15:50:54 -0600
  • b74f0f586d this should be 2.3.0 William Pitcock 2007-12-02 10:17:40 -0600
  • 90187f2112 It compiles, ship it. William Pitcock 2007-12-02 09:41:13 -0600
  • 8ac7552983 commands and aliases go from horrible hashtable code to dictionary... try 1 William Pitcock 2007-12-02 09:34:45 -0600
  • c98390004f Automated merge with ssh://hg.atheme.org//hg/charybdis William Pitcock 2007-12-02 09:06:50 -0600
  • d6bda36db1 Add irc_dictionary code. William Pitcock 2007-12-02 09:06:25 -0600
  • 40528bf61d Update extensions/README. Jilles Tjoelker 2007-12-01 21:04:31 +0100
  • 6444959578 Fix receiving TS5 client introductions. This was broken due to User.server removal. Jilles Tjoelker 2007-12-01 19:11:44 +0100
  • 1328da8618 Speed up /unresv. Rehash bans now only happens if explicitly requested. Jilles Tjoelker 2007-11-30 23:35:48 +0100
  • 60c96e64c1 Clean up m_xline a bit. Jilles Tjoelker 2007-11-30 23:35:14 +0100
  • 5408b484da Speed up /unxline similarly. Jilles Tjoelker 2007-11-30 14:10:24 +0100