2005-11-03 zzz
* Added a new error page to the eepproxy to differentiate the full 60 second timeout from the immediate "I don't know this base64" failure.
This commit is contained in:
@ -490,7 +490,7 @@ public class I2PTunnelHTTPClient extends I2PTunnelClientBase implements Runnable
|
|||||||
else if(ahelper != 0)
|
else if(ahelper != 0)
|
||||||
str = FileUtil.readTextFile("docs/dnfb-header.ht", 100, true);
|
str = FileUtil.readTextFile("docs/dnfb-header.ht", 100, true);
|
||||||
else
|
else
|
||||||
str = FileUtil.readTextFile("docs/dnf-header.ht", 100, true);
|
str = FileUtil.readTextFile("docs/dnfh-header.ht", 100, true);
|
||||||
if (str != null)
|
if (str != null)
|
||||||
header = str.getBytes();
|
header = str.getBytes();
|
||||||
else
|
else
|
||||||
|
@ -299,6 +299,7 @@
|
|||||||
<copy file="installer/resources/dnf-header.ht" todir="pkg-temp/docs/" />
|
<copy file="installer/resources/dnf-header.ht" todir="pkg-temp/docs/" />
|
||||||
<copy file="installer/resources/dnfp-header.ht" todir="pkg-temp/docs/" />
|
<copy file="installer/resources/dnfp-header.ht" todir="pkg-temp/docs/" />
|
||||||
<copy file="installer/resources/dnfb-header.ht" todir="pkg-temp/docs/" />
|
<copy file="installer/resources/dnfb-header.ht" todir="pkg-temp/docs/" />
|
||||||
|
<copy file="installer/resources/dnfh-header.ht" todir="pkg-temp/docs/" />
|
||||||
<copy file="installer/resources/ahelper-conflict-header.ht" todir="pkg-temp/docs/" />
|
<copy file="installer/resources/ahelper-conflict-header.ht" todir="pkg-temp/docs/" />
|
||||||
<mkdir dir="pkg-temp/eepsite" />
|
<mkdir dir="pkg-temp/eepsite" />
|
||||||
<mkdir dir="pkg-temp/eepsite/webapps" />
|
<mkdir dir="pkg-temp/eepsite/webapps" />
|
||||||
@ -373,6 +374,7 @@
|
|||||||
<copy file="installer/resources/dnf-header.ht" todir="pkg-temp/docs/" />
|
<copy file="installer/resources/dnf-header.ht" todir="pkg-temp/docs/" />
|
||||||
<copy file="installer/resources/dnfp-header.ht" todir="pkg-temp/docs/" />
|
<copy file="installer/resources/dnfp-header.ht" todir="pkg-temp/docs/" />
|
||||||
<copy file="installer/resources/dnfb-header.ht" todir="pkg-temp/docs/" />
|
<copy file="installer/resources/dnfb-header.ht" todir="pkg-temp/docs/" />
|
||||||
|
<copy file="installer/resources/dnfh-header.ht" todir="pkg-temp/docs/" />
|
||||||
<copy file="installer/resources/ahelper-conflict-header.ht" todir="pkg-temp/docs/" />
|
<copy file="installer/resources/ahelper-conflict-header.ht" todir="pkg-temp/docs/" />
|
||||||
<!-- the addressbook handles this for updates -->
|
<!-- the addressbook handles this for updates -->
|
||||||
<!-- <copy file="hosts.txt" todir="pkg-temp/" /> -->
|
<!-- <copy file="hosts.txt" todir="pkg-temp/" /> -->
|
||||||
|
@ -1,4 +1,8 @@
|
|||||||
$Id: history.txt,v 1.311 2005/10/31 15:03:11 jrandom Exp $
|
$Id: history.txt,v 1.312 2005/11/01 19:35:21 jrandom Exp $
|
||||||
|
|
||||||
|
2005-11-03 zzz
|
||||||
|
* Added a new error page to the eepproxy to differentiate the full 60
|
||||||
|
second timeout from the immediate "I don't know this base64" failure.
|
||||||
|
|
||||||
2005-11-01 jrandom
|
2005-11-01 jrandom
|
||||||
* Added a few more css elements (thanks identiguy!)
|
* Added a few more css elements (thanks identiguy!)
|
||||||
|
42
installer/resources/dnfh-header.ht
Normal file
42
installer/resources/dnfh-header.ht
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
HTTP/1.1 404 Domain Not Found
|
||||||
|
Content-Type: text/html; charset=iso-8859-1
|
||||||
|
Cache-control: no-cache
|
||||||
|
|
||||||
|
<html><head>
|
||||||
|
<title>Eepsite unknown</title>
|
||||||
|
<style type='text/css'>
|
||||||
|
div.warning {
|
||||||
|
margin: 0em 1em 1em 224px;
|
||||||
|
padding: .5em 1em;
|
||||||
|
background-color: #ffefef;
|
||||||
|
border: medium solid #ffafaf;
|
||||||
|
text-align: left;
|
||||||
|
color: inherit;
|
||||||
|
}
|
||||||
|
div.logo {
|
||||||
|
float: left;
|
||||||
|
width: 200px;
|
||||||
|
left: 1em;
|
||||||
|
top: 1em;
|
||||||
|
margin: 0em;
|
||||||
|
padding: .5em;
|
||||||
|
text-align: left;
|
||||||
|
border: medium solid #efefff;
|
||||||
|
background-color: #fafaff;
|
||||||
|
color: inherit;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div class=logo>
|
||||||
|
<a href="http://localhost:7657/index.jsp">Router Console</a><br />
|
||||||
|
[<a href="http://localhost:7657/config.jsp">configuration</a> | <a href="http://localhost:7657/help.jsp">help</a>]
|
||||||
|
</div>
|
||||||
|
<div class=warning id=warning>
|
||||||
|
The eepsite was not found in your router's addressbook.
|
||||||
|
Check the link or find a BASE64 address.
|
||||||
|
If you have the BASE64 address, paste it into your userhosts.txt using SusiDNS
|
||||||
|
<a href="http://localhost:7657/susidns/addressbook.jsp?book=master">here</a>.
|
||||||
|
or use a BASE64 address helper.
|
||||||
|
You may be able to find the eepsite's address helper at <a href="http://orion.i2p">orion.i2p</a>.
|
||||||
|
<BR><BR>Could not find the following destination:<BR><BR>
|
@ -15,9 +15,9 @@ import net.i2p.CoreVersion;
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class RouterVersion {
|
public class RouterVersion {
|
||||||
public final static String ID = "$Revision: 1.280 $ $Date: 2005/10/29 18:20:05 $";
|
public final static String ID = "$Revision: 1.281 $ $Date: 2005/10/30 00:47:57 $";
|
||||||
public final static String VERSION = "0.6.1.4";
|
public final static String VERSION = "0.6.1.4";
|
||||||
public final static long BUILD = 1;
|
public final static long BUILD = 2;
|
||||||
public static void main(String args[]) {
|
public static void main(String args[]) {
|
||||||
System.out.println("I2P Router version: " + VERSION + "-" + BUILD);
|
System.out.println("I2P Router version: " + VERSION + "-" + BUILD);
|
||||||
System.out.println("Router ID: " + RouterVersion.ID);
|
System.out.println("Router ID: " + RouterVersion.ID);
|
||||||
|
Reference in New Issue
Block a user