{"id":1878,"date":"2009-05-29T19:37:21","date_gmt":"2009-05-29T23:37:21","guid":{"rendered":"http:\/\/blogs.n1zyy.com\/n1zyy\/?p=1878"},"modified":"2009-05-29T19:37:21","modified_gmt":"2009-05-29T23:37:21","slug":"what-is-my-ip","status":"publish","type":"post","link":"https:\/\/blogs.n1zyy.com\/n1zyy\/2009\/05\/29\/what-is-my-ip\/","title":{"rendered":"What is my IP?"},"content":{"rendered":"<p>All the time, I want to know my IP, but find myself Googling &#8220;what is my IP&#8221; and trying to choose from a bunch of ad-infested sites.<\/p>\n<p>I&#8217;ve had <a href=\"http:\/\/ttwagner.com\/p0f.php\">ttwagner.com\/p0f.php<\/a> for a while. It shows your IP, hostname (reverse DNS), your browser&#8217;s user agent, the headers your browser sent, and, if one was recorded, the most recent OS fingerprint my server saw. (Thanks to p0f.) I should add geolocation data from Maxmind.<\/p>\n<p>But I just whipped up something handy to scripters: <a href=\"http:\/\/ttwagner.com\/myip.php\">ttwagner.com\/myip.php<\/a>. It returns nothing but your IP address, with no formatting. Use it for whatever floats your boat (within reason), but I set it up so I could create a little bash one-liner on my laptop: <tt>curl <a href=\"http:\/\/ttwagner.com\/myip.php\">http:\/\/ttwagner.com\/myip.php<\/a> && echo \"\"<\/tt>.<\/p>","protected":false},"excerpt":{"rendered":"<p>All the time, I want to know my IP, but find myself Googling &#8220;what is my IP&#8221; and trying to choose from a bunch of ad-infested sites. I&#8217;ve had ttwagner.com\/p0f.php for a while. It shows your IP, hostname (reverse DNS), &hellip; <a href=\"https:\/\/blogs.n1zyy.com\/n1zyy\/2009\/05\/29\/what-is-my-ip\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1878","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blogs.n1zyy.com\/n1zyy\/wp-json\/wp\/v2\/posts\/1878","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.n1zyy.com\/n1zyy\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.n1zyy.com\/n1zyy\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.n1zyy.com\/n1zyy\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.n1zyy.com\/n1zyy\/wp-json\/wp\/v2\/comments?post=1878"}],"version-history":[{"count":0,"href":"https:\/\/blogs.n1zyy.com\/n1zyy\/wp-json\/wp\/v2\/posts\/1878\/revisions"}],"wp:attachment":[{"href":"https:\/\/blogs.n1zyy.com\/n1zyy\/wp-json\/wp\/v2\/media?parent=1878"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.n1zyy.com\/n1zyy\/wp-json\/wp\/v2\/categories?post=1878"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.n1zyy.com\/n1zyy\/wp-json\/wp\/v2\/tags?post=1878"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}