Jilles Tjoelker
abe5dd209d
Put back connecting to servers defined by hostname.
...
The DNS lookup is done at connect time.
2008-04-05 22:09:32 +02:00
Valery Yatsko
47adde3def
s_stats.c removed, now we use new style of stats handling.
2008-04-04 19:54:37 +04:00
Jilles Tjoelker
8c689f969d
Ziplinks appear to work again now.
2008-04-04 00:13:50 +02:00
Jilles Tjoelker
d18a9c05fb
Fix crash when a server or attempt by an oper exits.
2008-04-03 22:47:16 +02:00
William Pitcock
4016731b1c
s_log.* -> logger.* (s_foo looks ugly, lets try to get rid of it)
2008-04-02 21:52:01 -05:00
Jilles Tjoelker
1087485cf2
Remove ^M.
2008-04-02 20:50:20 +02:00
Valery Yatsko
e967e868c4
Stuff connected with ctrlFd disabled
2008-04-02 21:16:13 +04:00
Valery Yatsko
673f58abaf
servlink fd commented out in close_connection() - we are moving on ssld
2008-04-02 21:12:08 +04:00
Valery Yatsko
5a606a8f8c
flood_recalc moved on ratbox3 event engine
2008-04-02 21:10:29 +04:00
Valery Yatsko
54ac8b60a1
Reverting some changed related not to moving on libratbox3 but using ratbox3 source!
2008-04-02 19:37:50 +04:00
Valery Yatsko
da66e74437
Missed ')'
2008-04-02 15:46:38 +04:00
Valery Yatsko
e5ac49667f
client.c fixed, remember to check it with servlink
2008-04-02 15:45:41 +04:00
Valery Yatsko
b41f87571e
client.c fixed
2008-04-02 15:25:49 +04:00
Valery Yatsko
adc6cc4278
client.c fixes + away stuff from ratbox3, part 2
2008-04-02 05:24:54 +04:00
Valery Yatsko
398b6a7372
ok, trying to work on blockheap's stuff
2008-04-02 04:28:05 +04:00
Valery Yatsko
e335494516
CurrentTime -> rb_currenttime();
2008-04-02 03:53:20 +04:00
Valery Yatsko
eddc2ab6d8
MyMalloc -> rb_malloc
2008-04-02 03:07:29 +04:00
Valery Yatsko
300a543344
away stuff from ratbox3
2008-04-02 03:03:15 +04:00
Valery Yatsko
637c4932f6
Argh, wrong replace caused by MS VS 2005 interface.
2008-04-02 02:47:17 +04:00
Valery Yatsko
bd19829278
MyFree -> rb_free
2008-04-02 02:45:16 +04:00
Valery Yatsko
81af5bcb39
libcharybdis includes gone.
2008-04-02 02:39:19 +04:00
Jilles Tjoelker
734d420e14
Some changes for libratbox.
2008-04-02 00:10:51 +02:00
Jilles Tjoelker
3b2ebd04de
Make send.c compile, except for ziplinks.
2008-04-01 23:51:34 +02:00
William Pitcock
5cefa1d6c8
macro replacement
2008-04-01 15:43:10 -05:00
William Pitcock
330fc5c10c
dlink -> rb_dlink
2008-04-01 15:41:52 -05:00
William Pitcock
b2f0da886e
ircs[n]printf -> rb_s[n]printf
2008-04-01 15:38:40 -05:00
Jilles Tjoelker
19807b5b97
Fix some split servers not appearing in oper /map.
...
Needed another scache_split() call, in qs_server().
2008-01-16 19:53:42 +01:00
Jilles Tjoelker
cdd5b26189
Remove idle time checking (auto disconnecting users idle too long).
2008-01-01 23:04:34 +01:00
Jilles Tjoelker
997613d2f3
Fix a crash after a local client exits.
2008-01-01 18:15:56 +01:00
Jilles Tjoelker
7a8dcc086d
Remove long obsolete comment.
2007-12-28 23:23:15 +01:00
William Pitcock
c5c2f506c1
Replace int fd; in local client object with an fde object.
2007-12-28 15:06:33 -06:00
Jilles Tjoelker
35cf4c7998
Use connect_timeout for handshakes; add snote and log when they time out.
2007-12-28 16:38:39 +01:00
Jilles Tjoelker
e2a980439e
Remove code for unregistered clients from check_pings_list()
...
because it is only called for lists of registered clients.
2007-12-28 16:17:39 +01:00
Jilles Tjoelker
0b580267af
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.
2007-12-24 23:29:01 +01:00
William Pitcock
43de0f45a1
Make sure the nd_dict is always created.
2007-12-03 19:37:33 -06:00
William Pitcock
b37021a45e
nickdelay -> dictionary.
2007-12-03 10:59:25 -06:00
Jilles Tjoelker
994544c294
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.
2007-11-23 22:11:25 +01:00
Jilles Tjoelker
66c8fdd207
Remove Server.up and Server.upid.
...
Server.up is obsolete, like User.server.
Server.upid has never been really useful.
2007-11-22 00:38:13 +01:00
nenolod
f80a18239d
[svn] - "please report this to the ratbox developers" -> "please report this to the charybdis developers". not sure how we overlooked this for so long.
2007-06-06 09:25:21 -07:00
jilles
54015b5fea
[svn] Apply ratbox flood fix.
2007-05-14 15:21:16 -07:00
jilles
ec3fbdecd2
[svn] Only free PreClient struct when the rest of the Client
...
is freed, not immediately upon exit_client(). Doing this
would cause problems with sasl's new_local_user hook
vs hooks that exit the client there.
2007-04-15 09:49:56 -07:00
jilles
64f2a7eb2c
[svn] Merge old trunk r2077,r2079:
...
- Move closing of servlink control fd to close_connection()
instead of doing it in exit_local_server(), and make sure
we first close the data fd and then the control fd.
- Have servlink process ready fds in order net, data, ctrl
instead of ctrl, data, net. This seems to fix the problem
that squit reasons do not show up on the other side of a
ziplink (by making it send any final SQUIT and/or ERROR
before noticing the closed control fd).
2007-03-29 13:03:06 -07:00
jilles
dd12a19c2c
[svn] Include real hostname in Closing Link message for unknown
...
connections that have sent USER. This is helpful for
k-lined users while not breaking server IP hiding.
2007-01-26 10:52:11 -08:00
nenolod
212380e3f4
[svn] - the new plan:
...
+ branches/release-2.1 -> 2.2 base
+ 3.0 -> branches/cxxconversion
+ backport some immediate 3.0 functionality for 2.2
+ other stuff
2007-01-24 22:40:21 -08:00