source: apps/susidns/src/jsp/index.jsp @ f902a63

Last change on this file since f902a63 was f902a63, checked in by zzz <zzz@…>, 4 years ago

Console: Add Referrer-Policy header

  • Property mode set to 100644
File size: 4.4 KB
Line 
1<%
2/*
3 * Created on Sep 02, 2005
4 *
5 *  This file is part of susidns project, see http://susi.i2p/
6 *
7 *  Copyright (C) 2005 <susi23@mail.i2p>
8 *
9 *  This program is free software; you can redistribute it and/or modify
10 *  it under the terms of the GNU General Public License as published by
11 *  the Free Software Foundation; either version 2 of the License, or
12 *  (at your option) any later version.
13 *
14 *  This program is distributed in the hope that it will be useful,
15 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
16 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17 *  GNU General Public License for more details.
18 *
19 *  You should have received a copy of the GNU General Public License
20 *  along with this program; if not, write to the Free Software
21 *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
22 *
23 * $Revision: 1.2 $
24 */
25
26    // http://www.crazysquirrel.com/computing/general/form-encoding.jspx
27    if (request.getCharacterEncoding() == null)
28        request.setCharacterEncoding("UTF-8");
29
30    response.setHeader("X-Frame-Options", "SAMEORIGIN");
31    response.setHeader("Content-Security-Policy", "default-src 'self'; style-src 'self' 'unsafe-inline'");
32    response.setHeader("X-XSS-Protection", "1; mode=block");
33    response.setHeader("X-Content-Type-Options", "nosniff");
34    response.setHeader("Referrer-Policy", "no-referrer");
35
36%>
37<%@page pageEncoding="UTF-8"%>
38<%@ page contentType="text/html"%>
39<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
40<jsp:useBean id="version" class="i2p.susi.dns.VersionBean" scope="application" />
41<jsp:useBean id="base" class="i2p.susi.dns.BaseBean" scope="session" />
42<jsp:useBean id="intl" class="i2p.susi.dns.Messages" scope="application" />
43<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
44<html>
45<head>
46<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
47<title><%=intl._t("Introduction")%> - SusiDNS</title>
48<link rel="stylesheet" type="text/css" href="<%=base.getTheme()%>susidns.css?<%=net.i2p.CoreVersion.VERSION%>">
49</head>
50<body>
51<div class="page">
52<div id="logo">
53<img src="<%=base.getTheme()%>images/logo.png" alt="susidns logo" border="0">
54</div>
55<hr>
56<div id="navi">
57<p>
58<%=intl._t("Address books")%>:
59<a href="addressbook?book=private"><%=intl._t("private")%></a> |
60<a href="addressbook?book=master"><%=intl._t("master")%></a> |
61<a href="addressbook?book=router"><%=intl._t("router")%></a> |
62<a href="addressbook?book=published"><%=intl._t("published")%></a> *
63<a href="subscriptions"><%=intl._t("Subscriptions")%></a> *
64<a href="config"><%=intl._t("Configuration")%></a> *
65<%=intl._t("Overview")%>
66</p>
67</div>
68<hr>
69<div id="content">
70<h3><%=intl._t("What is the addressbook?")%></h3>
71<p>
72<%=intl._t("The addressbook application is part of your I2P installation.")%>
73<%=intl._t("It regularly updates your hosts.txt file from distributed sources or \"subscriptions\".")%>
74</p>
75<p>
76<%=intl._t("In the default configuration, the address book is only subscribed to {0}.", "i2p-projekt.i2p")%>
77<%=intl._t("Subscribing to additional sites is easy, just add them to your <a href=\"subscriptions\">subscriptions</a> file.")%>
78</p>
79<p>
80<%=intl._t("For more information on naming in I2P, see <a href=\"http://i2p-projekt.i2p/naming.html\" target=\"_top\">the overview</a>.")%>
81</p>
82<h3><%=intl._t("How does the addressbook application work?")%></h3>
83<p>
84<%=intl._t("The addressbook application regularly polls your subscriptions and merges their content into your \"router\" address book.")%>
85<%=intl._t("Then it merges your \"master\" address book into the router address book as well.")%>
86<%=intl._t("If configured, the router address book is now written to the \"published\" address book, which will be publicly available if you are running an eepsite.")%>
87</p><p>
88<%=intl._t("The router also uses a private address book (not shown in the picture), which is not merged or published.")%>
89<%=intl._t("Hosts in the private address book can be accessed by you but their addresses are never distributed to others.")%>
90<%=intl._t("The private address book can also be used for aliases of hosts in your other address books.")%>
91</p>
92<center><img src="/themes/susidns/images/how.svg" height="367" width="600" border="0" alt="address book working scheme" title="How the address book works" class="illustrate" /></center>
93</div>
94<div id="footer">
95<hr>
96<p class="footer">susidns v${version.version} &copy; <a href="${version.url}" target="_top">susi</a> 2005</p>
97</div>
98</div>
99</body>
100</html>
Note: See TracBrowser for help on using the repository browser.