Re: [Code] Ident

From: Mud Administration (mudadmin@unix.aardvarkol.com)
Date: 01/24/97


I Have Had this Problem and Fixed it....  Here is my Ident.c starting from
Line 200+

        strcat(buf4, "\0");
        strncpy(buf4, user, IDENT_LENGTH);
        strcat(buf4, "@");                 /* Actual ID'ing!!!! */
        strcat(buf4, d->host);
        strcat(d->host, "\0");
        strncpy(d->host, buf4, HOST_LENGTH);
        strcat(buf4, "\0");

Then search I think structs.h for "IDENT_LENGTH" and set it to 9 or 12 or
some number...  Because if their address is longer than this is set to, it
will take info from other peoples d->host and append it to yours...  It
this looks buggy I appologize but I do know one thing... It works here and
its the BEST Fix I could do.


Thanks....

 Mud Administrator at "Lost Order of the DAMNED!"
     (telnet://206.151.13.163 6000)

On Fri, 24 Jan 1997, Hydragon wrote:

> I've had a problem with the ident code from the FTP site for some time
> now, I just haven't been able to get to it.  I get 'leakage' from other
> places within the mud.  Sometimes its area info, channels and the like.
> I was wondering if anyone else has had the same problem and if someone
> may have fixed it.
> 
>    _/  _/  _/  _/  _/_/    _/_/      _/_/     _/_/_/    _/_/   _/_/  _/
>    _/  _/  _/  _/  _/ _/   _/ _/    _/  _/  _/_/   _/  _/  _/  _/ _/ _/
>    _/_/_/   _/_/   _/  _/  _/_/    _/_//_/  _/         _/  _/  _/ _/ _/
>    _/  _/    _/    _/  _/  _/ _/   _/   _/  _/  _/_/   _/  _/  _/  _/_/
>    _/  _/    _/    _/__/   _/  _/  _/   _/   _/_/_/     _/_/   _/   _/_
> 
> +-----------------------------------------------------------+
> | Ensure that you have read the CircleMUD Mailing List FAQ: |
> |   http://cspo.queensu.ca/~fletcher/Circle/list_faq.html   |
> +-----------------------------------------------------------+
> 

+-----------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
|   http://cspo.queensu.ca/~fletcher/Circle/list_faq.html   |
+-----------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/18/00 PST