]> jfr.im git - irc/rqf/shadowircd.git/log
irc/rqf/shadowircd.git
16 years agoRemove various unused macros.
Jilles Tjoelker [Mon, 24 Dec 2007 19:40:12 +0000 (20:40 +0100)] 
Remove various unused macros.

16 years agoRemove unused CONF_FLAGS_DO_IDENTD and FLAGS_NEEDID.
Jilles Tjoelker [Mon, 24 Dec 2007 19:32:41 +0000 (20:32 +0100)] 
Remove unused CONF_FLAGS_DO_IDENTD and FLAGS_NEEDID.

16 years agoRemove unused flag FLAGS_CHKACCESS.
Jilles Tjoelker [Mon, 24 Dec 2007 19:26:39 +0000 (20:26 +0100)] 
Remove unused flag FLAGS_CHKACCESS.

16 years agoBranch merge.
Jilles Tjoelker [Mon, 24 Dec 2007 17:24:49 +0000 (18:24 +0100)] 
Branch merge.

16 years agoRemove dot_in_ip6_addr config option.
Jilles Tjoelker [Mon, 24 Dec 2007 17:24:23 +0000 (18:24 +0100)] 
Remove dot_in_ip6_addr config option.

16 years agoupdate IDEAS for suggestions on how you can help with the I/O refactoring.
William Pitcock [Sat, 22 Dec 2007 22:38:09 +0000 (16:38 -0600)] 
update IDEAS for suggestions on how you can help with the I/O refactoring.

16 years agocomm_locate_fd(), not comm_lookup_fd().
William Pitcock [Sat, 22 Dec 2007 22:30:06 +0000 (16:30 -0600)] 
comm_locate_fd(), not comm_lookup_fd().

16 years agolinebuf_flush(): use fde_t's.
William Pitcock [Sat, 22 Dec 2007 22:28:05 +0000 (16:28 -0600)] 
linebuf_flush(): use fde_t's.

16 years agoMake fde raw I/O functions act on the FDE object, not the FD directly.
William Pitcock [Sat, 22 Dec 2007 22:15:09 +0000 (16:15 -0600)] 
Make fde raw I/O functions act on the FDE object, not the FD directly.

16 years agowtf mercurial, tbh.
William Pitcock [Sat, 22 Dec 2007 22:08:34 +0000 (16:08 -0600)] 
wtf mercurial, tbh.

16 years agoAutomated merge with ssh://hg.atheme.org//hg/charybdis
William Pitcock [Sat, 22 Dec 2007 22:06:35 +0000 (16:06 -0600)] 
Automated merge with ssh://hg.atheme.org//hg/charybdis

16 years ago- add IOReadFunc and IOWriteFunc types.
William Pitcock [Sat, 22 Dec 2007 22:05:51 +0000 (16:05 -0600)] 
- 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.)

16 years agoFix includes.
William Pitcock [Sat, 22 Dec 2007 20:24:00 +0000 (14:24 -0600)] 
Fix includes.

16 years agoAutomated merge with ssh://hg.atheme.org//hg/charybdis
William Pitcock [Sat, 22 Dec 2007 20:05:45 +0000 (14:05 -0600)] 
Automated merge with ssh://hg.atheme.org//hg/charybdis

16 years agoAdd some GNUTLS helper code.
William Pitcock [Sat, 22 Dec 2007 20:05:03 +0000 (14:05 -0600)] 
Add some GNUTLS helper code.

16 years agoIt is ok to send 402 to local clients for any hunt_server operation.
Jilles Tjoelker [Fri, 21 Dec 2007 23:20:54 +0000 (00:20 +0100)] 
It is ok to send 402 to local clients for any hunt_server operation.

16 years agoagain, fbfile.c hasn't existed in a long time.
William Pitcock [Fri, 21 Dec 2007 17:14:08 +0000 (11:14 -0600)] 
again, fbfile.c hasn't existed in a long time.

