]>
jfr.im git - solanum.git/log
Valery V Yatsko [Fri, 8 Aug 2008 16:01:52 +0000 (20:01 +0400)]
fixed typo in sslproc.c
Valery V Yatsko [Wed, 6 Aug 2008 19:57:45 +0000 (23:57 +0400)]
ilog -> inotice in ircd_restart_cb (ircd.c)
Valery V Yatsko [Wed, 6 Aug 2008 19:12:02 +0000 (23:12 +0400)]
from ircd-ratbox r25799 by androsyn: give a bit more info when libratbox calls logging callbacks
Valery V Yatsko [Mon, 4 Aug 2008 17:59:58 +0000 (21:59 +0400)]
Restricted +O (operonly) channel mode to be set only by ircops
(chm_staff)
Valery V Yatsko [Mon, 4 Aug 2008 17:51:15 +0000 (21:51 +0400)]
Moved extern chmode_flags declaration from channel.h to chmode.h, as
it's actually declared in the second one
Valery V Yatsko [Mon, 4 Aug 2008 17:45:56 +0000 (21:45 +0400)]
Branch merge
Valery V Yatsko [Mon, 4 Aug 2008 17:45:30 +0000 (21:45 +0400)]
Removed global_tree declaration as unused from reject.c
Valery V Yatsko [Sun, 3 Aug 2008 21:37:18 +0000 (01:37 +0400)]
oups, missed param for has_privilege example function in TODO
Valery V Yatsko [Sun, 3 Aug 2008 21:34:59 +0000 (01:34 +0400)]
added privilege system and some new hooks in TODO
Jilles Tjoelker [Sat, 2 Aug 2008 00:09:23 +0000 (02:09 +0200)]
Rerun autoconf.
Jilles Tjoelker [Sat, 2 Aug 2008 00:09:16 +0000 (02:09 +0200)]
Fix shell syntax.
William Pitcock [Fri, 1 Aug 2008 22:03:18 +0000 (17:03 -0500)]
Rerun autoconf.
William Pitcock [Fri, 1 Aug 2008 22:02:58 +0000 (17:02 -0500)]
Add *sunos* conditional to solaris section for opensolaris, and add -D_XPG4_2 -D__EXTENSIONS__ to CFLAGS on these platforms.
William Pitcock [Fri, 1 Aug 2008 22:00:41 +0000 (17:00 -0500)]
Automated merge with ssh://hg.atheme.org//hg/charybdis
William Pitcock [Fri, 1 Aug 2008 22:00:00 +0000 (17:00 -0500)]
rb_setup_fd_ports(): use correct prototype.
Jilles Tjoelker [Fri, 1 Aug 2008 00:54:36 +0000 (02:54 +0200)]
Update example.conf for max_unknown_ip->throttle.
Jilles Tjoelker [Thu, 31 Jul 2008 23:59:08 +0000 (01:59 +0200)]
Move to ratbox3 reject and throttle code.
Throttle replaces max_unknown_ip, reject is like before
(including the charybdis-specific unkline handling).
Both of these now apply before SSL negotiation.
This commit does not include the global_cidr and new dline code.
m_webirc is a bit nasty with throttling (unlike before
with max_unknown_ip), this may be fixed later (or
the webirc IP needs to be exempt{}ed).
Jilles Tjoelker [Thu, 31 Jul 2008 20:47:53 +0000 (22:47 +0200)]
Fix rejectcache and unknown_count.
Unfortunately they are checked after SSL setup.
Jilles Tjoelker [Thu, 31 Jul 2008 20:25:17 +0000 (22:25 +0200)]
Fix testline crashes, introduced by the auth_user patch.
Jilles Tjoelker [Thu, 31 Jul 2008 19:56:05 +0000 (21:56 +0200)]
Fix some part of IPv6 dline checking.
Jilles Tjoelker [Thu, 31 Jul 2008 16:11:36 +0000 (18:11 +0200)]
Remove an unnecessary check for &channels -- sendto_server() already does it.
Jilles Tjoelker [Thu, 31 Jul 2008 15:55:23 +0000 (17:55 +0200)]
Use channel_modes() to convert a new channel's modes to a string.
Jilles Tjoelker [Thu, 31 Jul 2008 14:10:14 +0000 (16:10 +0200)]
chm_operonly extension: use Unreal's numeric (520)
irssi still does not recognize this properly, oh well
Jilles Tjoelker [Wed, 30 Jul 2008 17:53:54 +0000 (19:53 +0200)]
Fix problems with resolver not responding and epoll.
Read from resolver socket until it is no longer ready.
Jilles Tjoelker [Wed, 30 Jul 2008 12:50:12 +0000 (14:50 +0200)]
Put back netwide snotes for ssld errors from remote connects.
Jilles Tjoelker [Wed, 30 Jul 2008 12:48:39 +0000 (14:48 +0200)]
Make the ircd start again.
Valery Yatsko [Wed, 30 Jul 2008 12:27:35 +0000 (16:27 +0400)]
channel.h cleaned up a bit - removed unused includes
Valery Yatsko [Wed, 30 Jul 2008 12:19:56 +0000 (16:19 +0400)]
Removed charybdis.h include - used nowhere
Valery Yatsko [Tue, 29 Jul 2008 22:57:01 +0000 (02:57 +0400)]
ssld synced with ircd-ratbox3 svn
Valery Yatsko [Tue, 29 Jul 2008 22:55:08 +0000 (02:55 +0400)]
sslproc.c synced with ircd-ratbox3 svn
Valery Yatsko [Tue, 29 Jul 2008 22:45:31 +0000 (02:45 +0400)]
rb_uint32_t -> uint32_t, rb_uint16_t -> uint16_t
Valery Yatsko [Tue, 29 Jul 2008 22:41:27 +0000 (02:41 +0400)]
libratbox sync - r25796
Valery Yatsko [Tue, 29 Jul 2008 22:25:21 +0000 (02:25 +0400)]
Removed TS5 description as it is no longer supported
Valery Yatsko [Tue, 29 Jul 2008 22:23:30 +0000 (02:23 +0400)]
Removed some docs related to ratbox
Valery Yatsko [Tue, 29 Jul 2008 20:55:20 +0000 (00:55 +0400)]
Adding changeable access levels in todo for channel modes extensions
Jilles Tjoelker [Mon, 28 Jul 2008 22:09:03 +0000 (00:09 +0200)]
Add SENDBANS command (extension) to propagate xlines and resvs manually.
Valery Yatsko [Mon, 28 Jul 2008 19:14:51 +0000 (23:14 +0400)]
Removed unneeded includes from newconf.h
Valery Yatsko [Mon, 28 Jul 2008 19:02:54 +0000 (23:02 +0400)]
Reordered functions to match ratbox3's order
Valery Yatsko [Mon, 28 Jul 2008 06:06:01 +0000 (10:06 +0400)]
quick draft fix of ip_cloaking to make module work with ipv6 ips, cleanup later
Jilles Tjoelker [Sun, 27 Jul 2008 21:34:58 +0000 (23:34 +0200)]
Let ops/voices bypass tgchange/floodcount if sending to users in their channel.
This was already possible by using CPRIVMSG/CNOTICE
instead of PRIVMSG/NOTICE.
Jilles Tjoelker [Sun, 27 Jul 2008 20:17:46 +0000 (22:17 +0200)]
Remove user@server messages to local users.
These are unreliable in general and only useful
for violating certain restrictions.
Sending such messages to remote servers is still
possible, for securely messaging pseudoservers whether
service{}'ed or not. The special oper-only syntax
opers@server remains as well.
Valery Yatsko [Sun, 27 Jul 2008 12:25:00 +0000 (16:25 +0400)]
Removing '/* patricia */' declarations block as libratbox3 has this now, changed the order of variable declarations a bit
Valery Yatsko [Sun, 27 Jul 2008 12:18:50 +0000 (16:18 +0400)]
Cleanup: removed unused initialVMTop variable from ircd.c and get_maxrss() from restart.c
Valery Yatsko [Sun, 27 Jul 2008 12:14:30 +0000 (16:14 +0400)]
*.orig and *.log files are useless here too
Valery Yatsko [Sun, 27 Jul 2008 10:52:46 +0000 (14:52 +0400)]
last changes of crypt -> rb_crypt
Valery Yatsko [Sun, 27 Jul 2008 10:48:16 +0000 (14:48 +0400)]
crypt -> rb_crypt in m_mkpasswd.c
Valery Yatsko [Sun, 27 Jul 2008 10:45:42 +0000 (14:45 +0400)]
crypt -> rb_crypt, fixing another gcc warning
Valery Yatsko [Sun, 27 Jul 2008 10:43:49 +0000 (14:43 +0400)]
Variable aconf was used before its initialization - fixed
Valery Yatsko [Sun, 27 Jul 2008 10:09:47 +0000 (14:09 +0400)]
Added '*~' entry to .hgignore, gedit loves making them much
Valery Yatsko [Sun, 27 Jul 2008 09:53:39 +0000 (13:53 +0400)]
Changed my email address
Valery Yatsko [Sun, 27 Jul 2008 08:47:40 +0000 (12:47 +0400)]
SSL only channel mode extension - might be useful if server owner prefer not to use extended bans, or to make server feel like ircd-ratbox3
Valery Yatsko [Sun, 27 Jul 2008 08:19:21 +0000 (12:19 +0400)]
Added chm_operonly to Makefile
Valery Yatsko [Sun, 27 Jul 2008 08:10:48 +0000 (12:10 +0400)]
A very draft version of extensions, which are adding can_join hooks for custom channel modes
Jilles Tjoelker [Mon, 21 Jul 2008 23:46:34 +0000 (01:46 +0200)]
Also apply floodcount to messages to remote clients (except services).
As before, only local clients can have their message blocked.
Jilles Tjoelker [Sun, 13 Jul 2008 11:35:43 +0000 (13:35 +0200)]
Do not check floodcount if user is messaging self.
Jilles Tjoelker [Fri, 11 Jul 2008 23:52:27 +0000 (01:52 +0200)]
Regenerate depend files.
Jilles Tjoelker [Fri, 11 Jul 2008 23:52:14 +0000 (01:52 +0200)]
Some fixes to .depend generation.
Jilles Tjoelker [Fri, 11 Jul 2008 12:46:00 +0000 (14:46 +0200)]
Add some stuff to .hgignore.
Jilles Tjoelker [Thu, 10 Jul 2008 21:31:46 +0000 (23:31 +0200)]
Add a DNS section to charybdis-oper-guide.
Jilles Tjoelker [Fri, 4 Jul 2008 15:05:18 +0000 (17:05 +0200)]
Remove some obsolete ConfItem flags.
Jilles Tjoelker [Fri, 4 Jul 2008 14:54:46 +0000 (16:54 +0200)]
Move nick collision notices from +s to +k.
Remote nick collisions (Received KILL/SAVE message)
were already on +k.
Jilles Tjoelker [Tue, 1 Jul 2008 22:58:56 +0000 (00:58 +0200)]
Do not send kills for unknown prefixes which are nicks.
This can happen harmlessly in particular if a SAVE
and a nick-prefixed command crossed; then, due to
nick changes and nick chasing, it easily causes
ghosts that need a kill or split to disappear.
Most commands use UID as prefix which does not have
this problem and will destroy real ghosts soon enough.
Jilles Tjoelker [Sun, 29 Jun 2008 22:28:00 +0000 (00:28 +0200)]
Log ssld errors for servers and handshakes.
(serverlog)
Jilles Tjoelker [Sun, 29 Jun 2008 21:47:10 +0000 (23:47 +0200)]
Call serv_connect_callback() directly from serv_connect_ssl_callback().
This speeds up outgoing SSL server connections by 1 second.
Jilles Tjoelker [Sun, 29 Jun 2008 21:47:02 +0000 (23:47 +0200)]
Give proper error messages if connect fails for a server using SSL.
Jilles Tjoelker [Sun, 29 Jun 2008 20:02:32 +0000 (22:02 +0200)]
Send ssld error netwide if it was a remote connect and a handshake.
Jilles Tjoelker [Sun, 29 Jun 2008 19:56:31 +0000 (21:56 +0200)]
Show reason for failed outgoing SSL handshakes to opers.
Also add a comment that ircd does not care about the
reason for failed incoming SSL handshakes.
ircd-ratbox r25651
Jilles Tjoelker [Sun, 29 Jun 2008 19:07:24 +0000 (21:07 +0200)]
Keep track of nameservers that timeout and use others preferably.
The number of timeouts since the last received
packet is visible in /stats A.
Jilles Tjoelker [Sat, 28 Jun 2008 23:37:11 +0000 (01:37 +0200)]
Reset check_splitmode_ev to NULL after removing it,
to exclude the possibility of it being removed twice.
like ircd-ratbox r25641 (jilles)
reverts 788:
476d29d84191
Jilles Tjoelker [Sat, 28 Jun 2008 19:08:04 +0000 (21:08 +0200)]
Make m_trace.c compile here (with gcc 4.2.1).
Valery V Yatsko [Sat, 28 Jun 2008 14:20:24 +0000 (18:20 +0400)]
m_trace.c fixed
Valery V Yatsko [Sat, 28 Jun 2008 10:50:21 +0000 (14:50 +0400)]
New (and better) values for startup event timings
Valery V Yatsko [Sat, 28 Jun 2008 10:46:03 +0000 (14:46 +0400)]
Removed __CYGWIN__ define - server has no ability to work on cygwin right now
Valery V Yatsko [Sat, 28 Jun 2008 10:38:27 +0000 (14:38 +0400)]
Removed SystemTime declaration
Valery V Yatsko [Sat, 28 Jun 2008 10:36:25 +0000 (14:36 +0400)]
Remove srand() from main(), we are using ratbox3 random number generator (ev)
Valery V Yatsko [Sat, 28 Jun 2008 10:27:33 +0000 (14:27 +0400)]
'empty_sockhost = "255.255.255.255"' const for report_this_status
Valery V Yatsko [Sat, 28 Jun 2008 10:25:31 +0000 (14:25 +0400)]
report_this_status: declaration changed
Valery V Yatsko [Sat, 28 Jun 2008 10:24:18 +0000 (14:24 +0400)]
report_this_status fixed
Valery V Yatsko [Sat, 28 Jun 2008 10:13:50 +0000 (14:13 +0400)]
Applied svn diff from ratbox3 r21458:21470
Valery V Yatsko [Sat, 28 Jun 2008 08:56:58 +0000 (12:56 +0400)]
notify_banned_client cleaned up
Valery V Yatsko [Sat, 28 Jun 2008 08:49:27 +0000 (12:49 +0400)]
1. Removed stupid initUser() function outside of all heaps initializations
2. Cleaned up make_client
Valery V Yatsko [Sat, 28 Jun 2008 08:44:19 +0000 (12:44 +0400)]
*_heap declaration related to client.c are now in client.c + current_uid too
Valery V Yatsko [Sat, 28 Jun 2008 08:25:53 +0000 (12:25 +0400)]
Remove Channel->users_last, used nowhere
Valery V Yatsko [Sat, 28 Jun 2008 08:12:18 +0000 (12:12 +0400)]
Removed unneeded '*_ev = NULL' statements
Valery V Yatsko [Sat, 28 Jun 2008 08:02:51 +0000 (12:02 +0400)]
'struct config_channel_entry ConfigChannel' in channel.c too
Valery V Yatsko [Sat, 28 Jun 2008 08:00:01 +0000 (12:00 +0400)]
'rb_dlink_list global_channel_list' declaration moved to channel.c
Valery V Yatsko [Sat, 28 Jun 2008 07:54:51 +0000 (11:54 +0400)]
channel_heap,ban_heap,topic_heap,member_heap declared statically in channel.c instead of ircd.{c,h}
Valery V Yatsko [Sat, 28 Jun 2008 07:48:30 +0000 (11:48 +0400)]
Pretty symlink logic for help files
Valery V Yatsko [Sat, 28 Jun 2008 07:22:43 +0000 (11:22 +0400)]
untabify function added to cache.c:
removes tabs from src, replaces with 8 spaces, and returns the length
of the new string. if the new string would be greater than destlen,
it is truncated to destlen - 1
Valery V Yatsko [Thu, 26 Jun 2008 17:21:46 +0000 (21:21 +0400)]
sync ssld with ratbox3 repository: now r25594 + charybdis related changes
Valery V Yatsko [Thu, 26 Jun 2008 17:19:41 +0000 (21:19 +0400)]
update TODO
Valery V Yatsko [Thu, 26 Jun 2008 17:19:19 +0000 (21:19 +0400)]
Fix compilation without zlib headers present, from the ratbox3 upstream
Valery V Yatsko [Thu, 26 Jun 2008 06:28:01 +0000 (10:28 +0400)]
update TODO
Valery V Yatsko [Thu, 26 Jun 2008 06:19:27 +0000 (10:19 +0400)]
unlikely -> rb_unlikely
Valery V Yatsko [Thu, 26 Jun 2008 06:18:58 +0000 (10:18 +0400)]
PASS selector:password for auth{}, based on spb's patch for ircd-seven
Valery V Yatsko [Thu, 26 Jun 2008 05:44:07 +0000 (09:44 +0400)]
update TODO
Valery V Yatsko [Thu, 26 Jun 2008 05:34:27 +0000 (09:34 +0400)]
TODO: done: merge with libratbox SVN
William Pitcock [Thu, 26 Jun 2008 03:35:44 +0000 (22:35 -0500)]
update TODO
Jilles Tjoelker [Wed, 25 Jun 2008 21:52:28 +0000 (23:52 +0200)]
Some updates and consistency fixes to help files.
Valery V Yatsko [Wed, 25 Jun 2008 05:28:30 +0000 (09:28 +0400)]
sync libratbox - r25599 + charybdis packaging patch