]> jfr.im git - irc/rqf/shadowircd.git/log
irc/rqf/shadowircd.git
16 years agoMyMalloc -> rb_malloc
Valery Yatsko [Tue, 1 Apr 2008 23:07:29 +0000 (03:07 +0400)] 
MyMalloc -> rb_malloc

16 years agoaway stuff from ratbox3
Valery Yatsko [Tue, 1 Apr 2008 23:03:15 +0000 (03:03 +0400)] 
away stuff from ratbox3

16 years agom_away.c derived from ratbox3 - looks much better and do not use deprecated DupString.
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.

16 years agomonitor.{c,h} stuff for libratbox3.
Valery Yatsko [Tue, 1 Apr 2008 22:55:34 +0000 (02:55 +0400)] 
monitor.{c,h} stuff for libratbox3.

16 years agoArgh, wrong replace caused by MS VS 2005 interface.
Valery Yatsko [Tue, 1 Apr 2008 22:47:17 +0000 (02:47 +0400)] 
Argh, wrong replace caused by MS VS 2005 interface.

16 years agoMyFree -> rb_free
Valery Yatsko [Tue, 1 Apr 2008 22:45:16 +0000 (02:45 +0400)] 
MyFree -> rb_free

16 years agolibcharybdis includes gone.
Valery Yatsko [Tue, 1 Apr 2008 22:39:19 +0000 (02:39 +0400)] 
libcharybdis includes gone.

16 years agobtw, gmake is useful too for compiling this.
Valery Yatsko [Tue, 1 Apr 2008 22:23:11 +0000 (02:23 +0400)] 
btw, gmake is useful too for compiling this.

16 years agoRemoved from configure.ac too.
Valery Yatsko [Tue, 1 Apr 2008 22:19:55 +0000 (02:19 +0400)] 
Removed from configure.ac too.

16 years agoRemoving libcharybdis references.
Valery Yatsko [Tue, 1 Apr 2008 22:18:44 +0000 (02:18 +0400)] 
Removing libcharybdis references.

16 years agoSome changes for libratbox.
Jilles Tjoelker [Tue, 1 Apr 2008 22:10:51 +0000 (00:10 +0200)] 
Some changes for libratbox.

16 years agoMake send.c compile, except for ziplinks.
Jilles Tjoelker [Tue, 1 Apr 2008 21:51:34 +0000 (23:51 +0200)] 
Make send.c compile, except for ziplinks.

16 years agomake m_signon build.
William Pitcock [Tue, 1 Apr 2008 21:29:32 +0000 (16:29 -0500)] 
make m_signon build.

16 years agorb_event_add ;)
William Pitcock [Tue, 1 Apr 2008 21:26:23 +0000 (16:26 -0500)] 
rb_event_add ;)

16 years agoMake m_set compile.
William Pitcock [Tue, 1 Apr 2008 21:25:22 +0000 (16:25 -0500)] 
Make m_set compile.

16 years agomake unsupported libratbox-clean.
William Pitcock [Tue, 1 Apr 2008 21:22:35 +0000 (16:22 -0500)] 
make unsupported libratbox-clean.

16 years agomake all extensions libratbox-clean.
William Pitcock [Tue, 1 Apr 2008 21:20:40 +0000 (16:20 -0500)] 
make all extensions libratbox-clean.

16 years agoAutomated merge with ssh://hg.atheme.org//hg/charybdis
William Pitcock [Tue, 1 Apr 2008 21:15:06 +0000 (16:15 -0500)] 
Automated merge with ssh://hg.atheme.org//hg/charybdis

16 years agofix highest_fd nonsense
William Pitcock [Tue, 1 Apr 2008 21:14:47 +0000 (16:14 -0500)] 
fix highest_fd nonsense

16 years agoClean these modules up.
William Pitcock [Tue, 1 Apr 2008 21:12:16 +0000 (16:12 -0500)] 
Clean these modules up.

16 years agoMore changes for libratbox.
Jilles Tjoelker [Tue, 1 Apr 2008 21:11:11 +0000 (23:11 +0200)] 
More changes for libratbox.