16 years agofbfile.c hasn't existed in a long time.
William Pitcock [Fri, 21 Dec 2007 17:13:49 +0000 (11:13 -0600)] 
fbfile.c hasn't existed in a long time.

16 years agoRemove rfc1459, because IETF documentation does not contain any permission notices...
William Pitcock [Fri, 21 Dec 2007 17:09:55 +0000 (11:09 -0600)] 
Remove rfc1459, because IETF documentation does not contain any permission notices allowing modification.

16 years agoWe need to do that in another spot. Yuck.
William Pitcock [Thu, 20 Dec 2007 22:59:52 +0000 (16:59 -0600)] 
We need to do that in another spot. Yuck.

16 years agoHandle EBADF condition. yuck!
William Pitcock [Thu, 20 Dec 2007 22:56:07 +0000 (16:56 -0600)] 
Handle EBADF condition. yuck!

16 years agoFix a lot of bad assumptions in the epoll code (this needs major testing).
William Pitcock [Thu, 20 Dec 2007 22:37:57 +0000 (16:37 -0600)] 
Fix a lot of bad assumptions in the epoll code (this needs major testing).

16 years agoDeny $o extbans with data, to be better compatible with future meanings of it.
Jilles Tjoelker [Tue, 18 Dec 2007 22:00:42 +0000 (23:00 +0100)] 
Deny $o extbans with data, to be better compatible with future meanings of it.

16 years agoAdd adminwall from ratbox, as an extension.
Jilles Tjoelker [Tue, 18 Dec 2007 21:54:18 +0000 (22:54 +0100)] 
Add adminwall from ratbox, as an extension.

16 years agoRequire resv oper privilege to set cmode +L or +P.
Jilles Tjoelker [Mon, 17 Dec 2007 23:24:05 +0000 (00:24 +0100)] 
Require resv oper privilege to set cmode +L or +P.

16 years agoDon't allow opers to bypass can_create_channel check.
Jilles Tjoelker [Mon, 17 Dec 2007 23:17:25 +0000 (00:17 +0100)] 
Don't allow opers to bypass can_create_channel check.
Modules need to do so themselves, if desired.

16 years agocreateauthonly: allow opers through explicitly
Jilles Tjoelker [Mon, 17 Dec 2007 23:15:54 +0000 (00:15 +0100)] 
createauthonly: allow opers through explicitly

16 years agoDon't allow faking adminwall via wallops, in case anyone loads it.
Jilles Tjoelker [Mon, 17 Dec 2007 17:50:22 +0000 (18:50 +0100)] 
Don't allow faking adminwall via wallops, in case anyone loads it.

16 years agoAdd resv oper priv, enabled by default for compatibility.
Jilles Tjoelker [Mon, 17 Dec 2007 01:20:14 +0000 (02:20 +0100)] 
Add resv oper priv, enabled by default for compatibility.

16 years agoMake the epoll check work more reliably.
Jilles Tjoelker [Wed, 12 Dec 2007 23:43:31 +0000 (00:43 +0100)] 
Make the epoll check work more reliably.
Submitted by spb.

16 years agoSilence harmless compiler warning.
Jilles Tjoelker [Wed, 12 Dec 2007 23:20:06 +0000 (00:20 +0100)] 
Silence harmless compiler warning.

16 years agoDo not copy string passed to add_top_conf()/add_conf_item().
Jilles Tjoelker [Wed, 12 Dec 2007 23:14:02 +0000 (00:14 +0100)] 
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.

16 years agohurt: Do not store to-be-freed strings in const pointers (+ cast when freeing).
Jilles Tjoelker [Wed, 12 Dec 2007 23:03:20 +0000 (00:03 +0100)] 
hurt: Do not store to-be-freed strings in const pointers (+ cast when freeing).
Take away the const.

16 years agoMake /rehash help work again.
Jilles Tjoelker [Wed, 12 Dec 2007 21:26:17 +0000 (22:26 +0100)] 
Make /rehash help work again.

