<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ouroboros/src/ipcpd/normal, branch 0.11.6</title>
<subtitle>Ouroboros main repository</subtitle>
<id>https://ouroboros.rocks/cgit/ouroboros/atom?h=0.11.6</id>
<link rel='self' href='https://ouroboros.rocks/cgit/ouroboros/atom?h=0.11.6'/>
<link rel='alternate' type='text/html' href='https://ouroboros.rocks/cgit/ouroboros/'/>
<updated>2018-05-08T12:52:04+00:00</updated>
<entry>
<title>ipcpd: Fix check build for DHT</title>
<updated>2018-05-08T12:52:04+00:00</updated>
<author>
<name>Dimitri Staessens</name>
<email>dimitri.staessens@ugent.be</email>
</author>
<published>2018-05-08T12:42:55+00:00</published>
<link rel='alternate' type='text/html' href='https://ouroboros.rocks/cgit/ouroboros/commit/?id=eaf14819c8cdab3c5ae1d678b0a12977f8b2d9e1'/>
<id>urn:sha1:eaf14819c8cdab3c5ae1d678b0a12977f8b2d9e1</id>
<content type='text'>
The DHT test failed on the use of IPCP-specific calls. These calls are
now guarded by the correct defition checks.

Signed-off-by: Dimitri Staessens &lt;dimitri.staessens@ugent.be&gt;
Signed-off-by: Sander Vrijders &lt;sander.vrijders@ugent.be&gt;
</content>
</entry>
<entry>
<title>ipcpd: Include ipcp-dev header in DHT</title>
<updated>2018-05-08T10:07:01+00:00</updated>
<author>
<name>Dimitri Staessens</name>
<email>dimitri.staessens@ugent.be</email>
</author>
<published>2018-05-08T09:56:25+00:00</published>
<link rel='alternate' type='text/html' href='https://ouroboros.rocks/cgit/ouroboros/commit/?id=ba30eb7a57f3561eec8f24e36901847e5e13753f'/>
<id>urn:sha1:ba30eb7a57f3561eec8f24e36901847e5e13753f</id>
<content type='text'>
The DHT called ipcp_sdb_release without including ipcp-dev, causing
compiler errors on some machines.

Signed-off-by: Dimitri Staessens &lt;dimitri.staessens@ugent.be&gt;
Signed-off-by: Sander Vrijders &lt;sander.vrijders@ugent.be&gt;
</content>
</entry>
<entry>
<title>ipcpd: Fix bad memory handling in LFA policy</title>
<updated>2018-05-04T10:11:17+00:00</updated>
<author>
<name>Sander Vrijders</name>
<email>sander.vrijders@ugent.be</email>
</author>
<published>2018-05-04T09:53:15+00:00</published>
<link rel='alternate' type='text/html' href='https://ouroboros.rocks/cgit/ouroboros/commit/?id=7d6fabc5bfb227ed76376a68a820aa243b0d7f53'/>
<id>urn:sha1:7d6fabc5bfb227ed76376a68a820aa243b0d7f53</id>
<content type='text'>
The Loop-Free Alternates policy had bad memory management in two
places. In the calculation of the LFAs a table was freed in the first
iteration of a loop, whereas it was still needed in the other
iterations. It is now freed outside of the loop. In the alternate PFF
the address structs were not freed upon shutdown, this has been added
as well. It also fixes some bad initialization in the LFA calculation
function.

Signed-off-by: Sander Vrijders &lt;sander.vrijders@ugent.be&gt;
Signed-off-by: Dimitri Staessens &lt;dimitri.staessens@ugent.be&gt;
</content>
</entry>
<entry>
<title>ipcpd: Limit number of returned query addresses</title>
<updated>2018-05-03T18:33:50+00:00</updated>
<author>
<name>Dimitri Staessens</name>
<email>dimitri.staessens@ugent.be</email>
</author>
<published>2018-05-03T17:36:23+00:00</published>
<link rel='alternate' type='text/html' href='https://ouroboros.rocks/cgit/ouroboros/commit/?id=e92174e887bac9b18a6b5d18e04adaefd3bd4bc1'/>
<id>urn:sha1:e92174e887bac9b18a6b5d18e04adaefd3bd4bc1</id>
<content type='text'>
The query returned all addresses where a name was registered, causing
some scaling problems. Now it will return at most DHT_RETR_ADDR, which
is currently set at 1 (anycast).

Signed-off-by: Dimitri Staessens &lt;dimitri.staessens@ugent.be&gt;
Signed-off-by: Sander Vrijders &lt;sander.vrijders@ugent.be&gt;
</content>
</entry>
<entry>
<title>ipcpd: Allow wait for dir enrollment on dt conn</title>
<updated>2018-05-03T15:56:11+00:00</updated>
<author>
<name>Dimitri Staessens</name>
<email>dimitri.staessens@ugent.be</email>
</author>
<published>2018-05-03T15:49:03+00:00</published>
<link rel='alternate' type='text/html' href='https://ouroboros.rocks/cgit/ouroboros/commit/?id=919349fd119bff11e9d34da09a9d71bf5675dba2'/>
<id>urn:sha1:919349fd119bff11e9d34da09a9d71bf5675dba2</id>
<content type='text'>
This adds the option to wait for the directory (DHT) to enroll on
creating a new data transfer connection. This makes scripting network
bootstraps more stable. The default setting is OFF.