16 years agoVarious changes for libratbox.
Jilles Tjoelker [Tue, 1 Apr 2008 21:03:14 +0000 (23:03 +0200)] 
Various changes for libratbox.

16 years agoChange over some dlink functions.
Jilles Tjoelker [Tue, 1 Apr 2008 20:54:08 +0000 (22:54 +0200)] 
Change over some dlink functions.

16 years agopatricia stuff
William Pitcock [Tue, 1 Apr 2008 20:44:55 +0000 (15:44 -0500)] 
patricia stuff

16 years agomacro replacement
William Pitcock [Tue, 1 Apr 2008 20:43:10 +0000 (15:43 -0500)] 
macro replacement

16 years agodlink -> rb_dlink
William Pitcock [Tue, 1 Apr 2008 20:41:52 +0000 (15:41 -0500)] 
dlink -> rb_dlink

16 years agoircs[n]printf -> rb_s[n]printf
William Pitcock [Tue, 1 Apr 2008 20:38:40 +0000 (15:38 -0500)] 
ircs[n]printf -> rb_s[n]printf

16 years agoMake this compile, but lots of warnings.
William Pitcock [Tue, 1 Apr 2008 20:26:43 +0000 (15:26 -0500)] 
Make this compile, but lots of warnings.

16 years agoircsprintf -> rb_sprintf
William Pitcock [Tue, 1 Apr 2008 20:21:53 +0000 (15:21 -0500)] 
ircsprintf -> rb_sprintf

16 years agostart making this compile
William Pitcock [Tue, 1 Apr 2008 20:18:48 +0000 (15:18 -0500)] 
start making this compile

16 years agobork bork bork
William Pitcock [Tue, 1 Apr 2008 20:14:08 +0000 (15:14 -0500)] 
bork bork bork

16 years agokill patricia.c
William Pitcock [Tue, 1 Apr 2008 20:11:03 +0000 (15:11 -0500)] 
kill patricia.c

16 years agoInitialize libratbox.
William Pitcock [Tue, 1 Apr 2008 20:10:43 +0000 (15:10 -0500)] 
Initialize libratbox.

16 years agoMake this link without OpenSSL. This patch should go upstream.
William Pitcock [Tue, 1 Apr 2008 19:57:52 +0000 (14:57 -0500)] 
Make this link without OpenSSL. This patch should go upstream.

16 years agolink against libratbox...
William Pitcock [Tue, 1 Apr 2008 19:55:00 +0000 (14:55 -0500)] 
link against libratbox...

16 years agoMake buildsystem work.
William Pitcock [Tue, 1 Apr 2008 16:57:41 +0000 (11:57 -0500)] 
Make buildsystem work.

16 years agoRun autoreconf.
William Pitcock [Tue, 1 Apr 2008 16:53:46 +0000 (11:53 -0500)] 
Run autoreconf.

16 years agoPull in libratbox from ircd-ratbox-3.0.0beta1 and integrate into the build system.
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.

16 years agoAllow ENCAP GCAP to be reused to broadcast capability changes to the network.
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.

16 years agoClarify last sentence in that help file.
Jilles Tjoelker [Sun, 30 Mar 2008 22:42:04 +0000 (00:42 +0200)] 
Clarify last sentence in that help file.

16 years agoMove PRIVS command from extensions to modules (shows effective oper privs).
Jilles Tjoelker [Sun, 30 Mar 2008 22:39:14 +0000 (00:39 +0200)] 
Move PRIVS command from extensions to modules (shows effective oper privs).

16 years agoUse ERR_DISABLED in CHGHOST and STATS e.
Jilles Tjoelker [Sun, 30 Mar 2008 18:02:55 +0000 (20:02 +0200)] 
Use ERR_DISABLED in CHGHOST and STATS e.

16 years agoAdd ERR_DISABLED (517) from ircu.
Jilles Tjoelker [Sun, 30 Mar 2008 17:56:20 +0000 (19:56 +0200)] 
Add ERR_DISABLED (517) from ircu.

16 years agoSome tweaks, apparently you can have multiple <author> tags now.
William Pitcock [Sun, 30 Mar 2008 06:54:14 +0000 (01:54 -0500)] 
Some tweaks, apparently you can have multiple <author> tags now.

