2004-09-30 06:57:22 +00:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure 1.2//EN" "http://jetty.mortbay.org/configure_1_2.dtd">
|
|
|
|
|
|
|
|
|
|
|
|
<!-- =============================================================== -->
|
|
|
|
<!-- Configure the Jetty Server -->
|
|
|
|
<!-- =============================================================== -->
|
|
|
|
<Configure class="org.mortbay.jetty.Server">
|
|
|
|
|
|
|
|
<!-- =============================================================== -->
|
|
|
|
<!-- Configure the Request Listeners -->
|
|
|
|
<!-- =============================================================== -->
|
|
|
|
|
|
|
|
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
|
|
|
<!-- Add and configure a HTTP listener to port 8080 -->
|
|
|
|
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
|
|
|
<Call name="addListener">
|
|
|
|
<Arg>
|
|
|
|
<New class="org.mortbay.http.SocketListener">
|
|
|
|
<Arg>
|
|
|
|
<New class="org.mortbay.util.InetAddrPort">
|
|
|
|
<Set name="host">127.0.0.1</Set>
|
|
|
|
<Set name="port">7658</Set>
|
|
|
|
</New>
|
|
|
|
</Arg>
|
|
|
|
<Set name="MinThreads">3</Set>
|
|
|
|
<Set name="MaxThreads">10</Set>
|
|
|
|
<Set name="MaxIdleTimeMs">30000</Set>
|
|
|
|
<Set name="LowResourcePersistTimeMs">1000</Set>
|
|
|
|
<Set name="ConfidentialPort">8443</Set>
|
|
|
|
<Set name="IntegralPort">8443</Set>
|
|
|
|
<Set name="PoolName">main</Set>
|
|
|
|
</New>
|
|
|
|
</Arg>
|
|
|
|
</Call>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
|
|
|
<!-- Add a HTTPS SSL listener on port 8443 -->
|
|
|
|
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
|
|
|
<!-- UNCOMMENT TO ACTIVATE
|
|
|
|
<Call name="addListener">
|
|
|
|
<Arg>
|
|
|
|
<New class="org.mortbay.http.SunJsseListener">
|
|
|
|
<Set name="Port">8443</Set>
|
|
|
|
<Set name="PoolName">main</Set>
|
|
|
|
<Set name="Keystore"><SystemProperty name="jetty.home" default="."/>/etc/demokeystore</Set>
|
|
|
|
<Set name="Password">OBF:1vny1zlo1x8e1vnw1vn61x8g1zlu1vn4</Set>
|
|
|
|
<Set name="KeyPassword">OBF:1u2u1wml1z7s1z7a1wnl1u2g</Set>
|
|
|
|
<Set name="NonPersistentUserAgent">MSIE 5</Set>
|
|
|
|
</New>
|
|
|
|
</Arg>
|
|
|
|
</Call>
|
|
|
|
-->
|
|
|
|
|
|
|
|
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
|
|
|
<!-- Add a AJP13 listener on port 8009 -->
|
|
|
|
<!-- This protocol can be used with mod_jk in apache, IIS etc. -->
|
|
|
|
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
|
|
|
<!--
|
|
|
|
<Call name="addListener">
|
|
|
|
<Arg>
|
|
|
|
<New class="org.mortbay.http.ajp.AJP13Listener">
|
|
|
|
<Set name="PoolName">ajp</Set>
|
|
|
|
<Set name="Port">8009</Set>
|
|
|
|
<Set name="MinThreads">3</Set>
|
|
|
|
<Set name="MaxThreads">20</Set>
|
|
|
|
<Set name="MaxIdleTimeMs">0</Set>
|
|
|
|
<Set name="confidentialPort">443</Set>
|
|
|
|
</New>
|
|
|
|
</Arg>
|
|
|
|
</Call>
|
|
|
|
-->
|
|
|
|
|
|
|
|
|
|
|
|
<!-- =============================================================== -->
|
|
|
|
<!-- Configure the Contexts -->
|
|
|
|
<!-- =============================================================== -->
|
|
|
|
|
|
|
|
|
|
|
|
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
|
|
|
<!-- Add a all web application within the webapps directory. -->
|
|
|
|
<!-- + No virtual host specified -->
|
|
|
|
<!-- + Look in the webapps directory relative to jetty.home or . -->
|
2004-10-03 14:04:21 +00:00
|
|
|
<!-- + Use the default webdefault.xml in jetty's install -->
|
2004-09-30 06:57:22 +00:00
|
|
|
<!-- + Upack the war file -->
|
|
|
|
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
|
|
|
<Set name="rootWebApp">root</Set>
|
|
|
|
<Call name="addWebApplications">
|
|
|
|
<Arg></Arg>
|
|
|
|
<Arg>./eepsite/webapps/</Arg>
|
2004-10-03 14:04:21 +00:00
|
|
|
<Arg></Arg>
|
2004-09-30 06:57:22 +00:00
|
|
|
<Arg type="boolean">true</Arg>
|
|
|
|
</Call>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
|
|
|
<!-- Add and configure a specific web application -->
|
|
|
|
<!-- + Set Unpack WAR files -->
|
|
|
|
<!-- + Set Default Descriptor. Resource, file or URL -->
|
|
|
|
<!-- + Set Virtual Hosts. A Null host or empty array means all hosts -->
|
|
|
|
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
|
|
|
<!-- UNCOMMENT TO ACTIVATE
|
|
|
|
<Call name="addWebApplication">
|
|
|
|
<Arg>/context</Arg>
|
|
|
|
<Arg>./webapps/root</Arg>
|
|
|
|
|
|
|
|
<Set name="extractWAR">false</Set>
|
|
|
|
|
|
|
|
<Set name="defaultsDescriptor">org/mortbay/jetty/servlet/webdefault.xml</Set>
|
|
|
|
|
|
|
|
<Set name="virtualHosts">
|
|
|
|
<Array type="java.lang.String">
|
|
|
|
<Item></Item>
|
|
|
|
<Item>127.0.0.1</Item>
|
|
|
|
<Item>localhost</Item>
|
|
|
|
<Item>www.acme.com</Item>
|
|
|
|
</Array>
|
|
|
|
</Set>
|
|
|
|
</Call>
|
|
|
|
-->
|
|
|
|
|
|
|
|
<Call name="addContext">
|
|
|
|
<Arg>
|
|
|
|
<New class="org.mortbay.http.HttpContext">
|
|
|
|
<Set name="contextPath">/</Set>
|
|
|
|
<Set name="resourceBase">./eepsite/docroot</Set>
|
|
|
|
<Call name="addHandler">
|
|
|
|
<Arg>
|
|
|
|
<New class="org.mortbay.http.handler.ResourceHandler">
|
|
|
|
<Set name="redirectWelcome">FALSE</Set>
|
|
|
|
</New>
|
|
|
|
</Arg>
|
|
|
|
</Call>
|
|
|
|
</New>
|
|
|
|
</Arg>
|
|
|
|
</Call>
|
2005-02-16 jrandom
* (Merged the 0.5-pre branch back into CVS HEAD)
* Replaced the old tunnel routing crypto with the one specified in
router/doc/tunnel-alt.html, including updates to the web console to view
and tweak it.
* Provide the means for routers to reject tunnel requests with a wider
range of responses:
probabalistic rejection, due to approaching overload
transient rejection, due to temporary overload
bandwidth rejection, due to persistent bandwidth overload
critical rejection, due to general router fault (or imminent shutdown)
The different responses are factored into the profiles accordingly.
* Replaced the old I2CP tunnel related options (tunnels.depthInbound, etc)
with a series of new properties, relevent to the new tunnel routing code:
inbound.nickname (used on the console)
inbound.quantity (# of tunnels to use in any leaseSets)
inbound.backupQuantity (# of tunnels to keep in the ready)
inbound.length (# of remote peers in the tunnel)
inbound.lengthVariance (if > 0, permute the length by adding a random #
up to the variance. if < 0, permute the length
by adding or subtracting a random # up to the
variance)
outbound.* (same as the inbound, except for the, uh, outbound tunnels
in that client's pool)
There are other options, and more will be added later, but the above are
the most relevent ones.
* Replaced Jetty 4.2.21 with Jetty 5.1.2
* Compress all profile data on disk.
* Adjust the reseeding functionality to work even when the JVM's http proxy
is set.
* Enable a poor-man's interactive-flow in the streaming lib by choking the
max window size.
* Reduced the default streaming lib max message size to 16KB (though still
configurable by the user), also doubling the default maximum window
size.
* Replaced the RouterIdentity in a Lease with its SHA256 hash.
* Reduced the overall I2NP message checksum from a full 32 byte SHA256 to
the first byte of the SHA256.
* Added a new "netId" flag to let routers drop references to other routers
who we won't be able to talk to.
* Extended the timestamper to get a second (or third) opinion whenever it
wants to actually adjust the clock offset.
* Replaced that kludge of a timestamp I2NP message with a full blown
DateMessage.
* Substantial memory optimizations within the router and the SDK to reduce
GC churn. Client apps and the streaming libs have not been tuned,
however.
* More bugfixes thank you can shake a stick at.
2005-02-13 jrandom
* Updated jbigi source to handle 64bit CPUs. The bundled jbigi.jar still
only contains 32bit versions, so build your own, placing libjbigi.so in
your install dir if necessary. (thanks mule!)
* Added support for libjbigi-$os-athlon64 to NativeBigInteger and CPUID
(thanks spaetz!)
2005-02-16 22:23:47 +00:00
|
|
|
|
|
|
|
<Call name="addContext">
|
|
|
|
<Arg>/cgi-bin/*</Arg>
|
|
|
|
<Set name="ResourceBase">./eepsite/cgi-bin</Set>
|
|
|
|
<Call name="addServlet">
|
|
|
|
<Arg>Common Gateway Interface</Arg>
|
|
|
|
<Arg>/</Arg>
|
|
|
|
<Arg>org.mortbay.servlet.CGI</Arg>
|
|
|
|
<Put name="Path">/usr/local/bin:/usr/ucb:/bin:/usr/bin</Put>
|
|
|
|
</Call>
|
|
|
|
</Call>
|
2004-09-30 06:57:22 +00:00
|
|
|
|
|
|
|
<!-- =============================================================== -->
|
|
|
|
<!-- Configure the Request Log -->
|
|
|
|
<!-- =============================================================== -->
|
|
|
|
<Set name="RequestLog">
|
|
|
|
<New class="org.mortbay.http.NCSARequestLog">
|
|
|
|
<Arg>./eepsite/logs/yyyy_mm_dd.request.log</Arg>
|
|
|
|
<Set name="retainDays">90</Set>
|
|
|
|
<Set name="append">true</Set>
|
|
|
|
<Set name="extended">false</Set>
|
|
|
|
<Set name="buffered">false</Set>
|
|
|
|
<Set name="LogTimeZone">GMT</Set>
|
|
|
|
</New>
|
|
|
|
</Set>
|
|
|
|
|
|
|
|
<!-- =============================================================== -->
|
|
|
|
<!-- Configure the Other Server Options -->
|
|
|
|
<!-- =============================================================== -->
|
|
|
|
<Set name="requestsPerGC">2000</Set>
|
|
|
|
<Set name="statsOn">false</Set>
|
|
|
|
|
|
|
|
</Configure>
|