Commit Graph

102 Commits

Author SHA1 Message Date
Valery Yatsko d99380b61b legacy irc sprintf gone 2008-04-20 09:12:09 +04:00
Valery Yatsko 08a5f1f948 myctime -> rb_ctime 2008-04-20 09:03:39 +04:00
Valery Yatsko 907468c485 strlcpy -> rb_strlcpy 2008-04-20 08:40:40 +04:00
Jilles Tjoelker b717a466d0 Remove ^M on line endings. 2008-04-13 17:54:23 +02:00
Jilles Tjoelker c6525f80ba Remove various other gline stuff. 2008-04-11 17:10:40 +02:00
Valery Yatsko d5a432fa00 Removing glines 2008-04-11 18:47:03 +04:00
Valery Yatsko 6b7c7401f9 Working over zipstats bug and moving on the new ServerStats struct (without Kb counting, this style is used by code parts from ratbox3) 2008-04-08 18:00:38 +04:00
Valery Yatsko 8db00894ab ssl sync with http://hg.angelforce.ru/charybdis-old 2008-04-06 18:52:42 +04:00
Jilles Tjoelker cecb5c1e51 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 8325120565 s_stats.c removed, now we use new style of stats handling. 2008-04-04 19:54:37 +04:00
Jilles Tjoelker 83b667df88 Ziplinks appear to work again now. 2008-04-04 00:13:50 +02:00
Jilles Tjoelker 72b8a371c5 Fix crash when a server or attempt by an oper exits. 2008-04-03 22:47:16 +02:00
William Pitcock d3455e2c7e s_log.* -> logger.* (s_foo looks ugly, lets try to get rid of it) 2008-04-02 21:52:01 -05:00
Jilles Tjoelker ae4091d2f9 Remove ^M. 2008-04-02 20:50:20 +02:00
Valery Yatsko 32db3450e8 Stuff connected with ctrlFd disabled 2008-04-02 21:16:13 +04:00
Valery Yatsko 360f052895 servlink fd commented out in close_connection() - we are moving on ssld 2008-04-02 21:12:08 +04:00
Valery Yatsko 6227ed01af flood_recalc moved on ratbox3 event engine 2008-04-02 21:10:29 +04:00
Valery Yatsko 21c9d815d7 Reverting some changed related not to moving on libratbox3 but using ratbox3 source! 2008-04-02 19:37:50 +04:00
Valery Yatsko 4dd4c5fcea Missed ')' 2008-04-02 15:46:38 +04:00
Valery Yatsko 788813d6f3 client.c fixed, remember to check it with servlink 2008-04-02 15:45:41 +04:00
Valery Yatsko 9a63f5aa04 client.c fixed 2008-04-02 15:25:49 +04:00
Valery Yatsko 784fdac0b2 client.c fixes + away stuff from ratbox3, part 2 2008-04-02 05:24:54 +04:00
Valery Yatsko 6e9b4415cc ok, trying to work on blockheap's stuff 2008-04-02 04:28:05 +04:00
Valery Yatsko 9f6bbe3cf9 CurrentTime -> rb_currenttime(); 2008-04-02 03:53:20 +04:00
Valery Yatsko 8e43b0b414 MyMalloc -> rb_malloc 2008-04-02 03:07:29 +04:00
Valery Yatsko ece36b7b5d away stuff from ratbox3 2008-04-02 03:03:15 +04:00
Valery Yatsko 90a3c35b29 Argh, wrong replace caused by MS VS 2005 interface. 2008-04-02 02:47:17 +04:00
Valery Yatsko a55e57248b MyFree -> rb_free 2008-04-02 02:45:16 +04:00
Valery Yatsko cc200171d7 libcharybdis includes gone. 2008-04-02 02:39:19 +04:00
Jilles Tjoelker 527ec9116a Some changes for libratbox. 2008-04-02 00:10:51 +02:00
Jilles Tjoelker 780087dc8e Make send.c compile, except for ziplinks. 2008-04-01 23:51:34 +02:00
William Pitcock 8e69bb4e90 macro replacement 2008-04-01 15:43:10 -05:00
William Pitcock af81d5a0b0 dlink -> rb_dlink 2008-04-01 15:41:52 -05:00
William Pitcock 38e6acddad ircs[n]printf -> rb_s[n]printf 2008-04-01 15:38:40 -05:00
Jilles Tjoelker 4f5ec033bc 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 e54995b150 Remove idle time checking (auto disconnecting users idle too long). 2008-01-01 23:04:34 +01:00
Jilles Tjoelker 24350e6234 Fix a crash after a local client exits. 2008-01-01 18:15:56 +01:00
Jilles Tjoelker 06e080f3e8 Remove long obsolete comment. 2007-12-28 23:23:15 +01:00
William Pitcock de0572442e Replace int fd; in local client object with an fde object. 2007-12-28 15:06:33 -06:00
Jilles Tjoelker 16d59a0d4a Use connect_timeout for handshakes; add snote and log when they time out. 2007-12-28 16:38:39 +01:00
Jilles Tjoelker e883cf07e7 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 05beabd14f 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