16 years agoUse 127.0.0.1 as nameserver if none can be found in /etc/resolv.conf.
Jilles Tjoelker [Tue, 11 Dec 2007 17:37:14 +0000 (18:37 +0100)] 
Use 127.0.0.1 as nameserver if none can be found in /etc/resolv.conf.
This agrees with bind's behaviour.

16 years agoRemove reject entries on unkline/ungline/unxline.
Jilles Tjoelker [Sat, 8 Dec 2007 20:54:51 +0000 (21:54 +0100)] 
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.

16 years agoAutomated merge with ssh://hg.atheme.org//hg/charybdis
William Pitcock [Sat, 8 Dec 2007 19:38:49 +0000 (13:38 -0600)] 
Automated merge with ssh://hg.atheme.org//hg/charybdis

16 years agoRemove --disable-shared-modules configure option.
William Pitcock [Sat, 8 Dec 2007 19:38:28 +0000 (13:38 -0600)] 
Remove --disable-shared-modules configure option.
It should have been removed when we removed the rest of that code.

16 years agoChange meaning of "bits" in FNV hash functions to bitlen instead of 32-bitlen.
Jilles Tjoelker [Sat, 8 Dec 2007 18:44:18 +0000 (19:44 +0100)] 
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

16 years agoMention vhost in serverlog connect log message.
Jilles Tjoelker [Thu, 6 Dec 2007 21:45:26 +0000 (22:45 +0100)] 
Mention vhost in serverlog connect log message.

16 years agoMake sure the nd_dict is always created.
William Pitcock [Tue, 4 Dec 2007 01:37:33 +0000 (19:37 -0600)] 
Make sure the nd_dict is always created.

16 years agohelp system rework, part 1
William Pitcock [Tue, 4 Dec 2007 01:35:55 +0000 (19:35 -0600)] 
help system rework, part 1

16 years agonickdelay -> dictionary.
William Pitcock [Mon, 3 Dec 2007 16:59:25 +0000 (10:59 -0600)] 
nickdelay -> dictionary.

16 years agoI was nuts when I wrote that comment, lets kill it off.
William Pitcock [Sun, 2 Dec 2007 21:50:54 +0000 (15:50 -0600)] 
I was nuts when I wrote that comment, lets kill it off.

16 years agothis should be 2.3.0
William Pitcock [Sun, 2 Dec 2007 16:17:40 +0000 (10:17 -0600)] 
this should be 2.3.0

16 years agoIt compiles, ship it.
William Pitcock [Sun, 2 Dec 2007 15:41:13 +0000 (09:41 -0600)] 
It compiles, ship it.

16 years agocommands and aliases go from horrible hashtable code to dictionary... try 1
William Pitcock [Sun, 2 Dec 2007 15:34:45 +0000 (09:34 -0600)] 
commands and aliases go from horrible hashtable code to dictionary... try 1

16 years agoAutomated merge with ssh://hg.atheme.org//hg/charybdis
William Pitcock [Sun, 2 Dec 2007 15:06:50 +0000 (09:06 -0600)] 
Automated merge with ssh://hg.atheme.org//hg/charybdis

16 years agoAdd irc_dictionary code.
William Pitcock [Sun, 2 Dec 2007 15:06:25 +0000 (09:06 -0600)] 
Add irc_dictionary code.

16 years agoUpdate extensions/README.
Jilles Tjoelker [Sat, 1 Dec 2007 20:04:31 +0000 (21:04 +0100)] 
Update extensions/README.

16 years agoFix receiving TS5 client introductions.
Jilles Tjoelker [Sat, 1 Dec 2007 18:11:44 +0000 (19:11 +0100)] 
Fix receiving TS5 client introductions.
This was broken due to User.server removal.

16 years agoSpeed up /unresv. Rehash bans now only happens if explicitly requested.
Jilles Tjoelker [Fri, 30 Nov 2007 22:35:48 +0000 (23:35 +0100)] 
Speed up /unresv. Rehash bans now only happens if explicitly requested.

16 years agoClean up m_xline a bit.
Jilles Tjoelker [Fri, 30 Nov 2007 22:35:14 +0000 (23:35 +0100)] 
Clean up m_xline a bit.