16 years agoUnbreak /quote help stats as an oper (all where oper and user help are different).
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.

16 years agoUse ERR_NOPRIVS when an oper is not allowed to see admin-only /stats.
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.

16 years agoFix type mismatch with format string.
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.

16 years agoNote that +i must be included in default_umodes.
Jilles Tjoelker [Sat, 29 Mar 2008 20:37:12 +0000 (21:37 +0100)] 
Note that +i must be included in default_umodes.

16 years agoAdd force_user_invis extension from charybdis+sn.
Jilles Tjoelker [Sat, 29 Mar 2008 20:36:39 +0000 (21:36 +0100)] 
Add force_user_invis extension from charybdis+sn.
Forces nonopers +i.

16 years agoFix compiler warning.
Jilles Tjoelker [Sat, 29 Mar 2008 20:36:11 +0000 (21:36 +0100)] 
Fix compiler warning.

16 years agoFix Invalid CAP subcommand error if the user has no nick.
Jilles Tjoelker [Tue, 18 Mar 2008 22:47:37 +0000 (23:47 +0100)] 
Fix Invalid CAP subcommand error if the user has no nick.

16 years agoCleanups to 005 code, from ratbox (androsyn).
Jilles Tjoelker [Tue, 18 Mar 2008 22:28:03 +0000 (23:28 +0100)] 
Cleanups to 005 code, from ratbox (androsyn).

16 years agotarget change: use fnv32 hash of UID instead of pointer to identify clients
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.

16 years agoGenerate include/serno.h from the hg revision data.
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

16 years agoHide cmode +r from 005 if there is no service{} block.
Jilles Tjoelker [Tue, 11 Mar 2008 22:56:23 +0000 (23:56 +0100)] 
Hide cmode +r from 005 if there is no service{} block.

16 years agosgml docs: mention that connect::topicburst is now enabled by default
Jilles Tjoelker [Tue, 11 Mar 2008 20:58:13 +0000 (21:58 +0100)] 
sgml docs: mention that connect::topicburst is now enabled by default

16 years agoClearer error messages for failed joins.
Jilles Tjoelker [Tue, 11 Mar 2008 18:48:58 +0000 (19:48 +0100)] 
Clearer error messages for failed joins.

16 years agoShow some target change statistics in /stats t.
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)

16 years agoUpdate copyright year in sgml documentation.
Jilles Tjoelker [Fri, 29 Feb 2008 19:18:09 +0000 (20:18 +0100)] 
Update copyright year in sgml documentation.

16 years agoAdd more details to stats in sgml docs.
Jilles Tjoelker [Fri, 29 Feb 2008 16:10:20 +0000 (17:10 +0100)] 
Add more details to stats in sgml docs.

16 years agoUpdate docs for change to masked stats k/K.
Jilles Tjoelker [Fri, 29 Feb 2008 15:27:55 +0000 (16:27 +0100)] 
Update docs for change to masked stats k/K.

16 years agoRemove CHFL_DEOPPED entirely.
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.

16 years agoRemove CHFL_DEOPPED check from TMODE.
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.

16 years agoFix a UID leak.
Jilles Tjoelker [Mon, 4 Feb 2008 22:56:13 +0000 (23:56 +0100)] 
Fix a UID leak.

16 years agoDefault connect::flags topicburst to true.
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.

16 years agoUpdate /stats z for removal of struct User from whowas.
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...

16 years agosend_linebuf_remote(): Remove broken and useless ghost check that can never happen.
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().

16 years agoFix some split servers not appearing in oper /map.
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().

16 years agoRemove silly a2client_p, entirely pointless since User.server removal.
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)

16 years agokline_exempt does not exempt from D:lines, so don't tell user it does.
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.

16 years agoPRIVS: Show name of operator block.
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>".

16 years agoRemove FLAGS2_NOLIMIT (IsExemptLimits/SetExemptLimits).
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.

16 years agoAdd two missing colons for sendto_one_notice().
Jilles Tjoelker [Sat, 5 Jan 2008 23:12:51 +0000 (00:12 +0100)] 
Add two missing colons for sendto_one_notice().

16 years agoAdd PRIVS extension, a command that shows oper and some auth{} privileges.
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.

