0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-05 05:18:54 +01:00
Commit graph

1638 commits

Author SHA1 Message Date
Jilles Tjoelker
a58cdfa3f4 Send a few more snotes about remote connects netwide.
(bad password for server, SID exists)
2007-12-25 16:19:54 +01:00
Jilles Tjoelker
b50c1127d6 Add chm_quietunreg_compat extension, makes cmode +-R an alias for +-q $~a. 2007-12-25 13:56:05 +01:00
Jilles Tjoelker
6dc16f7e82 Add no_locops extension to disable LOCOPS (force everyone -l). 2007-12-25 13:27:41 +01:00
Jilles Tjoelker
bd2b16f309 Use "SID Exists" instead of "Server Exists" where appropriate. 2007-12-25 01:16:18 +01:00
Jilles Tjoelker
7d1f9131fb Consolidate duplicate channel mode flags tables to one. 2007-12-25 01:00:20 +01:00
Jilles Tjoelker
34c10ff5f5 Make the notable TS delta snote netwide as this may screw up the entire network. 2007-12-25 00:18:34 +01:00
Jilles Tjoelker
62433315e9 Put full detail in the SQUIT reason for invalid TS version or excessive TS delta. 2007-12-25 00:16:26 +01:00
Jilles Tjoelker
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.
2007-12-24 23:29:01 +01:00
Jilles Tjoelker
f2c1b06bcf Make the other notices to snomask +b network wide.
(with the exception of flooding on an &channel)
2007-12-24 22:43:47 +01:00
Jilles Tjoelker
153fc4bb29 Document the mass_notice oper privilege. 2007-12-24 22:04:18 +01:00
Jilles Tjoelker
14f95b6e34 Document the resv oper privilege. 2007-12-24 21:59:21 +01:00
Jilles Tjoelker
a6f4368b96 Add mass_notice oper priv, enabled by default for compatibility.
Controls /wallops and masked notices/privmsgs.
2007-12-24 21:47:05 +01:00
Jilles Tjoelker
3fec9477b8 Rearrange flags2 to make room for 3 more oper privileges. 2007-12-24 21:16:19 +01:00
Jilles Tjoelker
095328a742 Move various flags from flags2 to flags. 2007-12-24 20:58:55 +01:00
Jilles Tjoelker
9696c9d6ab Remove various unused macros. 2007-12-24 20:40:12 +01:00
Jilles Tjoelker
86142e83d7 Remove unused CONF_FLAGS_DO_IDENTD and FLAGS_NEEDID. 2007-12-24 20:32:41 +01:00
Jilles Tjoelker
29c55c49f2 Remove unused flag FLAGS_CHKACCESS. 2007-12-24 20:26:39 +01:00
Jilles Tjoelker
c3fed903fd Branch merge. 2007-12-24 18:24:49 +01:00
Jilles Tjoelker
420b2c9a10 Remove dot_in_ip6_addr config option. 2007-12-24 18:24:23 +01:00
William Pitcock
de845813f9 update IDEAS for suggestions on how you can help with the I/O refactoring. 2007-12-22 16:38:09 -06:00
William Pitcock
c1e5bc4117 comm_locate_fd(), not comm_lookup_fd(). 2007-12-22 16:30:06 -06:00
William Pitcock
5cd74a3b6c linebuf_flush(): use fde_t's. 2007-12-22 16:28:05 -06:00
William Pitcock
d877759f5b Make fde raw I/O functions act on the FDE object, not the FD directly. 2007-12-22 16:15:09 -06:00
William Pitcock
5893220fdc wtf mercurial, tbh. 2007-12-22 16:08:34 -06:00
William Pitcock
7b3c01255b Automated merge with ssh://hg.atheme.org//hg/charybdis 2007-12-22 16:06:35 -06:00
William Pitcock
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.)
2007-12-22 16:05:51 -06:00
William Pitcock
404d3a3a62 Fix includes. 2007-12-22 14:24:00 -06:00
William Pitcock
64513f3675 Automated merge with ssh://hg.atheme.org//hg/charybdis 2007-12-22 14:05:45 -06:00
William Pitcock
2cac65a378 Add some GNUTLS helper code. 2007-12-22 14:05:03 -06:00
Jilles Tjoelker
95d36ef54b It is ok to send 402 to local clients for any hunt_server operation. 2007-12-22 00:20:54 +01:00
William Pitcock
38b91e8915 again, fbfile.c hasn't existed in a long time. 2007-12-21 11:14:08 -06:00
William Pitcock
207aba5c3d fbfile.c hasn't existed in a long time. 2007-12-21 11:13:49 -06:00
William Pitcock
29344cc799 Remove rfc1459, because IETF documentation does not contain any permission notices allowing modification. 2007-12-21 11:09:55 -06:00
William Pitcock
201f4ef72f We need to do that in another spot. Yuck. 2007-12-20 16:59:52 -06:00
William Pitcock
d60ba3dabf Handle EBADF condition. yuck! 2007-12-20 16:56:07 -06:00
William Pitcock
66df8c7271 Fix a lot of bad assumptions in the epoll code (this needs major testing). 2007-12-20 16:37:57 -06:00
Jilles Tjoelker
adb3f9d000 Deny $o extbans with data, to be better compatible with future meanings of it. 2007-12-18 23:00:42 +01:00
Jilles Tjoelker
aee6f89036 Add adminwall from ratbox, as an extension. 2007-12-18 22:54:18 +01:00
Jilles Tjoelker
1ef5b43053 Require resv oper privilege to set cmode +L or +P. 2007-12-18 00:24:05 +01:00
Jilles Tjoelker
544cde9033 Don't allow opers to bypass can_create_channel check.
Modules need to do so themselves, if desired.
2007-12-18 00:17:25 +01:00
Jilles Tjoelker
b47db00e58 createauthonly: allow opers through explicitly 2007-12-18 00:15:54 +01:00
Jilles Tjoelker
326217c4d0 Don't allow faking adminwall via wallops, in case anyone loads it. 2007-12-17 18:50:22 +01:00
Jilles Tjoelker
1ebe6ffc92 Add resv oper priv, enabled by default for compatibility. 2007-12-17 02:20:14 +01:00
Jilles Tjoelker
33b310b376 Make the epoll check work more reliably.
Submitted by spb.
2007-12-13 00:43:31 +01:00
Jilles Tjoelker
c422d2a067 Silence harmless compiler warning. 2007-12-13 00:20:06 +01:00
Jilles Tjoelker
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.
2007-12-13 00:14:02 +01:00
Jilles Tjoelker
19fcdbd561 hurt: Do not store to-be-freed strings in const pointers (+ cast when freeing).
Take away the const.
2007-12-13 00:03:20 +01:00
Jilles Tjoelker
e8149a2c64 Make /rehash help work again. 2007-12-12 22:26:17 +01:00
Jilles Tjoelker
351078d072 Use 127.0.0.1 as nameserver if none can be found in /etc/resolv.conf.
This agrees with bind's behaviour.
2007-12-11 18:37:14 +01:00
Jilles Tjoelker
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.
2007-12-08 21:54:51 +01:00