16 years agoSpeed up /unxline similarly.
Jilles Tjoelker [Fri, 30 Nov 2007 13:10:24 +0000 (14:10 +0100)] 
Speed up /unxline similarly.

16 years agoSpeed up /undline similarly
Jilles Tjoelker [Fri, 30 Nov 2007 00:14:12 +0000 (01:14 +0100)] 
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.)

16 years agoSpeed up /unkline
Jilles Tjoelker [Wed, 28 Nov 2007 23:12:51 +0000 (00:12 +0100)] 
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.

16 years agoAdd find_exact_conf_by_address() to find klines etc by exact mask.
Jilles Tjoelker [Wed, 28 Nov 2007 22:59:49 +0000 (23:59 +0100)] 
Add find_exact_conf_by_address() to find klines etc by exact mask.

16 years agoCorrect already X-Lined notice.
Jilles Tjoelker [Sun, 25 Nov 2007 17:19:26 +0000 (18:19 +0100)] 
Correct already X-Lined notice.

16 years agoWhen checking if a nick resv or xline already exists, match exact not wild.
Jilles Tjoelker [Sun, 25 Nov 2007 17:18:07 +0000 (18:18 +0100)] 
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.

16 years agoShow opers a list of recently (<24hrs) split servers in /map.
Jilles Tjoelker [Fri, 23 Nov 2007 22:38:54 +0000 (23:38 +0100)] 
Show opers a list of recently (<24hrs) split servers in /map.

16 years agoMerge links_cache into scache and rework scache.
Jilles Tjoelker [Fri, 23 Nov 2007 21:11:25 +0000 (22:11 +0100)] 
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.

16 years agoClarify meaning of some serverhide options.
Jilles Tjoelker [Fri, 23 Nov 2007 20:51:00 +0000 (21:51 +0100)] 
Clarify meaning of some serverhide options.

16 years agoRemove Server.up and Server.upid.
Jilles Tjoelker [Wed, 21 Nov 2007 23:38:13 +0000 (00:38 +0100)] 
Remove Server.up and Server.upid.
Server.up is obsolete, like User.server.
Server.upid has never been really useful.

16 years agoGet rid of User.server.
William Pitcock [Tue, 20 Nov 2007 12:36:55 +0000 (06:36 -0600)] 
Get rid of User.server.

16 years ago[svn] - we do not need to call find_server() in the function for registering local...
nenolod [Tue, 20 Nov 2007 11:16:43 +0000 (03:16 -0800)] 
[svn] - we do not need to call find_server() in the function for registering local users

16 years ago[svn] Explain invalid username rejections to users when they are rejected.
nenolod [Tue, 20 Nov 2007 11:08:23 +0000 (03:08 -0800)] 
[svn] Explain invalid username rejections to users when they are rejected.

16 years ago[svn] Update description of oper privileges a bit.
jilles [Sat, 17 Nov 2007 21:55:48 +0000 (13:55 -0800)] 
[svn] Update description of oper privileges a bit.

16 years ago[svn] Fix desyncs with very long extbans. Bans can now be upto 195 chars long.
jilles [Wed, 7 Nov 2007 23:45:14 +0000 (15:45 -0800)] 
[svn] Fix desyncs with very long extbans. Bans can now be upto 195 chars long.

16 years ago[svn] allocate_channel(): no need to truncate name, its only caller already does it
jilles [Wed, 7 Nov 2007 21:45:14 +0000 (13:45 -0800)] 
[svn] allocate_channel(): no need to truncate name, its only caller already does it
furthermore, truncating here causes an inconsistent channel name

16 years ago[svn] Fix a memory leak.
jilles [Sat, 27 Oct 2007 21:56:53 +0000 (14:56 -0700)] 
[svn] Fix a memory leak.

16 years ago[svn] Make /knock send to all channel members on +g (anyone may invite) channels.
jilles [Sun, 9 Sep 2007 19:19:23 +0000 (12:19 -0700)] 
[svn] Make /knock send to all channel members on +g (anyone may invite) channels.

