<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ouroboros/src/irmd, branch 0.21.3</title>
<subtitle>Ouroboros main repository</subtitle>
<id>https://ouroboros.rocks/cgit/ouroboros/atom?h=0.21.3</id>
<link rel='self' href='https://ouroboros.rocks/cgit/ouroboros/atom?h=0.21.3'/>
<link rel='alternate' type='text/html' href='https://ouroboros.rocks/cgit/ouroboros/'/>
<updated>2024-03-01T07:32:16+00:00</updated>
<entry>
<title>irmd: Fix parsing arguments in configfile</title>
<updated>2024-03-01T07:32:16+00:00</updated>
<author>
<name>Dimitri Staessens</name>
<email>dimitri@ouroboros.rocks</email>
</author>
<published>2024-02-26T15:32:35+00:00</published>
<link rel='alternate' type='text/html' href='https://ouroboros.rocks/cgit/ouroboros/commit/?id=afa421a0396a18c7b40d50e8774ba1d8335754d3'/>
<id>urn:sha1:afa421a0396a18c7b40d50e8774ba1d8335754d3</id>
<content type='text'>
The argc counter was improperly reset before building the arguments
list.

Signed-off-by: Dimitri Staessens &lt;dimitri@ouroboros.rocks&gt;
Signed-off-by: Sander Vrijders &lt;sander@ouroboros.rocks&gt;
</content>
</entry>
<entry>
<title>irmd: Fix handling destroy during wait timeouts</title>
<updated>2024-02-26T07:59:15+00:00</updated>
<author>
<name>Dimitri Staessens</name>
<email>dimitri@ouroboros.rocks</email>
</author>
<published>2024-02-24T16:14:12+00:00</published>
<link rel='alternate' type='text/html' href='https://ouroboros.rocks/cgit/ouroboros/commit/?id=7c523eb8167116176eb43d2f9380e0179a6275b0'/>
<id>urn:sha1:7c523eb8167116176eb43d2f9380e0179a6275b0</id>
<content type='text'>
The object must be refreshed from the list to see if it wasn't yet
destroyed if the wait times out.

Signed-off-by: Dimitri Staessens &lt;dimitri@ouroboros.rocks&gt;
Signed-off-by: Sander Vrijders &lt;sander@ouroboros.rocks&gt;
</content>
</entry>
<entry>
<title>irmd: Fix wrong hash length when getting ipcpd</title>
<updated>2024-02-26T07:59:15+00:00</updated>
<author>
<name>Dimitri Staessens</name>
<email>dimitri@ouroboros.rocks</email>
</author>
<published>2024-02-24T16:13:06+00:00</published>
<link rel='alternate' type='text/html' href='https://ouroboros.rocks/cgit/ouroboros/commit/?id=12c3298335c48fcdd1551c1474f9afe07e9a067f'/>
<id>urn:sha1:12c3298335c48fcdd1551c1474f9afe07e9a067f</id>
<content type='text'>
The get_ipcpd_by_dst function was returning the hash length of the
last IPCP in the list instead of the length of the actual hash.

Signed-off-by: Dimitri Staessens &lt;dimitri@ouroboros.rocks&gt;
Signed-off-by: Sander Vrijders &lt;sander@ouroboros.rocks&gt;
</content>
</entry>
<entry>
<title>irmd: Fix memleak on cancel</title>
<updated>2024-02-26T07:59:15+00:00</updated>
<author>
<name>Dimitri Staessens</name>
<email>dimitri@ouroboros.rocks</email>
</author>
<published>2024-02-24T11:52:20+00:00</published>
<link rel='alternate' type='text/html' href='https://ouroboros.rocks/cgit/ouroboros/commit/?id=82aec24db65fd3bf06f60a8952c1b0b3dfd05ec4'/>
<id>urn:sha1:82aec24db65fd3bf06f60a8952c1b0b3dfd05ec4</id>
<content type='text'>
If the mainloop is cancelled during a write, the response buffer
leaks.

The IRMd now warns about failed writes only when the error is not
EPIPE, as EPIPE is expected to happen with timed out requests.

Signed-off-by: Dimitri Staessens &lt;dimitri@ouroboros.rocks&gt;
Signed-off-by: Sander Vrijders &lt;sander@ouroboros.rocks&gt;
</content>
</entry>
<entry>
<title>irmd: Fix flow deallocation timeout</title>
<updated>2024-02-26T07:59:15+00:00</updated>
<author>
<name>Dimitri Staessens</name>
<email>dimitri@ouroboros.rocks</email>
</author>
<published>2024-02-23T18:38:17+00:00</published>
<link rel='alternate' type='text/html' href='https://ouroboros.rocks/cgit/ouroboros/commit/?id=dc56c2211424567d9a249f3630505d92f026428e'/>
<id>urn:sha1:dc56c2211424567d9a249f3630505d92f026428e</id>
<content type='text'>
The timeout was set to a value calculated as abstime for a cond_wait
instead of a timeout, causing flows to linger in the IPCP.

