From 88904d6408f777a1bb29a1b336aeb2d74ebee85d Mon Sep 17 00:00:00 2001 From: zzz Date: Thu, 14 Jan 2016 14:10:12 +0000 Subject: [PATCH] More I2PTunnel HTTP and IRC client docs --- i2p2www/pages/site/docs/api/i2ptunnel.html | 64 +++++++++++++++------- 1 file changed, 44 insertions(+), 20 deletions(-) diff --git a/i2p2www/pages/site/docs/api/i2ptunnel.html b/i2p2www/pages/site/docs/api/i2ptunnel.html index 1fb845fc..1b1eee3c 100644 --- a/i2p2www/pages/site/docs/api/i2ptunnel.html +++ b/i2p2www/pages/site/docs/api/i2ptunnel.html @@ -1,12 +1,8 @@ {% extends "global/layout.html" %} {% block title %}I2PTunnel{% endblock %} +{% block lastupdated %}January 2016{% endblock %} +{% block accuratefor %}0.9.24{% endblock %} {% block content %} -

{% trans %}Overview{% endtrans %}

{% trans naming=site_url('docs/naming') -%} @@ -69,20 +65,28 @@ in a HTTP request. Supports proxying onto internet if an outproxy is provided. S {%- endtrans %}

-

{% trans -%} -HTTP client/server tunnels are via I2Ptunnel force-enabling compression via the following http headers: -{%- endtrans %}

+ +

+The i2ptunnel compression is requested with the HTTP header: +

+ +

+The response indicating i2ptunnel compression contains the following HTTP header: +

+ +

{% trans -%} Depending on if the tunnel is using an outproxy or not it will append the following User-Agent: {%- endtrans %}

@@ -92,23 +96,43 @@ Depending on if the tunnel is using an outproxy or not it will append the follow

-

IRC

+

IRC Client

{% trans -%} Creates a connection to a random IRC server specified by the comma seprated (", ") list of destinations. Only a whitelisted subset of IRC commands are allowed due to anonymity concerns. {%- endtrans %} +The following whitelist is for commands inbound from the IRC server to the IRC client.
{% trans %}Whitelist:{% endtrans %}

+ +

+There is also a whitelist is for commands outbound from the IRC client to the IRC server. +It is quite large due to the number of IRC administrative commands. +See the IRCFilter.java source for details. +The outbound filter also modifies the following commands to strip identifying information: +

+

SOCKS 4/4a/5

@@ -156,7 +180,7 @@ capabilities. An example application would be a web application that does client requests, or loopback-testing an eepsite as a diagnostic tool. {%- endtrans %}

-

IRC

+

IRC Server

{% trans -%} Creates a destination that filters the reqistration sequence of a client and passes the clients destination key as a hostname to the IRC-server.