aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--static/.well-known/org.flathub.VerifiedApps.txt1
-rw-r--r--template/dev_pages/t3sserakt.html.j22
-rw-r--r--template/news/2024-03-libgnunetchat-0.3.1.html.j221
-rw-r--r--template/probnat/api.html.j252
-rw-r--r--template/probnat/index.html.j217
-rw-r--r--template/probnat/mile1.html.j24
-rw-r--r--template/probnat/mile2.html.j2105
-rw-r--r--www.yml3
8 files changed, 201 insertions, 4 deletions
diff --git a/static/.well-known/org.flathub.VerifiedApps.txt b/static/.well-known/org.flathub.VerifiedApps.txt
new file mode 100644
index 00000000..497f08dd
--- /dev/null
+++ b/static/.well-known/org.flathub.VerifiedApps.txt
@@ -0,0 +1 @@
ac4bb0fa-eca3-443b-be3f-a21e08fc60ce
diff --git a/template/dev_pages/t3sserakt.html.j2 b/template/dev_pages/t3sserakt.html.j2
index 3a4116a3..5ef774ee 100644
--- a/template/dev_pages/t3sserakt.html.j2
+++ b/template/dev_pages/t3sserakt.html.j2
@@ -85,7 +85,7 @@ peers to connect to each other. For details have a look on the <a href="../probn
85 <div class="col-lg-6">t3sserakt@gnunet.org</div> 85 <div class="col-lg-6">t3sserakt@gnunet.org</div>
86 </div> 86 </div>
87 <div class="row"> 87 <div class="row">
88 <div class="col-lg-2">Mastodon:</div> 88 <div class="col-lg-2">Fediverse:</div>
89 <div class="col-lg-6"><a rel="me" href="https://c3d2.social/@t3sserakt">@t3sserakt@c3d2.social</a></div> 89 <div class="col-lg-6"><a rel="me" href="https://c3d2.social/@t3sserakt">@t3sserakt@c3d2.social</a></div>
90 </div> 90 </div>
91 <div class="row"> 91 <div class="row">
diff --git a/template/news/2024-03-libgnunetchat-0.3.1.html.j2 b/template/news/2024-03-libgnunetchat-0.3.1.html.j2
new file mode 100644
index 00000000..a0c1d743
--- /dev/null
+++ b/template/news/2024-03-libgnunetchat-0.3.1.html.j2
@@ -0,0 +1,21 @@
1{% extends "common/news.j2" %}
2{% block body_content %}
3<main id="maincontent">
4<h1>libgnunetchat 0.3.1 released</h1>
5<p>
6 This is mostly a bugfix release for libgnunetchat 0.3.0 to reduce build issues.
7</p>
8<h4>Download links</h4>
9<ul>
10 <li><a href="http://ftpmirror.gnu.org/gnunet/libgnunetchat-0.3.1.tar.gz">libgnunetchat-0.3.1.tar.gz</a></li>
11 <li><a href="http://ftpmirror.gnu.org/gnunet/libgnunetchat-0.3.1.tar.gz.sig">libgnunetchat-0.3.1.tar.gz.sig</a></li>
12</ul>
13<p>
14The GPG key used to sign is: <a href="https://gnunet.org/~schanzen/3D11063C10F98D14BD24D1470B0998EF86F59B6A">3D11063C10F98D14BD24D1470B0998EF86F59B6A</a>
15</p>
16<p>
17Note that due to mirror synchronization, not all links may be functional
18early after the release. For direct access try
19<a href="http://ftp.gnu.org/gnu/gnunet/">http://ftp.gnu.org/gnu/gnunet/</a>
20</p>
21{% endblock body_content %}
diff --git a/template/probnat/api.html.j2 b/template/probnat/api.html.j2
new file mode 100644
index 00000000..90e56cfd
--- /dev/null
+++ b/template/probnat/api.html.j2
@@ -0,0 +1,52 @@
1{% extends "common/base.j2" %}
2{% block body_content %}
3<main id="maincontent">
4<article class="container">
5
6 <header>
7 <h1>{{ _("API Documentation") }}</h1>
8 </header>
9
10 <div class="row">
11 <div class="col-2 d-none d-lg-block"><!-- for large viewports show menu for better orientation -->
12 <nav class="nav subnav position-fixed flex-column border-right" style="position:fixed">
13 <a class="nav-link" href="index.html#idea">{{ _("Project main page") }}</a>
14 </nav>
15 </div>
16 <div class="col">
17
18 <h2>Sync Protocol</h2>
19
20 <section>
21
22 <p>
23 {% trans %}
24 To use the probabilistic NAT traversal library, the peers to be connected must first be synchronized. For that, each peer has to use two API calls.<br/><br/>
25
26 enum GNUNET_GenericReturnValue<br/>
27 GNUNET_is_burst_ready (struct GNUNET_TIME_Relative rtt_avarage,<br/>
28 &emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&ensp; struct GNUNET_BurstSync *burst_sync,<br/>
29 &emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&ensp; GNUNET_SCHEDULER_TaskCallback task,<br/>
30 &emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&ensp; struct GNUNET_StartBurstCls *task_cls)<br/><br/>
31
32 and<br/><br/>
33
34 struct GNUNET_BurstSync *<br/>
35 GNUNET_get_burst_sync_msg (struct GNUNET_TIME_Relative rtt_avarage,<br/>
36 &emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&ensp; enum GNUNET_GenericReturnValue sync_ready)<br/><br/>
37
38
39 The second is to create the synchronisation message which the caller has to send to the other peer.
40 Within GNUnet the Distance Vector DV protocol is used for sending the synchronisation message. Applications which do not want to use the complete GNUnet stack have to use transportion by other means.<br/><br/>
41
42 The API call needs two parameters. The avarage round trip time rtt_avarage has to be provided by the callers application. In GNUnet this information is constantly calculated from messages delivered by DV. Again, applications not using the GNUnet stack have to assemble this information by themself. The second parameter is returned by the first API call and must be temporarily stored to use it in the second.<br/><br/>
43
44 The first API call also needs the avarage RTT and the synchronisation message received from another peer. The callback is called, if both peers are ready to synchronize. Therefore the callback should start the burst mode which will finally do the hole punch for NAT traversal.<br/><br/>
45 {% endtrans %}
46 </p>
47 </section>
48 </div>
49 </div>
50
51</article>
52{% endblock body_content %}
diff --git a/template/probnat/index.html.j2 b/template/probnat/index.html.j2
index 67dd7c0e..39700c83 100644
--- a/template/probnat/index.html.j2
+++ b/template/probnat/index.html.j2
@@ -61,6 +61,21 @@
61 </p></br> 61 </p></br>
62 </section> 62 </section>
63 63
64 <section>
65 <h4>Usage</h4></br>
66 <p>
67 {% trans %}
68 We we have encapsulated the functionality in a library. The library can be used under the following requirements:
69 <ul>
70 <li>The caller of the API has to know the external IP address of the other peer.</li>
71 <li>The peers trying to communicate with each other need an indirect way to exchange messages in order to synchronize with each other.</li>
72 </ul>
73
74 These two requirements are not covered by the library. For more details have a look <a href="api.html">here</a>.
75 {% endtrans %}
76 </p></br>
77 </section>
78
64 <h2><a name="milestones" class="subnav-anchor"></a>{{ _("Milestones") }}</h2></br> 79 <h2><a name="milestones" class="subnav-anchor"></a>{{ _("Milestones") }}</h2></br>
65 80
66 <p>The next milestone to be reached is milestone 1.</p></br> 81 <p>The next milestone to be reached is milestone 1.</p></br>
@@ -92,7 +107,7 @@ project. <a href="mile1.html">Details</a>
92 <p> 107 <p>
93 {% trans %} 108 {% trans %}
94 This task is to implement the protocol that is doing the signaling for synchronizing two peers 109 This task is to implement the protocol that is doing the signaling for synchronizing two peers
95which do like to connect to each other. 110which do like to connect to each other. <a href="mile2.html">Details</a>
96 <ul> 111 <ul>
97 <li>Two peers which got connected via DV signaling each other being behind a NAT.</li> 112 <li>Two peers which got connected via DV signaling each other being behind a NAT.</li>
98 <li>Learning the external IP address+port from already connected peers, exchange with the 113 <li>Learning the external IP address+port from already connected peers, exchange with the
diff --git a/template/probnat/mile1.html.j2 b/template/probnat/mile1.html.j2
index 25b94313..a06f1d6d 100644
--- a/template/probnat/mile1.html.j2
+++ b/template/probnat/mile1.html.j2
@@ -18,7 +18,7 @@
18 <h2>Implementation details milestone 1</h2> 18 <h2>Implementation details milestone 1</h2>
19 19
20 <section> 20 <section>
21 <h4><a name="netjail" class="subnav-anchor"></a>{{ _("See revision <a href=\"https://git.gnunet.org/gnunet.git/commit/?h=dev/t3ss/probnat&id=4b2303a35baa05a966543f036b43bb0cfaf22ab5\">4b2303a</a> on branch dev/t3ss/probnat") }}</h4> 21 <h4><a name="netjail" class="subnav-anchor"></a>{{ _("See revision <a href=\"https://git.gnunet.org/gnunet.git/commit/?h=dev/t3ss/probnatt&id=4b2303a35baa05a966543f036b43bb0cfaf22ab5\">4b2303a</a> on branch dev/t3ss/probnatt") }}</h4>
22 <p> 22 <p>
23 {% trans %} 23 {% trans %}
24 <table width="100%"> 24 <table width="100%">
@@ -36,7 +36,7 @@
36 <td></td><td> </td> 36 <td></td><td> </td>
37 </tr> 37 </tr>
38 <tr> 38 <tr>
39 <td width="40%" style="vertical-align: top;">est_transport_plugin_cmd_nat_mapping.c</td><td width="60%" style="vertical-align: top;">Testcase to start the script which sends test messages to open up ports.</td> 39 <td width="40%" style="vertical-align: top;">test_transport_plugin_cmd_nat_mapping.c</td><td width="60%" style="vertical-align: top;">Testcase to start the script which sends test messages to open up ports.</td>
40 <tr> 40 <tr>
41 <td></td><td> </td> 41 <td></td><td> </td>
42 </tr> 42 </tr>
diff --git a/template/probnat/mile2.html.j2 b/template/probnat/mile2.html.j2
new file mode 100644
index 00000000..2d76796a
--- /dev/null
+++ b/template/probnat/mile2.html.j2
@@ -0,0 +1,105 @@
1{% extends "common/base.j2" %}
2{% block body_content %}
3<main id="maincontent">
4<article class="container">
5
6 <header>
7 <h1>{{ _("NGI Assure project: Probabilistic NAT Traversal") }}</h1>
8 </header>
9
10 <div class="row">
11 <div class="col-2 d-none d-lg-block"><!-- for large viewports show menu for better orientation -->
12 <nav class="nav subnav position-fixed flex-column border-right" style="position:fixed">
13 <a class="nav-link" href="index.html#idea">{{ _("Project main page") }}</a>
14 </nav>
15 </div>
16 <div class="col">
17
18 <h2>Implementation details milestone 2</h2>
19
20 <section>
21 <h4><a name="netjail" class="subnav-anchor"></a>{{ _("See revision <a href=\"https://git.gnunet.org/gnunet.git/commit/?h=dev/t3ss/probnatt&id=d0c59f236c93e43a21f9ef0e14e54d5f8bb952bd\">d0c59f2</a>, <a href=\"https://git.gnunet.org/gnunet.git/commit/?h=dev/t3ss/probnatt&id=16b5da18df2d725bbcaa2e6efa05c793492ab445\">16b5da1</a>, <a href=\"https://git.gnunet.org/gnunet.git/commit/?h=dev/t3ss/probnatt&id=c1ef824f95612bea94a28563151efa99e18f47f6\">c1ef824</a> and <a href=\"https://git.gnunet.org/gnunet.git/commit/?h=dev/t3ss/probnatt&id=8de6f974d0fe210e03e891b365613e0bc4a2ceea\">8de6f97</a> on branch dev/t3ss/probnatt") }}</h4>
22 <p>
23 {% trans %}
24 <table width="100%">
25 <tr>
26 <td width="40%" style="vertical-align: top;">scripts/testing-ng/emu_run.sh</td><td width="60%" style="vertical-align: top;">Script to run several cli commands to start and configure the virtual Android devices.</td>
27 <tr>
28 <td></td><td> </td>
29 </tr>
30 <tr>
31 <td width="40%" style="vertical-align: top;">scripts/Makefile.am</td><td width="60%" style="vertical-align: top;">Added emu_run.sh script to makefile.</td>
32 </tr>
33 <tr>
34 <td></td><td> </td>
35 </tr>
36 <tr>
37 <td width="40%" style="vertical-align: top;">src/service/core/test_core_plugin_cmd_run_emu.c</td><td width="60%" style="vertical-align: top;">Test case to run a setup with two natted Android devices in separate subnetworks and one global reachable node.</td>
38 <tr>
39 <td></td><td> </td>
40 </tr>
41 <tr>
42 <td width="40%" style="vertical-align: top;">src/service/core/Makefile.am</td><td width="60%" style="vertical-align: top;">Adding test case to makefile.</td>
43 <tr>
44 <td></td><td> </td>
45 </tr>
46 <tr>
47 <td width="40%" style="vertical-align: top;">src/service/core/test_core_run_emu_topo.conf</td><td width="60%" style="vertical-align: top;">Configuration for the test case.</td>
48 <tr>
49 <tr>
50 <td></td><td> </td>
51 </tr>
52 <tr>
53 <td width="40%" style="vertical-align: top;">src/service/transport/gnunet-service-transport.c</td><td width="60%" style="vertical-align: top;">Added request to ask arm service for services configured to start and checking if they have started. Added check in log file to se if communicators already connected with transport service.</td>
54 <tr>
55 <td></td><td> </td>
56 </tr>
57 <tr>
58 <td width="40%" style="vertical-align: top;">include/gnunet_transport_testing_ng_lib.h</td><td width="60%" style="vertical-align: top;">Changes in header file for check of running services and connected communicaors.</td>
59 </tr>
60 <tr>
61 <td></td><td> </td>
62 </tr>
63 <tr>
64 <td width="40%" style="vertical-align: top;">src/service/transport/gnunet-service-transport.c</td><td width="60%" style="vertical-align: top;">Added functionality to synchronize two peers by comparing the measured RTT of both peers. This code was moved to the util library. For use of that library have a look <a href="api.html">here</a></td>
65 <tr>
66 <td></td><td> </td>
67 </tr>
68 <tr>
69 <td width="40%" style="vertical-align: top;">src/service/core/Makefile.am</td><td width="60%" style="vertical-align: top;">Adding test case to makefile.</td>
70 <tr>
71 <td></td><td> </td>
72 </tr>
73 <tr>
74 <td width="40%" style="vertical-align: top;">test_core_just_run_topo.conf</td><td width="60%" style="vertical-align: top;">Change the configuration file to just run peers to manually test to have a setup with two natted peers in separate subnetworks and one global reachable peer.</td>
75 <tr>
76 <tr>
77 <td></td><td> </td>
78 </tr>
79 <tr>
80 <td width="40%" style="vertical-align: top;">src/include/gnunet_protocols.h</td><td width="60%" style="vertical-align: top;">Added the burst sync message to the header file.</td>
81 <tr>
82 <tr>
83 <td></td><td> </td>
84 </tr>
85 <tr>
86 <td width="40%" style="vertical-align: top;">src/include/gnunet_util_lib.h</td><td width="60%" style="vertical-align: top;">Added the new API to the util library.</td>
87 <tr>
88 <tr>
89 <td></td><td> </td>
90 </tr>
91 <tr>
92 <td width="40%" style="vertical-align: top;">src/lib/util/Makefile.am</td><td width="60%" style="vertical-align: top;">Added the new API to the Makefile.</td>
93 <tr>
94 <tr>
95 <td></td><td> </td>
96 </tr>
97 </table>
98 {% endtrans %}
99 </p>
100 </section>
101 </div>
102 </div>
103
104</article>
105{% endblock body_content %} \ No newline at end of file
diff --git a/www.yml b/www.yml
index 12b520e2..fb60cd62 100644
--- a/www.yml
+++ b/www.yml
@@ -34,6 +34,9 @@ meetingnotes:
34 2022: 2022-12-04 34 2022: 2022-12-04
35 2023: 2023-12-28 35 2023: 2023-12-28
36newsposts: 36newsposts:
37 - page: 2024-03-libgnunetchat-0.3.1.html
38 date: 2024-03-23
39 title: libgnunetchat 0.3.1
37 - page: 2024-03-0.21.1.html 40 - page: 2024-03-0.21.1.html
38 date: 2024-03-15 41 date: 2024-03-15
39 title: GNUnet 0.21.1 42 title: GNUnet 0.21.1