You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
yacy_search_server/htroot/Network.html

377 lines
18 KiB

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>YaCy '#[clientname]#': YaCy Network</title>
#%env/templates/metas.template%#
<style type="text/css">
.left {
float: left;
}
</style>
<script type="text/javascript">
<!--
imagestub = "NetworkPicture.png?width=768&height=576&bgcolor=FFFFFF&ct=5000&coronaangle=";
imageanimindex = 0;
imageloadindex = 0;
imagecycles = 0;
imagearray = new Array(6);
setTimeout("initanimation()", 100);
setTimeout("doanimation()", 1000);
function initanimation() {
handle = new Date().getTime();
for (j = 0; j < 6; j++) initanimationphase(j, handle);
}
function initanimationphase(phase, handle) {
imagearray[phase] = new Image(768, 576);
angle = phase * 60;
imagearray[phase].src = imagestub + angle + "&handle=" + handle;
}
function doanimation() {
var networkPicture = document.getElementById("NetworkPicture");
if (networkPicture != null) {
networkPicture.src = imagearray[imageanimindex].src;
imageanimindex++;
if (imageanimindex == 6) { imageanimindex = 0; }
imagecycles++;
if (imagecycles == 25) {
initanimationphase(imageloadindex, new Date().getTime());
imageloadindex++;
if (imageloadindex == 6) { imageloadindex = 0; }
imagecycles = 0;
}
setTimeout("doanimation()", 100);
}
}
-->
</script>
</head>
<body id="Network">
<div id="api">
<script type="text/javascript" src="/js/sorttable.js"></script>
<a href="Network.xml" id="apilink"><img src="/env/grafics/api.png" width="60" height="40" alt="API"/></a>
<script type="text/javascript">
//<![CDATA[
document.getElementById('apilink').setAttribute('href', 'Network.xml?' + window.location.search.substring(1));
//]]>
</script>
<span>The information that is presented on this page can also be retrieved as XML
Click the API icon to see the XML.
To see a list of all APIs, please visit the <a href="http://www.yacy-websuche.de/wiki/index.php/Dev:API">API wiki page</a>.</span>
</div>
#%env/templates/header.template%#
<div class="SubMenu">
<h3>YaCy Network</h3>
<ul class="SubMenu">
<li><a href="/Network.html" class="MenuItemLink">Network Overview</a></li>
<li><a href="/Network.html?page=1" class="MenuItemLink">Active&nbsp;Peers</a></li>
<li><a href="/Network.html?page=2" class="MenuItemLink">Passive&nbsp;Peers</a></li>
<li><a href="/Network.html?page=3" class="MenuItemLink">Potential&nbsp;Peers</a></li>
</ul>
</div>
#(page)#
<h2>Overview of '#[networkName]#' Network</h2>
::
<h2>Active Peers in '#[networkName]#' Network</h2>
::
<h2>Passive Peers in '#[networkName]#' Network</h2>
::
<h2>Potential Peers in '#[networkName]#' Network</h2>
::
<h2>Manually contacting Peer</h2>
#(/page)#
#(regexerror)#
::
<p><strong>ERROR</strong>: Unable to execute query. &quot;<strong>#[wrongregex]#</strong>&quot; is no valid regular expression, please enter a valid regular expression to search for a peername.</p>
#(/regexerror)#
#(table)#
<p>no remote #[peertype]# peer for this list known</p>
::
<p>Showing #[num]# entries from a total of #[total]# peers.</p>
<form action="Network.html?page=#[page]#" method="get" enctype="multipart/form-data" accept-charset="UTF-8">
<fieldset>
<label for="match">Search for a peername (RegExp allowed)</label>:
<input type="text" id="match" name="match" value="#[searchpattern]#" />
<input type="hidden" name="page" value="#[page]#" />
<input type="submit" name="search" value="Search" />
</fieldset>
</form>
<table class="sortable" border="0" cellpadding="2" cellspacing="1">
<tr class="TableHeader" valign="bottom">
<td>send&nbsp;<strong>M</strong>essage/<br/>show&nbsp;<strong>P</strong>rofile/<br/>edit&nbsp;<strong>W</strong>iki/<br/>browse&nbsp;<strong>B</strong>log</td>
<td><strong>Name</strong><br/></td>
<td style="width:44px;"><strong>Info</strong></td>
<td><strong>Release/<br/>SVN</strong></td>
<td><strong>PPM</strong></td>
<td><strong>QPH</strong></td>
<td><strong>Last<br/>Seen</strong></td>
<td><strong>UTC</strong><br/>Offset</td>
<td><strong>Location</strong><br/></td>
<td style="width:70px;"><strong>Uptime</strong></td>
<td><strong>Links</strong></td>
<td><strong>RWIs</strong></td>
<td><strong>URLs for<br/>Remote<br/>Crawl</strong></td>
<td><strong>Sent<br/>Words</strong></td>
<td><strong>Sent<br/>URLs</strong></td>
<td><strong>Received<br/>Words</strong></td>
<td><strong>Received<br/>URLs</strong></td>
#(complete)#::
<td><strong>Address</strong></td>
<td><strong>Hash</strong></td>
<td><strong>Age</strong></td>
<td><strong>#Seeds</strong></td>
<td><strong>con/h<br/></strong></td>
<td><strong>user agent<br/></strong></td>
<td><strong>Peer<br/>Ping</strong></td>
#(/complete)#
</tr>
#{list}#
<tr class="TableCell#(dark)#Light::Dark::Summary#(/dark)#">
<td>
<a href="MessageSend_p.html?hash=#[hash]#" title="Send message to peer #[fullname]#">m</a>&nbsp;
<a href="ViewProfile.html?hash=#[hash]#&amp;display=1" title="View profile of peer #[fullname]#">p</a>&nbsp;
<a href="http://#[fullname]#.yacy/Wiki.html" title="Read and edit wiki on peer #[fullname]#">w</a>&nbsp;
<a href="http://#[fullname]#.yacy/Blog.html" title="Browse blog of peer #[fullname]#">b</a>&nbsp;
#(updatedProfile)#::<a href="ViewProfile.html?hash=#[hash]#&amp;display=1"><img src="/env/grafics/profile.gif" width="54" height="11" alt="Profile updated" /></a>#(/updatedProfile)#
#(updatedWiki)#::<a href="http://#[address]#/Wiki.html?page=#[page]#" title="#[page]#"><img src="/env/grafics/wiki.gif" width="54" height="11" alt="Wiki updated" /></a>#(/updatedWiki)#
#(updatedBlog)#::<a href="http://#[address]#/Blog.html?page=#[page]#" title="#[subject]#"><img src="/env/grafics/blog.gif" width="54" height="11" alt="Blog updated" /></a>#(/updatedBlog)#
#(isCrawling)#::<a href="#[page]#"><img src="/env/grafics/crawl.gif" width="54" height="11" alt="Crawl" /></a>#(/isCrawling)#
</td>
<td><a href="http://www.#[fullname]#.yacy">#[shortname]#</a></td>
<td>#(type)##(direct)#<img src="/env/grafics/JuniorPassive.gif" width="11" height="11" title="Type: Junior | Contact: passive" alt="Junior passive" />::<img src="/env/grafics/JuniorDirect.gif" width="11" height="11" title="Type: Junior | Contact: direct" alt="Junior direct" />::<img src="/env/grafics/JuniorOffline.gif" width="11" height="11" title="Type: Junior | Contact: offline" alt="Junior offline" />#(/direct)#::#(direct)#<img src="/env/grafics/SeniorPassive.gif" width="11" height="11" title="Type: Senior | Contact: passive" alt="senior passive" />::<img src="/env/grafics/SeniorDirect.gif" width="11" height="11" title="Type: Senior | Contact: direct" alt="Senior direct" />::<img src="/env/grafics/SeniorOffline.gif" width="11" height="11" title="Type: Senior | Contact: offline" alt="Senior offline" />#(/direct)#::<a href="#[url]#">#(direct)#<img src="/env/grafics/PrincipalPassive.gif" width="11" height="11" title="Type: Principal | Contact: passive | Seed download: possible" alt="Principal passive" />::<img src="/env/grafics/PrincipalDirect.gif" width="11" height="11" title="Type: Principal | Contact: direct | Seed download: possible" alt="Principal active" />::<img src="/env/grafics/PrincipalOffline.gif" width="11" height="11" title="Type: Principal | Contact: offline | Seed download: ?" alt="Principal offline" />#(/direct)#</a>#(/type)##(acceptcrawl)#<img src="/env/grafics/CrawlNo.gif" width="11" height="11" title="Accept Crawl: no" alt="no crawl" />::<img src="/env/grafics/CrawlYes.gif" width="11" height="11" title="Accept Crawl: yes" alt="crawl possible" />::<img src="/env/grafics/CrawlYesOffline.gif" width="11" height="11" title="Accept Crawl: yes" alt="crawl possible" />#(/acceptcrawl)##(dhtreceive)#<img src="/env/grafics/DHTReceiveNo.gif" width="11" height="11" title="DHT Receive: no; #[peertags]#" alt="no DHT receive" />::<img src="/env/grafics/DHTReceiveYes.gif" width="11" height="11" title="DHT Receive: yes" alt="DHT receive enabled" />::<img src="/env/grafics/DHTReceiveYesOffline.gif" width="11" height="11" title="DHT Receive: yes" alt="DHT receive enabled" />#(/dhtreceive)#</td>
<td align="right">#[version]#</td>
<td align="right">#[ppm]#</td>
<td align="right">#[qph]#</td>
<td align="right">#[lastSeen]#</td>
<td align="right">#[utc]#</td>
<td align="right">#[location]#</td>
<td align="right">#[uptime]#</td>
<td align="right">#[LCount]#</td>
<td align="right">#[ICount]#</td>
<td align="right">#[RCount]#</td>
<td align="right">#[sI]#</td>
<td align="right">#[sU]#</td>
<td align="right">#[rI]#</td>
<td align="right">#[rU]#</td>
#(complete)#
::
<td><a href="http://#[ip]#:#[port]#/Network.html?page=1&amp;ip=">http://#[ip]#:#[port]#</a></td>
<td >#[hash]#</td>
<td >#[age]#</td>
<td align="right">#[seeds]#</td>
<td align="right">#[connects]#</td>
<td align="right">#[userAgent]#</td>
<td align="right">[<a href="Network.html?page=4&amp;peerHash=#[hash]#&amp;peerIP=#[ip]#&amp;peerPort=#[port]#&amp;addPeer=add+Peer">Ping</a>]</td>
#(/complete)#
</tr>
#{/list}#
</table>
<p>
<em>runtime: #[rt]# ms</em>
</p>
::
<div class="left">
<table border="0" cellpadding="2" cellspacing="1">
<tr class="TableHeader">
<td rowspan="5" class="TableHeader">Network</td>
<td colspan="#(active-switch)#2::3::4::5#(/active-switch)#">Online Peers</td>
<td rowspan="2">Number of<br/>Documents</td>
<td rowspan="2">Indexing Speed:<br/>Pages Per Minute (PPM)</td>
<td rowspan="2">Query Frequency:<br/>Queries Per Hour (QPH)</td>
</tr>
<tr class="TableHeader">
#(active-switch)#::
<td>Today</td>::
<td>Last Week</td><td>Today</td>::
<td>Last Month</td><td>Last Week</td><td>Today</td>
#(/active-switch)#
<td colspan="2">Now</td>
</tr>
<tr class="TableCellDark">
#(active-switch)#::
<td align="right" rowspan="3">#[last-day]#</td>::
<td align="right" rowspan="3">#[last-week]#</td><td align="right" rowspan="3">#[last-day]#</td>::
<td align="right" rowspan="3">#[last-month]#</td><td align="right" rowspan="3">#[last-week]#</td><td align="right" rowspan="3">#[last-day]#</td>
#(/active-switch)#
<td align="left">Active</td>
<td align="right">#[active-count]#</td>
<td align="right">#[active-links]#</td>
<td align="right" rowspan="3">#[gppm]#</td>
<td align="right" rowspan="3">#[gqph]#</td>
</tr>
<tr class="TableCellDark">
<td align="left">Passive</td>
<td align="right">#[passive-count]#</td>
<td align="right">#[passive-links]#</td>
</tr>
<tr class="TableCellDark">
<td align="left">Potential</td>
<td align="right">#[potential-count]#</td>
<td align="right">#[potential-links]#</td>
</tr>
<tr class="TableCellSummary">
<td align="left" colspan="#(active-switch)#3::4::5::6#(/active-switch)#">This Peer</td>
<td align="right">#[my-LCount]#</td>
<td align="right">#[my-ppm]#</td>
<td align="right">#[my-qph]#</td>
</tr>
</table>
</div>
<div class="left">
<p>
<a href="NetworkPicture.png?width=768&amp;height=576&amp;bgcolor=FFFFFF"><img id="NetworkPicture" src="NetworkPicture.png?width=768&amp;height=576&amp;bgcolor=FFFFFF&amp;coronaangle=0" alt="The YaCy Network" width="768" height="576" /></a>
</p>
</div>
<div class="left">
<table border="0">
<tr>
<td style="background-color:#668877">&nbsp;</td>
<td>dark green font</td>
<td>:</td>
<td>senior/principal peers</td>
</tr>
<tr>
<td style="background-color:#B3CCB3">&nbsp;</td>
<td>light green font</td>
<td>:</td>
<td>passive peers</td>
</tr>
<tr>
<td style="background-color:#CCB3B3">&nbsp;</td>
<td>pink font</td>
<td>:</td>
<td>junior peers</td>
</tr>
<tr>
<td style="background-color:#BE6F4F">&nbsp;</td>
<td>red point</td>
<td>:</td>
<td>this peer</td>
</tr>
<tr>
<td style="background-color:#AAAAAA">&nbsp;</td>
<td>grey waves</td>
<td>:</td>
<td>crawling activity</td>
</tr>
<tr>
<td style="background-color:#66FF66">&nbsp;</td>
<td>green radiation</td>
<td>:</td>
<td>strong query activity</td>
</tr>
<tr>
<td style="background-color:#FF6666">&nbsp;</td>
<td>red lines</td>
<td>:</td>
<td>DHT-out</td>
</tr>
<tr>
<td style="background-color:#44FF44">&nbsp;</td>
<td>green lines</td>
<td>:</td>
<td>DHT-in</td>
</tr>
</table>
</div>
<div class="left">
Your Peer:
<table border="0" cellpadding="2" cellspacing="1">
<tr class="TableHeader">
<td>Name</td>
<td>Info</td>
<td>Version</td>
<td>UTC</td>
<td>Uptime</td>
<td>Links</td>
<td>RWIs</td>
<td>URLs for<br/>Remote Crawl</td>
<td>Sent<br/>Words</td>
<td>Sent<br/>URLs</td>
<td>Received<br/>Words</td>
<td>Received<br/>URLs</td>
<td>Known<br/>Seeds</td>
<td>Connects<br/>per hour</td>
<td>Indexing<br/>PPM</td>
<td>QPH<br/>(public&nbsp;local)</td>
<td>QPH<br/>(remote)</td>
</tr>
<tr class="TableCellDark">
<td>#[my-name]#</td>
<td>#(my-info)#<img src="/env/grafics/Virgin.gif" width="11" height="11" title="Type: Virgin" alt="Virgin" />::<img src="/env/grafics/JuniorDirect.gif" width="11" height="11" title="Type: Junior" alt="Junior" />::<img src="/env/grafics/SeniorDirect.gif" width="11" height="11" title="Type: Senior" alt="Senior" />::<img src="/env/grafics/PrincipalDirect.gif" width="11" height="11" title="Type: Principal" alt="Principal" />#(/my-info)##(my-acceptcrawl)#<img src="/env/grafics/CrawlNo.gif" width="11" height="11" title="Accept Crawl: no" alt="no crawl" />::<img src="/env/grafics/CrawlYes.gif" width="11" height="11" title="Accept Crawl: yes" alt="Crawl enabled" />#(/my-acceptcrawl)##(my-dhtreceive)#<img src="/env/grafics/DHTReceiveNo.gif" width="11" height="11" title="DHT Receive: no" alt="no DHT receive" />::<img src="/env/grafics/DHTReceiveYes.gif" width="11" height="11" title="DHT Receive: yes" alt="DHT Receive enabled" />#(/my-dhtreceive)#</td>
<td align="right">#[my-version]#</td>
<td align="right">#[my-utc]#</td>
<td align="right">#[my-uptime]#</td>
<td align="right">#[my-LCount]#</td>
<td align="right">#[my-ICount]#</td>
<td align="right">#[my-RCount]#</td>
<td align="right">#[my-sI]#</td>
<td align="right">#[my-sU]#</td>
<td align="right">#[my-rI]#</td>
<td align="right">#[my-rU]#</td>
<td align="right">#[my-seeds]#</td>
<td align="right">#[my-connects]#</td>
<td align="right">#[my-ppm]#</td>
<td align="right">#[my-qph-publocal]#</td>
<td align="right">#[my-qph-pubremote]#</td>
</tr>
</table>
</div>
::
#(comment)#
::
<p style="color:red;">
<code>#[status]#</code>
</p>
::
<p style="color:green">
<code>#[status]#</code>
</p>
<p style="color:green;">
<code>#[details]#</code>
</p>
#(/comment)#
<form action="Network.html" method="get">
<table>
<tr>
<td>Peer Hash</td>
<td><input name="peerHash" type="text" size="32" maxlength="128" value="#[peerHash]#" /></td>
</tr>
<tr>
<td>Peer IP</td>
<td><input name="peerIP" type="text" size="32" maxlength="128" value="#[peerIP]#" /></td>
</tr>
<tr>
<td>Peer Port</td>
<td><input name="peerPort" type="text" size="32" maxlength="128" value="#[peerPort]#" /></td>
</tr>
<tr>
<td>&nbsp;<input name="page" type="hidden" value="4" /></td>
<td><input type="submit" name="addPeer" value="add Peer" /></td>
</tr>
</table>
</form>
<p>&nbsp;</p>
Contacting current peer from another:
<table>
<tr>
<td>ip:port</td>
<td><input id="otherPeerAddress" type="text" size="32" maxlength="128" value=":8080" /></td>
</tr>
<tr>
<td>&nbsp;</td>
<td><input type="button" value="contact current peer from this peer" onclick="top.location.href='http://' + document.getElementById('otherPeerAddress').value + '/Network.html?peerHash=#[my-hash]#&peerIP=#[my-ip]#&peerPort=#[my-port]#&page=4&addPeer=add+Peer'"/></td>
</tr>
</table>
#(/table)#
#%env/templates/footer.template%#
</body>
</html>