]>
jfr.im git - irc/rqf/shadowircd.git/log
Valery Yatsko [Tue, 1 Apr 2008 23:09:21 +0000 (03:09 +0400)]
m_capab.c fixed - please check whether I am correct
Valery Yatsko [Tue, 1 Apr 2008 23:07:29 +0000 (03:07 +0400)]
MyMalloc -> rb_malloc
Valery Yatsko [Tue, 1 Apr 2008 23:03:15 +0000 (03:03 +0400)]
away stuff from ratbox3
Valery Yatsko [Tue, 1 Apr 2008 23:00:38 +0000 (03:00 +0400)]
m_away.c derived from ratbox3 - looks much better and do not use deprecated DupString.
Valery Yatsko [Tue, 1 Apr 2008 22:55:34 +0000 (02:55 +0400)]
monitor.{c,h} stuff for libratbox3.
Valery Yatsko [Tue, 1 Apr 2008 22:47:17 +0000 (02:47 +0400)]
Argh, wrong replace caused by MS VS 2005 interface.
Valery Yatsko [Tue, 1 Apr 2008 22:45:16 +0000 (02:45 +0400)]
MyFree -> rb_free
Valery Yatsko [Tue, 1 Apr 2008 22:39:19 +0000 (02:39 +0400)]
libcharybdis includes gone.
Valery Yatsko [Tue, 1 Apr 2008 22:23:11 +0000 (02:23 +0400)]
btw, gmake is useful too for compiling this.
Valery Yatsko [Tue, 1 Apr 2008 22:19:55 +0000 (02:19 +0400)]
Removed from configure.ac too.
Valery Yatsko [Tue, 1 Apr 2008 22:18:44 +0000 (02:18 +0400)]
Removing libcharybdis references.
Jilles Tjoelker [Tue, 1 Apr 2008 22:10:51 +0000 (00:10 +0200)]
Some changes for libratbox.
Jilles Tjoelker [Tue, 1 Apr 2008 21:51:34 +0000 (23:51 +0200)]
Make send.c compile, except for ziplinks.
William Pitcock [Tue, 1 Apr 2008 21:29:32 +0000 (16:29 -0500)]
make m_signon build.
William Pitcock [Tue, 1 Apr 2008 21:26:23 +0000 (16:26 -0500)]
rb_event_add ;)
William Pitcock [Tue, 1 Apr 2008 21:25:22 +0000 (16:25 -0500)]
Make m_set compile.
William Pitcock [Tue, 1 Apr 2008 21:22:35 +0000 (16:22 -0500)]
make unsupported libratbox-clean.
William Pitcock [Tue, 1 Apr 2008 21:20:40 +0000 (16:20 -0500)]
make all extensions libratbox-clean.
William Pitcock [Tue, 1 Apr 2008 21:15:06 +0000 (16:15 -0500)]
Automated merge with ssh://hg.atheme.org//hg/charybdis
William Pitcock [Tue, 1 Apr 2008 21:14:47 +0000 (16:14 -0500)]
fix highest_fd nonsense
William Pitcock [Tue, 1 Apr 2008 21:12:16 +0000 (16:12 -0500)]
Clean these modules up.
Jilles Tjoelker [Tue, 1 Apr 2008 21:11:11 +0000 (23:11 +0200)]
More changes for libratbox.
Jilles Tjoelker [Tue, 1 Apr 2008 21:03:14 +0000 (23:03 +0200)]
Various changes for libratbox.
Jilles Tjoelker [Tue, 1 Apr 2008 20:54:08 +0000 (22:54 +0200)]
Change over some dlink functions.
William Pitcock [Tue, 1 Apr 2008 20:44:55 +0000 (15:44 -0500)]
patricia stuff
William Pitcock [Tue, 1 Apr 2008 20:43:10 +0000 (15:43 -0500)]
macro replacement
William Pitcock [Tue, 1 Apr 2008 20:41:52 +0000 (15:41 -0500)]
dlink -> rb_dlink
William Pitcock [Tue, 1 Apr 2008 20:38:40 +0000 (15:38 -0500)]
ircs[n]printf -> rb_s[n]printf
William Pitcock [Tue, 1 Apr 2008 20:26:43 +0000 (15:26 -0500)]
Make this compile, but lots of warnings.
William Pitcock [Tue, 1 Apr 2008 20:21:53 +0000 (15:21 -0500)]
ircsprintf -> rb_sprintf
William Pitcock [Tue, 1 Apr 2008 20:18:48 +0000 (15:18 -0500)]
start making this compile
William Pitcock [Tue, 1 Apr 2008 20:14:08 +0000 (15:14 -0500)]
bork bork bork
William Pitcock [Tue, 1 Apr 2008 20:11:03 +0000 (15:11 -0500)]
kill patricia.c
William Pitcock [Tue, 1 Apr 2008 20:10:43 +0000 (15:10 -0500)]
Initialize libratbox.
William Pitcock [Tue, 1 Apr 2008 19:57:52 +0000 (14:57 -0500)]
Make this link without OpenSSL. This patch should go upstream.
William Pitcock [Tue, 1 Apr 2008 19:55:00 +0000 (14:55 -0500)]
link against libratbox...
William Pitcock [Tue, 1 Apr 2008 16:57:41 +0000 (11:57 -0500)]
Make buildsystem work.
William Pitcock [Tue, 1 Apr 2008 16:53:46 +0000 (11:53 -0500)]
Run autoreconf.
William Pitcock [Tue, 1 Apr 2008 16:52:26 +0000 (11:52 -0500)]
Pull in libratbox from ircd-ratbox-3.0.0beta1 and integrate into the build system.
William Pitcock [Tue, 1 Apr 2008 16:45:46 +0000 (11:45 -0500)]
Allow ENCAP GCAP to be reused to broadcast capability changes to the network.
This means that modules can now be added which change CAPs.
Jilles Tjoelker [Sun, 30 Mar 2008 22:42:04 +0000 (00:42 +0200)]
Clarify last sentence in that help file.
Jilles Tjoelker [Sun, 30 Mar 2008 22:39:14 +0000 (00:39 +0200)]
Move PRIVS command from extensions to modules (shows effective oper privs).
Jilles Tjoelker [Sun, 30 Mar 2008 18:02:55 +0000 (20:02 +0200)]
Use ERR_DISABLED in CHGHOST and STATS e.
Jilles Tjoelker [Sun, 30 Mar 2008 17:56:20 +0000 (19:56 +0200)]
Add ERR_DISABLED (517) from ircu.
William Pitcock [Sun, 30 Mar 2008 06:54:14 +0000 (01:54 -0500)]
Some tweaks, apparently you can have multiple <author> tags now.
Jilles Tjoelker [Sat, 29 Mar 2008 22:38:22 +0000 (23:38 +0100)]
Unbreak /quote help stats as an oper (all where oper and user help are different).
Remove symlink optimization, so helpfiles equal for
opers and users are loaded into memory twice, which
is not an issue.
Jilles Tjoelker [Sat, 29 Mar 2008 22:09:45 +0000 (23:09 +0100)]
Use ERR_NOPRIVS when an oper is not allowed to see admin-only /stats.
This includes opers without the admin flag and admins on other servers.
Jilles Tjoelker [Sat, 29 Mar 2008 20:56:15 +0000 (21:56 +0100)]
Fix type mismatch with format string.
Could have broken on some 64-bit machines.
Jilles Tjoelker [Sat, 29 Mar 2008 20:37:12 +0000 (21:37 +0100)]
Note that +i must be included in default_umodes.
Jilles Tjoelker [Sat, 29 Mar 2008 20:36:39 +0000 (21:36 +0100)]
Add force_user_invis extension from charybdis+sn.
Forces nonopers +i.
Jilles Tjoelker [Sat, 29 Mar 2008 20:36:11 +0000 (21:36 +0100)]
Fix compiler warning.
Jilles Tjoelker [Tue, 18 Mar 2008 22:47:37 +0000 (23:47 +0100)]
Fix Invalid CAP subcommand error if the user has no nick.
Jilles Tjoelker [Tue, 18 Mar 2008 22:28:03 +0000 (23:28 +0100)]
Cleanups to 005 code, from ratbox (androsyn).
Jilles Tjoelker [Sat, 15 Mar 2008 23:39:49 +0000 (00:39 +0100)]
target change: use fnv32 hash of UID instead of pointer to identify clients
This way, the information remains valid after a split.
For clients on TS5 servers, the nick is used; this is
not much of a problem because these are on pseudoservers
and not assumed to change nick much at all.
Jilles Tjoelker [Wed, 12 Mar 2008 17:44:47 +0000 (18:44 +0100)]
Generate include/serno.h from the hg revision data.
The code is inspired by the code in atheme-services, but
* it uses 'hg parents' instead of 'hg tip' so it will
also work if the working directory is not updated
to the latest version in the local repository
* the format is different (date-shorthash instead of
revnum:shorthash)
* some sort of serno.h is always generated, be it
"unknown" only
Jilles Tjoelker [Tue, 11 Mar 2008 22:56:23 +0000 (23:56 +0100)]
Hide cmode +r from 005 if there is no service{} block.
Jilles Tjoelker [Tue, 11 Mar 2008 20:58:13 +0000 (21:58 +0100)]
sgml docs: mention that connect::topicburst is now enabled by default
Jilles Tjoelker [Tue, 11 Mar 2008 18:48:58 +0000 (19:48 +0100)]
Clearer error messages for failed joins.
Jilles Tjoelker [Sun, 2 Mar 2008 16:03:56 +0000 (17:03 +0100)]
Show some target change statistics in /stats t.
- the number of messages blocked by target change on
this server since it was started
- the number of IPs currently subject to a a lower
target limit on this server (these expire over time)
Jilles Tjoelker [Fri, 29 Feb 2008 19:18:09 +0000 (20:18 +0100)]
Update copyright year in sgml documentation.
Jilles Tjoelker [Fri, 29 Feb 2008 16:10:20 +0000 (17:10 +0100)]
Add more details to stats in sgml docs.
Jilles Tjoelker [Fri, 29 Feb 2008 15:27:55 +0000 (16:27 +0100)]
Update docs for change to masked stats k/K.
William Pitcock [Wed, 27 Feb 2008 20:08:27 +0000 (14:08 -0600)]
Remove CHFL_DEOPPED entirely.
Since charybdis 2.3 will require TS6, emulating legacy semantics is
unnecessary.
Jilles Tjoelker [Sun, 24 Feb 2008 23:05:15 +0000 (00:05 +0100)]
Remove CHFL_DEOPPED check from TMODE.
This check sometimes blocks oper overrides (OMODE).
It does not stop any hacks that the channelTS check
already stops, because CHFL_DEOPPED is only set when
this server ignored an @ in an incoming SJOIN (the
SJOIN is then propagated without the @) and this
can only be because of a TS difference.
Jilles Tjoelker [Mon, 4 Feb 2008 22:56:13 +0000 (23:56 +0100)]
Fix a UID leak.
Jilles Tjoelker [Sat, 2 Feb 2008 16:15:34 +0000 (17:15 +0100)]
Default connect::flags topicburst to true.
Use ~topicburst if you must disable it.
Jilles Tjoelker [Tue, 22 Jan 2008 21:07:11 +0000 (22:07 +0100)]
Update /stats z for removal of struct User from whowas.
This was done in hybrid 5 or earlier...
Jilles Tjoelker [Thu, 17 Jan 2008 00:06:32 +0000 (01:06 +0100)]
send_linebuf_remote(): Remove broken and useless ghost check that can never happen.
Reasoning why it never does anything:
- the to = to->from line makes sure that MyConnect(to)
- then IsPerson(to) && (to == from->from) implies that to == from
- so MyClient(to)
- which cannot happen because it also wants that !MyClient(from)
Originally, the to = to->from line was below, and it did a
fake direction check, killing a client if servers could be
confused about it. The kill cannot do any good with TS6.
The fake direction check is and was performed by the
callers of send_linebuf_remote().
Jilles Tjoelker [Wed, 16 Jan 2008 18:53:42 +0000 (19:53 +0100)]
Fix some split servers not appearing in oper /map.
Needed another scache_split() call, in qs_server().
Jilles Tjoelker [Mon, 14 Jan 2008 22:59:46 +0000 (23:59 +0100)]
Remove silly a2client_p, entirely pointless since User.server removal.
(and was pointless since Client.servptr was introduced)
Jilles Tjoelker [Sun, 6 Jan 2008 16:41:59 +0000 (17:41 +0100)]
kline_exempt does not exempt from D:lines, so don't tell user it does.
Jilles Tjoelker [Sun, 6 Jan 2008 14:29:54 +0000 (15:29 +0100)]
PRIVS: Show name of operator block.
Change the "O" to "operator:<name>".
Jilles Tjoelker [Sat, 5 Jan 2008 23:16:57 +0000 (00:16 +0100)]
Remove FLAGS2_NOLIMIT (IsExemptLimits/SetExemptLimits).
This only has an effect at connection time, and the
ConfItem flag suffices for that.
Jilles Tjoelker [Sat, 5 Jan 2008 23:12:51 +0000 (00:12 +0100)]
Add two missing colons for sendto_one_notice().
Jilles Tjoelker [Sat, 5 Jan 2008 22:59:43 +0000 (23:59 +0100)]
Add PRIVS extension, a command that shows oper and some auth{} privileges.
Jilles Tjoelker [Sat, 5 Jan 2008 21:51:09 +0000 (22:51 +0100)]
flag_table -> oper_table (more descriptive name)
Jilles Tjoelker [Sat, 5 Jan 2008 16:00:00 +0000 (17:00 +0100)]
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 [Sat, 5 Jan 2008 13:58:13 +0000 (14:58 +0100)]
Use a more expected value for SHARED_TRESV.
Jilles Tjoelker [Sat, 5 Jan 2008 00:37:03 +0000 (01:37 +0100)]
Show full flag name, not letter, when refusing to set umode +s +n or +a.
Jilles Tjoelker [Fri, 4 Jan 2008 23:52:02 +0000 (00:52 +0100)]
sgml docs: kline_exempt does not exempt from D:lines in any way
Jilles Tjoelker [Fri, 4 Jan 2008 23:38:23 +0000 (00:38 +0100)]
Send a rate-limited server notice if a blacklist gives a non-127.0.0.x reply.
Jilles Tjoelker [Fri, 4 Jan 2008 17:50:46 +0000 (18:50 +0100)]
Various updates to the INSTALL document.
Jilles Tjoelker [Fri, 4 Jan 2008 17:42:59 +0000 (18:42 +0100)]
config.h: remove some obsolete options, move MAX_BUFFER to tunable section
Jilles Tjoelker [Fri, 4 Jan 2008 17:33:36 +0000 (18:33 +0100)]
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 [Fri, 4 Jan 2008 16:29:15 +0000 (17:29 +0100)]
Charybdis does not have --enable-services, it is always enabled.
Jilles Tjoelker [Wed, 2 Jan 2008 21:34:29 +0000 (22:34 +0100)]
Update some copyright years.
Jilles Tjoelker [Wed, 2 Jan 2008 21:32:09 +0000 (22:32 +0100)]
Only accept 127.0.0.x as a dnsbl listing.
Jilles Tjoelker [Tue, 1 Jan 2008 23:09:50 +0000 (00:09 +0100)]
Update main copyright year.
Jilles Tjoelker [Tue, 1 Jan 2008 23:06:08 +0000 (00:06 +0100)]
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 [Tue, 1 Jan 2008 22:04:34 +0000 (23:04 +0100)]
Remove idle time checking (auto disconnecting users idle too long).
Jilles Tjoelker [Tue, 1 Jan 2008 21:40:22 +0000 (22:40 +0100)]
Document special characters in stats i/testmask in sgml.
Jilles Tjoelker [Tue, 1 Jan 2008 20:54:27 +0000 (21:54 +0100)]
STATS I and TESTMASK: Show some more auth{} flags.
flood_exempt (|), dnsbl_exempt ($), gline_exempt (_)
All these are only shown to opers.
Jilles Tjoelker [Tue, 1 Jan 2008 17:47:10 +0000 (18:47 +0100)]
Fix a crash when connecting to a server.
Jilles Tjoelker [Tue, 1 Jan 2008 17:25:04 +0000 (18:25 +0100)]
STATS I: Show spoofed auth{} blocks and ^<> flags to remote opers also.
Jilles Tjoelker [Tue, 1 Jan 2008 17:15:56 +0000 (18:15 +0100)]
Fix a crash after a local client exits.
Jilles Tjoelker [Tue, 1 Jan 2008 15:06:59 +0000 (16:06 +0100)]
Remove various obsolete ConfItem statuses (types) and flags.
Jilles Tjoelker [Fri, 28 Dec 2007 22:23:15 +0000 (23:23 +0100)]
Remove long obsolete comment.
William Pitcock [Fri, 28 Dec 2007 21:06:33 +0000 (15:06 -0600)]
Replace int fd; in local client object with an fde object.
Jilles Tjoelker [Fri, 28 Dec 2007 15:38:39 +0000 (16:38 +0100)]
Use connect_timeout for handshakes; add snote and log when they time out.
Jilles Tjoelker [Fri, 28 Dec 2007 15:17:39 +0000 (16:17 +0100)]
Remove code for unregistered clients from check_pings_list()
because it is only called for lists of registered clients.