Commit Graph

333 Commits

Author SHA1 Message Date
Valery Yatsko 79c3c679ad Removing UMODE_ALL, replacing all sendto_realops_flags in sslproc.c with snomasks 2008-04-08 20:16:19 +04:00
Valery Yatsko 9b2fe0ba77 rb_lib_loop delay changed from 250 to 0, it really must be set to nil, 'cause there are some additional checks inside libratbox3 2008-04-08 18:09:32 +04:00
Valery Yatsko 29c8637abb Branch merge 2008-04-08 18:01:37 +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 944de091fe Oups, declarations related to ircd.c returned from ircd_state.c 2008-04-08 16:01:16 +04:00
Valery Yatsko f0dd483776 Cleaned up ircd.c a bit and added additional check to ircd_die_cb() 2008-04-08 15:50:39 +04:00
Valery Yatsko 94ffe93212 ircd_state.{c,h} gone - let us redesign it in future really 2008-04-08 15:41:41 +04:00
Valery Yatsko f1c998aef1 ServerRunning is not used too 2008-04-08 15:38:18 +04:00
Valery Yatsko f9d784da28 It seems that we don't use data structs version anywhere since 1.2.0 - removed 2008-04-08 15:36:56 +04:00
Valery Yatsko e30b893eb1 show_capabilities cleanup and now show whether we are TS or TS6 and SSL link 2008-04-07 20:21:09 +04:00
Valery Yatsko fef2c7b157 Make charybdis not search m_sjoin as its a core module 2008-04-07 20:06:04 +04:00
William Pitcock 5da17c500b fix whois :) 2008-04-06 12:04:25 -05:00
William Pitcock 16cb94cc53 add umode +Z for SSL, can't be set or unset 2008-04-06 11:55:12 -05:00
William Pitcock 2b6c877341 make this compile again 2008-04-06 11:33:34 -05:00
Valery Yatsko 8db00894ab ssl sync with http://hg.angelforce.ru/charybdis-old 2008-04-06 18:52:42 +04:00
Jilles Tjoelker 1d39b466d4 Branch merge. 2008-04-05 22:34:13 +02: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 3fe908250a Much clear maxconnections stuff - ported from ratbox3. 2008-04-05 23:56:15 +04:00
Valery Yatsko 7bab07d4d3 Some global structs cleaned up a bit in their initalization and declarations. 2008-04-05 22:02:59 +04:00
Valery Yatsko 2f5fa92127 Missed some files in r520 commit. 2008-04-05 21:20:48 +04:00
Valery Yatsko 2c2e0aa96e Replacing legacy IPV6 define with RB_IPV6 (which is included in libratbox's config.h). 2008-04-05 20:57:30 +04: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 d991e38239 Servlink control data is read again, this makes /stats Z work. 2008-04-04 00:45:38 +02:00
Jilles Tjoelker 83b667df88 Ziplinks appear to work again now. 2008-04-04 00:13:50 +02:00
Jilles Tjoelker 99a80a9151 Unbreak /stats B. 2008-04-03 23:38:47 +02:00
Jilles Tjoelker 72b8a371c5 Fix crash when a server or attempt by an oper exits. 2008-04-03 22:47:16 +02:00
Jilles Tjoelker 39aff273d8 Unbreak connecting to servers. 2008-04-03 22:46:43 +02:00
Jilles Tjoelker 74d60b2329 Remove ident connect failure notices again.
reverting 7ea53124d350
2008-04-03 22:19:47 +02:00
Jilles Tjoelker 0ee0482f98 Clean this up a bit. 2008-04-03 22:11:19 +02:00
Jilles Tjoelker 24914876eb Fix a case where an EOF could be interpreted a previous errno (often ignorable). 2008-04-03 21:43:54 +02:00
Jilles Tjoelker 72745c2b88 Connect to correct ident port (forgot an htons). 2008-04-03 20:46:20 +02:00
William Pitcock ab3e565d6c Make identd check work again. Someone made an oops here. 2008-04-03 10:53:16 -05:00
William Pitcock ba05bde605 Make this compile again. 2008-04-03 10:31:18 -05:00
William Pitcock 717718f725 Call ilog_error() to log identd check failures. 2008-04-03 10:29:51 -05:00
William Pitcock d4e5b205ee set_time() isn't needed anymore; remove it 2008-04-03 05:35:44 -05: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
William Pitcock d7b7d8bbdf report_error() cleanup 2008-04-02 21:47:03 -05:00
William Pitcock 3a2ff95dcf ilog_error() replaces legacy report_error() craq 2008-04-02 21:40:54 -05:00
William Pitcock 285120b4b6 Remove gnutls.c, we don't need it now. 2008-04-02 20:46:05 -05:00
William Pitcock 68db0a4db9 setting maxconnections seems to get things going... 2008-04-02 20:45:24 -05:00
William Pitcock 5d3b05b9b6 use an rpath to avoid LD_LIBRARY_PATH stuff 2008-04-02 20:26:48 -05:00
William Pitcock b0ac993f2d use rb_set_time() to update ratbox time 2008-04-02 20:26:00 -05:00
Jilles Tjoelker 348684d209 Need to initialize linebuf separately. 2008-04-03 01:40:32 +02:00
Jilles Tjoelker de0ae50d20 Restore and update send_oper_motd().
The main ircd binary now compiles and links.
2008-04-03 01:16:49 +02:00
Jilles Tjoelker a549758992 Make some more files compile. 2008-04-03 01:10:04 +02:00
Jilles Tjoelker 0cca1f52c4 Make s_conf.c compile. 2008-04-02 21:39:58 +02:00
Jilles Tjoelker cb1130e0f0 Make s_auth.c compile. 2008-04-02 21:14:34 +02:00
Jilles Tjoelker ae4091d2f9 Remove ^M. 2008-04-02 20:50:20 +02:00
William Pitcock 07943cb570 reject.c ported 2008-04-02 13:01:18 -05:00
William Pitcock 80e150e167 res.c is ported to libratbox :) 2008-04-02 12:57:14 -05:00
Valery Yatsko dbd98a0a38 packet.c fixed 2008-04-02 21:23:29 +04: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 887b2f383e linebuf -> rb_linebuf 2008-04-02 21:04:44 +04:00
Valery Yatsko dd9b6ee83a Oups, change for last commit 2008-04-02 20:55:38 +04:00
Valery Yatsko 0632be9b47 find_dline fixed 2008-04-02 20:54:27 +04:00
Valery Yatsko 2bd806b01c Last argument fix 2008-04-02 20:51:17 +04:00
Valery Yatsko c1441db7b7 listener.c fixes - part 1 2008-04-02 20:49:46 +04:00
Valery Yatsko 9674dc79be add_connection fixed to accept F instead of fd 2008-04-02 20:45:37 +04:00
Valery Yatsko 734bfb87bc Missed declarations 2008-04-02 20:40:38 +04:00
Valery Yatsko 2cbef5bc89 Porting accept callback functions 2008-04-02 20:39:36 +04:00
Valery Yatsko fb968f050c Workarond with listener.c stuff on moving from listener->fd usage on listener->F. 2008-04-02 20:06:11 +04:00
Valery Yatsko 3ea5fee7ed irc_sockaddr_storage -> rb_sockaddr_storage, changing fd in Listener struct to F 'cause libratbox3 need it. 2008-04-02 19:57:37 +04:00
Valery Yatsko c945815bf6 class.c fixed 2008-04-02 19:49:42 +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 ad9e4e4095 get_printable_kline(..) fix 2008-04-02 16:55:01 +04:00
Valery Yatsko 58dfaed919 fixing reject.c compilation + some changes I forgot in previous changeset 2008-04-02 16:53:21 +04:00
Valery Yatsko 9d948d2b6d includes fix 2008-04-02 16:37:42 +04:00
Valery Yatsko 42d2f3061c READBUF_SIZE 2008-04-02 16:35:48 +04:00
Valery Yatsko 95781b4d5f Trying to fix packet.c 2008-04-02 16:31:17 +04:00
Valery Yatsko 8901cbdc74 add_reject fix - please check!!! 2008-04-02 16:12:49 +04:00
Valery Yatsko 1814e48902 fixing ServerStats references 2008-04-02 16:11:27 +04:00
Valery Yatsko 8750c6e6b7 tstats stuff gone to m_stats.c 2008-04-02 16:04:43 +04:00
Valery Yatsko 0328101a9b s_stats.c::tstats fixed 2008-04-02 16:01:49 +04:00
Valery Yatsko 1ec2ad721b ircst legacy declaration gone 2008-04-02 16:00:08 +04:00
Valery Yatsko 4ecbad0036 ircvsnprintf -> rb_vsnprintf 2008-04-02 15:58:00 +04:00
Valery Yatsko 111b38edc1 inotice fixed 2008-04-02 15:56:34 +04:00
Valery Yatsko bdd19b720a add_listener w/o ssl 2008-04-02 15:53:46 +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 404e46ce52 class.c fixed possibly 2008-04-02 15:33:29 +04:00
Valery Yatsko 9a63f5aa04 client.c fixed 2008-04-02 15:25:49 +04:00
Valery Yatsko 206b1ee61b fixing dline 2008-04-02 15:20:15 +04:00
Valery Yatsko 6a73262e4d 'ServerStats->' -> 'ServerStats.' 2008-04-02 15:07:00 +04:00
Valery Yatsko 90b693f9f6 More charybdis -> ratbox3 2008-04-02 15:02:45 +04:00
Valery Yatsko 3e32e4d686 Fixing bugs 2008-04-02 14:43:53 +04:00
Valery Yatsko 92bdd4adfe reject functions from ratbox3 2008-04-02 14:41:37 +04:00
Valery Yatsko dfb5a598a0 Missed include 2008-04-02 14:37:40 +04:00
Valery Yatsko 0e992f7e53 s_stats workaround 2008-04-02 14:35:57 +04:00
Valery Yatsko ed78643f52 sslproc.h include 2008-04-02 14:30:44 +04:00
Valery Yatsko c72690d81d ssl_ok in ircd.{h,c} 2008-04-02 14:29:18 +04:00
Valery Yatsko d94b1e4014 hash_cli_fd(x) 2008-04-02 14:22:43 +04:00
Valery Yatsko 620a4bf34a clientbyFdTable 2008-04-02 14:22:02 +04:00
Valery Yatsko 01ebafc985 Some hash stuff 2008-04-02 14:20:27 +04:00
Valery Yatsko 58e8319c1c Reverting to 398.. trying again with native charybdis hash 2008-04-02 14:16:31 +04:00
Valery Yatsko aa97babfaf UMODE_DEBUG -> SNO_DEBUG 2008-04-02 14:01:32 +04:00
Valery Yatsko 162828b85d hash.{h,c} from ratbox3, let's work around them! xD 2008-04-02 13:58:52 +04:00
Valery Yatsko 58f3e38756 extern declaration in ircd.h instead of ircd.c 2008-04-02 13:53:41 +04:00
Valery Yatsko 7ff5352595 Reverting last commit 2008-04-02 13:52:05 +04:00