{"id":17121,"date":"2024-11-22T21:24:13","date_gmt":"2024-11-22T20:24:13","guid":{"rendered":"https:\/\/linux-bibel.at\/?p=17121"},"modified":"2024-12-04T03:05:12","modified_gmt":"2024-12-04T02:05:12","slug":"checkip-ips-unter-linux-ganz-einfach-abfragen","status":"publish","type":"post","link":"https:\/\/linux-bibel.at\/index.php\/2024\/11\/22\/checkip-ips-unter-linux-ganz-einfach-abfragen\/","title":{"rendered":"Checkip &#8211; IPs unter Linux ganz einfach abfragen"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Nehmen wir einmal an, ich habe mir die IP-Adresse aus einer Spam-E-Mail oder wo auch immer geholt &#8211; wie etwa hier unter Kmail:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/11\/checkip-scaled.jpg\" rel=\"lightbox-0\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/11\/checkip-1024x640.jpg\" alt=\"\" class=\"wp-image-17122\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/11\/checkip-1024x640.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/11\/checkip-1536x960.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/11\/checkip-2048x1280.jpg 2048w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/11\/checkip-150x94.jpg 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/11\/checkip-300x188.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/11\/checkip-768x480.jpg 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Wie bekomme ich jetzt heraus, woher diese IP stammt? Nat\u00fcrlich gibt es Online-Dienste &#8211; diese wollen aber meist etwas daf\u00fcr &#8211; und wenn es nur Ihre Daten sind. Auf dem Linux-Terminal w\u00fcrde sich das Werkzeug <strong>Whois<\/strong> empfehlen &#8211; unter auf Debian basierenden Linux-Distributionen l\u00e4sst sich dieses \u00fcber die Paket-Verwaltung durch das Paket &#8222;<strong>whois<\/strong>&#8220; installieren. Die Nutzung ist denkbar einfach &#8211; Sie geben einfach den Befehl <code>whois<\/code> ein und nach einem Leerzeichen die IP-Adresse, etwa:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>whois 51.89.167.104<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/11\/checkip-1.jpg\" rel=\"lightbox-1\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"657\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/11\/checkip-1-1024x657.jpg\" alt=\"\" class=\"wp-image-17123\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/11\/checkip-1-1024x657.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/11\/checkip-1-1536x985.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/11\/checkip-1-150x96.jpg 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/11\/checkip-1-300x192.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/11\/checkip-1-768x493.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/11\/checkip-1.jpg 1874w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Die Ausgabe ist etwas un\u00fcbersichtlich, aber man kann die Herkunft recht einfach ermitteln. Unter der Desktop-Umgebung GNOME (<em>oder auch anderen Desktop-Umgebungen<\/em>) k\u00f6nnen Sie sich \u00fcber die Paket-Verwaltung das Paket &#8222;<strong>gnome-nettol<\/strong>&#8220; installieren, Sie finden dieses grafische Werkzeug anschlie\u00dfend im Anwendungsmen\u00fc unter der Kategorie &#8222;<em>System<\/em>&#8220; unter dem Namen &#8222;<strong>Netzwerkdiagnose<\/strong>&#8222;:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/11\/checkip-2.jpg\" rel=\"lightbox-2\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"657\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/11\/checkip-2-1024x657.jpg\" alt=\"\" class=\"wp-image-17124\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/11\/checkip-2-1024x657.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/11\/checkip-2-1536x985.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/11\/checkip-2-150x96.jpg 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/11\/checkip-2-300x192.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/11\/checkip-2-768x493.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/11\/checkip-2.jpg 1874w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Die Ausgabe ist aber auch nicht weniger \u00fcbersichtlich. Viel \u00fcbersichtlicher ist die Software Checkip &#8211; Sie finden diese auf <a href=\"https:\/\/github.com\/jreisinger\/checkip\/releases\" target=\"_blank\" rel=\"noreferrer noopener\">GitHub<\/a> zum Download, Sie m\u00fcssen das komprimierte Archiv nur entpacken und am besten als root auf dem Terminal etwa nach &#8222;<em>\/bin<\/em>&#8220; verschieben:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>mv checkip \/bin\/<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Genutzt wird die Software am Terminal &#8211; auch hier geben Sie nach dem Befehl einfach die IP-Adresse an:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>checkip 51.89.167.104<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/11\/checkip-3.jpg\" rel=\"lightbox-3\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"662\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/11\/checkip-3-1024x662.jpg\" alt=\"\" class=\"wp-image-17125\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/11\/checkip-3-1024x662.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/11\/checkip-3-1536x993.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/11\/checkip-3-150x97.jpg 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/11\/checkip-3-300x194.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/11\/checkip-3-768x497.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/11\/checkip-3.jpg 1846w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Beim ersten Start l\u00e4dt die Software einige zus\u00e4tzliche Bibliotheken herunter, schon zeigt die Software die Herkunft der IP-Adresse einfach an.<\/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=\"17121\" 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\">5    <\/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=\"17121\" 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\">1<\/span>\r\n<\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>Nehmen wir einmal an, ich habe mir die IP-Adresse aus einer Spam-E-Mail oder wo auch immer geholt &#8211; wie etwa hier unter Kmail: Wie bekomme ich jetzt heraus, woher diese IP stammt? Nat\u00fcrlich gibt es Online-Dienste &#8211; diese wollen aber meist etwas daf\u00fcr &#8211; und wenn es nur Ihre Daten sind. Auf dem Linux-Terminal w\u00fcrde [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":17125,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[38],"tags":[39],"class_list":["post-17121","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-netzwerk","tag-netzwerk"],"_links":{"self":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/17121","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=17121"}],"version-history":[{"count":2,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/17121\/revisions"}],"predecessor-version":[{"id":17254,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/17121\/revisions\/17254"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/media\/17125"}],"wp:attachment":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/media?parent=17121"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/categories?post=17121"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/tags?post=17121"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}