{"id":4180,"date":"2014-09-24T16:47:03","date_gmt":"2014-09-24T14:47:03","guid":{"rendered":"https:\/\/www.kolja-engelmann.de\/blog\/?p=4180"},"modified":"2014-09-24T16:47:03","modified_gmt":"2014-09-24T14:47:03","slug":"tcpudp-applikationen-mit-packetsender-debuggen","status":"publish","type":"post","link":"https:\/\/www.kolja-engelmann.de\/blog\/2014\/09\/tcpudp-applikationen-mit-packetsender-debuggen\/","title":{"rendered":"TCP\/UDP Applikationen mit PacketSender debuggen"},"content":{"rendered":"<p>Vereinzelt m\u00f6chte ich die Auswirkung von\u00a0IP Datenpaketen testen, die in meiner Applikation auflaufen. Wenn bspw. TCP Pakete mit bestimmten ASCII Texten zu Status\u00e4nderungen in meinem Programm f\u00fchren, dann teste\u00a0ich am Ende doch gern einmal, ob auch alles so l\u00e4uft wie ich mir das vorstelle. Nat\u00fcrlich h\u00e4tte\u00a0ich (frei nach TDD) eine Reihe an Tests schreiben k\u00f6nnen. Aber heute war ich schlichtweg zu faul und wollte einfach ein kleines Programm haben mit dem ich mir die ben\u00f6tigten Pakete rasch zusammenklicken konnte.<\/p>\n<p>Ich fand <a href=\"http:\/\/packetsender.com\/\" target=\"_blank\">Packet Sender<\/a>. Das kostenlose Programm arbeitet mit UDP oder TCP und sendet ASCII oder HEX Inhalte an einen beliebigen IP Endpunkt. Die versandten Pakete und die dazugeh\u00f6rigen Antworten werden in einer History-Tabelle aufbewahrt, w\u00e4hrend die Pakettemplates\u00a0gespeichert und sp\u00e4ter erneut aufgerufen werden k\u00f6nnen. Packet Sender kann aber auch als Server agieren und so\u00a0Pakete empfangen und beantworten.<\/p>\n<p>Praktisches Tool. Ich finde zwar die 25MB Downloadgr\u00f6\u00dfe etwas arg gro\u00df f\u00fcr den gebotenen Funktionsumfang, aber immerhin ist das Programm kostenlos und macht genau was es soll.<\/p>\n\n\t\t<style>\n\t\t\t#gallery-1 {\n\t\t\t\tmargin: auto;\n\t\t\t}\n\t\t\t#gallery-1 .gallery-item {\n\t\t\t\tfloat: left;\n\t\t\t\tmargin-top: 10px;\n\t\t\t\ttext-align: center;\n\t\t\t\twidth: 33%;\n\t\t\t}\n\t\t\t#gallery-1 img {\n\t\t\t\tborder: 2px solid #cfcfcf;\n\t\t\t}\n\t\t\t#gallery-1 .gallery-caption {\n\t\t\t\tmargin-left: 0;\n\t\t\t}\n\t\t\t\/* see gallery_shortcode() in wp-includes\/media.php *\/\n\t\t<\/style>\n\t\t<div id='gallery-1' class='gallery galleryid-4180 gallery-columns-3 gallery-size-thumbnail'><dl class='gallery-item'>\n\t\t\t<dt class='gallery-icon landscape'>\n\t\t\t\t<a href='https:\/\/www.kolja-engelmann.de\/blog\/wp-content\/uploads\/2014\/09\/packet-sender-screenshot-1.png'><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"150\" src=\"https:\/\/www.kolja-engelmann.de\/blog\/wp-content\/uploads\/2014\/09\/packet-sender-screenshot-1-150x150.png\" class=\"attachment-thumbnail size-thumbnail no-lazy\" alt=\"\" aria-describedby=\"gallery-1-4181\" srcset=\"https:\/\/www.kolja-engelmann.de\/blog\/wp-content\/uploads\/2014\/09\/packet-sender-screenshot-1-150x150.png 150w, https:\/\/www.kolja-engelmann.de\/blog\/wp-content\/uploads\/2014\/09\/packet-sender-screenshot-1-160x160.png 160w, https:\/\/www.kolja-engelmann.de\/blog\/wp-content\/uploads\/2014\/09\/packet-sender-screenshot-1-120x120.png 120w\" sizes=\"auto, (max-width: 150px) 100vw, 150px\" \/><\/a>\n\t\t\t<\/dt>\n\t\t\t\t<dd class='wp-caption-text gallery-caption' id='gallery-1-4181'>\n\t\t\t\tVerlauf\n\t\t\t\t<\/dd><\/dl><dl class='gallery-item'>\n\t\t\t<dt class='gallery-icon landscape'>\n\t\t\t\t<a href='https:\/\/www.kolja-engelmann.de\/blog\/wp-content\/uploads\/2014\/09\/packet-sender-screenshot-2.png'><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"150\" src=\"https:\/\/www.kolja-engelmann.de\/blog\/wp-content\/uploads\/2014\/09\/packet-sender-screenshot-2-150x150.png\" class=\"attachment-thumbnail size-thumbnail no-lazy\" alt=\"\" aria-describedby=\"gallery-1-4182\" srcset=\"https:\/\/www.kolja-engelmann.de\/blog\/wp-content\/uploads\/2014\/09\/packet-sender-screenshot-2-150x150.png 150w, https:\/\/www.kolja-engelmann.de\/blog\/wp-content\/uploads\/2014\/09\/packet-sender-screenshot-2-160x160.png 160w, https:\/\/www.kolja-engelmann.de\/blog\/wp-content\/uploads\/2014\/09\/packet-sender-screenshot-2-120x120.png 120w\" sizes=\"auto, (max-width: 150px) 100vw, 150px\" \/><\/a>\n\t\t\t<\/dt>\n\t\t\t\t<dd class='wp-caption-text gallery-caption' id='gallery-1-4182'>\n\t\t\t\tErweiterte Einstellungen\n\t\t\t\t<\/dd><\/dl><dl class='gallery-item'>\n\t\t\t<dt class='gallery-icon landscape'>\n\t\t\t\t<a href='https:\/\/www.kolja-engelmann.de\/blog\/wp-content\/uploads\/2014\/09\/packet-sender-screenshot-3.png'><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"150\" src=\"https:\/\/www.kolja-engelmann.de\/blog\/wp-content\/uploads\/2014\/09\/packet-sender-screenshot-3-150x150.png\" class=\"attachment-thumbnail size-thumbnail no-lazy\" alt=\"\" aria-describedby=\"gallery-1-4183\" srcset=\"https:\/\/www.kolja-engelmann.de\/blog\/wp-content\/uploads\/2014\/09\/packet-sender-screenshot-3-150x150.png 150w, https:\/\/www.kolja-engelmann.de\/blog\/wp-content\/uploads\/2014\/09\/packet-sender-screenshot-3-160x160.png 160w, https:\/\/www.kolja-engelmann.de\/blog\/wp-content\/uploads\/2014\/09\/packet-sender-screenshot-3-120x120.png 120w\" sizes=\"auto, (max-width: 150px) 100vw, 150px\" \/><\/a>\n\t\t\t<\/dt>\n\t\t\t\t<dd class='wp-caption-text gallery-caption' id='gallery-1-4183'>\n\t\t\t\tPaket Templates\n\t\t\t\t<\/dd><\/dl><br style=\"clear: both\" \/>\n\t\t<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Vereinzelt m\u00f6chte ich die Auswirkung von IP Datenpaketen testen, die in meiner Applikation auflaufen. Wenn bspw. TCP Pakete mit bestimmten ASCII Texten zu Status\u00e4nderungen in meinem Programm f\u00fchren, dann teste ich am Ende doch gern einmal, ob auch alles so l\u00e4uft wie ich mir das vorstelle.<\/p>\n","protected":false},"author":1,"featured_media":4181,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[10],"tags":[],"class_list":["post-4180","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tools"],"jetpack_featured_media_url":"https:\/\/www.kolja-engelmann.de\/blog\/wp-content\/uploads\/2014\/09\/packet-sender-screenshot-1.png","jetpack_sharing_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.kolja-engelmann.de\/blog\/wp-json\/wp\/v2\/posts\/4180","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.kolja-engelmann.de\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.kolja-engelmann.de\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.kolja-engelmann.de\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.kolja-engelmann.de\/blog\/wp-json\/wp\/v2\/comments?post=4180"}],"version-history":[{"count":0,"href":"https:\/\/www.kolja-engelmann.de\/blog\/wp-json\/wp\/v2\/posts\/4180\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.kolja-engelmann.de\/blog\/wp-json\/wp\/v2\/media\/4181"}],"wp:attachment":[{"href":"https:\/\/www.kolja-engelmann.de\/blog\/wp-json\/wp\/v2\/media?parent=4180"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.kolja-engelmann.de\/blog\/wp-json\/wp\/v2\/categories?post=4180"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.kolja-engelmann.de\/blog\/wp-json\/wp\/v2\/tags?post=4180"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}