16 years ago[svn] Make EXTBAN 005 token like unreal's (, instead of :).
jilles [Sun, 9 Sep 2007 18:59:08 +0000 (11:59 -0700)] 
[svn] Make EXTBAN 005 token like unreal's (, instead of :).

16 years ago[svn] Remove a sentence which gives the impression that TS6 is optional.
jilles [Thu, 6 Sep 2007 20:30:22 +0000 (13:30 -0700)] 
[svn] Remove a sentence which gives the impression that TS6 is optional.

16 years ago[svn] Clarify format of IPv6 addresses in SGML documentation.
jilles [Wed, 29 Aug 2007 22:18:31 +0000 (15:18 -0700)] 
[svn] Clarify format of IPv6 addresses in SGML documentation.

16 years ago[svn] Clarify format of IPv6 addresses in auth{} and connect{}.
jilles [Wed, 29 Aug 2007 22:04:45 +0000 (15:04 -0700)] 
[svn] Clarify format of IPv6 addresses in auth{} and connect{}.

16 years ago[svn] Add more information about invitations and invexes.
jilles [Thu, 23 Aug 2007 21:02:31 +0000 (14:02 -0700)] 
[svn] Add more information about invitations and invexes.

16 years ago[svn] Add what /invite actually does (bypass +ijlr).
jilles [Thu, 23 Aug 2007 19:00:10 +0000 (12:00 -0700)] 
[svn] Add what /invite actually does (bypass +ijlr).

16 years ago[svn] callerid (+g) documentation:
jilles [Sat, 18 Aug 2007 14:45:10 +0000 (07:45 -0700)] 
[svn] callerid (+g) documentation:
- Mention 005 (isupport) token with possibility of different mode letter.
- Explicitly clarify that /accept can be used while -g, and setting -g
  does not clear the accept list.
- Mention that some users may be able to bypass +g.
- Mention that /accept may allow more than just going through +g.
- Update to 716/717/718 numerics instead of notices.
- Clarify that the one-minute period applies to messages from all users,
  not just one user.
- Add a numerics section with more exact syntax.

16 years ago[svn] Send TS6 protocol for the actual work of override modules.
jilles [Fri, 10 Aug 2007 22:31:14 +0000 (15:31 -0700)] 
[svn] Send TS6 protocol for the actual work of override modules.
Wallops remain TS5-style for now.

16 years ago[svn] - update IDEAS as TS6 only is partially done
nenolod [Thu, 9 Aug 2007 06:50:13 +0000 (23:50 -0700)] 
[svn] - update IDEAS as TS6 only is partially done

16 years ago[svn] - TS6 is always enabled now.
nenolod [Thu, 9 Aug 2007 06:47:26 +0000 (23:47 -0700)] 
[svn] - TS6 is always enabled now.
There is no reason for it to not be enabled on a proper charybdis network.

16 years ago[svn] - better text for RPL_LOAD2HI explaining in a better way what is going on
nenolod [Thu, 9 Aug 2007 06:40:52 +0000 (23:40 -0700)] 
[svn] - better text for RPL_LOAD2HI explaining in a better way what is going on

16 years ago[svn] Also rerun autoheader, for solaris ports changes.
jilles [Wed, 1 Aug 2007 20:52:54 +0000 (13:52 -0700)] 
[svn] Also rerun autoheader, for solaris ports changes.

16 years ago[svn] Rerun autoconf for version bump, at last.
jilles [Wed, 1 Aug 2007 20:50:54 +0000 (13:50 -0700)] 
[svn] Rerun autoconf for version bump, at last.

16 years ago[svn] Make highest connection counts a bit more consistent.
jilles [Wed, 1 Aug 2007 20:18:12 +0000 (13:18 -0700)] 
[svn] Make highest connection counts a bit more consistent.

