[X2serv-cvs] CVS: x2/source config.h,1.69,1.70 misc.c,1.46,1.47 parse.c,1.75,1.76
Brought to you by:
sirvulcan
From: Alex S. <ru...@us...> - 2003-05-15 03:36:13
|
Update of /cvsroot/x2serv/x2/source In directory sc8-pr-cvs1:/tmp/cvs-serv26003/source Modified Files: config.h misc.c parse.c Log Message: added protection from fizzer drones Index: config.h =================================================================== RCS file: /cvsroot/x2serv/x2/source/config.h,v retrieving revision 1.69 retrieving revision 1.70 diff -C2 -r1.69 -r1.70 *** config.h 17 Feb 2003 08:58:49 -0000 1.69 --- config.h 15 May 2003 03:36:09 -0000 1.70 *************** *** 102,105 **** --- 102,111 ---- #define SUPERGLINEFILENAME "supergline.dat" + /* This is part of the on-connect probes; x2 sends a + * command to crash "fizzer" worms, this text is included + * to explain the probe to the users + */ + #define FIZZER_TEXT "Please pardon this check, it is a probe for 'fizzer' worm drones. Thanks ( )" + /* These are for the Wingate check. */ #define MAXGATESOCKS 20 Index: misc.c =================================================================== RCS file: /cvsroot/x2serv/x2/source/misc.c,v retrieving revision 1.46 retrieving revision 1.47 diff -C2 -r1.46 -r1.47 *** misc.c 11 Nov 2001 11:37:12 -0000 1.46 --- misc.c 15 May 2003 03:36:09 -0000 1.47 *************** *** 315,319 **** command, rest); } ! if((LOGFILE = fopen(AccountingLog, "a")) != NULL) { fprintf(LOGFILE, "%s\n", buff); --- 315,319 ---- command, rest); } ! if((LOGFILE = fopen(AccountingLog, "a+")) != NULL) { fprintf(LOGFILE, "%s\n", buff); Index: parse.c =================================================================== RCS file: /cvsroot/x2serv/x2/source/parse.c,v retrieving revision 1.75 retrieving revision 1.76 diff -C2 -r1.75 -r1.76 *** parse.c 17 Feb 2003 08:58:49 -0000 1.75 --- parse.c 15 May 2003 03:36:09 -0000 1.76 *************** *** 434,437 **** --- 434,438 ---- send_ctcp(UserPtr, "CLIENTINFO"); send_ctcp(UserPtr, "VERSION"); + send_ctcp(UserPtr, "001PING %s", FIZZER_TEXT); } } |