diff options
-rw-r--r-- | static/styles.sass | 5 | ||||
-rw-r--r-- | template/about.html.j2 | 16 | ||||
-rw-r--r-- | template/copyright.html.j2 | 7 | ||||
-rw-r--r-- | template/engage.html.j2 | 173 | ||||
-rw-r--r-- | template/ev.html.j2 | 51 | ||||
-rw-r--r-- | template/glossary.html.j2 | 12 | ||||
-rw-r--r-- | template/gsoc.html.j2 | 6 | ||||
-rw-r--r-- | template/install.html.j2 | 57 | ||||
-rw-r--r-- | template/use.html.j2 | 698 | ||||
-rw-r--r-- | template/video.html.j2 | 11 |
10 files changed, 507 insertions, 529 deletions
diff --git a/static/styles.sass b/static/styles.sass index 7566f42a..0abad13a 100644 --- a/static/styles.sass +++ b/static/styles.sass | |||
@@ -281,3 +281,8 @@ footer | |||
281 | 281 | ||
282 | .row | 282 | .row |
283 | min-width: 50% | 283 | min-width: 50% |
284 | |||
285 | header | ||
286 | text-align: center | ||
287 | margin-top: 30px | ||
288 | margin-bottom: 50px | ||
diff --git a/template/about.html.j2 b/template/about.html.j2 index 497bb470..2886870d 100644 --- a/template/about.html.j2 +++ b/template/about.html.j2 | |||
@@ -1,15 +1,11 @@ | |||
1 | {% extends "common/base.j2" %} | 1 | {% extends "common/base.j2" %} |
2 | {% block body_content %} | 2 | {% block body_content %} |
3 | <div class="container"> | 3 | <article class="container"> |
4 | <div class="row"> | 4 | |
5 | <div class="container"> | 5 | <header> |
6 | <header> | 6 | <h1>{{ _("About GNUnet") }}</h1> |
7 | <h1 class="text-center">{{ _("About GNUnet") }}</h1> | 7 | </header> |
8 | </header> | 8 | |
9 | </div> | ||
10 | </div> | ||
11 | </div> | ||
12 | <div class="container"> | ||
13 | <div class="row"> | 9 | <div class="row"> |
14 | <div class="col"> | 10 | <div class="col"> |
15 | <h3>{{ _("What is GNUnet?") }}</h3> | 11 | <h3>{{ _("What is GNUnet?") }}</h3> |
diff --git a/template/copyright.html.j2 b/template/copyright.html.j2 index d3501c60..ca779567 100644 --- a/template/copyright.html.j2 +++ b/template/copyright.html.j2 | |||
@@ -1,9 +1,12 @@ | |||
1 | {% extends "common/base.j2" %} | 1 | {% extends "common/base.j2" %} |
2 | {% block body_content %} | 2 | {% block body_content %} |
3 | <article class="container"> | ||
4 | |||
5 | <header> | ||
6 | <h1>{{ _("Copyright Assignment") }}</h1> | ||
7 | </header> | ||
3 | 8 | ||
4 | <div class="container-fluid"> | ||
5 | <div class="container text-center"> | 9 | <div class="container text-center"> |
6 | <h1>{{ _("Copyright Assignment") }}</h1><br><br> | ||
7 | <!-- Note: source of the pdf/copyright.pdf is in gitolite-admin/ --> | 10 | <!-- Note: source of the pdf/copyright.pdf is in gitolite-admin/ --> |
8 | {% trans %} | 11 | {% trans %} |
9 | <p> | 12 | <p> |
diff --git a/template/engage.html.j2 b/template/engage.html.j2 index 6b6a1bee..0f4fae20 100644 --- a/template/engage.html.j2 +++ b/template/engage.html.j2 | |||
@@ -1,98 +1,93 @@ | |||
1 | {% extends "common/base.j2" %} | 1 | {% extends "common/base.j2" %} |
2 | {% block body_content %} | 2 | {% block body_content %} |
3 | <article class="d-flex flex-column p-2 bd-highlight"> | 3 | <article class="container"> |
4 | <div class="container"> | ||
5 | <div class="text-center"> | ||
6 | <header> | ||
7 | <h1>{{ _("Engage!") }}</h1> | ||
8 | </header> | ||
9 | </div> | ||
10 | </div> | ||
11 | <div class="container"> | ||
12 | <div class="row"> | ||
13 | <div class="col-lg-5"> | ||
14 | <h2>Join the conversation!</h2> | ||
15 | <p> | ||
16 | There are many ways to get engaged with GNUnet. A first step is to join the conversation on the mailing lists and on our IRC channel to keep up with development, find technical help, and discuss GNUnet: | ||
17 | </p> | ||
18 | <h4>Mailing List</h4> | ||
19 | <p> | ||
20 | You can get help on our mailing list <a href="https://lists.gnu.org/mailman/listinfo/help-gnunet">help-gnunet</a>. <br>If you want to hack on GNUnet or generally want to be informed about recent updates and happenings, get in touch over our mailing list <a href="https://lists.gnu.org/mailman/listinfo/gnunet-developers">gnunet-developers</a>. | ||
21 | </p> | ||
22 | <h4>IRC</h4> | ||
23 | <p> | ||
24 | Most of the GNUnet developers are on the <a href="ircs://chat.freenode.net:6697/#gnunet">IRC channel #gnunet on freenode</a>. Please be patient and stay around at least for some hours to get an answer for your request. <!-- There is also a Matrix bridge to the IRC where you can get a backlog without staying connected. --> | ||
25 | </p> | ||
26 | <h4>Mumble</h4> | ||
27 | <p> | ||
28 | We have a monthly get-together on mumble where we talk about recent developments, strategies, and politics ;-) <br> | ||
29 | We come together on that day of the month, where n.day==n.month. E.g. we’ll meet on 6th of June, 7th of July, 8th of August, 9th of September, 10th of October and so on. We will usually start around 8 PM CEST, but try to be there earlier and stay longer just to hang around together.<br> | ||
30 | To connect just enter "gnunet.org" as server into your mumble client; leave everything else as default. | ||
31 | </p> | ||
32 | </p> | ||
33 | <h4>PSYC</h4> | ||
34 | <p> | ||
35 | You find some of us on PSYC using the following adresses: | ||
36 | <ul> | ||
37 | <li>psyc://loupsycedyglgamf.onion/@welcome</li> | ||
38 | <li>irc://loupsycedyglgamf.onion:67/welcome</li> | ||
39 | <li>psyc://psyced.org/@welcome</li> | ||
40 | <li>irc://psyced.org/welcome</li> | ||
41 | <li>xmpp:*welcome@psyced.org</li> | ||
42 | </li> | ||
43 | </p> | ||
44 | </div> | ||
45 | 4 | ||
46 | <div class="col-lg-5 offset-md-1"> | 5 | <header> |
47 | <h2>Install GNUnet!</h2> | 6 | <h1>{{ _("Engage!") }}</h1> |
48 | <p> | 7 | </header> |
49 | Another thing you might want now is your own GNUnet installation. As we haven’t packaged the new versions yet (June 2019) we provide <a href="https://gnunet.org/en/tutorial.html">some tutorials how to install step-by-step</a>. | ||
50 | </p> | ||
51 | <h2>Use GNUnet!</h2> | ||
52 | <p> | ||
53 | <a href="use.html">Let's gets started...</a> | ||
54 | </p> | ||
55 | <h2>Report bugs!</h2> | ||
56 | <p> | ||
57 | While using GNUnet you will find bugs. Here are some notes on how to do that the most effective way: | ||
58 | <ul> | ||
59 | <li>Run 'gnunet-bugreport'</li> | ||
60 | <li>Report the output into our <a href="https://bugs.gnunet.org/">bug tracker</a>. Add more details e.g. what happened and what you expected to happen. </li> | ||
61 | <li>If you do not want to use the public bug tracker, you can also eMail to bug-gnunet@gnu.org.</li> | ||
62 | <li>Please inform us if your operating system applies any vendor changes to GNUnet which you know about (to exclude sources of problems introduced by your OS).</li> | ||
63 | <li>Wait until your bug report is acknowledged/replied to. Note that only volunteers work on this – responses may take a while.</li> | ||
64 | <li>Please follow up with eventual questions about the bug. </li> | ||
65 | <li>Once a fix is there: Check if it's working as expected, so that we can properly close the bug report and/or give you credits :)</li> | ||
66 | </ul> | ||
67 | </p> | ||
68 | <h2>Contribute!</h2> | ||
69 | <p> | ||
70 | There are various ways to contribute. We especially need coders with C skills and knowledge of crypto – but supporting with this website, it's translations, the bibliography and our wide documentation efforts are most welcome, too. As we are delivereing a new version now regularly, some packaging skills (for any OS) would a great thing to have – and if you are a designer we would need a hand, too. | ||
71 | </p> | ||
72 | </div> | ||
73 | </div> | ||
74 | 8 | ||
75 | <div class="row"> | 9 | <div class="row"> |
76 | <div class="col-lg-5"> | 10 | <div class="col"> |
77 | <h2>Bibliography</h2> | 11 | <h2>Join the conversation!</h2> |
78 | <p>If you are more the reading kind of person, please take a seat <a href="https://bib.gnunet.org/">in our libary...</a></p> | 12 | <p> |
79 | <h2>Videos</h2> | 13 | There are many ways to get engaged with GNUnet. A first step is to join the conversation on the mailing lists and on our IRC channel to keep up with development, find technical help, and discuss GNUnet: |
80 | <p>...or if you rather want hear us talking to you, lean back and watch some <a href="video.html">videos</a> of our talks at conferences.</p> | 14 | </p> |
81 | </div> | 15 | <h4>Mailing List</h4> |
16 | <p> | ||
17 | You can get help on our mailing list <a href="https://lists.gnu.org/mailman/listinfo/help-gnunet">help-gnunet</a>. <br>If you want to hack on GNUnet or generally want to be informed about recent updates and happenings, get in touch over our mailing list <a href="https://lists.gnu.org/mailman/listinfo/gnunet-developers">gnunet-developers</a>. | ||
18 | </p> | ||
19 | <h4>IRC</h4> | ||
20 | <p> | ||
21 | Most of the GNUnet developers are on the <a href="ircs://chat.freenode.net:6697/#gnunet">IRC channel #gnunet on freenode</a>. Please be patient and stay around at least for some hours to get an answer for your request. <!-- There is also a Matrix bridge to the IRC where you can get a backlog without staying connected. --> | ||
22 | </p> | ||
23 | <h4>Mumble</h4> | ||
24 | <p> | ||
25 | We have a monthly get-together on mumble where we talk about recent developments, strategies, and politics ;-) <br> | ||
26 | We come together on that day of the month, where n.day==n.month. E.g. we’ll meet on 6th of June, 7th of July, 8th of August, 9th of September, 10th of October and so on. We will usually start around 8 PM CEST, but try to be there earlier and stay longer just to hang around together.<br> | ||
27 | To connect just enter "gnunet.org" as server into your mumble client; leave everything else as default. | ||
28 | </p> | ||
29 | </p> | ||
30 | <h4>PSYC</h4> | ||
31 | <p> | ||
32 | You find some of us on PSYC using the following adresses: | ||
33 | <ul> | ||
34 | <li>psyc://loupsycedyglgamf.onion/@welcome</li> | ||
35 | <li>irc://loupsycedyglgamf.onion:67/welcome</li> | ||
36 | <li>psyc://psyced.org/@welcome</li> | ||
37 | <li>irc://psyced.org/welcome</li> | ||
38 | <li>xmpp:*welcome@psyced.org</li> | ||
39 | </li> | ||
40 | </p> | ||
41 | </div> | ||
42 | <div class="col"> | ||
43 | <h2>Install GNUnet!</h2> | ||
44 | <p> | ||
45 | Another thing you might want now is your own GNUnet installation. As we haven’t packaged the new versions yet (June 2019) we provide <a href="https://gnunet.org/en/tutorial.html">some tutorials how to install step-by-step</a>. | ||
46 | </p> | ||
47 | <h2>Use GNUnet!</h2> | ||
48 | <p> | ||
49 | <a href="use.html">Let's gets started...</a> | ||
50 | </p> | ||
51 | <h2>Report bugs!</h2> | ||
52 | <p> | ||
53 | While using GNUnet you will find bugs. Here are some notes on how to do that the most effective way: | ||
54 | <ul> | ||
55 | <li>Run 'gnunet-bugreport'</li> | ||
56 | <li>Report the output into our <a href="https://bugs.gnunet.org/">bug tracker</a>. Add more details e.g. what happened and what you expected to happen. </li> | ||
57 | <li>If you do not want to use the public bug tracker, you can also eMail to bug-gnunet@gnu.org.</li> | ||
58 | <li>Please inform us if your operating system applies any vendor changes to GNUnet which you know about (to exclude sources of problems introduced by your OS).</li> | ||
59 | <li>Wait until your bug report is acknowledged/replied to. Note that only volunteers work on this – responses may take a while.</li> | ||
60 | <li>Please follow up with eventual questions about the bug. </li> | ||
61 | <li>Once a fix is there: Check if it's working as expected, so that we can properly close the bug report and/or give you credits :)</li> | ||
62 | </ul> | ||
63 | </p> | ||
64 | <h2>Contribute!</h2> | ||
65 | <p> | ||
66 | There are various ways to contribute. We especially need coders with C skills and knowledge of crypto – but supporting with this website, it's translations, the bibliography and our wide documentation efforts are most welcome, too. As we are delivereing a new version now regularly, some packaging skills (for any OS) would a great thing to have – and if you are a designer we would need a hand, too. | ||
67 | </p> | ||
68 | </div> | ||
69 | </div> | ||
82 | 70 | ||
83 | <div class="col-lg-5 offset-md-1"> | 71 | <div class="row"> |
84 | <h2>Get together!</h2> | 72 | <div class="col"> |
85 | <p> | 73 | <h2>Bibliography</h2> |
86 | We meet in meatspace occasionally, mostly in Germany and Switzerland. The usual occasions are: | 74 | <p>If you are more the reading kind of person, please take a seat <a href="https://bib.gnunet.org/">in our libary...</a></p> |
87 | <ul> | 75 | <h2>Videos</h2> |
88 | <li><a href="https://events.ccc.de/congress">Chaos Communication Congress</a> in Leipzig (DE), 27th-30th December</li> | 76 | <p>...or if you rather want hear us talking to you, lean back and watch some <a href="video.html">videos</a> of our talks at conferences.</p> |
89 | <li><a href="https://datenspuren.de">Datenspuren</a> in Dresden (DE), usually by mid/end of September</li> | 77 | </div> |
90 | <li>GNUnet Hackweek in Mont-Soleil (CH), usually by the end of June</li> | 78 | <div class="col"> |
91 | <li>Other meetings happening throughout the year: You’ll get to know about it on our Mailinglist (or propose them yourself).</li> | 79 | <h2>Get together!</h2> |
92 | </ul> | 80 | <p> |
93 | </p> | 81 | We meet in meatspace occasionally, mostly in Germany and Switzerland. The usual occasions are: |
94 | </div> | 82 | <ul> |
83 | <li><a href="https://events.ccc.de/congress">Chaos Communication Congress</a> in Leipzig (DE), 27th-30th December</li> | ||
84 | <li><a href="https://datenspuren.de">Datenspuren</a> in Dresden (DE), usually by mid/end of September</li> | ||
85 | <li>GNUnet Hackweek in Mont-Soleil (CH), usually by the end of June</li> | ||
86 | <li>Other meetings happening throughout the year: You’ll get to know about it on our Mailinglist (or propose them yourself).</li> | ||
87 | </ul> | ||
88 | </p> | ||
95 | </div> | 89 | </div> |
96 | </div> | 90 | </div> |
91 | |||
97 | </article> | 92 | </article> |
98 | {% endblock body_content %} | 93 | {% endblock body_content %} |
diff --git a/template/ev.html.j2 b/template/ev.html.j2 index 31c580d9..d99a6500 100644 --- a/template/ev.html.j2 +++ b/template/ev.html.j2 | |||
@@ -1,32 +1,33 @@ | |||
1 | {% extends "common/base.j2" %} | 1 | {% extends "common/base.j2" %} |
2 | {% block body_content %} | 2 | {% block body_content %} |
3 | <article> | 3 | <article class="container"> |
4 | <div class="container-fluid"> | 4 | |
5 | <div class="container text-center"> | ||
6 | <header> | 5 | <header> |
7 | <h1>{{ _("Verein zur Förderung von GNUnet e.V.") }}</h1> | 6 | <h1>{{ _("Verein zur Förderung von GNUnet e.V.") }}</h1> |
8 | </header> | 7 | </header> |
9 | <p> | 8 | |
10 | {% trans %} | 9 | <div class="row container justify-content-center"> |
11 | On December 27th 2013 a group of GNUnet hackers met at 30c3 | 10 | <div class="col-6"> |
12 | to create the "Verein zur Förderung von GNUnet e.V.", an | 11 | <p> |
13 | association under German law to support GNUnet development. | 12 | {% trans %} |
14 | The Amtsgericht München registered the association on the | 13 | On December 27th 2013 a group of GNUnet hackers met at 30c3 |
15 | 7th of March under VR 205287. | 14 | to create the "Verein zur Förderung von GNUnet e.V.", an |
16 | {% endtrans %} | 15 | association under German law to support GNUnet development. |
17 | </p> | 16 | The Amtsgericht München registered the association on the |
18 | <p> | 17 | 7th of March under VR 205287. |
19 | {% trans %} | 18 | {% endtrans %} |
20 | The association is officially dedicated to supporting research, | 19 | </p> |
21 | development and education in the area of secure decentralized | 20 | <p> |
22 | networking in general, and GNUnet specifically. This is the | 21 | {% trans %} |
23 | official website for the association. | 22 | The association is officially dedicated to supporting research, |
24 | {% endtrans %} | 23 | development and education in the area of secure decentralized |
25 | </p> | 24 | networking in general, and GNUnet specifically. This is the |
25 | official website for the association. | ||
26 | {% endtrans %} | ||
27 | </p> | ||
28 | </div> | ||
26 | </div> | 29 | </div> |
27 | </div> | ||
28 | 30 | ||
29 | <div class="container"> | ||
30 | <div class="row"> | 31 | <div class="row"> |
31 | <div class="col-lg-6"> | 32 | <div class="col-lg-6"> |
32 | <h3>{{ _("Governance") }}</h3> | 33 | <h3>{{ _("Governance") }}</h3> |
@@ -65,7 +66,8 @@ | |||
65 | {% endtrans %} | 66 | {% endtrans %} |
66 | </p> | 67 | </p> |
67 | </div> | 68 | </div> |
68 | </div> | 69 | </div><!-- END:row --> |
70 | |||
69 | <div class="row"> | 71 | <div class="row"> |
70 | <div class="col-lg-6"> | 72 | <div class="col-lg-6"> |
71 | <h3>{{ _("Support Us!") }}</h3> | 73 | <h3>{{ _("Support Us!") }}</h3> |
@@ -113,8 +115,7 @@ | |||
113 | </ul> | 115 | </ul> |
114 | </p> | 116 | </p> |
115 | </div> | 117 | </div> |
116 | </div> | 118 | </div><!-- END:row --> |
117 | </div> | ||
118 | 119 | ||
119 | </div> <!-- /container --> | 120 | </div> <!-- /container --> |
120 | </article> | 121 | </article> |
diff --git a/template/glossary.html.j2 b/template/glossary.html.j2 index 9af47d57..2e76b085 100644 --- a/template/glossary.html.j2 +++ b/template/glossary.html.j2 | |||
@@ -1,11 +1,11 @@ | |||
1 | {% extends "common/base.j2" %} | 1 | {% extends "common/base.j2" %} |
2 | {% block body_content %} | 2 | {% block body_content %} |
3 | <div class="container text-center"> | 3 | <article class="container"> |
4 | <header> | 4 | |
5 | <h1>{{ _("Glossary") }}</h1> | 5 | <header> |
6 | </header> | 6 | <h1>{{ _("Glossary") }}</h1> |
7 | </div> | 7 | </header> |
8 | <div class="container"> | 8 | |
9 | <div class="row"> | 9 | <div class="row"> |
10 | <div class="col"> | 10 | <div class="col"> |
11 | <dl> | 11 | <dl> |
diff --git a/template/gsoc.html.j2 b/template/gsoc.html.j2 index f6b16bde..50228192 100644 --- a/template/gsoc.html.j2 +++ b/template/gsoc.html.j2 | |||
@@ -6,14 +6,16 @@ | |||
6 | <h1>{{ _("GNUnet's Google Summer of Code projects") }}</h1> | 6 | <h1>{{ _("GNUnet's Google Summer of Code projects") }}</h1> |
7 | </header> | 7 | </header> |
8 | 8 | ||
9 | <p> | 9 | <div class="row container justify-content-center"> |
10 | <div class="col-6"> | ||
10 | {% trans %} | 11 | {% trans %} |
11 | As a GNU project, GNUnet has participated in the | 12 | As a GNU project, GNUnet has participated in the |
12 | Google Summer of Code (GSoC) for a number of years. | 13 | Google Summer of Code (GSoC) for a number of years. |
13 | This page lists all current, past, and finished | 14 | This page lists all current, past, and finished |
14 | projects. | 15 | projects. |
15 | {% endtrans %} | 16 | {% endtrans %} |
16 | </p> | 17 | </div> |
18 | </div> | ||
17 | 19 | ||
18 | <h2>{{ _("Current projects (2019)") }}</h2> | 20 | <h2>{{ _("Current projects (2019)") }}</h2> |
19 | <section> | 21 | <section> |
diff --git a/template/install.html.j2 b/template/install.html.j2 index 3874cdff..1e53df4e 100644 --- a/template/install.html.j2 +++ b/template/install.html.j2 | |||
@@ -1,21 +1,17 @@ | |||
1 | {% extends "common/base.j2" %} | 1 | {% extends "common/base.j2" %} |
2 | {% block body_content %} | 2 | {% block body_content %} |
3 | <div class="container"> | 3 | <article class="container"> |
4 | <div class="row"> | 4 | |
5 | <div class="container"> | 5 | <header> |
6 | <header> | 6 | <h1>{{ _("Install") }}</h1> |
7 | <h1 class="text-center">{{ _("Install") }}</h1> | 7 | </header> |
8 | </header> | 8 | |
9 | </div> | 9 | <div class="row container justify-content-center"> |
10 | </div> | 10 | <div class="col-6"> |
11 | <div class="row"> | ||
12 | <div class="col-lg-4 offset-lg-2 col-md-6"> | ||
13 | {% trans %} | 11 | {% trans %} |
14 | <p>The following GNUnet installation instructions help you building from source for your distribution.</p> | 12 | <p>The following GNUnet installation instructions help you building from source for your distribution.</p> |
15 | <p><i>Please note that the installation process will get much easier once we have proper packages again (planned for winter 2019).</i></p> | 13 | <p><i>Please note that the installation process will get much easier once we have proper packages again (planned for winter 2019).</i></p> |
16 | {% endtrans %} | 14 | {% endtrans %} |
17 | </div> | ||
18 | <div class="col-lg-4 col-md-6"> | ||
19 | {% trans %} | 15 | {% trans %} |
20 | <p>You have already installed GNUnet and want to use it? <a href="https://gnunet.org/en/use">Check this out!</a></p> | 16 | <p>You have already installed GNUnet and want to use it? <a href="https://gnunet.org/en/use">Check this out!</a></p> |
21 | <p>Further information is available in our <a href="https://docs.gnunet.org/#toc-Using-GNUnet-1">handbook</a>.</p> | 17 | <p>Further information is available in our <a href="https://docs.gnunet.org/#toc-Using-GNUnet-1">handbook</a>.</p> |
@@ -23,52 +19,39 @@ | |||
23 | {% endtrans %} | 19 | {% endtrans %} |
24 | </div> | 20 | </div> |
25 | </div> | 21 | </div> |
26 | </div> | ||
27 | 22 | ||
28 | <div class="container"> | 23 | <div class="row container justify-content-center text-center"> |
29 | <div class="row"> | 24 | <div class="col-3"> |
30 | <div class="col-lg-4 offset-lg-2 col-md-6 text-center"> | ||
31 | <p><a href="install-on-ubuntu1804.html"><img src="{{ url('static/images/ubuntu-logo32.png') }}" class="distro-logo"></a></p> | 25 | <p><a href="install-on-ubuntu1804.html"><img src="{{ url('static/images/ubuntu-logo32.png') }}" class="distro-logo"></a></p> |
32 | <h3>Ubuntu 18.04</h3> | 26 | <h3>Ubuntu 18.04</h3> |
33 | </div> | 27 | </div> |
34 | <div class="col-lg-4 col-md-6 text-center"> | 28 | <div class="col-3"> |
35 | <p><a href="install-on-debian9.html"><img src="{{ url('static/images/debian-logo.svg') }}" class="distro-logo"></a></p> | 29 | <p><a href="install-on-debian9.html"><img src="{{ url('static/images/debian-logo.svg') }}" class="distro-logo"></a></p> |
36 | <h3>Debian 9</h3> | 30 | <h3>Debian 9</h3> |
37 | </div> | 31 | </div> |
38 | </div> | 32 | <div class="col-3"> |
39 | </div> | ||
40 | <div class="container"> | ||
41 | <div class="row"> | ||
42 | <div class="col-lg-4 offset-lg-2 col-md-6 text-center"> | ||
43 | <p><a href="install-on-macos.html"><img src="{{ url('static/images/apple-logo.svg') }}" class="distro-logo"></a></p> | ||
44 | <h3>macOS</h3> | ||
45 | </div> | ||
46 | <div class="col-lg-4 col-md-6 text-center"> | ||
47 | <!-- Not the officially distributed file, but it's the same logo, in svg. Use this. --> | 33 | <!-- Not the officially distributed file, but it's the same logo, in svg. Use this. --> |
48 | <p><a href="install-on-netbsd.html"><img src="{{ url('static/images/NetBSD_Logo.svg') }}" class="distro-logo"></a></p> | 34 | <p><a href="install-on-netbsd.html"><img src="{{ url('static/images/NetBSD_Logo.svg') }}" class="distro-logo"></a></p> |
49 | <h3>NetBSD</h3> | 35 | <h3>NetBSD</h3> |
50 | </div> | 36 | </div> |
51 | </div> | 37 | </div> |
52 | </div> | 38 | |
53 | <div class="container"> | 39 | <div class="row container justify-content-center text-center"> |
54 | <div class="row"> | 40 | <div class="col-3"> |
55 | <div class="col-lg-4 offset-lg-2 col-md-6 text-center"> | 41 | <p><a href="install-on-macos.html"><img src="{{ url('static/images/apple-logo.svg') }}" class="distro-logo"></a></p> |
42 | <h3>macOS</h3> | ||
43 | </div> | ||
44 | <div class="col-3"> | ||
56 | <p><a href="install-on-archpi.html"><img src="{{ url('static/images/archlinux-logo.svg') }}" class="distro-logo" style="width:300px;height:auto"></a></p> | 45 | <p><a href="install-on-archpi.html"><img src="{{ url('static/images/archlinux-logo.svg') }}" class="distro-logo" style="width:300px;height:auto"></a></p> |
57 | <h3>Arch-Pi</h3> | 46 | <h3>Arch-Pi</h3> |
58 | </div> | 47 | </div> |
59 | <!-- | 48 | <!-- |
60 | <div class="col-lg-4 col-md-6 text-center"> | 49 | <div class="col-3"> |
61 | <p><a href="https://tutorial.gnunet.org/"><img src="{{ url('static/images/gnunet-logo-dark-text.png') }}" class="distro-logo" alt="GNUnet" /></a></p> | 50 | <p><a href="https://tutorial.gnunet.org/"><img src="{{ url('static/images/gnunet-logo-dark-text.png') }}" class="distro-logo" alt="GNUnet" /></a></p> |
62 | <h3>C Coding Tutorial for GNUnet</h3> | 51 | <h3>C Coding Tutorial for GNUnet</h3> |
63 | </div> | 52 | </div> |
64 | --> | 53 | --> |
65 | </div> | 54 | </div> |
66 | </div> | ||
67 | |||
68 | <div class="container"> | ||
69 | <div class="row"> | ||
70 | </div> | ||
71 | </div> | ||
72 | 55 | ||
73 | </article> | 56 | </article> |
74 | {% endblock body_content %} | 57 | {% endblock body_content %} |
diff --git a/template/use.html.j2 b/template/use.html.j2 index 0a068682..f95434d9 100644 --- a/template/use.html.j2 +++ b/template/use.html.j2 | |||
@@ -1,389 +1,383 @@ | |||
1 | {% extends "common/base.j2" %} | 1 | {% extends "common/base.j2" %} |
2 | {% block body_content %} | 2 | {% block body_content %} |
3 | <article class="container"> | 3 | <article class="container"> |
4 | <!--<article> --> | ||
5 | <div class="container"> | ||
6 | <div class="row"> | ||
7 | <div class="container"> | ||
8 | <header> | ||
9 | <h1 class="text-center">{{ _("How to use GNUnet - in a nutshell") }}</h1> | ||
10 | </header> | ||
11 | </div> | ||
12 | </div> | ||
13 | </div> | ||
14 | 4 | ||
15 | <section> | 5 | <header> |
16 | <p> | 6 | <h1>{{ _("How to use GNUnet - in a nutshell") }}</h1> |
17 | This document is just a brief intro on what can be done with GNUnet. Find much more in our <a ref="https://docs.gnunet.org/">handbook / reference manual</a>, e.g. in the section <a href="https://docs.gnunet.org/#toc-Using-GNUnet-1">"using GNUnet"</a>. | 7 | </header> |
18 | 8 | ||
19 | The configuration in the handbook / reference manual is done with the UI interface gnunet-gtk. | 9 | <section> |
20 | </p> | 10 | <p> |
21 | </section> | 11 | This document is just a brief intro on what can be done with GNUnet. Find much more in our <a ref="https://docs.gnunet.org/">handbook / reference manual</a>, e.g. in the section <a href="https://docs.gnunet.org/#toc-Using-GNUnet-1">"using GNUnet"</a>. |
22 | 12 | ||
23 | <section> | 13 | The configuration in the handbook / reference manual is done with the UI interface gnunet-gtk. |
24 | <h3>{{ _("Make sure your GNUnet installation works...") }}</h3> | 14 | </p> |
25 | <p>After installing and starting GNUnet you should make sure that your peer is connecting | 15 | </section> |
26 | to the P2P-network. By typing gnunet-core you should see something like this: | ||
27 | </p> | ||
28 | <p> | ||
29 | <code> | ||
30 | $ gnunet-core <br> | ||
31 | Tue Oct 30 19:58:48 2018: connection established DSTJ (timeout in 293 s)<br> | ||
32 | Tue Oct 30 19:58:48 2018: connection established A4MK (timeout in 292 s)<br> | ||
33 | Tue Oct 30 19:58:48 2018: connection established 7WRD (timeout in 299 s)<br> | ||
34 | Tue Oct 30 19:58:48 2018: connection established 5WBG (timeout in 299 s)<br> | ||
35 | </code> | ||
36 | </p> | ||
37 | </section> | ||
38 | <section> | ||
39 | <h4>{{ _("... and play around with it.") }}</h4> | ||
40 | <p> | ||
41 | So let's try out some of GNUnet's use cases. Please mind that some should be done in a particular order, one after another: | ||
42 | </p> | ||
43 | 16 | ||
44 | <ul> | 17 | <section> |
45 | <li>filesharing</li> | 18 | <h3>{{ _("Make sure your GNUnet installation works...") }}</h3> |
46 | <li>A simple chat using CADET</li> | 19 | <p>After installing and starting GNUnet you should make sure that your peer is connecting |
47 | <li>Another simple chat using a nim client</i> | 20 | to the P2P-network. By typing gnunet-core you should see something like this: |
48 | <li>Name resolution using GNS on the command line</li> | 21 | </p> |
49 | <li>Name resolution using GNS with a browser (do it on the command line first)</li> | 22 | <p> |
50 | <li>Serving a website using VPN (do name resolution with a browser first)</li> | 23 | <code> |
51 | </ul> | 24 | $ gnunet-core <br> |
52 | </section> | 25 | Tue Oct 30 19:58:48 2018: connection established DSTJ (timeout in 293 s)<br> |
26 | Tue Oct 30 19:58:48 2018: connection established A4MK (timeout in 292 s)<br> | ||
27 | Tue Oct 30 19:58:48 2018: connection established 7WRD (timeout in 299 s)<br> | ||
28 | Tue Oct 30 19:58:48 2018: connection established 5WBG (timeout in 299 s)<br> | ||
29 | </code> | ||
30 | </p> | ||
31 | </section> | ||
32 | <section> | ||
33 | <h4>{{ _("... and play around with it.") }}</h4> | ||
34 | <p> | ||
35 | So let's try out some of GNUnet's use cases. Please mind that some should be done in a particular order, one after another: | ||
36 | </p> | ||
53 | 37 | ||
38 | <ul> | ||
39 | <li>filesharing</li> | ||
40 | <li>A simple chat using CADET</li> | ||
41 | <li>Another simple chat using a nim client</i> | ||
42 | <li>Name resolution using GNS on the command line</li> | ||
43 | <li>Name resolution using GNS with a browser (do it on the command line first)</li> | ||
44 | <li>Serving a website using VPN (do name resolution with a browser first)</li> | ||
45 | </ul> | ||
46 | </section> | ||
54 | 47 | ||
55 | <section> | ||
56 | <h4>{{ _("Filesharing") }}</h4> | ||
57 | 48 | ||
58 | <p> | 49 | <section> |
59 | Let's publish a file in the GNUnet filesharing network. We use the keywords | 50 | <h4>{{ _("Filesharing") }}</h4> |
60 | ("commons" and "state") so other people will be able to search for the file. | ||
61 | </p> | ||
62 | 51 | ||
63 | <p> | 52 | <p> |
64 | We can choose any file and describe it with meaningful keywords (using the | 53 | Let's publish a file in the GNUnet filesharing network. We use the keywords |
65 | `-k` command line option). | 54 | ("commons" and "state") so other people will be able to search for the file. |
66 | </p> | 55 | </p> |
67 | <p> | ||
68 | <code> | ||
69 | $ gnunet-publish -k commons -k state ostrom.pdf<br> | ||
70 | Publishing `/home/myself/ostrom.pdf' done.<br> | ||
71 | URI is `gnunet://fs/chk/M57SXDJ72EWS25CT6307KKJ8K0GCNSPTAZ649NA1NS10MJB4A1GZ9EN4Y02KST9VA5BHE8B335RPXQVBWVZ587Y83WQ7J3DHMBX30Q8.DHNGBN4CB2DBX1QRZ1R0B1Q18WTEAK4R94S9D57C9JMJJ3H7SSQDCV4D1218C4S2VP085AMQQSMG18FCP6NQMZQZJ91XR5NBX7YF0V0.42197237'. | ||
72 | </code> | ||
73 | </p> | ||
74 | <p> | ||
75 | Finding the file by keyword works with `gnunet-search`. | ||
76 | </p> | ||
77 | <p> | ||
78 | <code> | ||
79 | $ gnunet-search commons<br> | ||
80 | #1:<br> | ||
81 | gnunet-download -o "ostrom.pdf" gnunet://fs/chk/M57SXDJ72EWS25CT6307KKJ8K0GCNSPTAZ649NA1NS10MJB4A1GZ9EN4Y02KST9VA5BHE8B335RPXQVBWVZ587Y83WQ7J3DHMBX30Q8.DHNGBN4CB2DBX1QRZ1R0B1Q18WTEAK4R94S9D57C9JMJJ3H7SSQDCV4D1218C4S2VP085AMQQSMG18FCP6NQMZQZJ91XR5NBX7YF0V0.42197237 | ||
82 | </code> | ||
83 | </p> | ||
84 | <p> | ||
85 | It gives us the command line call to download the file (and store it as | ||
86 | ostrom.pdf)! | ||
87 | </p> | ||
88 | <p> | ||
89 | Please also refer to the chapter on <a href="=> https://docs.gnunet.org/#File_002dsharing | ||
90 | ">filesharing in the handbook</a>. | ||
91 | 56 | ||
92 | </section> | 57 | <p> |
58 | We can choose any file and describe it with meaningful keywords (using the | ||
59 | `-k` command line option). | ||
60 | </p> | ||
61 | <p> | ||
62 | <code> | ||
63 | $ gnunet-publish -k commons -k state ostrom.pdf<br> | ||
64 | Publishing `/home/myself/ostrom.pdf' done.<br> | ||
65 | URI is `gnunet://fs/chk/M57SXDJ72EWS25CT6307KKJ8K0GCNSPTAZ649NA1NS10MJB4A1GZ9EN4Y02KST9VA5BHE8B335RPXQVBWVZ587Y83WQ7J3DHMBX30Q8.DHNGBN4CB2DBX1QRZ1R0B1Q18WTEAK4R94S9D57C9JMJJ3H7SSQDCV4D1218C4S2VP085AMQQSMG18FCP6NQMZQZJ91XR5NBX7YF0V0.42197237'. | ||
66 | </code> | ||
67 | </p> | ||
68 | <p> | ||
69 | Finding the file by keyword works with `gnunet-search`. | ||
70 | </p> | ||
71 | <p> | ||
72 | <code> | ||
73 | $ gnunet-search commons<br> | ||
74 | #1:<br> | ||
75 | gnunet-download -o "ostrom.pdf" gnunet://fs/chk/M57SXDJ72EWS25CT6307KKJ8K0GCNSPTAZ649NA1NS10MJB4A1GZ9EN4Y02KST9VA5BHE8B335RPXQVBWVZ587Y83WQ7J3DHMBX30Q8.DHNGBN4CB2DBX1QRZ1R0B1Q18WTEAK4R94S9D57C9JMJJ3H7SSQDCV4D1218C4S2VP085AMQQSMG18FCP6NQMZQZJ91XR5NBX7YF0V0.42197237 | ||
76 | </code> | ||
77 | </p> | ||
78 | <p> | ||
79 | It gives us the command line call to download the file (and store it as | ||
80 | ostrom.pdf)! | ||
81 | </p> | ||
82 | <p> | ||
83 | Please also refer to the chapter on <a href="=> https://docs.gnunet.org/#File_002dsharing | ||
84 | ">filesharing in the handbook</a>. | ||
93 | 85 | ||
86 | </section> | ||
94 | 87 | ||
95 | 88 | ||
96 | <section> | ||
97 | <h4>{{ _("CADET (and Chat)") }}</h4> | ||
98 | 89 | ||
99 | <p> | 90 | <section> |
100 | We can use the `gnunet-cadet` command line tool to open a port and from | 91 | <h4>{{ _("CADET (and Chat)") }}</h4> |
101 | another machine connect to this port and chat or transfer data. First we need | ||
102 | our *peer ID* of the GNUnet peer opening the port. | ||
103 | </p> | ||
104 | <p> | ||
105 | <code> | ||
106 | $ gnunet-peerinfo -s<br> | ||
107 | I am peer `P4T5GHS1PCZ06R82D3KW8Z8J1113BQZWAWGYHTZ8G1ZXMWXQGAVG'. | ||
108 | </code> | ||
109 | </p> | ||
110 | <p> | ||
111 | Now we open the port (it can be any string!): | ||
112 | </p> | ||
113 | <p> | ||
114 | <code> | ||
115 | $ gnunet-cadet -o my-secret-port | ||
116 | </code> | ||
117 | </p> | ||
118 | <p>On the other machine we can connect using the peer ID and the port and start chatting!</p> | ||
119 | <p> | ||
120 | <code> | ||
121 | $ gnunet-cadet P4T5GHS1PCZ06R82D3KW8Z8J1113BQZWAWGYHTZ8G1ZXMWXQGAVG my-secret-port | ||
122 | </code> | ||
123 | </p> | ||
124 | <p> | ||
125 | If you are interested into CADET in detail, please have a look in the <a href="https://docs.gnunet.org/#CADET-Subsystem">chapter "Cadet-Subsystem" in our handbook</a>. | ||
126 | </p> | ||
127 | 92 | ||
128 | </section> | 93 | <p> |
94 | We can use the `gnunet-cadet` command line tool to open a port and from | ||
95 | another machine connect to this port and chat or transfer data. First we need | ||
96 | our *peer ID* of the GNUnet peer opening the port. | ||
97 | </p> | ||
98 | <p> | ||
99 | <code> | ||
100 | $ gnunet-peerinfo -s<br> | ||
101 | I am peer `P4T5GHS1PCZ06R82D3KW8Z8J1113BQZWAWGYHTZ8G1ZXMWXQGAVG'. | ||
102 | </code> | ||
103 | </p> | ||
104 | <p> | ||
105 | Now we open the port (it can be any string!): | ||
106 | </p> | ||
107 | <p> | ||
108 | <code> | ||
109 | $ gnunet-cadet -o my-secret-port | ||
110 | </code> | ||
111 | </p> | ||
112 | <p>On the other machine we can connect using the peer ID and the port and start chatting!</p> | ||
113 | <p> | ||
114 | <code> | ||
115 | $ gnunet-cadet P4T5GHS1PCZ06R82D3KW8Z8J1113BQZWAWGYHTZ8G1ZXMWXQGAVG my-secret-port | ||
116 | </code> | ||
117 | </p> | ||
118 | <p> | ||
119 | If you are interested into CADET in detail, please have a look in the <a href="https://docs.gnunet.org/#CADET-Subsystem">chapter "Cadet-Subsystem" in our handbook</a>. | ||
120 | </p> | ||
129 | 121 | ||
130 | <section> | 122 | </section> |
131 | <h4>{{ _("Chatting with a (simple) client") }}</h4> | ||
132 | <p> | ||
133 | To chat a tiny bit prettier, we need to install and compile additional software. | ||
134 | If you join the chat mentioned below and no one is there, feel free to ping on | ||
135 | IRC/freenode #gnunet and ask if someone can join to test with you! (But we are | ||
136 | trying to be there as often as possible). | ||
137 | </p> | ||
138 | <p> | ||
139 | <code> | ||
140 | $ git clone https://gnunet.org/git/gnunet-nim.git<br> | ||
141 | $ cd gnunet-nim/examples<br> | ||
142 | $ nim c groupchat.nim<br> | ||
143 | </code> | ||
144 | <p> | ||
145 | <p> | ||
146 | Fine! We can now try to enter a chat server running on another GNUnet node. | ||
147 | </p> | ||
148 | <p> | ||
149 | <code> | ||
150 | $LD_LIBRARY_PATH=/path/to/gnunetlibs ./groupchat --config=/path/to/gnunet.conf --server=88RXABKJNMT426FY81N2DXN0M2X37SW5Q1NR005YPDZ1Q7A22CHG --port=t3ss --nick=YOURNICK | ||
151 | </code> | ||
152 | </p> | ||
153 | <p> | ||
154 | The peer and port in this example should work in real, because that peer is almost online and running groupchat on that port. | ||
155 | <p> | ||
156 | You should now see something like this: | ||
157 | </p> | ||
158 | <p> | ||
159 | <code> | ||
160 | > 2018-10-30 19:50:10 Welcome 8Q2T! participants: @[]<br> | ||
161 | Hello GNUnet!<br> | ||
162 | 2018-10-30 19:52:53 [8Q2T] Hello GNUnet!<br> | ||
163 | </code> | ||
164 | <p> | ||
165 | <p> | ||
166 | Here we have typed "Hello gnunet!" to standard in which is then written out to standard out after having been sent back from GNUnet. | ||
167 | </p> | ||
168 | </section> | ||
169 | 123 | ||
124 | <section> | ||
125 | <h4>{{ _("Chatting with a (simple) client") }}</h4> | ||
126 | <p> | ||
127 | To chat a tiny bit prettier, we need to install and compile additional software. | ||
128 | If you join the chat mentioned below and no one is there, feel free to ping on | ||
129 | IRC/freenode #gnunet and ask if someone can join to test with you! (But we are | ||
130 | trying to be there as often as possible). | ||
131 | </p> | ||
132 | <p> | ||
133 | <code> | ||
134 | $ git clone https://gnunet.org/git/gnunet-nim.git<br> | ||
135 | $ cd gnunet-nim/examples<br> | ||
136 | $ nim c groupchat.nim<br> | ||
137 | </code> | ||
138 | <p> | ||
139 | <p> | ||
140 | Fine! We can now try to enter a chat server running on another GNUnet node. | ||
141 | </p> | ||
142 | <p> | ||
143 | <code> | ||
144 | $LD_LIBRARY_PATH=/path/to/gnunetlibs ./groupchat --config=/path/to/gnunet.conf --server=88RXABKJNMT426FY81N2DXN0M2X37SW5Q1NR005YPDZ1Q7A22CHG --port=t3ss --nick=YOURNICK | ||
145 | </code> | ||
146 | </p> | ||
147 | <p> | ||
148 | The peer and port in this example should work in real, because that peer is almost online and running groupchat on that port. | ||
149 | <p> | ||
150 | You should now see something like this: | ||
151 | </p> | ||
152 | <p> | ||
153 | <code> | ||
154 | > 2018-10-30 19:50:10 Welcome 8Q2T! participants: @[]<br> | ||
155 | Hello GNUnet!<br> | ||
156 | 2018-10-30 19:52:53 [8Q2T] Hello GNUnet!<br> | ||
157 | </code> | ||
158 | <p> | ||
159 | <p> | ||
160 | Here we have typed "Hello gnunet!" to standard in which is then written out to standard out after having been sent back from GNUnet. | ||
161 | </p> | ||
162 | </section> | ||
170 | 163 | ||
171 | 164 | ||
172 | <section> | ||
173 | <h4>{{ _("Name resolution using GNS on the command line") }}</h4> | ||
174 | 165 | ||
175 | <p>GNS is the GNU name service, a fully decentralized alternatice to DNS. We'll publish an IP address in a GNS record try to resolve it on the command line. First we need an identity which is the | 166 | <section> |
176 | equivalent to a zone in DNS. We'll call it "myself" and create it using the | 167 | <h4>{{ _("Name resolution using GNS on the command line") }}</h4> |
177 | `gnunet-identity` command line tool. Instead of "myself" you can surely use your | ||
178 | nick or any other name. </p> | ||
179 | <p> | ||
180 | <code> | ||
181 | $ gnunet-identity -C myself | ||
182 | </code> | ||
183 | </p> | ||
184 | <p>We can check if it worked using the same tool. We expect the name of our identity and the corresponding public key to be displayed.</p> | ||
185 | <p> | ||
186 | <code> | ||
187 | $ gnunet-identity -d<br> | ||
188 | myself - HWTYD3P5D77JVFNVMZ1M5T10V4SZYNMY3PCGQCSVENKD6ZCRKPMG | ||
189 | </code> | ||
190 | </p> | ||
191 | <p> | ||
192 | Now we add a public `A` record to our zone. It has the name "ccc", a value | ||
193 | of "195.54.164.39" and it expires after one day. | ||
194 | </p> | ||
195 | <p> | ||
196 | <code> | ||
197 | $ gnunet-namestore -z myself -a -e "1 d" -p -t A -n ccc -V 195.54.164.39 | ||
198 | </code> | ||
199 | </p> | ||
200 | <p>Now we can query that record using the command line tool `gnunet-gns`.</p> | ||
201 | <p> | ||
202 | <code> | ||
203 | $ gnunet-gns -t A -u ccc.myself<br> | ||
204 | ccc.myself:<br> | ||
205 | Got `A' record: 195.54.164.39 | ||
206 | </code> | ||
207 | </p> | ||
208 | <p> | ||
209 | So it worked! But only resolving our own records is boring. So we | ||
210 | can give our identity (the public key of it to be precise) to | ||
211 | someone else so they can try to resolve our records, too. The | ||
212 | other person (Bob) has to add it to his namestore like this: | ||
213 | </p> | ||
214 | <p> | ||
215 | <code> | ||
216 | $ gnunet-namestore -z myself -a -e never -p -t PKEY -n alice -V HWTYD3P5D77JVFNVMZ1M5T10V4SZYNMY3PCGQCSVENKD6ZCRKPMG | ||
217 | </code> | ||
218 | </p> | ||
219 | <p> | ||
220 | Our identity in Bobs namestore is a public record (-p) and never | ||
221 | expires (-e never). Now Bob (let's assume he has called his | ||
222 | identity myself, too) should be able to resolve our "ccc" record, | ||
223 | too! | ||
224 | </p> | ||
225 | <p> | ||
226 | <code> | ||
227 | $ gnunet-gns -t A -u ccc.alice.myself<br> | ||
228 | ccc.alice.myself:<br> | ||
229 | Got `A' record: 195.54.164.39 | ||
230 | </code> | ||
231 | </p> | ||
232 | <p> | ||
233 | It can continue like this. A friend of Bob would be able to | ||
234 | resolve our records too because Bob published our identity in a | ||
235 | public record. Bobs friend would simply use "ccc.alice.bob.myself" | ||
236 | to resolve our "ccc" record. | ||
237 | </p> | ||
238 | <p> | ||
239 | See the <a href="https://docs.gnunet.org/#First-steps-_002d-Using-the-GNU-Name-System">chapter "Using the GNU Name System" in our handbook</a> for a more detailed documentation. | ||
240 | </p> | ||
241 | </section> | ||
242 | 168 | ||
169 | <p>GNS is the GNU name service, a fully decentralized alternatice to DNS. We'll publish an IP address in a GNS record try to resolve it on the command line. First we need an identity which is the | ||
170 | equivalent to a zone in DNS. We'll call it "myself" and create it using the | ||
171 | `gnunet-identity` command line tool. Instead of "myself" you can surely use your | ||
172 | nick or any other name. </p> | ||
173 | <p> | ||
174 | <code> | ||
175 | $ gnunet-identity -C myself | ||
176 | </code> | ||
177 | </p> | ||
178 | <p>We can check if it worked using the same tool. We expect the name of our identity and the corresponding public key to be displayed.</p> | ||
179 | <p> | ||
180 | <code> | ||
181 | $ gnunet-identity -d<br> | ||
182 | myself - HWTYD3P5D77JVFNVMZ1M5T10V4SZYNMY3PCGQCSVENKD6ZCRKPMG | ||
183 | </code> | ||
184 | </p> | ||
185 | <p> | ||
186 | Now we add a public `A` record to our zone. It has the name "ccc", a value | ||
187 | of "195.54.164.39" and it expires after one day. | ||
188 | </p> | ||
189 | <p> | ||
190 | <code> | ||
191 | $ gnunet-namestore -z myself -a -e "1 d" -p -t A -n ccc -V 195.54.164.39 | ||
192 | </code> | ||
193 | </p> | ||
194 | <p>Now we can query that record using the command line tool `gnunet-gns`.</p> | ||
195 | <p> | ||
196 | <code> | ||
197 | $ gnunet-gns -t A -u ccc.myself<br> | ||
198 | ccc.myself:<br> | ||
199 | Got `A' record: 195.54.164.39 | ||
200 | </code> | ||
201 | </p> | ||
202 | <p> | ||
203 | So it worked! But only resolving our own records is boring. So we | ||
204 | can give our identity (the public key of it to be precise) to | ||
205 | someone else so they can try to resolve our records, too. The | ||
206 | other person (Bob) has to add it to his namestore like this: | ||
207 | </p> | ||
208 | <p> | ||
209 | <code> | ||
210 | $ gnunet-namestore -z myself -a -e never -p -t PKEY -n alice -V HWTYD3P5D77JVFNVMZ1M5T10V4SZYNMY3PCGQCSVENKD6ZCRKPMG | ||
211 | </code> | ||
212 | </p> | ||
213 | <p> | ||
214 | Our identity in Bobs namestore is a public record (-p) and never | ||
215 | expires (-e never). Now Bob (let's assume he has called his | ||
216 | identity myself, too) should be able to resolve our "ccc" record, | ||
217 | too! | ||
218 | </p> | ||
219 | <p> | ||
220 | <code> | ||
221 | $ gnunet-gns -t A -u ccc.alice.myself<br> | ||
222 | ccc.alice.myself:<br> | ||
223 | Got `A' record: 195.54.164.39 | ||
224 | </code> | ||
225 | </p> | ||
226 | <p> | ||
227 | It can continue like this. A friend of Bob would be able to | ||
228 | resolve our records too because Bob published our identity in a | ||
229 | public record. Bobs friend would simply use "ccc.alice.bob.myself" | ||
230 | to resolve our "ccc" record. | ||
231 | </p> | ||
232 | <p> | ||
233 | See the <a href="https://docs.gnunet.org/#First-steps-_002d-Using-the-GNU-Name-System">chapter "Using the GNU Name System" in our handbook</a> for a more detailed documentation. | ||
234 | </p> | ||
235 | </section> | ||
243 | 236 | ||
244 | <section id='gns_proxy'> | ||
245 | <h4>{{ _("Name resolution using GNS with a browser") }}</h4> | ||
246 | 237 | ||
247 | <p> | 238 | <section id='gns_proxy'> |
248 | In the previous use case "Name resolution using GNS on the command line" we got an idea | 239 | <h4>{{ _("Name resolution using GNS with a browser") }}</h4> |
249 | about what GNS is about, but now let's use it with a browser, to make it actually useful. Currently Firefox and Chromium are known to work. | ||
250 | </p> | ||
251 | 240 | ||
252 | <p> | 241 | <p> |
253 | Many websites enforce HTTPS and thus provide certificates for | 242 | In the previous use case "Name resolution using GNS on the command line" we got an idea |
254 | their hostnames (and not our GNS names). Browsers don't like wrong | 243 | about what GNS is about, but now let's use it with a browser, to make it actually useful. Currently Firefox and Chromium are known to work. |
255 | hostnames in certificates and will present error messages. So GNUnet | 244 | </p> |
256 | has to trick them by generating own certificates for our GNS | 245 | |
257 | names. This means we need to create our own certificate authority | 246 | <p> |
258 | and tell our browser about it. Luckily there's a script for it: | 247 | Many websites enforce HTTPS and thus provide certificates for |
259 | </p> | 248 | their hostnames (and not our GNS names). Browsers don't like wrong |
260 | <p> | 249 | hostnames in certificates and will present error messages. So GNUnet |
261 | <code> | 250 | has to trick them by generating own certificates for our GNS |
262 | $ gnunet-gns-proxy-setup-ca | 251 | names. This means we need to create our own certificate authority |
263 | </code> | 252 | and tell our browser about it. Luckily there's a script for it: |
264 | </p> | 253 | </p> |
265 | <p>After executing this script the Browser has to be restarted.</p> | 254 | <p> |
255 | <code> | ||
256 | $ gnunet-gns-proxy-setup-ca | ||
257 | </code> | ||
258 | </p> | ||
259 | <p>After executing this script the Browser has to be restarted.</p> | ||
266 | 260 | ||
267 | <p> | 261 | <p> |
268 | GNUnet provides a proxy service (gnunet-gns-proxy) that the | 262 | GNUnet provides a proxy service (gnunet-gns-proxy) that the |
269 | browser can send DNS and HTTP traffic to. It will try to resolve | 263 | browser can send DNS and HTTP traffic to. It will try to resolve |
270 | names with GNS first and forward the rest of the DNS traffic to | 264 | names with GNS first and forward the rest of the DNS traffic to |
271 | the system's DNS resolver. It will also take care of the HTTP | 265 | the system's DNS resolver. It will also take care of the HTTP |
272 | traffic, so the browser gets valid certificates and the web server | 266 | traffic, so the browser gets valid certificates and the web server |
273 | will not be confused by our GNS hostnames. Our GNS namestore | 267 | will not be confused by our GNS hostnames. Our GNS namestore |
274 | doesn't know about any DNS hostnames yet, so we have to store | 268 | doesn't know about any DNS hostnames yet, so we have to store |
275 | them, too. For our "ccc" A record, we have to store a LEHO (legacy | 269 | them, too. For our "ccc" A record, we have to store a LEHO (legacy |
276 | hostname) record, too. It must contain the website's original DNS | 270 | hostname) record, too. It must contain the website's original DNS |
277 | hostname: | 271 | hostname: |
278 | </p> | 272 | </p> |
279 | <p> | 273 | <p> |
280 | <code> | ||
281 | $ gnunet-namestore -z myself -a -e "1 d" -p -t LEHO -n ccc -V www.ccc.de | ||
282 | </code> | ||
283 | </p> | ||
284 | <p>Now let's start gnunet-gns-proxy.</p> | ||
285 | <p> | ||
286 | <code> | ||
287 | $ /usr/lib/gnunet/libexec/gnunet-gns-proxy | ||
288 | </code> | ||
289 | </p> | ||
290 | <p> | ||
291 | Our browser has to be configured so it uses our proxy. In Firefox | ||
292 | we have to set these options under "about:config": | ||
293 | </p> | ||
294 | <p> | ||
295 | <code> | ||
296 | network.proxy.socks: localhost<br> | ||
297 | network.proxy.socks_port: 7777<br> | ||
298 | network.proxy.socks_remote_dns true<br> | ||
299 | network.proxy.type: 1 | ||
300 | </code> | ||
301 | </p> | ||
302 | <p> | ||
303 | To tell Chromium to use the proxy, it has to be started with the | ||
304 | "--proxy-server" command line option: | ||
305 | </p> | ||
306 | <p> | ||
307 | <code> | ||
308 | $ chromium --proxy-server="socks5://127.0.0.1:7777" | ||
309 | </code> | ||
310 | </p> | ||
311 | <p> | ||
312 | Now we should be able to resolve our GNS names in the browser! We | ||
313 | just have to type "https://ccc.myself" into the address bar. If | ||
314 | our friend Bob prepared his system, too, he can resolve our record | ||
315 | by typing "ccc.alice.myself". | ||
316 | </p> | ||
317 | <p> | ||
318 | See the <a href="https://docs.gnunet.org/#Integration-with-Browsers">chapter on Integration with Browsers in our handbook</a> for a more detailed description. | ||
319 | </p> | ||
320 | </section> | ||
321 | <section> | ||
322 | <h4>{{ _("VPN") }}</h4> | ||
323 | <p> | ||
324 | VPN can be used to share your Internet connection (yes, this may be dangerous, just as running a Tor exit node) or to provide access to services on your host (this should be less dangerous, as long as those services are secure). | ||
325 | </p> | ||
326 | <p> | ||
327 | In this tutorial we concentrate on providing access to services on your host. | ||
328 | </p> | ||
329 | <p> | ||
330 | For documentation to share your Internet connection have a look into <a href="https://docs.gnunet.org/#Configuring-the-GNUnet-VPN">chapter "Configuring the GNUnet VPN" in the handbook.</a> | ||
331 | </p> | ||
332 | <p> | ||
333 | First you have to edit your gnunet.conf and add this section. | ||
334 | </p> | ||
335 | <p> | ||
336 | <code> | 274 | <code> |
337 | [exit]</br> | 275 | $ gnunet-namestore -z myself -a -e "1 d" -p -t LEHO -n ccc -V www.ccc.de |
338 | START_ON_DEMAND = YES | ||
339 | </code> | 276 | </code> |
340 | </p> | 277 | </p> |
341 | <p> | 278 | <p>Now let's start gnunet-gns-proxy.</p> |
342 | This is necessary to start the exit daemon. | 279 | <p> |
343 | </p> | ||
344 | <p> | ||
345 | Furthermore you need to add a section for your service. | ||
346 | </p> | ||
347 | <p> | ||
348 | <code> | 280 | <code> |
349 | [http.gnunet.]</br> | 281 | $ /usr/lib/gnunet/libexec/gnunet-gns-proxy |
350 | TCP_REDIRECTS = 80:169.254.86.1:80 | ||
351 | </code> | 282 | </code> |
352 | </p> | 283 | </p> |
353 | <p> | 284 | <p> |
354 | Here a service named 'http' is configured to be accessed on a remote and local host on port 80. The IP address is the default IP address for the exit interface. If you like to change to another private IP address range you can use can change | 285 | Our browser has to be configured so it uses our proxy. In Firefox |
355 | </p> | 286 | we have to set these options under "about:config": |
356 | <p> | 287 | </p> |
288 | <p> | ||
357 | <code> | 289 | <code> |
358 | IPV4ADDR = 169.254.86.1 | 290 | network.proxy.socks: localhost<br> |
291 | network.proxy.socks_port: 7777<br> | ||
292 | network.proxy.socks_remote_dns true<br> | ||
293 | network.proxy.type: 1 | ||
359 | </code> | 294 | </code> |
360 | </p> | 295 | </p> |
361 | <p> | 296 | <p> |
362 | in section 'exit'. | 297 | To tell Chromium to use the proxy, it has to be started with the |
363 | </p> | 298 | "--proxy-server" command line option: |
364 | <p> | 299 | </p> |
365 | Now we have to add a GNS record to the namestore. | 300 | <p> |
366 | </p> | ||
367 | <p> | ||
368 | <code> | 301 | <code> |
369 | gnunet-namestore -z myself -a -e "1 d" -p -t VPN -n www -V "1 PKEY http" | 302 | $ chromium --proxy-server="socks5://127.0.0.1:7777" |
370 | </code> | 303 | </code> |
371 | </p> | 304 | </p> |
372 | <p> | 305 | <p> |
373 | Where myself is the name of the zone we already used <a href='#gns_proxy'>above</a>, but now we are adding a record of type VPN, and the value is a string containing three values. A boolean indicating the use of TCP or UDP (TCP in the example above), the public key of your node and the identifier of the service we used <a href='#'>above</a> ([http.gnunet.]. | 306 | Now we should be able to resolve our GNS names in the browser! We |
374 | </p> | 307 | just have to type "https://ccc.myself" into the address bar. If |
375 | <p> | 308 | our friend Bob prepared his system, too, he can resolve our record |
376 | After we added this record we should be able to access www.myself like we did ccc.myself via the browser <a href='#gns_proxy'>above</a>. | 309 | by typing "ccc.alice.myself". |
377 | </p> | 310 | </p> |
378 | <p> | 311 | <p> |
379 | The UI version of this Tutorial can be find in Chapter <a href='https://docs.gnunet.org/#First-steps-_002d-Using-the-GNUnet-VPN'>Using the GNUnet VPN</a> in the handbook. | 312 | See the <a href="https://docs.gnunet.org/#Integration-with-Browsers">chapter on Integration with Browsers in our handbook</a> for a more detailed description. |
380 | </p> | 313 | </p> |
381 | </section> | 314 | </section> |
382 | <section> | 315 | <section> |
383 | <h4>{{ _("Conversation") }}</h4> | 316 | <h4>{{ _("VPN") }}</h4> |
384 | <p> | 317 | <p> |
385 | TBD, see <a href="hhttps://docs.gnunet.org/#First-steps-_002d-Using-GNUnet-Conversation">chapter "Using GNUnet Conversation" in the handbook.</a> | 318 | VPN can be used to share your Internet connection (yes, this may be dangerous, just as running a Tor exit node) or to provide access to services on your host (this should be less dangerous, as long as those services are secure). |
386 | </p> | 319 | </p> |
387 | </section> | 320 | <p> |
321 | In this tutorial we concentrate on providing access to services on your host. | ||
322 | </p> | ||
323 | <p> | ||
324 | For documentation to share your Internet connection have a look into <a href="https://docs.gnunet.org/#Configuring-the-GNUnet-VPN">chapter "Configuring the GNUnet VPN" in the handbook.</a> | ||
325 | </p> | ||
326 | <p> | ||
327 | First you have to edit your gnunet.conf and add this section. | ||
328 | </p> | ||
329 | <p> | ||
330 | <code> | ||
331 | [exit]</br> | ||
332 | START_ON_DEMAND = YES | ||
333 | </code> | ||
334 | </p> | ||
335 | <p> | ||
336 | This is necessary to start the exit daemon. | ||
337 | </p> | ||
338 | <p> | ||
339 | Furthermore you need to add a section for your service. | ||
340 | </p> | ||
341 | <p> | ||
342 | <code> | ||
343 | [http.gnunet.]</br> | ||
344 | TCP_REDIRECTS = 80:169.254.86.1:80 | ||
345 | </code> | ||
346 | </p> | ||
347 | <p> | ||
348 | Here a service named 'http' is configured to be accessed on a remote and local host on port 80. The IP address is the default IP address for the exit interface. If you like to change to another private IP address range you can use can change | ||
349 | </p> | ||
350 | <p> | ||
351 | <code> | ||
352 | IPV4ADDR = 169.254.86.1 | ||
353 | </code> | ||
354 | </p> | ||
355 | <p> | ||
356 | in section 'exit'. | ||
357 | </p> | ||
358 | <p> | ||
359 | Now we have to add a GNS record to the namestore. | ||
360 | </p> | ||
361 | <p> | ||
362 | <code> | ||
363 | gnunet-namestore -z myself -a -e "1 d" -p -t VPN -n www -V "1 PKEY http" | ||
364 | </code> | ||
365 | </p> | ||
366 | <p> | ||
367 | Where myself is the name of the zone we already used <a href='#gns_proxy'>above</a>, but now we are adding a record of type VPN, and the value is a string containing three values. A boolean indicating the use of TCP or UDP (TCP in the example above), the public key of your node and the identifier of the service we used <a href='#'>above</a> ([http.gnunet.]. | ||
368 | </p> | ||
369 | <p> | ||
370 | After we added this record we should be able to access www.myself like we did ccc.myself via the browser <a href='#gns_proxy'>above</a>. | ||
371 | </p> | ||
372 | <p> | ||
373 | The UI version of this Tutorial can be find in Chapter <a href='https://docs.gnunet.org/#First-steps-_002d-Using-the-GNUnet-VPN'>Using the GNUnet VPN</a> in the handbook. | ||
374 | </p> | ||
375 | </section> | ||
376 | <section> | ||
377 | <h4>{{ _("Conversation") }}</h4> | ||
378 | <p> | ||
379 | TBD, see <a href="hhttps://docs.gnunet.org/#First-steps-_002d-Using-GNUnet-Conversation">chapter "Using GNUnet Conversation" in the handbook.</a> | ||
380 | </p> | ||
381 | </section> | ||
388 | </article> | 382 | </article> |
389 | {% endblock body_content %} | 383 | {% endblock body_content %} |
diff --git a/template/video.html.j2 b/template/video.html.j2 index 27800ef3..8760fd18 100644 --- a/template/video.html.j2 +++ b/template/video.html.j2 | |||
@@ -1,11 +1,10 @@ | |||
1 | {% extends "common/base.j2" %} | 1 | {% extends "common/base.j2" %} |
2 | {% block body_content %} | 2 | {% block body_content %} |
3 | <div class="container"> | 3 | <article class="container"> |
4 | <div class="container text-center"> | 4 | |
5 | <header> | 5 | <header> |
6 | <h1>{{ _("Videos related to GNUnet") }}</h1> | 6 | <h1>{{ _("Videos related to GNUnet") }}</h1> |
7 | </header> | 7 | </header> |
8 | </div> | ||
9 | 8 | ||
10 | <div class="row"> | 9 | <div class="row"> |
11 | <div class="col-lg-12"> | 10 | <div class="col-lg-12"> |