16 years agoflag_table -> oper_table (more descriptive name)
Jilles Tjoelker [Sat, 5 Jan 2008 21:51:09 +0000 (22:51 +0100)] 
flag_table -> oper_table (more descriptive name)

16 years agoIf stats k is masked for nonopers, treat stats k and K the same.
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.

16 years agoUse a more expected value for SHARED_TRESV.
Jilles Tjoelker [Sat, 5 Jan 2008 13:58:13 +0000 (14:58 +0100)] 
Use a more expected value for SHARED_TRESV.

16 years agoShow full flag name, not letter, when refusing to set umode +s +n or +a.
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.

16 years agosgml docs: kline_exempt does not exempt from D:lines in any way
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

16 years agoSend a rate-limited server notice if a blacklist gives a non-127.0.0.x reply.
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.

16 years agoVarious updates to the INSTALL document.
Jilles Tjoelker [Fri, 4 Jan 2008 17:50:46 +0000 (18:50 +0100)] 
Various updates to the INSTALL document.

16 years agoconfig.h: remove some obsolete options, move MAX_BUFFER to tunable section
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

16 years agoOverwrite config.h.dist with config.h.
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

16 years agoCharybdis does not have --enable-services, it is always enabled.
Jilles Tjoelker [Fri, 4 Jan 2008 16:29:15 +0000 (17:29 +0100)] 
Charybdis does not have --enable-services, it is always enabled.

16 years agoUpdate some copyright years.
Jilles Tjoelker [Wed, 2 Jan 2008 21:34:29 +0000 (22:34 +0100)] 
Update some copyright years.

16 years agoOnly accept 127.0.0.x as a dnsbl listing.
Jilles Tjoelker [Wed, 2 Jan 2008 21:32:09 +0000 (22:32 +0100)] 
Only accept 127.0.0.x as a dnsbl listing.

16 years agoUpdate main copyright year.
Jilles Tjoelker [Tue, 1 Jan 2008 23:09:50 +0000 (00:09 +0100)] 
Update main copyright year.

16 years agoInclude time the k/d line was set in the reason when reading ban confs.
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.

16 years agoRemove idle time checking (auto disconnecting users idle too long).
Jilles Tjoelker [Tue, 1 Jan 2008 22:04:34 +0000 (23:04 +0100)] 
Remove idle time checking (auto disconnecting users idle too long).

16 years agoDocument special characters in stats i/testmask in sgml.
Jilles Tjoelker [Tue, 1 Jan 2008 21:40:22 +0000 (22:40 +0100)] 
Document special characters in stats i/testmask in sgml.

16 years agoSTATS I and TESTMASK: Show some more auth{} flags.
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.

16 years agoFix a crash when connecting to a server.
Jilles Tjoelker [Tue, 1 Jan 2008 17:47:10 +0000 (18:47 +0100)] 
Fix a crash when connecting to a server.

16 years agoSTATS I: Show spoofed auth{} blocks and ^<> flags to remote opers also.
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.

16 years agoFix a crash after a local client exits.
Jilles Tjoelker [Tue, 1 Jan 2008 17:15:56 +0000 (18:15 +0100)] 
Fix a crash after a local client exits.

16 years agoRemove various obsolete ConfItem statuses (types) and flags.
Jilles Tjoelker [Tue, 1 Jan 2008 15:06:59 +0000 (16:06 +0100)] 
Remove various obsolete ConfItem statuses (types) and flags.

16 years agoRemove long obsolete comment.
Jilles Tjoelker [Fri, 28 Dec 2007 22:23:15 +0000 (23:23 +0100)] 
Remove long obsolete comment.

16 years agoReplace int fd; in local client object with an fde object.
William Pitcock [Fri, 28 Dec 2007 21:06:33 +0000 (15:06 -0600)] 
Replace int fd; in local client object with an fde object.

16 years agoUse connect_timeout for handshakes; add snote and log when they time out.
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.

16 years agoRemove code for unregistered clients from check_pings_list()
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.

16 years agoMore helpful ERROR server notices.
Jilles Tjoelker [Fri, 28 Dec 2007 00:31:56 +0000 (01:31 +0100)] 
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.