{"id":21547,"date":"2025-11-22T23:49:56","date_gmt":"2025-11-22T22:49:56","guid":{"rendered":"https:\/\/linux-bibel.at\/?p=21547"},"modified":"2025-11-22T23:49:59","modified_gmt":"2025-11-22T22:49:59","slug":"bandwhich-den-netzwerkverkehr-unter-linux-im-auge-behalten","status":"publish","type":"post","link":"https:\/\/linux-bibel.at\/index.php\/2025\/11\/22\/bandwhich-den-netzwerkverkehr-unter-linux-im-auge-behalten\/","title":{"rendered":"Bandwhich &#8211; Den Netzwerkverkehr unter Linux im Auge behalten"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Mit welchen Rechnern im Netzwerk oder Internet kommuniziert welche Software, \u00fcber welche Netzwerkschnittstelle l\u00e4uft welcher Verbindung &#8211; mit der Software Bandwhich lassen Sie sich dies und anderes unter Linux anzeigen.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Bandwhich installieren<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Sie finden die Software auf <a href=\"https:\/\/github.com\/imsnif\/bandwhich\/releases\" target=\"_blank\" rel=\"noreferrer noopener\">GitHub<\/a> zum Download, das komprimierte Archiv m\u00fcssen Sie nur noch entpacken. Sie k\u00f6nnen die Software direkt aus dem Verzeichnis heraus aufrufen, bequemer ist es nat\u00fcrlich, die Datei &#8222;<strong>bandwhich<\/strong>&#8220; als root auf dem Terminal etwa nach &#8222;<em>\/usr\/sbin\/<\/em>&#8220; zu verschieben:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>mv bandwhich \/usr\/sbin\/<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Bandwhich nutzen<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Die Software wird als root auf dem Terminal genutzt, aus dem entpackten Verzeichnis heraus mit:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>.\/bandwhich<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Haben Sie die Datei ins angegebene Verzeichnis verschoben, nat\u00fcrlich einfacher mit:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>bandwhich<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/11\/bandwhich-scaled.jpg\" rel=\"lightbox-0\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/11\/bandwhich-1024x640.jpg\" alt=\"\" class=\"wp-image-21548\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/11\/bandwhich-1024x640.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/11\/bandwhich-1536x960.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/11\/bandwhich-2048x1280.jpg 2048w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/11\/bandwhich-150x94.jpg 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/11\/bandwhich-300x188.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/11\/bandwhich-768x480.jpg 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Die Software geht nicht unbedingt platzsparend mit der Ausgabe um, sehen Sie nicht alles, verkleinern Sie die Ausgabe mit <kbd>Strg+-<\/kbd>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Links oben sehen Sie die Prozesse, die sich mit dem Netz verbinden, rechts die IP-Adressen, mit denen kommuniziert wird, darunter welcher Prozess sich mit welcher IP-Adresse verbindet. Mit <code>q<\/code> beenden Sie die Software.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Sie k\u00f6nnen Bandwhich mit Optionen aufrufen, mit <code>-p<\/code> werden beispielsweise nur die Prozesse angezeigt:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>bandwhich -p<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/11\/bandwhich-1.jpg\" rel=\"lightbox-1\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"605\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/11\/bandwhich-1-1024x605.jpg\" alt=\"\" class=\"wp-image-21549\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/11\/bandwhich-1-1024x605.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/11\/bandwhich-1-1536x908.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/11\/bandwhich-1-2048x1211.jpg 2048w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/11\/bandwhich-1-150x89.jpg 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/11\/bandwhich-1-300x177.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/11\/bandwhich-1-768x454.jpg 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Mit <code>-a<\/code> lassen Sie sich nur die IP-Adressen anzeigen, auf die zugegriffen wird, mit <code>-c<\/code> werden nur die Verbindungen gezeigt. Mit der Option <code>-l<\/code> Schnittstelle, werden nur die Verbindungen der jeweiligen Netzwerkschnittstelle angezeigt &#8211; Beispiel:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>bandwhich -l wl0<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Nehmen Sie die Option <code>-s<\/code> hinzu, werden auch DNS-Abfragen angezeigt.<\/p>\n<div class=\"pld-like-dislike-wrap pld-custom\">\r\n    <div class=\"pld-like-wrap  pld-common-wrap\">\r\n    <a href=\"javascript:void(0)\" class=\"pld-like-trigger pld-like-dislike-trigger  \" title=\"Gef\u00e4llt mir\" data-post-id=\"21547\" data-trigger-type=\"like\" data-restriction=\"cookie\" data-already-liked=\"0\">\r\n                            <img src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/12\/Daumen-Hoch.png\" alt=\"Gef\u00e4llt mir\" \/>\r\n            <\/a>\r\n    <span class=\"pld-like-count-wrap pld-count-wrap\">10    <\/span>\r\n<\/div><div class=\"pld-dislike-wrap  pld-common-wrap\">\r\n    <a href=\"javascript:void(0)\" class=\"pld-dislike-trigger pld-like-dislike-trigger  \" title=\"Gef\u00e4llt mir nicht\" data-post-id=\"21547\" data-trigger-type=\"dislike\" data-restriction=\"cookie\" data-already-liked=\"0\">\r\n                            <img src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/12\/Daumen-Runter.png\" alt=\"Gef\u00e4llt mir nicht\" \/>\r\n            <\/a>\r\n    <span class=\"pld-dislike-count-wrap pld-count-wrap\"><\/span>\r\n<\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>Mit welchen Rechnern im Netzwerk oder Internet kommuniziert welche Software, \u00fcber welche Netzwerkschnittstelle l\u00e4uft welcher Verbindung &#8211; mit der Software Bandwhich lassen Sie sich dies und anderes unter Linux anzeigen. Bandwhich installieren Sie finden die Software auf GitHub zum Download, das komprimierte Archiv m\u00fcssen Sie nur noch entpacken. Sie k\u00f6nnen die Software direkt aus dem [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":21548,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[38,4],"tags":[12,39,7,6],"class_list":["post-21547","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-netzwerk","category-terminal","tag-kommandozeile","tag-netzwerk","tag-shell","tag-terminal"],"_links":{"self":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/21547","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/comments?post=21547"}],"version-history":[{"count":1,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/21547\/revisions"}],"predecessor-version":[{"id":21550,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/21547\/revisions\/21550"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/media\/21548"}],"wp:attachment":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/media?parent=21547"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/categories?post=21547"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/tags?post=21547"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}