Commit graph

914 commits

Author SHA1 Message Date
Valery V Yatsko 75f2de7320 added privilege system and some new hooks in TODO 2008-08-04 01:34:59 +04:00
Jilles Tjoelker e5334f35e6 Rerun autoconf. 2008-08-02 02:09:23 +02:00
Jilles Tjoelker d90702c9aa Fix shell syntax. 2008-08-02 02:09:16 +02:00
William Pitcock 5f4f06c87a Rerun autoconf. 2008-08-01 17:03:18 -05:00
William Pitcock 0bb036c05f Add *sunos* conditional to solaris section for opensolaris, and add -D_XPG4_2 -D__EXTENSIONS__ to CFLAGS on these platforms. 2008-08-01 17:02:58 -05:00
William Pitcock 041d07b3d0 Automated merge with ssh://hg.atheme.org//hg/charybdis 2008-08-01 17:00:41 -05:00
William Pitcock 72cedbce85 rb_setup_fd_ports(): use correct prototype. 2008-08-01 17:00:00 -05:00
Jilles Tjoelker cc49daee1a Update example.conf for max_unknown_ip->throttle. 2008-08-01 02:54:36 +02:00
Jilles Tjoelker 43946961df 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).
2008-08-01 01:59:08 +02:00
Jilles Tjoelker 4679c2c1cc Fix rejectcache and unknown_count.
Unfortunately they are checked after SSL setup.
2008-07-31 22:47:53 +02:00
Jilles Tjoelker 59c3d09ab5 Fix testline crashes, introduced by the auth_user patch. 2008-07-31 22:25:17 +02:00
Jilles Tjoelker 41d7fefad1 Fix some part of IPv6 dline checking. 2008-07-31 21:56:05 +02:00
Jilles Tjoelker db2545b11e Remove an unnecessary check for &channels -- sendto_server() already does it. 2008-07-31 18:11:36 +02:00
Jilles Tjoelker 095efcf0fc Use channel_modes() to convert a new channel's modes to a string. 2008-07-31 17:55:23 +02:00
Jilles Tjoelker eb463ef309 chm_operonly extension: use Unreal's numeric (520)
irssi still does not recognize this properly, oh well
2008-07-31 16:10:14 +02:00
Jilles Tjoelker ce1cab0ffd Fix problems with resolver not responding and epoll.
Read from resolver socket until it is no longer ready.
2008-07-30 19:53:54 +02:00
Jilles Tjoelker 88fc1aeb68 Put back netwide snotes for ssld errors from remote connects. 2008-07-30 14:50:12 +02:00
Jilles Tjoelker befa24c8fe Make the ircd start again. 2008-07-30 14:48:39 +02:00
Valery Yatsko 9bdd947118 channel.h cleaned up a bit - removed unused includes 2008-07-30 16:27:35 +04:00
Valery Yatsko 687ff2f994 Removed charybdis.h include - used nowhere 2008-07-30 16:19:56 +04:00
Valery Yatsko 7edb4f163f ssld synced with ircd-ratbox3 svn 2008-07-30 02:57:01 +04:00
Valery Yatsko 0862e335a3 sslproc.c synced with ircd-ratbox3 svn 2008-07-30 02:55:08 +04:00
Valery Yatsko 104c6d469d rb_uint32_t -> uint32_t, rb_uint16_t -> uint16_t 2008-07-30 02:45:31 +04:00
Valery Yatsko a9fb3ed0f9 libratbox sync - r25796 2008-07-30 02:41:27 +04:00
Valery Yatsko ea3ab4a938 Removed TS5 description as it is no longer supported 2008-07-30 02:25:21 +04:00
Valery Yatsko f9d5f40a62 Removed some docs related to ratbox 2008-07-30 02:23:30 +04:00
Valery Yatsko 50686c834b Adding changeable access levels in todo for channel modes extensions 2008-07-30 00:55:20 +04:00
Jilles Tjoelker b0ccacd250 Add SENDBANS command (extension) to propagate xlines and resvs manually. 2008-07-29 00:09:03 +02:00
Valery Yatsko adc7be98fc Removed unneeded includes from newconf.h 2008-07-28 23:14:51 +04:00
Valery Yatsko 6fce54ff82 Reordered functions to match ratbox3's order 2008-07-28 23:02:54 +04:00
Valery Yatsko b42eac7502 quick draft fix of ip_cloaking to make module work with ipv6 ips, cleanup later 2008-07-28 10:06:01 +04:00
Jilles Tjoelker c287438827 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.
2008-07-27 23:34:58 +02:00
Jilles Tjoelker ef57f7fb5e 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.
2008-07-27 22:17:46 +02:00
Valery Yatsko cd27d99ce4 Removing '/* patricia */' declarations block as libratbox3 has this now, changed the order of variable declarations a bit 2008-07-27 16:25:00 +04:00
Valery Yatsko 6977926571 Cleanup: removed unused initialVMTop variable from ircd.c and get_maxrss() from restart.c 2008-07-27 16:18:50 +04:00
Valery Yatsko 92bc7b0fd1 *.orig and *.log files are useless here too 2008-07-27 16:14:30 +04:00
Valery Yatsko ba8b3ff18a last changes of crypt -> rb_crypt 2008-07-27 14:52:46 +04:00
Valery Yatsko 5440859e95 crypt -> rb_crypt in m_mkpasswd.c 2008-07-27 14:48:16 +04:00
Valery Yatsko d20b49d5b1 crypt -> rb_crypt, fixing another gcc warning 2008-07-27 14:45:42 +04:00
Valery Yatsko 08e8aa7acc Variable aconf was used before its initialization - fixed 2008-07-27 14:43:49 +04:00
Valery Yatsko f2eac47666 Added '*~' entry to .hgignore, gedit loves making them much 2008-07-27 14:09:47 +04:00
Valery Yatsko bebbbb3085 Changed my email address 2008-07-27 13:53:39 +04:00
Valery Yatsko 80ce25befa 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 2008-07-27 12:47:40 +04:00
Valery Yatsko 216574bec7 Added chm_operonly to Makefile 2008-07-27 12:19:21 +04:00
Valery Yatsko acdf71d9d2 A very draft version of extensions, which are adding can_join hooks for custom channel modes 2008-07-27 12:10:48 +04:00
Jilles Tjoelker c24efdc0b7 Also apply floodcount to messages to remote clients (except services).
As before, only local clients can have their message blocked.
2008-07-22 01:46:34 +02:00
Jilles Tjoelker 351d22c09b Do not check floodcount if user is messaging self. 2008-07-13 13:35:43 +02:00
Jilles Tjoelker 189b86d258 Regenerate depend files. 2008-07-12 01:52:27 +02:00
Jilles Tjoelker baacec4186 Some fixes to .depend generation. 2008-07-12 01:52:14 +02:00
Jilles Tjoelker 808749a9c2 Add some stuff to .hgignore. 2008-07-11 14:46:00 +02:00