Signed-off-by: Dimitri Staessens &lt;dimitri.staessens@ugent.be&gt;
Signed-off-by: Sander Vrijders &lt;sander.vrijders@ugent.be&gt;
</content>
</entry>
<entry>
<title>ipcpd: Recalculate PFF upon adding new neighbor</title>
<updated>2018-05-03T15:53:09+00:00</updated>
<author>
<name>Sander Vrijders</name>
<email>sander.vrijders@ugent.be</email>
</author>
<published>2018-05-03T12:33:46+00:00</published>
<link rel='alternate' type='text/html' href='https://ouroboros.rocks/cgit/ouroboros/commit/?id=8295c3628f70c1db342860ff1e79fc7056557739'/>
<id>urn:sha1:8295c3628f70c1db342860ff1e79fc7056557739</id>
<content type='text'>
This recalculates the PFF upon adding a new neighbor, so that the
network reconverges faster. It is safe to do so since it is only done
by the two IPCPs that established the new flow. The PFF is also
recalculated every 4 seconds.

Signed-off-by: Sander Vrijders &lt;sander.vrijders@ugent.be&gt;
Signed-off-by: Dimitri Staessens &lt;dimitri.staessens@ugent.be&gt;
</content>
</entry>
<entry>
<title>ipcpd: Prevent parallel DHT enrollment threads</title>
<updated>2018-05-03T12:35:08+00:00</updated>
<author>
<name>Dimitri Staessens</name>
<email>dimitri.staessens@ugent.be</email>
</author>
<published>2018-05-03T12:19:49+00:00</published>
<link rel='alternate' type='text/html' href='https://ouroboros.rocks/cgit/ouroboros/commit/?id=04aa4e185cbd7d165bcd2f5855f624bc0569d24b'/>
<id>urn:sha1:04aa4e185cbd7d165bcd2f5855f624bc0569d24b</id>
<content type='text'>
This will prevent quick calls to ipcp conn for dt flows to create
multiple join threads in parallel, instead the subsequent calls will
wait for the pending join to finish.

Signed-off-by: Dimitri Staessens &lt;dimitri.staessens@ugent.be&gt;
Signed-off-by: Sander Vrijders &lt;sander.vrijders@ugent.be&gt;
</content>
</entry>
<entry>
<title>ipcpd: Don't do lookup with new DT when running</title>
<updated>2018-05-03T09:00:58+00:00</updated>
<author>
<name>Dimitri Staessens</name>
<email>dimitri.staessens@ugent.be</email>
</author>
<published>2018-05-03T08:59:34+00:00</published>
<link rel='alternate' type='text/html' href='https://ouroboros.rocks/cgit/ouroboros/commit/?id=711777a4c7665db2d7ec8d05105eee29054c8562'/>
<id>urn:sha1:711777a4c7665db2d7ec8d05105eee29054c8562</id>
<content type='text'>
The DHT performed a lookup upon a new DT connection when it was
running for efficiency reasons. This lookup somehow cause SEGV under
stress (rapid bootstrapping of networks). This will be solved with a
full revision of the DHT implementation.

Signed-off-by: Dimitri Staessens &lt;dimitri.staessens@ugent.be&gt;
Signed-off-by: Sander Vrijders &lt;sander.vrijders@ugent.be&gt;
</content>
</entry>
<entry>
<title>ipcpd: Cleanup pending DHT commands on shutdown</title>
<updated>2018-05-03T08:27:47+00:00</updated>
<author>
<name>Dimitri Staessens</name>
<email>dimitri.staessens@ugent.be</email>
</author>
<published>2018-05-01T12:03:58+00:00</published>
<link rel='alternate' type='text/html' href='https://ouroboros.rocks/cgit/ouroboros/commit/?id=5485c380201897792a8e3f49f9b82ff0e99a5369'/>
<id>urn:sha1:5485c380201897792a8e3f49f9b82ff0e99a5369</id>
<content type='text'>
The list of commands was not cleaned up on shutdown.

Signed-off-by: Dimitri Staessens &lt;dimitri.staessens@ugent.be&gt;
Signed-off-by: Sander Vrijders &lt;sander.vrijders@ugent.be&gt;
</content>
</entry>
<entry>
<title>ipcpd: Remove cookie from DHT lookup at update</title>
<updated>2018-05-03T08:27:43+00:00</updated>
<author>
<name>Dimitri Staessens</name>
<email>dimitri.staessens@ugent.be</email>
</author>
<published>2018-05-01T11:19:23+00:00</published>
<link rel='alternate' type='text/html' href='https://ouroboros.rocks/cgit/ouroboros/commit/?id=b047b21e376411a4bda7ed24720feaa9f2a4ecee'/>
<id>urn:sha1:b047b21e376411a4bda7ed24720feaa9f2a4ecee</id>
<content type='text'>
The lookup struct uses the cookies to track pending request messages,
but they were not removed when a response is processed. Upon reuse of
a cookie for the next message, it could update the wrong lookup. This
removes the cookie for a lookup when it is looked for.

Signed-off-by: Dimitri Staessens &lt;dimitri.staessens@ugent.be&gt;
Signed-off-by: Sander Vrijders &lt;sander.vrijders@ugent.be&gt;
</content>
</entry>
</feed>
