Jilles Tjoelker
91e46e62e5
Remove various unused macros.
2007-12-24 20:40:12 +01:00
Jilles Tjoelker
6f068dbd15
Remove unused CONF_FLAGS_DO_IDENTD and FLAGS_NEEDID.
2007-12-24 20:32:41 +01:00
Jilles Tjoelker
5fcb6b5d88
Remove unused flag FLAGS_CHKACCESS.
2007-12-24 20:26:39 +01:00
Jilles Tjoelker
965dfbd38a
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
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