2014-08-14 08:15:52 +02:00
|
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang ="en">
|
|
|
|
<head>
|
|
|
|
<meta http-equiv="content-Type" content="text/html; charset=utf-8" />
|
|
|
|
<meta http-equiv="content-style-type" content="text/css" />
|
|
|
|
<meta http-equiv="content-script-type" content="text/javascript" />
|
|
|
|
<meta http-equiv="content-language" content="en" />
|
|
|
|
<meta http-equiv="pragma" content="no-cache" />
|
|
|
|
<meta http-equiv="cache-control" content="no-cache" />
|
|
|
|
<meta name="description" content="Get my IP Address" />
|
|
|
|
<meta name="keywords" content="ip address ifconfig" />
|
|
|
|
<meta name="author" content="{{.Author}}" />
|
2014-08-14 09:15:58 +02:00
|
|
|
<link rel="shortcut icon" href="/static/img/favicon.ico" />
|
2014-08-14 08:15:52 +02:00
|
|
|
<link rev="made" href="mailto: {{.Email}}" />
|
|
|
|
<title>What Is My IP Address? - Yet Another ifconfig</title>
|
|
|
|
<style type="text/css">
|
|
|
|
* {margin:0; padding:0;font-style:normal;font-weight:normal;font-family:Arial,sans-serif;font-size:13px;color:#333;}
|
|
|
|
body{}
|
|
|
|
#container{background:white;width:750px;margin:10px auto;margin-bottom:10px;border:solid 1px #888;}
|
|
|
|
#header{height:50px;padding:15px 0 10px 10px;}
|
|
|
|
#header table{width:100%;}
|
|
|
|
h1 a{font-size:20px;margin:10px;letter-spacing:1px;text-decoration:none;color:#555;}
|
|
|
|
#ads{height:20px;margin-bottom:15px;text-align:right;background:#777;padding-top:4px;border-left:solid 1px #888;border-right:solid 1px #888;}
|
|
|
|
#info_area{float:left;margin-left:11px;}
|
|
|
|
#info_table{border-collapse:collapse;margin:0 auto;line-height:20px;width:728px;table-layout:fixed;}
|
|
|
|
#info_table tr{height:30px;}
|
|
|
|
#info_table td{border: solid 1px #888;padding: 0px 10px;}
|
|
|
|
.info_table_label{width:100px;}
|
|
|
|
#table_ads{width:260px;text-align:center;}
|
2019-06-30 13:26:44 +02:00
|
|
|
#middle{height:10px;clear:both;text-align:center;padding-top:20px;}
|
2014-08-14 08:15:52 +02:00
|
|
|
#cli_wrap{margin:0 10px;}
|
|
|
|
h2{height:30px;line-height:30px;font-size:18px;margin:0 5px;padding-left:5px;}
|
|
|
|
#cli_table{border:solid 1px #888;border-collapse:collapse;width:728px;margin:0 auto;line-height:20px;table-layout:fixed;}
|
|
|
|
#cli_table tr{height:30px;}
|
|
|
|
#cli_table td{border-bottom: solid 1px #888;padding-top:3px;padding-bottom:3px;overflow:hidden;}
|
|
|
|
.cli_command{width:190px;padding-left:10px;}
|
|
|
|
.cli_arrow{width:40px;text-align:center;}
|
|
|
|
#footer{background:#777;height:20px;line-height:20px;color:#ddd;text-align:center;margin-top:15px;border-top:none;}
|
|
|
|
#ip_address{font-size:1.9em;}
|
|
|
|
#ip_address_cell{padding:5px;height:50px;}
|
2019-06-30 12:55:43 +02:00
|
|
|
|
2014-08-14 08:15:52 +02:00
|
|
|
#plungins{height:20px;float:right;}
|
|
|
|
.plungin{float:right;}
|
|
|
|
#button_twitter{width:100px;}
|
|
|
|
#button_plusone{width:70px;}
|
|
|
|
#button_facebook{width:100px;}
|
|
|
|
</style>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div id="container" class="clearfix">
|
|
|
|
<div id="header">
|
|
|
|
<table>
|
|
|
|
<tr>
|
|
|
|
<td>
|
2019-07-31 13:38:44 +02:00
|
|
|
<h1><a href="https://ip.envs.net">What Is My IP Address? - Yet Another ifconfig</a></h1>
|
2014-08-14 08:15:52 +02:00
|
|
|
</td>
|
|
|
|
<td></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td></td>
|
|
|
|
<td>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
<div id="ads">
|
2014-08-15 03:36:46 +02:00
|
|
|
<!-- Ads begin -->
|
2019-06-30 13:26:44 +02:00
|
|
|
|
2014-08-15 03:36:46 +02:00
|
|
|
<!-- Ads end -->
|
2014-08-14 08:15:52 +02:00
|
|
|
</div>
|
|
|
|
<div id="info_area">
|
|
|
|
<h2>Your Connection</h2>
|
|
|
|
<table id="info_table" summary="info">
|
|
|
|
<tr>
|
|
|
|
<td class="info_table_label">IP Address</td>
|
|
|
|
<td id="ip_address_cell"><strong id="ip_address">{{.IP}}</strong></td>
|
|
|
|
<td rowspan="8" id="table_ads">
|
2014-08-15 03:36:46 +02:00
|
|
|
<!-- Ads begin -->
|
2019-06-30 13:26:44 +02:00
|
|
|
|
2014-08-15 03:36:46 +02:00
|
|
|
<!-- Ads end -->
|
|
|
|
|
2014-08-14 08:15:52 +02:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr><td class="info_table_label">Remote Host</td><td>{{.Host}}</td></tr>
|
|
|
|
<tr><td class="info_table_label">User Agent</td><td>{{.UserAgent}}</td></tr>
|
|
|
|
<tr><td class="info_table_label">Port</td><td>{{.Port}}</td></tr>
|
|
|
|
<tr><td class="info_table_label">Language</td><td>{{.Lang}}</td></tr>
|
|
|
|
<tr><td class="info_table_label">Referer</td><td>{{.Referer}}</td></tr>
|
|
|
|
<tr><td class="info_table_label">Connection</td><td>{{.Connection}}</td></tr>
|
|
|
|
<tr><td class="info_table_label">KeepAlive</td><td>{{.Keepalive}}</td></tr>
|
|
|
|
<tr><td class="info_table_label">Method</td><td colspan="2">{{.Method}}</td></tr>
|
|
|
|
<tr><td class="info_table_label">Encoding</td><td colspan="2">{{.Encoding}}</td></tr>
|
|
|
|
<tr><td class="info_table_label">MIME Type</td><td colspan="2">{{.Mime}}</td></tr>
|
|
|
|
<tr><td class="info_table_label">Charset</td><td colspan="2">{{.Charset}}</td></tr>
|
|
|
|
<tr><td class="info_table_label">Via</td><td colspan="2">{{.Via}}</td></tr>
|
|
|
|
<tr><td class="info_table_label">X-Forwarded-For</td><td colspan="2">{{.Forwarded}}</td></tr>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
<div id="middle">
|
2014-08-15 03:36:46 +02:00
|
|
|
<!-- Ads begin -->
|
2019-06-30 13:26:44 +02:00
|
|
|
|
2014-08-15 03:36:46 +02:00
|
|
|
<!-- Ads end -->
|
2014-08-14 08:15:52 +02:00
|
|
|
</div>
|
|
|
|
<div id="cli_wrap">
|
|
|
|
<h2>Command Line Interface</h2>
|
|
|
|
<table id="cli_table" summary="cli">
|
2019-07-31 13:38:44 +02:00
|
|
|
<tr><td class="cli_command">$ curl ip.envs.net</td><td class="cli_arrow">⇒</td><td>{{.IP}}</td></tr>
|
|
|
|
<tr><td class="cli_command">$ curl ip.envs.net/ip</td><td class="cli_arrow">⇒</td><td>{{.IP}}</td></tr>
|
|
|
|
<tr><td class="cli_command">$ curl ip.envs.net/host</td><td class="cli_arrow">⇒</td><td>{{.Host}}</td></tr>
|
|
|
|
<tr><td class="cli_command">$ curl ip.envs.net/ua</td><td class="cli_arrow">⇒</td><td>{{.UserAgent}}</td></tr>
|
|
|
|
<tr><td class="cli_command">$ curl ip.envs.net/port</td><td class="cli_arrow">⇒</td><td>{{.Port}}</td></tr>
|
|
|
|
<tr><td class="cli_command">$ curl ip.envs.net/lang</td><td class="cli_arrow">⇒</td><td>{{.Lang}}</td></tr>
|
|
|
|
<tr><td class="cli_command">$ curl ip.envs.net/keepalive</td><td class="cli_arrow">⇒</td><td>{{.Keepalive}}</td></tr>
|
|
|
|
<tr><td class="cli_command">$ curl ip.envs.net/connection</td><td class="cli_arrow">⇒</td><td>{{.Connection}}</td></tr>
|
|
|
|
<tr><td class="cli_command">$ curl ip.envs.net/encoding</td><td class="cli_arrow">⇒</td><td>{{.Encoding}}</td></tr>
|
|
|
|
<tr><td class="cli_command">$ curl ip.envs.net/mime</td><td class="cli_arrow">⇒</td><td>{{.Mime}}</td></tr>
|
|
|
|
<tr><td class="cli_command">$ curl ip.envs.net/charset</td><td class="cli_arrow">⇒</td><td>{{.Charset}}</td></tr>
|
|
|
|
<tr><td class="cli_command">$ curl ip.envs.net/via</td><td class="cli_arrow">⇒</td><td>{{.Via}}</td></tr>
|
|
|
|
<tr><td class="cli_command">$ curl ip.envs.net/forwarded</td><td class="cli_arrow">⇒</td><td>{{.Forwarded}}</td></tr>
|
|
|
|
<tr><td class="cli_command">$ curl ip.envs.net/all</td><td class="cli_arrow">⇒</td><td>ip_addr: {{.IP}}<br />remote_host: {{.Host}} <br />user_agent: {{.UserAgent}}<br />port: {{.Port}}<br />lang: {{.Lang}}<br />connection: {{.Connection}}<br />keep_alive: {{.Keepalive}}<br />encoding: {{.Encoding}}<br />mime: {{.Mime}}<br />charset: {{.Charset}}<br />via: {{.Via}}<br />forwarded: {{.Forwarded}}<br /></td></tr>
|
|
|
|
<tr><td class="cli_command">$ curl ip.envs.net/all.xml</td><td class="cli_arrow">⇒</td><td><info><br /> <charset>{{.Charset}}</charset><br /> <connection>{{.Connection}}</connection><br /> <encoding>{{.Encoding}}</encoding><br /> <forwarded>{{.Forwarded}}</forwarded><br /> <ip_addr>{{.IP}}</ip_addr><br /> <keep_alive>{{.Keepalive}}</keep_alive><br /> <lang>{{.Lang}}</lang><br /> <mime>{{.Mime}}</mime><br /> <port>{{.Port}}</port><br /> <remote_host>{{.Host}}</remote_host><br /> <user_agent>{{.UserAgent}}</user_agent><br /> <via>{{.Via}}</via><br />
|
2014-08-14 08:15:52 +02:00
|
|
|
</info><br />
|
|
|
|
</td></tr>
|
2019-07-31 13:38:44 +02:00
|
|
|
<tr><td class="cli_command">$ curl https://ip.envs.net/all.json</td><td class="cli_arrow">⇒</td><td>{"connection":"{{.Connection}}","ip_addr":"{{.IP}}","lang":"{{.Lang}}","remote_host":"{{.Host}}","user_agent":"{{.UserAgent}}","charset":"{{.Charset}}","port":"{{.Port}}","via":"{{.Via}}","forwarded":"{{.Forwarded}}","mime":"{{.Mime}}","keep_alive":"{{.Keepalive}}","encoding":"{{.Encoding}}"}</td></tr>
|
2014-08-14 08:15:52 +02:00
|
|
|
</table>
|
|
|
|
</div>
|
2019-07-31 13:38:44 +02:00
|
|
|
<div id="footer">© 2014 - 2016 <a href="https://ip.envs.net">https://ip.envs.net</a></div>
|
2014-08-14 08:15:52 +02:00
|
|
|
</div>
|
2019-06-30 12:55:43 +02:00
|
|
|
</body>
|
2014-08-14 08:15:52 +02:00
|
|
|
</html>
|