Signed-off-by: Dimitri Staessens &lt;dimitri@ouroboros.rocks&gt;
Signed-off-by: Sander Vrijders &lt;sander@ouroboros.rocks&gt;
</content>
</entry>
<entry>
<title>irmd: Always use reg_destroy_proc</title>
<updated>2024-02-23T15:41:38+00:00</updated>
<author>
<name>Dimitri Staessens</name>
<email>dimitri@ouroboros.rocks</email>
</author>
<published>2024-02-23T12:27:38+00:00</published>
<link rel='alternate' type='text/html' href='https://ouroboros.rocks/cgit/ouroboros/commit/?id=b65e5c1d45c8bfc38b3745cb28ac9074b1c1bdc1'/>
<id>urn:sha1:b65e5c1d45c8bfc38b3745cb28ac9074b1c1bdc1</id>
<content type='text'>
Destroying a process will now always be done with reg_destroy_proc,
regardless of whether it was an IPCP or spawned. This makes it easier
to keep the registry consistent and avoid races.

Also improves some logs and updates some default settings.

Signed-off-by: Dimitri Staessens &lt;dimitri@ouroboros.rocks&gt;
Signed-off-by: Sander Vrijders &lt;sander@ouroboros.rocks&gt;
</content>
</entry>
<entry>
<title>irmd: Fix race between alloc timeout and respond</title>
<updated>2024-02-23T15:41:37+00:00</updated>
<author>
<name>Dimitri Staessens</name>
<email>dimitri@ouroboros.rocks</email>
</author>
<published>2024-02-23T09:33:51+00:00</published>
<link rel='alternate' type='text/html' href='https://ouroboros.rocks/cgit/ouroboros/commit/?id=183208fd113646acbf08973e16ab9224f3f86179'/>
<id>urn:sha1:183208fd113646acbf08973e16ab9224f3f86179</id>
<content type='text'>
If a flow allocation times out just before the response, there is a
short window where the response will still find the flow, but in
DEALLOCATED state.

Signed-off-by: Dimitri Staessens &lt;dimitri@ouroboros.rocks&gt;
Signed-off-by: Sander Vrijders &lt;sander@ouroboros.rocks&gt;
</content>
</entry>
<entry>
<title>lib: Revise app flow allocation</title>
<updated>2024-02-23T15:41:37+00:00</updated>
<author>
<name>Dimitri Staessens</name>
<email>dimitri@ouroboros.rocks</email>
</author>
<published>2024-02-23T08:29:47+00:00</published>
<link rel='alternate' type='text/html' href='https://ouroboros.rocks/cgit/ouroboros/commit/?id=e6c2d4c9c6b8b12bbcf7bc8bd494b3ba56133e1f'/>
<id>urn:sha1:e6c2d4c9c6b8b12bbcf7bc8bd494b3ba56133e1f</id>
<content type='text'>
This revises the application flow allocator to use the flow_info
struct/message between the components. Revises the messaging to move
the use protocol buffers to its own source (serdes-irm).

Adds a timeout to the IRMd flow allocator to make sure flow
allocations don't hang forever (this was previously taken care of by
the sanitize thread).

Signed-off-by: Dimitri Staessens &lt;dimitri@ouroboros.rocks&gt;
Signed-off-by: Sander Vrijders &lt;sander@ouroboros.rocks&gt;
</content>
</entry>
<entry>
<title>irmd: Fix free of uninitialized ptr</title>
<updated>2024-02-19T13:09:38+00:00</updated>
<author>
<name>Dimitri Staessens</name>
<email>dimitri@ouroboros.rocks</email>
</author>
<published>2024-02-19T11:54:07+00:00</published>
<link rel='alternate' type='text/html' href='https://ouroboros.rocks/cgit/ouroboros/commit/?id=52f4d6f7b72de7308b4200b5c4b6c3ccddf617a3'/>
<id>urn:sha1:52f4d6f7b72de7308b4200b5c4b6c3ccddf617a3</id>
<content type='text'>
The reg_list_ipcps function left *ipcps uninitialized when there were
no IPCPs in the system. This caused a free to SEGV in the IRMd when
trying to allocate a flow.

Signed-off-by: Dimitri Staessens &lt;dimitri@ouroboros.rocks&gt;
Signed-off-by: Sander Vrijders &lt;sander@ouroboros.rocks&gt;
</content>
</entry>
<entry>
<title>build: Fix missing newlines at end of file</title>
<updated>2024-02-19T13:09:38+00:00</updated>
<author>
<name>Dimitri Staessens</name>
<email>dimitri@ouroboros.rocks</email>
</author>
<published>2024-02-19T11:54:06+00:00</published>
<link rel='alternate' type='text/html' href='https://ouroboros.rocks/cgit/ouroboros/commit/?id=a23b29ea4c1bd9d0407b2b070eb2dc9ad15e71cc'/>
<id>urn:sha1:a23b29ea4c1bd9d0407b2b070eb2dc9ad15e71cc</id>
<content type='text'>
Some files had a newline at the end, others didn't. Now they all do.

Signed-off-by: Dimitri Staessens &lt;dimitri@ouroboros.rocks&gt;
Signed-off-by: Sander Vrijders &lt;sander@ouroboros.rocks&gt;
</content>
</entry>
</feed>
