system:what_is_my_ip_address
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
system:what_is_my_ip_address [2023-11-17T14:31:24+0000] – +1.1.1.1/cdn-cgi/trace, myexternalip.com/raw, simplesniff.com/ip, wgetip.com, ident.me, ip{4,6}{,only}.me/api/, tnx.nl/ip, ip.tyk.nu, corz.org/ip, ip.42.pl/raw michael_paoli | system:what_is_my_ip_address [2023-12-15T09:18:46+0000] – DNS: updated example michael_paoli | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== What's my source IP as seen from The Internet? ====== | ====== What's my source IP as seen from The Internet? ====== | ||
- | Similar listings found on The Internet:\\ | + | Similar listings, etc. found on The Internet:\\ |
[[https:// | [[https:// | ||
- | [[https:// | + | [[https:// |
- | [[https:// | + | [[https:// |
Publicly available resources to check:\\ | Publicly available resources to check:\\ | ||
- | ^http 80 ^https 443 ^ IPv ^^ DNS \\ 53 ^notes | + | ^http 80 ^https 443 ^ IPv ^^ DNS \\ 53 |
- | ^ ::: ^ ::: ^ 4 ^ 6 ^ ::: | + | ^ ::: ^ ::: ^ 4 ^ 6 ^ ::: ^ ::: |
- | |[[http:// | + | |[[http:// |
- | |[[http:// | + | |[[http:// |
- | |[[http:// | + | |- |- | 4 | - | y |
- | |[[http://whatismyip.akamai.com/ | + | |[[http:// |
- | |- |- | 4 | 6 | y | + | |[[http:// |
- | |[[http:// | + | |[[http:// |
- | |[[http:// | + | |[[http:// |
- | |[[http:// | + | |[[http://myip.dnsomatic.com/ |
- | |[[http:// | + | |- |- | 4 | 6 | y | - |
- | |[[http:// | + | |[[http:// |
- | |[[http:// | + | |[[http:// |
- | |- |- | 4 | 6 | y | + | |[[http:// |
- | |[[http:// | + | |[[http:// |
- | |[[http:// | + | |[[http:// |
- | |[[http:// | + | |[[http:// |
- | |[[http:// | + | |[[http:// |
- | |[[http:// | + | |[[http:// |
- | |[[http:// | + | |[[http:// |
- | |- |- | 4 | 6 | y | + | |[[http:// |
- | |[[http:// | + | |[[http:// |
- | |[[http:// | + | |[[http:// |
- | |[[http:// | + | |[[http:// |
- | |[[http:// | + | |[[http:// |
- | |[[http:// | + | |[[http:// |
- | |[[http:// | + | |[[http:// |
- | |[[http:// | + | |[[http:// |
- | |- |- | 4 | - | y | + | |[[http:// |
- | |[[http:// | + | |[[http:// |
- | |[[http:// | + | |- |- | 4 | 6 | y | - |
- | |[[http://ip.tyk.nu]] | + | |[[http:// |
- | |[[http://corz.org/ip]]* | + | |- |- | 4 | 6 | - |
- | |[[http:// | + | |[[http:// |
- | |[[http:// | + | |- |- | 4 | 6 | - |
- | |[[http:// | + | |[[http:// |
- | |[[http:// | + | |[[http:// |
- | |[[http:// | + | |[[http:// |
- | |[[http:// | + | |[[http:// |
- | |[[http:// | + | |[[http:// |
- | |[[http:// | + | |[[http:// |
- | |[[http:// | + | |[[http:// |
- | |[[http:// | + | |[[http:// |
- | |[[http:// | + | |[[http:// |
- | |[[http:// | + | |[[http:// |
- | |[[http:// | + | |[[http:// |
- | |- |- | 4 | | + | |[[http:// |
- | |[[http:// | + | |[[http:// |
- | |[[http://echoip.xyz/]]* | + | |[[http:// |
+ | |[[http:// | ||
+ | |- |- | 4 | 6 | y | - | ||
+ | |[[http:// | ||
+ | |[[http:// | ||
+ | |[[http:// | ||
+ | |[[http:// | ||
+ | |[[http:// | ||
+ | |[[http:// | ||
+ | |[[http:// | ||
+ | |[[http:// | ||
+ | |[[http:// | ||
+ | |[[http:// | ||
+ | |[[http:// | ||
+ | |- |- | 4 | - | U | ||
+ | |- |- | 4 | - | y | - | ||
+ | |[[https:// | ||
+ | |[[https:// | ||
+ | |[[http:// | ||
+ | |[[http:// | ||
+ | |[[http:// | ||
+ | |[[http:// | ||
+ | |[[http:// | ||
+ | |[[http://watismijnip.nl/]]* | ||
+ | |[[http://sjekkip.no/]] | ||
+ | |[[http:// | ||
+ | |- |- | 4 | 6 | y | ||
+ | |[[http:// | ||
+ | |[[http:// | ||
+ | |[[http:// | ||
+ | |[[http:// | ||
+ | |[[http:// | ||
+ | |[[http:// | ||
+ | |[[http:// | ||
+ | |[[http:// | ||
+ | |[[http:// | ||
+ | |[[http:// | ||
+ | |[[https:// | ||
+ | |[[http:// | ||
+ | |[[http:// | ||
+ | |[[http:// | ||
+ | |[[http:// | ||
+ | |[[http:// | ||
+ | |[[http:// | ||
+ | |[[http:// | ||
+ | |[[http:// | ||
+ | |[[http:// | ||
+ | |[[http:// | ||
+ | |[[http:// | ||
+ | |[[http:// | ||
+ | |[[http:// | ||
+ | |- |- | 4 | | ||
+ | |[[http:// | ||
+ | |[[http://ip.wtf/]] | ||
+ | |[[http:// | ||
+ | |[[http:// | ||
+ | |[[http:// | ||
===== Example Usage: ===== | ===== Example Usage: ===== | ||
+ | |||
+ | ==== http/https ==== | ||
< | < | ||
- | myv4=" | + | myv4=" |
- | myv6=" | + | myv6=" |
control_M=" | control_M=" | ||
for path in \ | for path in \ | ||
Line 92: | Line 150: | ||
{, | {, | ||
{self{, | {self{, | ||
- | myip.wtf/ | + | myip.wtf/ |
- | echoip.xyz/ | + | |
do | do | ||
for scheme in http https | for scheme in http https | ||
Line 177: | Line 234: | ||
2001: | 2001: | ||
$ curl -4 -m 15 -s http:// | $ curl -4 -m 15 -s http:// | ||
+ | 96.86.170.226 | ||
+ | $ curl -4 -k -m 15 -s https:// | ||
96.86.170.226 | 96.86.170.226 | ||
$ curl -4 -m 15 -s https:// | $ curl -4 -m 15 -s https:// | ||
Line 209: | Line 268: | ||
2001: | 2001: | ||
$ curl -4 -m 15 -s https:// | $ curl -4 -m 15 -s https:// | ||
- | 96.86.170.226 | + | 96.86.170.226 |
$ curl -6 -m 15 -s https:// | $ curl -6 -m 15 -s https:// | ||
2001: | 2001: | ||
Line 215: | Line 274: | ||
96.86.170.226 | 96.86.170.226 | ||
$ curl -4 -m 15 -s http:// | $ curl -4 -m 15 -s http:// | ||
- | 96.86.170.226 | + | 96.86.170.226 |
$ curl -6 -m 15 -s http:// | $ curl -6 -m 15 -s http:// | ||
2001: | 2001: | ||
Line 244: | Line 303: | ||
$ curl -4 -m 15 -s https:// | $ curl -4 -m 15 -s https:// | ||
96.86.170.226 | 96.86.170.226 | ||
- | $ curl -4 -m 15 -s http:// | + | $ curl -4 -m 15 -s http:// |
- | 96.86.170.226 | + | 96.86.170.226 |
- | $ curl -6 -m 15 -s http:// | + | $ curl -6 -m 15 -s http:// |
2001: | 2001: | ||
- | $ curl -4 -m 15 -s https:// | + | $ curl -4 -m 15 -s https:// |
96.86.170.226 | 96.86.170.226 | ||
- | $ curl -6 -m 15 -s https:// | + | $ curl -6 -m 15 -s https:// |
2001: | 2001: | ||
$ curl -4 -m 15 -s http:// | $ curl -4 -m 15 -s http:// | ||
Line 305: | Line 364: | ||
2001: | 2001: | ||
$ curl -4 -m 15 -s http:// | $ curl -4 -m 15 -s http:// | ||
- | 96.86.170.226 | + | 96.86.170.226 |
$ curl -6 -m 15 -s http:// | $ curl -6 -m 15 -s http:// | ||
2001: | 2001: | ||
Line 314: | Line 373: | ||
$ curl -4 -m 15 -s https:// | $ curl -4 -m 15 -s https:// | ||
96.86.170.226 | 96.86.170.226 | ||
- | $ curl -4 -m 15 -s http://www.balug.org/ | + | $ curl -4 -m 15 -s http://ipv4.balug.org/ |
96.86.170.226 | 96.86.170.226 | ||
- | $ curl -6 -m 15 -s http:// | + | $ curl -4 -m 15 -s https:// |
- | 2001: | + | |
- | $ curl -4 -m 15 -s https:// | + | |
- | 96.86.170.226 | + | |
- | $ curl -6 -m 15 -s https:// | + | |
- | 2001: | + | |
- | $ curl -4 -m 15 -s http:// | + | |
- | 96.86.170.226 | + | |
- | $ curl -4 -m 15 -s https://www.ipv4.balug.org/ | + | |
96.86.170.226 | 96.86.170.226 | ||
- | $ curl -6 -m 15 -s http://www.ipv6.balug.org/ | + | $ curl -6 -m 15 -s http:// |
2001: | 2001: | ||
- | $ curl -6 -m 15 -s https://www.ipv6.balug.org/ | + | $ curl -6 -m 15 -s https:// |
2001: | 2001: | ||
$ curl -4 -m 15 -s http:// | $ curl -4 -m 15 -s http:// | ||
Line 379: | Line 430: | ||
2001: | 2001: | ||
$ | $ | ||
+ | </ | ||
- | for ns_rr_types | + | ==== DNS ==== |
- | ' | + | |
- | ' | + | < |
- | ' | + | myv4=" |
- | ' | + | myv6=" |
- | ' | + | control_M=" |
+ | # | ||
+ | digopts=' | ||
+ | for ns_rr_class_types | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
do | do | ||
- | set -- $ns_rr_types; | + | set -- $ns_rr_class_types |
- | query= | + | |
for TYPE in $TYPES | for TYPE in $TYPES | ||
do | do | ||
- | query=" | + | query=" |
+ | for v in 4 6 | ||
+ | do | ||
+ | case " | ||
+ | 4) | ||
+ | myip=" | ||
+ | ;; | ||
+ | 6) | ||
+ | myip=" | ||
+ | ;; | ||
+ | esac | ||
+ | r=$(dig @" | ||
+ | case " | ||
+ | \"" | ||
+ | echo "\$ dig @" | ||
+ | echo $r | ||
+ | ;; | ||
+ | *" | ||
+ | echo "\$ dig @" | ||
+ | printf 'found in text:\n%s\n' | ||
+ | ;; | ||
+ | *) | ||
+ | myRE=$( | ||
+ | echo " | ||
+ | sed -e ' | ||
+ | ) | ||
+ | printf ' | ||
+ | if grep " | ||
+ | echo "\$ dig @" | ||
+ | echo $myip found in text in alternative format | ||
+ | fi | ||
+ | ;; | ||
+ | esac | ||
+ | r=$(dig @" | ||
+ | case "$r" in | ||
+ | \"" | ||
+ | echo "\$ dig @" | ||
+ | echo $r | ||
+ | ;; | ||
+ | *" | ||
+ | echo "\$ dig @" | ||
+ | printf 'found in text: | ||
+ | ;; | ||
+ | *) | ||
+ | myRE=$( | ||
+ | echo " | ||
+ | sed -e ' | ||
+ | ) | ||
+ | printf ' | ||
+ | if grep " | ||
+ | echo "\$ dig @" | ||
+ | echo $myip found in text in alternative format | ||
+ | fi | ||
+ | ;; | ||
+ | esac | ||
+ | done | ||
done | done | ||
- | for v in 4 6 | ||
- | do | ||
- | r=$(dig @" | ||
- | [ -n " | ||
- | echo \$ dig @" | ||
- | echo $r | ||
- | } | ||
- | done | ||
- | : | ||
done; echo '$ ' | done; echo '$ ' | ||
- | + | $ dig @1.1.1.1 +short +norecurse -4 whoami.cloudflare | |
- | $ dig @ns1.google.com. +short +norecurse -4 o-o.myaddr.l.google.com. TXT | + | |
" | " | ||
- | $ dig @ns1.google.com. +short +norecurse -6 o-o.myaddr.l.google.com. TXT | + | $ dig @1.1.1.1 +tcp +short +norecurse -4 whoami.cloudflare TXT CH |
+ | " | ||
+ | $ dig @ns1.google.com. | ||
+ | " | ||
+ | $ dig @ns1.google.com. +tcp +short +norecurse -4 o-o.myaddr.l.google.com. TXT IN | ||
+ | " | ||
+ | $ dig @ns1.google.com. +short +norecurse -6 o-o.myaddr.l.google.com. TXT IN | ||
+ | " | ||
+ | $ dig @ns1.google.com. +tcp +short +norecurse -6 o-o.myaddr.l.google.com. TXT IN | ||
" | " | ||
- | $ dig @resolver1.opendns.com. +short +norecurse -4 myip.opendns.com. A myip.opendns.com. AAAA | + | $ dig @resolver1.opendns.com. +short +norecurse -4 myip.opendns.com. A IN |
96.86.170.226 | 96.86.170.226 | ||
- | $ dig @resolver1.opendns.com. +short +norecurse -6 myip.opendns.com. A myip.opendns.com. AAAA | + | $ dig @resolver1.opendns.com. |
+ | 96.86.170.226 | ||
+ | $ dig @resolver1.opendns.com. +short +norecurse -6 myip.opendns.com. AAAA IN | ||
+ | 2001: | ||
+ | $ dig @resolver1.opendns.com. +tcp +short +norecurse -6 myip.opendns.com. AAAA IN | ||
2001: | 2001: | ||
- | $ dig @ns.sslip.io. +short +norecurse -4 ip.sslip.io. TXT | + | $ dig @ns.sslip.io. +short +norecurse -4 ip.sslip.io. TXT IN |
" | " | ||
- | $ dig @ns.sslip.io. +short +norecurse -6 ip.sslip.io. TXT | + | $ dig @ns.sslip.io. |
+ | " | ||
+ | $ dig @ns.sslip.io. +short +norecurse -6 ip.sslip.io. TXT IN | ||
+ | " | ||
+ | $ dig @ns.sslip.io. +tcp +short +norecurse -6 ip.sslip.io. TXT IN | ||
" | " | ||
- | $ dig @ns1-1.akamaitech.net. +short +norecurse -4 whoami.akamai.net. A whoami.ak | + | $ dig @update.dynamic.name. +short +norecurse -4 my.dynamic.name. A IN |
96.86.170.226 | 96.86.170.226 | ||
- | $ dig @dns.toys +short +norecurse -4 ip. TXT | + | $ dig @ns1-1.akamaitech.net. +short +norecurse -4 whoami.akamai.net. A IN |
+ | 96.86.170.226 | ||
+ | $ dig @ns1-1.akamaitech.net. +tcp +short +norecurse -4 whoami.akamai.net. A IN | ||
+ | 96.86.170.226 | ||
+ | $ dig @one.one.one.one. +short +norecurse -4 whoami.cloudflare. TXT CH | ||
" | " | ||
- | $ dig @dns.toys +short +norecurse -6 ip. TXT | + | $ dig @one.one.one.one. +tcp +short +norecurse -4 whoami.cloudflare. TXT CH |
+ | " | ||
+ | $ dig @one.one.one.one. +short +norecurse -6 whoami.cloudflare. TXT CH | ||
" | " | ||
+ | $ dig @one.one.one.one. +tcp +short +norecurse -6 whoami.cloudflare. TXT CH | ||
+ | " | ||
+ | $ dig @dns.toys +short +norecurse -4 ip. TXT IN | ||
+ | " | ||
+ | $ dig @dns.toys +short +norecurse -6 ip. TXT IN | ||
+ | " | ||
+ | $ | ||
+ | </ | ||
+ | |||
+ | ==== ssh ==== | ||
+ | |||
+ | < | ||
+ | myv4=" | ||
+ | myv6=" | ||
+ | control_M=" | ||
+ | for domain in \ | ||
+ | sshmyip.com | ||
+ | do | ||
+ | for v in 4 6 | ||
+ | do | ||
+ | case " | ||
+ | 4) | ||
+ | myip=" | ||
+ | ;; | ||
+ | 6) | ||
+ | myip=" | ||
+ | ;; | ||
+ | esac | ||
+ | sshopts=" | ||
+ | r=$(ssh $sshopts $domain 2>>/ | ||
+ | case " | ||
+ | " | ||
+ | echo "\$ ssh -$v $domain" | ||
+ | echo $r | ||
+ | ;; | ||
+ | " | ||
+ | echo "\$ ssh -$v domain" | ||
+ | echo $myip' | ||
+ | ;; | ||
+ | *" | ||
+ | echo "\$ ssh -$v $domain" | ||
+ | echo $myip found in text | ||
+ | ;; | ||
+ | *) | ||
+ | myRE=$( | ||
+ | echo " | ||
+ | sed -e ' | ||
+ | ) | ||
+ | printf ' | ||
+ | if grep " | ||
+ | echo "\$ ssh -$v $domain" | ||
+ | echo $myip found in text in alternative format | ||
+ | fi | ||
+ | ;; | ||
+ | esac | ||
+ | done | ||
+ | done; echo '$ ' | ||
+ | $ ssh -4 sshmyip.com | ||
+ | 96.86.170.226 found in text | ||
+ | $ ssh -6 sshmyip.com | ||
+ | 2001: | ||
+ | $ | ||
+ | </ | ||
+ | |||
+ | ==== telnet ==== | ||
+ | |||
+ | < | ||
+ | myv4=" | ||
+ | myv6=" | ||
+ | control_M=" | ||
+ | for domain in \ | ||
+ | telnetmyip.com | ||
+ | do | ||
+ | for v in 4 6 | ||
+ | do | ||
+ | case " | ||
+ | 4) | ||
+ | myip=" | ||
+ | ;; | ||
+ | 6) | ||
+ | myip=" | ||
+ | ;; | ||
+ | esac | ||
+ | telnetopts=" | ||
+ | r=$(sleep 2 | telnet $telnetopts $domain 2>>/ | ||
+ | case " | ||
+ | " | ||
+ | echo "\$ telnet -$v $domain" | ||
+ | echo $r | ||
+ | ;; | ||
+ | " | ||
+ | echo "\$ telnet -$v domain" | ||
+ | echo $myip' | ||
+ | ;; | ||
+ | *" | ||
+ | echo "\$ telnet -$v $domain" | ||
+ | echo $myip found in text | ||
+ | ;; | ||
+ | *) | ||
+ | myRE=$( | ||
+ | echo " | ||
+ | sed -e ' | ||
+ | ) | ||
+ | printf ' | ||
+ | if grep " | ||
+ | echo "\$ telnet -$v $domain" | ||
+ | echo $myip found in text in alternative format | ||
+ | fi | ||
+ | ;; | ||
+ | esac | ||
+ | done | ||
+ | done; echo '$ ' | ||
+ | $ telnet -4 telnetmyip.com | ||
+ | 96.86.170.226 found in text | ||
+ | $ telnet -6 telnetmyip.com | ||
+ | 2001: | ||
$ | $ | ||
</ | </ |
system/what_is_my_ip_address.txt · Last modified: 2024-09-20T04:51:52+0000 by michael_paoli_admin