Re: [Unreal-users] hmm. bug?
Status: Beta
Brought to you by:
wildchild
From: Carsten V. M. <sts...@ts...> - 2000-05-28 07:14:11
|
Might just throw in my cents here.. (this problem was predicted already before release). Unreal/all IRCds have had a problem with it able to be "owned"/crashed by a program that spawned heavily many unknown connections.. We added a fix so no Y:line max clients can be larger than MAXCONNECTIONS (which in your case is 256) minus 15 (for dns checks, socks etc). Go edit the Y:line to say Y:1:90:0:241:100000 if you got the "241" problem. This is for your own good really :P --Stskeeps --------------------------------------------------------------------- Carsten V. Munk - The Nightwalker, known on IRC as Stskeeps or techie * ICQ: 16465977 - E-Mail: sts...@ts... * Author of UnrealIRCd (http://unreal.tspre.org) * Technical Admin @ irc.roxnet.org, server admin of irc.fyremoon.net "To understand a program you must become both the machine and the program." ---------------------------------------------------------------------- -----BEGIN GEEK CODE BLOCK----- Version: 3.1 GCS/CC d- s: a--- C+++ UL P L++ E-- W++ N+ o-- K- w--- O- M V-- PS+ PE- Y+ PGP t+ 5 X R- tv- b+ DI++ D++ G e-- h! r z** ------END GEEK CODE BLOCK------ On Sun, 28 May 2000, Justin Hammond wrote: > >From Memory (though I could be wrong) > The Y Line says how many clients you are allowed in a Particular Class. > Look for your Y line in your config and see if its around this number... You > might have to knock it up some more, or: > Map Clients to different Y lines. E.g Map US users to one Y line, and Map > Aussie users to their own Y line. > > I Also think if you want your IRCD to support more than 255 Connections you > need to sometimes check out two things: > > 1) That your Kernel will support more than 256 FD's (or open files, which is > what a socket is classed as). > Ulimit -a shows this (Look for open files) > if its set at 256, then you usually need to re-compile your kernel to allow > more Open Files per Process (for 2.0. there are patches available that fix > this, for 2.2 there is a define in one of the kernel config files (I have no > idea where, it was a long time I did this) > > 2) if ulimit -a shows you can accept more connections, then the other option > you have to setup (I think, not 100% sure on this) is Unreal. > I think its Hardcoded to support only a Maximum of 256 or 512 connections. > Again, I don't know where to do this in the unreal code. Maybe Stskeeps or > Codemaster will grace us with a answer? (or correct me if I'm wrong) > > Thanks > > Justin > > > -----Original Message----- > From: Brad <Br...@ch...> > To: unr...@li... <unr...@li...>; > unr...@li... <unr...@li...> > Date: Sunday, May 28, 2000 7:55 AM > Subject: [Unreal-users] hmm. bug? > > > >hey, > > > >Closing Link: Brad[64.23.15.131] (ircd.conf Y:line class number 1 is bad > >(contains too many max clients (> 241). Get your IRC admin to fix this) > > > >where is the setting to change this? > > > >thanks, > >brad > > > > > >_______________________________________________ > >Unreal-users mailing list > >Unr...@li... > >http://lists.sourceforge.net/mailman/listinfo/unreal-users > > > > > _______________________________________________ > Unreal-users mailing list > Unr...@li... > http://lists.sourceforge.net/mailman/listinfo/unreal-users > |