On Wed, 4 Mar 1998, John Evans wrote:
> Mar 3 20:05:02 :: New connection from [017.255.020.000]
> process_input: about to lose connection: No route to host
> Mar 3 20:05:02 :: Losing descriptor without char.
This has come up quite a few times in the past year. The general
concensus seemed to be that it's a linux thing that can't be helped except
possibly by upgrading your kernel.
My method:
Date: Mon, 1 Sep 1997 12:31:23 -0500 (EST)
From: Sammy <samedi@dhc.net>
Subject: Re: [Admin] [SERIOUS PROBLEM] Vicious attacks on MUD?
On Sun, 31 Aug 1997, Chris Jacobson wrote:
> There's a very easy way to fix this. Look in new_descriptor() in
> comm.c. I added a check right before the part that creates the new
> descriptor WHat I did was to try to write to the socket, and if it
> failed, return a 0 from new_descriptor to flag it as a bad socket.
>
> /* code that checks to see if the mud is already full */
>
> if((write_to_descriptor(desc, "Validating socket...\r\n")) < 0) {
> close(desc);
> return 0;
> }
>
> /* create a new descriptor */
>
> The mud I did this on had an ansi color prompt, so I put that in place
> of "Validating socket". This will eliminate the lag caused by these
> connections and get rid of them a lot sooner than stock circlemud would.
Sam
+------------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
| http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
+------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/15/00 PST