Commit graph

3987 commits

Author SHA1 Message Date
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
Jilles Tjoelker
25c8119fc7 Add a DNS section to charybdis-oper-guide. 2008-07-10 23:31:46 +02:00
Jilles Tjoelker
ce3801b175 Remove some obsolete ConfItem flags. 2008-07-04 17:05:18 +02:00
Jilles Tjoelker
9d107a7195 Move nick collision notices from +s to +k.
Remote nick collisions (Received KILL/SAVE message)
were already on +k.
2008-07-04 16:54:46 +02:00
Jilles Tjoelker
ba0711fd4a 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.
2008-07-02 00:58:56 +02:00
Jilles Tjoelker
81c5873e97 Log ssld errors for servers and handshakes.
(serverlog)
2008-06-30 00:28:00 +02:00
Jilles Tjoelker
39452169e8 Call serv_connect_callback() directly from serv_connect_ssl_callback().
This speeds up outgoing SSL server connections by 1 second.
2008-06-29 23:47:10 +02:00
Jilles Tjoelker
9ec5132680 Give proper error messages if connect fails for a server using SSL. 2008-06-29 23:47:02 +02:00
Jilles Tjoelker
2ce698f393 Send ssld error netwide if it was a remote connect and a handshake. 2008-06-29 22:02:32 +02:00
Jilles Tjoelker
a444bb7837 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
2008-06-29 21:56:31 +02:00
Jilles Tjoelker
78dfd39d42 Keep track of nameservers that timeout and use others preferably.
The number of timeouts since the last received
packet is visible in /stats A.
2008-06-29 21:07:24 +02:00
Jilles Tjoelker
6a30990367 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
2008-06-29 01:37:11 +02:00
Jilles Tjoelker
a672fbb78c Make m_trace.c compile here (with gcc 4.2.1). 2008-06-28 21:08:04 +02:00
Valery V Yatsko
a4da8e48cd m_trace.c fixed 2008-06-28 18:20:24 +04:00
Valery V Yatsko
3664572833 New (and better) values for startup event timings 2008-06-28 14:50:21 +04:00
Valery V Yatsko
82fed37e11 Removed __CYGWIN__ define - server has no ability to work on cygwin right now 2008-06-28 14:46:03 +04:00
Valery V Yatsko
b2064202fb Removed SystemTime declaration 2008-06-28 14:38:27 +04:00
Valery V Yatsko
3d3d1a95bb Remove srand() from main(), we are using ratbox3 random number generator (ev) 2008-06-28 14:36:25 +04:00
Valery V Yatsko
a3afc27ac0 'empty_sockhost = "255.255.255.255"' const for report_this_status 2008-06-28 14:27:33 +04:00
Valery V Yatsko
b20d2f1908 report_this_status: declaration changed 2008-06-28 14:25:31 +04:00
Valery V Yatsko
7f621a1ecb report_this_status fixed 2008-06-28 14:24:18 +04:00
Valery V Yatsko
b3ebc7ab9e Applied svn diff from ratbox3 r21458:21470 2008-06-28 14:13:50 +04:00
Valery V Yatsko
405ae5ce44 notify_banned_client cleaned up 2008-06-28 12:56:58 +04:00
Valery V Yatsko
b09cbaa315 1. Removed stupid initUser() function outside of all heaps initializations
2. Cleaned up make_client
2008-06-28 12:49:27 +04:00
Valery V Yatsko
5433b83e8f *_heap declaration related to client.c are now in client.c + current_uid too 2008-06-28 12:44:19 +04:00
Valery V Yatsko
b4407833bd Remove Channel->users_last, used nowhere 2008-06-28 12:25:53 +04:00
Valery V Yatsko
402f3941d0 Removed unneeded '*_ev = NULL' statements 2008-06-28 12:12:18 +04:00
Valery V Yatsko
18e4d42137 'struct config_channel_entry ConfigChannel' in channel.c too 2008-06-28 12:02:51 +04:00