16 years ago[svn] Fix wrong line numbers in ircd.conf parser (some comments).
jilles [Mon, 30 Jul 2007 17:26:00 +0000 (10:26 -0700)] 
[svn] Fix wrong line numbers in ircd.conf parser (some comments).
from ratbox 2.2 (androsyn).

16 years ago[svn] Change EmptyString so gcc 4.2 doesn't complain.
jilles [Thu, 26 Jul 2007 14:21:57 +0000 (07:21 -0700)] 
[svn] Change EmptyString so gcc 4.2 doesn't complain.
from ratbox (androsyn), slightly changed

16 years ago[svn] In a two-argument whois, RPL_ENDOFWHOIS should show second arg.
jilles [Sat, 14 Jul 2007 21:50:21 +0000 (14:50 -0700)] 
[svn] In a two-argument whois, RPL_ENDOFWHOIS should show second arg.
This already works correctly for successful/notfound case.

16 years ago[svn] Use mask_match() to check bans from local clients for
jilles [Sat, 14 Jul 2007 13:34:50 +0000 (06:34 -0700)] 
[svn] Use mask_match() to check bans from local clients for
redundancy. This fixes the problem that bans like *!?@*
prevent any ban starting with *!*@ being set.

16 years ago[svn] Add mask_match(), like ircu mmatch().
jilles [Sat, 14 Jul 2007 13:32:18 +0000 (06:32 -0700)] 
[svn] Add mask_match(), like ircu mmatch().
This compares two masks and returns whether the "new" is
more specific than or equal to the "old". The difference
with match() is that a '?' in "old" does not match a '*' in
"new".

16 years ago[svn] add_id() for local client: do not collapse() the ban mask.
jilles [Sat, 14 Jul 2007 12:20:48 +0000 (05:20 -0700)] 
[svn] add_id() for local client: do not collapse() the ban mask.
The code calling this already collapses the mask, and if
not, doing it here would cause a desync.

16 years ago[svn] - fix dereference problems with not widely used polling engines
nenolod [Sat, 7 Jul 2007 08:08:23 +0000 (01:08 -0700)] 
[svn] - fix dereference problems with not widely used polling engines

16 years ago[svn] - forgot to do something
nenolod [Fri, 6 Jul 2007 07:56:14 +0000 (00:56 -0700)] 
[svn] - forgot to do something

16 years ago[svn] - fix a possible problem with ipv6
nenolod [Fri, 6 Jul 2007 07:54:54 +0000 (00:54 -0700)] 
[svn] - fix a possible problem with ipv6

16 years ago[svn] - new ip cloaking module
nenolod [Fri, 6 Jul 2007 07:48:28 +0000 (00:48 -0700)] 
[svn] - new ip cloaking module

17 years ago[svn] monitor: send the same message buffer to all users
jilles [Sat, 30 Jun 2007 22:15:35 +0000 (15:15 -0700)] 
[svn] monitor: send the same message buffer to all users
monitoring a certain nick; the target field of the
numeric becomes *, much like server notices

17 years ago[svn] Call add_to_hostname_hash() with correct (orig) hostname.
jilles [Fri, 22 Jun 2007 21:59:09 +0000 (14:59 -0700)] 
[svn] Call add_to_hostname_hash() with correct (orig) hostname.

17 years ago[svn] Version bump on trunk to 2.3.
jilles [Sun, 10 Jun 2007 16:14:03 +0000 (09:14 -0700)] 
[svn] Version bump on trunk to 2.3.

17 years ago[svn] - "please report this to the ratbox developers" -> "please report this to the...
nenolod [Wed, 6 Jun 2007 16:25:21 +0000 (09:25 -0700)] 
[svn] - "please report this to the ratbox developers" -> "please report this to the charybdis developers". not sure how we overlooked this for so long.

17 years ago[svn] Add IRC_DEPRECATED macro for marking functions and data structures
nenolod [Wed, 6 Jun 2007 16:20:40 +0000 (09:20 -0700)] 
[svn] Add IRC_DEPRECATED macro for marking functions and data structures
as deprecated on compilers that support it.