Remove Protocol messages.

  • Fubar
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
2 years 10 months ago #5545 by Fubar
Remove Protocol messages. was created by Fubar
In comm.c you will see:
  if (CONFIG_PROTOCOL_NEGOTIATION) {
    /* Attach Event */ 
    NEW_EVENT(ePROTOCOLS, newd, NULL, 1.5 * PASSES_PER_SEC);
    /* KaVir's plugin*/
    write_to_output(newd, "Attempting to Detect Client, Please Wait...\r\n");
    ProtocolNegotiate(newd);
  } else {
    greetsize = strlen(GREETINGS);
    write_to_output(newd, "%s", ProtocolOutput(newd, GREETINGS, &greetsize));
  }
  return (0);
}


Comment out:
write_to_output(newd, "Attempting to Detect Client, Please Wait...\r\n");

To:
/*    write_to_output(newd, "Attempting to Detect Client, Please Wait...\r\n"); */

Changes:
NEW_EVENT(ePROTOCOLS, newd, NULL, 1.5 * PASSES_PER_SEC);

T0 (Do not drop below 4 or it causes some artifacts):
NEW_EVENT(ePROTOCOLS, newd, NULL, 0.4 * PASSES_PER_SEC);


Next, open up interpreter.c find:
EVENTFUNC(get_protocols)


Now near the end find:
write_to_output(d, buf, 0);

and Change to:
/* write_to_output(d, buf, 0); */

All done!

Please Log in or Create an account to join the conversation.

Time to create page: 0.957 seconds