Commit graph

208 commits

Author SHA1 Message Date
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
William Pitcock
6bfe3faec0 Automated merge with ssh://hg.atheme.org//hg/charybdis 2007-12-08 13:38:49 -06:00
William Pitcock
f13494df72 Remove --disable-shared-modules configure option.
It should have been removed when we removed the rest of that code.
2007-12-08 13:38:28 -06:00
Jilles Tjoelker
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
2007-12-08 19:44:18 +01:00
Jilles Tjoelker
176489286d Mention vhost in serverlog connect log message. 2007-12-06 22:45:26 +01:00
William Pitcock
43de0f45a1 Make sure the nd_dict is always created. 2007-12-03 19:37:33 -06:00
William Pitcock
9802490cbb help system rework, part 1 2007-12-03 19:35:55 -06:00
William Pitcock
b37021a45e nickdelay -> dictionary. 2007-12-03 10:59:25 -06:00
William Pitcock
3e91d7006f I was nuts when I wrote that comment, lets kill it off. 2007-12-02 15:50:54 -06:00
William Pitcock
b74f0f586d this should be 2.3.0 2007-12-02 10:17:40 -06:00
William Pitcock
90187f2112 It compiles, ship it. 2007-12-02 09:41:13 -06:00
William Pitcock
8ac7552983 commands and aliases go from horrible hashtable code to dictionary... try 1 2007-12-02 09:34:45 -06:00
William Pitcock
c98390004f Automated merge with ssh://hg.atheme.org//hg/charybdis 2007-12-02 09:06:50 -06:00
William Pitcock
d6bda36db1 Add irc_dictionary code. 2007-12-02 09:06:25 -06:00
Jilles Tjoelker
40528bf61d Update extensions/README. 2007-12-01 21:04:31 +01:00
Jilles Tjoelker
6444959578 Fix receiving TS5 client introductions.
This was broken due to User.server removal.
2007-12-01 19:11:44 +01:00
Jilles Tjoelker
1328da8618 Speed up /unresv. Rehash bans now only happens if explicitly requested. 2007-11-30 23:35:48 +01:00
Jilles Tjoelker
60c96e64c1 Clean up m_xline a bit. 2007-11-30 23:35:14 +01:00
Jilles Tjoelker
5408b484da Speed up /unxline similarly. 2007-11-30 14:10:24 +01:00
Jilles Tjoelker
6f3a09ff67 Speed up /undline similarly
- Change find_exact_conf_by_address() to work for dlines also.
- Use find_exact_conf_by_address() to find the dline and
  abort immediately if there is no such dline.
- When removing a permanent dline, remove the dline from
  the data structures instead of rehashing bans.
- Convert alternative ways to write the same dline to the
  one in the found dline. (This was changed in unkline too.)
2007-11-30 01:14:12 +01:00
Jilles Tjoelker
40a1d44606 Speed up /unkline
- Use find_exact_conf_by_address() to find the kline and
  abort immediately if there is no such kline.
- When removing a permanent kline, remove the kline from
  the data structures instead of rehashing bans.
2007-11-29 00:12:51 +01:00
Jilles Tjoelker
4e0f14a0e8 Add find_exact_conf_by_address() to find klines etc by exact mask. 2007-11-28 23:59:49 +01:00
Jilles Tjoelker
60e127c188 Correct already X-Lined notice. 2007-11-25 18:19:26 +01:00
Jilles Tjoelker
0fdb257090 When checking if a nick resv or xline already exists, match exact not wild.
This is important because masks containing @ or # do not
match themselves.
2007-11-25 18:18:07 +01:00
Jilles Tjoelker
c0bc9fe39a Show opers a list of recently (<24hrs) split servers in /map. 2007-11-23 23:38:54 +01:00
Jilles Tjoelker
994544c294 Merge links_cache into scache and rework scache.
This changes flattened /links output to disclose less
routing information and slightly increases memory "leak"
from server names that do not come back anymore.
2007-11-23 22:11:25 +01:00
Jilles Tjoelker
4acf228113 Clarify meaning of some serverhide options. 2007-11-23 21:51:00 +01:00
Jilles Tjoelker
66c8fdd207 Remove Server.up and Server.upid.
Server.up is obsolete, like User.server.
Server.upid has never been really useful.
2007-11-22 00:38:13 +01:00
William Pitcock
c88cdb0095 Get rid of User.server. 2007-11-20 06:36:55 -06:00
nenolod
0a61720ad4 [svn] - we do not need to call find_server() in the function for registering local users 2007-11-20 03:16:43 -08:00
nenolod
cc32202d96 [svn] Explain invalid username rejections to users when they are rejected. 2007-11-20 03:08:23 -08:00