]> jfr.im git - irc/rqf/shadowircd.git/log
irc/rqf/shadowircd.git
16 years agoSend a few more snotes about remote connects netwide.
Jilles Tjoelker [Tue, 25 Dec 2007 15:19:54 +0000 (16:19 +0100)] 
Send a few more snotes about remote connects netwide.
(bad password for server, SID exists)

16 years agoAdd chm_quietunreg_compat extension, makes cmode +-R an alias for +-q $~a.
Jilles Tjoelker [Tue, 25 Dec 2007 12:56:05 +0000 (13:56 +0100)] 
Add chm_quietunreg_compat extension, makes cmode +-R an alias for +-q $~a.

16 years agoAdd no_locops extension to disable LOCOPS (force everyone -l).
Jilles Tjoelker [Tue, 25 Dec 2007 12:27:41 +0000 (13:27 +0100)] 
Add no_locops extension to disable LOCOPS (force everyone -l).

16 years agoUse "SID Exists" instead of "Server Exists" where appropriate.
Jilles Tjoelker [Tue, 25 Dec 2007 00:16:18 +0000 (01:16 +0100)] 
Use "SID Exists" instead of "Server Exists" where appropriate.

16 years agoConsolidate duplicate channel mode flags tables to one.
Jilles Tjoelker [Tue, 25 Dec 2007 00:00:20 +0000 (01:00 +0100)] 
Consolidate duplicate channel mode flags tables to one.

16 years agoMake the notable TS delta snote netwide as this may screw up the entire network.
Jilles Tjoelker [Mon, 24 Dec 2007 23:18:34 +0000 (00:18 +0100)] 
Make the notable TS delta snote netwide as this may screw up the entire network.

16 years agoPut full detail in the SQUIT reason for invalid TS version or excessive TS delta.
Jilles Tjoelker [Mon, 24 Dec 2007 23:16:26 +0000 (00:16 +0100)] 
Put full detail in the SQUIT reason for invalid TS version or excessive TS delta.

16 years agoRemove "<server> had been connected for <time>" snote.
Jilles Tjoelker [Mon, 24 Dec 2007 22:29:01 +0000 (23:29 +0100)] 
Remove "<server> had been connected for <time>" snote.
For registered servers, it is entirely redundant with the
"<server> was connected for <time>.  <traffic>" snote, and
only sent for some ways of closing; for handshakes, you
already know that it had not been connected for long.

16 years agoMake the other notices to snomask +b network wide.
Jilles Tjoelker [Mon, 24 Dec 2007 21:43:47 +0000 (22:43 +0100)] 
Make the other notices to snomask +b network wide.
(with the exception of flooding on an &channel)

16 years agoDocument the mass_notice oper privilege.
Jilles Tjoelker [Mon, 24 Dec 2007 21:04:18 +0000 (22:04 +0100)] 
Document the mass_notice oper privilege.

16 years agoDocument the resv oper privilege.
Jilles Tjoelker [Mon, 24 Dec 2007 20:59:21 +0000 (21:59 +0100)] 
Document the resv oper privilege.

16 years agoAdd mass_notice oper priv, enabled by default for compatibility.
Jilles Tjoelker [Mon, 24 Dec 2007 20:47:05 +0000 (21:47 +0100)] 
Add mass_notice oper priv, enabled by default for compatibility.
Controls /wallops and masked notices/privmsgs.

16 years agoRearrange flags2 to make room for 3 more oper privileges.
Jilles Tjoelker [Mon, 24 Dec 2007 20:16:19 +0000 (21:16 +0100)] 
Rearrange flags2 to make room for 3 more oper privileges.

16 years agoMove various flags from flags2 to flags.
Jilles Tjoelker [Mon, 24 Dec 2007 19:58:55 +0000 (20:58 +0100)] 
Move various flags from flags2 to flags.

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).