<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Is it possible that this makes the test not work for older RDP servers?<br><br><span style="background-color: rgba(255, 255, 255, 0);">____ *Note: UMDNJ is now Rutgers-Biomedical and Health Sciences*<br>|| \\UTGERS      |---------------------*O*---------------------<br>||_// Biomedical | Ryan Novosielski - Senior Technologist<br>|| \\ and Health | <a href="mailto:novosirj@rutgers.edu" x-apple-data-detectors="true" x-apple-data-detectors-type="link" x-apple-data-detectors-result="3">novosirj@rutgers.edu</a>- 973/972.0922 (2x0922)<br>||  \\  Sciences | OIRT/High Perf & Res Comp - MSB C630, Newark<br>    `'</span></div><div><br>On Oct 19, 2015, at 06:12, J.C. Cleaver <<a href="mailto:cleaver@terabithia.org">cleaver@terabithia.org</a>> wrote:<br><br></div><blockquote type="cite"><div><span>On Sun, October 18, 2015 10:22 pm, Kenneth S. Petersen wrote:</span><br><blockquote type="cite"><span>Hi Rob,</span><br></blockquote><blockquote type="cite"><span>It works perfect here.</span><br></blockquote><blockquote type="cite"><span>Using Xymon 4.3.21 with both 2008 / 2008 R2 / 2012 / 2012 R2 with no</span><br></blockquote><blockquote type="cite"><span>issues at all.</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>Thanks for the update, I'll deleted the RDPNLA witch was the approach I</span><br></blockquote><blockquote type="cite"><span>did to get it to work.</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>I'll too backup on the protocols.cfg updates in the next release.</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><span></span><br><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>Fra: Xymon [<a href="mailto:xymon-bounces@xymon.com">mailto:xymon-bounces@xymon.com</a>] På vegne af Rob Steuer</span><br></blockquote><blockquote type="cite"><span>Sendt: 19. oktober 2015 01:20</span><br></blockquote><blockquote type="cite"><span>Til: <a href="mailto:xymon@xymon.com">xymon@xymon.com</a></span><br></blockquote><blockquote type="cite"><span>Emne: [Xymon] Fix for RDP tests</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>Hi,</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>After trying to implement the RDP tests for monitored hosts I noticed that</span><br></blockquote><blockquote type="cite"><span>they were returning a yellow warning with the warning text "Unexpected</span><br></blockquote><blockquote type="cite"><span>service response".  I tried this for older hosts running Windows 2003 and</span><br></blockquote><blockquote type="cite"><span>newer hosts running 2008/2012 with RDP using NLA.  It gave the warning</span><br></blockquote><blockquote type="cite"><span>text for both.  So I'm guessing the original rdp test was implemented many</span><br></blockquote><blockquote type="cite"><span>years ago (2010 per below) when things were handled differently.</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>The specification currently in the protocols.cfg file for RDP as it stands</span><br></blockquote><blockquote type="cite"><span>today is as follows:</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span># Microsoft Terminal Services / Remote Desktop Protocol</span><br></blockquote><blockquote type="cite"><span># From Chris Wopat (<a href="http://www.xymon.com/archive/2010/01/msg00039.html">http://www.xymon.com/archive/2010/01/msg00039.html</a>)</span><br></blockquote><blockquote type="cite"><span>[rdp]</span><br></blockquote><blockquote type="cite"><span>                port 3389</span><br></blockquote><blockquote type="cite"><span>                send "\x03\x00\x00\x1e\x19\xe0\x00\x00\x00\x00\x00Cookie:</span><br></blockquote><blockquote type="cite"><span>mstshash=\r\n"</span><br></blockquote><blockquote type="cite"><span>                expect "\x03\x00\x00\x0b\x06\xd0"</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>I couldn't find anyone who provided a true fix in the archives other than</span><br></blockquote><blockquote type="cite"><span>suggesting doing a network trace.  So that's what I did.  After a bit of</span><br></blockquote><blockquote type="cite"><span>testing I found the following to work:</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span># Microsoft Terminal Services / Remote Desktop Protocol</span><br></blockquote><blockquote type="cite"><span># From Chris Wopat (<a href="http://www.xymon.com/archive/2010/01/msg00039.html">http://www.xymon.com/archive/2010/01/msg00039.html</a>)</span><br></blockquote><blockquote type="cite"><span># Updated By Rob Steuer 10-17-2015 with send and expect strings that work</span><br></blockquote><blockquote type="cite"><span>for current versions of RDP</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>[rdp]</span><br></blockquote><blockquote type="cite"><span>                port 3389</span><br></blockquote><blockquote type="cite"><span>                send</span><br></blockquote><blockquote type="cite"><span>"\x03\x00\x00\x13\x0e\xe0\x00\x00\x00\x00\x00\x01\x00\x08\x00\x0b\x00\x00\x00"</span><br></blockquote><blockquote type="cite"><span>                expect "\x03\x00\x00\x13\x0e\xd0\x00\x00\x12\x34"</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>I was tempted to rename the protocol test to [rdpnla] or something like</span><br></blockquote><blockquote type="cite"><span>that to keep the old one around, but really the old one just didn't work</span><br></blockquote><blockquote type="cite"><span>for anything, so IMHO I think it just needs to be replaced entirely.</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>I'd like feedback from others to see if this works for them also and see</span><br></blockquote><blockquote type="cite"><span>the protocols.cfg updated in the next release of Xymon.</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>Thanks!</span><br></blockquote><blockquote type="cite"><span> Rob</span><br></blockquote><span></span><br><span></span><br><span>Hi Rob,</span><br><span></span><br><span>I can confirm it's working for me as well. Thanks for the submission! It's</span><br><span>been committed at <a href="https://sourceforge.net/p/xymon/code/7700/">https://sourceforge.net/p/xymon/code/7700/</a></span><br><span></span><br><span></span><br><span>Regards,</span><br><span>-jc</span><br><span></span><br><span>_______________________________________________</span><br><span>Xymon mailing list</span><br><span><a href="mailto:Xymon@xymon.com">Xymon@xymon.com</a></span><br><span><a href="http://lists.xymon.com/mailman/listinfo/xymon">http://lists.xymon.com/mailman/listinfo/xymon</a></span><br></div></blockquote></body></html>