Update of /cvsroot/netrek/server/Vanilla/newstartd
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21188/newstartd
Modified Files:
newstartd.c
Log Message:
misc working updates
Index: newstartd.c
===================================================================
RCS file: /cvsroot/netrek/server/Vanilla/newstartd/newstartd.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- newstartd.c 22 Feb 2006 09:18:30 -0000 1.6
+++ newstartd.c 10 Apr 2006 04:24:51 -0000 1.7
@@ -567,6 +567,7 @@
client = fdopen (0, "w");
if (client != NULL) {
if (!strcmp (peerhostname, "localhost")) {
+ /* TODO: above check vulnerable to DNS attack, minor impact */
fprintf (client, "port\taccepts\tdenials\tforks\n" );
for (i=0; i<num_progs; i++) {
fprintf (client,