<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ouroboros/src/ipcpd/udp, branch 0.20.0</title>
<subtitle>Ouroboros main repository</subtitle>
<id>https://ouroboros.rocks/cgit/ouroboros/atom?h=0.20.0</id>
<link rel='self' href='https://ouroboros.rocks/cgit/ouroboros/atom?h=0.20.0'/>
<link rel='alternate' type='text/html' href='https://ouroboros.rocks/cgit/ouroboros/'/>
<updated>2023-08-30T15:12:41+00:00</updated>
<entry>
<title>ipcpd: Revise logging</title>
<updated>2023-08-30T15:12:41+00:00</updated>
<author>
<name>Dimitri Staessens</name>
<email>dimitri@ouroboros.rocks</email>
</author>
<published>2023-08-30T14:07:03+00:00</published>
<link rel='alternate' type='text/html' href='https://ouroboros.rocks/cgit/ouroboros/commit/?id=de2b10441c7835d4221dea3b4414478f72c549f6'/>
<id>urn:sha1:de2b10441c7835d4221dea3b4414478f72c549f6</id>
<content type='text'>
This revises the logging in the IPCPs to be a more consistent and
reduce duplicate messages in nested functions.

Signed-off-by: Dimitri Staessens &lt;dimitri@ouroboros.rocks&gt;
Signed-off-by: Sander Vrijders &lt;sander@ouroboros.rocks&gt;
</content>
</entry>
<entry>
<title>ipcpd: Move alloc race mitigation to common source</title>
<updated>2023-08-30T08:33:20+00:00</updated>
<author>
<name>Dimitri Staessens</name>
<email>dimitri@ouroboros.rocks</email>
</author>
<published>2023-08-28T10:29:00+00:00</published>
<link rel='alternate' type='text/html' href='https://ouroboros.rocks/cgit/ouroboros/commit/?id=08332eefba9aa4b08d00e190720de4771081e855'/>
<id>urn:sha1:08332eefba9aa4b08d00e190720de4771081e855</id>
<content type='text'>
All flow allocator code was duplicating the mitigation for a race
where the IRMd response for the flow allocation with a new flow fd was
arriving before the response to the flow_req_arr. This is now moved to
the ipcp common source.

Signed-off-by: Dimitri Staessens &lt;dimitri@ouroboros.rocks&gt;
Signed-off-by: Sander Vrijders &lt;sander@ouroboros.rocks&gt;
</content>
</entry>
<entry>
<title>ipcpd: Set IPCP states in common sources</title>
<updated>2023-08-30T08:33:19+00:00</updated>
<author>
<name>Dimitri Staessens</name>
<email>dimitri@ouroboros.rocks</email>
</author>
<published>2023-08-28T08:22:43+00:00</published>
<link rel='alternate' type='text/html' href='https://ouroboros.rocks/cgit/ouroboros/commit/?id=d21c4d5b0e7f42fe09784f11fa5776ff305e4fdf'/>
<id>urn:sha1:d21c4d5b0e7f42fe09784f11fa5776ff305e4fdf</id>
<content type='text'>
The state of the IPCP was set and checked in the main files, but it's
more convenient to do it in the common source.

Signed-off-by: Dimitri Staessens &lt;dimitri@ouroboros.rocks&gt;
Signed-off-by: Sander Vrijders &lt;sander@ouroboros.rocks&gt;
</content>
</entry>
<entry>
<title>include: Revise printing hashes</title>
<updated>2023-08-23T11:09:11+00:00</updated>
<author>
<name>Dimitri Staessens</name>
<email>dimitri@ouroboros.rocks</email>
</author>
<published>2023-08-16T16:15:14+00:00</published>
<link rel='alternate' type='text/html' href='https://ouroboros.rocks/cgit/ouroboros/commit/?id=ab8ee0b24335790e49127b1330f9d7bcca7f6bfa'/>
<id>urn:sha1:ab8ee0b24335790e49127b1330f9d7bcca7f6bfa</id>
<content type='text'>
The code was a bit convoluted to print hashes as hex strings. Renamed
to HASH_FMT32 and HASH_VAL32 to make clear we are printing the first
32 bits only, and added options to print 64 up to 512 bits as well.
This doesn't depend on endianness anymore. Adds a small test for the
hash (printing) functions.

Signed-off-by: Dimitri Staessens &lt;dimitri@ouroboros.rocks&gt;
Signed-off-by: Sander Vrijders &lt;sander@ouroboros.rocks&gt;
</content>
</entry>
<entry>
<title>ipcpd: Fix leaked filedescriptors in ipcpd-udp</title>
<updated>2023-07-31T12:06:16+00:00</updated>
<author>
<name>Dimitri Staessens</name>
<email>dimitri@ouroboros.rocks</email>
</author>
<published>2023-07-13T15:58:51+00:00</published>
<link rel='alternate' type='text/html' href='https://ouroboros.rocks/cgit/ouroboros/commit/?id=26fe256c14c5d7b98682c6497e733c4a2dde9921'/>
<id>urn:sha1:26fe256c14c5d7b98682c6497e733c4a2dde9921</id>
<content type='text'>
Found by GCC static analyzer.

Signed-off-by: Dimitri Staessens &lt;dimitri@ouroboros.rocks&gt;
Signed-off-by: Sander Vrijders &lt;sander@ouroboros.rocks&gt;
</content>
</entry>
<entry>
<title>ipcpd: Use consistent function naming</title>
<updated>2023-03-24T09:04:53+00:00</updated>
<author>
<name>Dimitri Staessens</name>
<email>dimitri@ouroboros.rocks</email>
</author>
<published>2023-03-22T11:57:15+00:00</published>
<link rel='alternate' type='text/html' href='https://ouroboros.rocks/cgit/ouroboros/commit/?id=51650a6dfcc0abc330200caf1ea89fcb6b8dce8b'/>
<id>urn:sha1:51650a6dfcc0abc330200caf1ea89fcb6b8dce8b</id>
<content type='text'>
For instance ipcp_udp_* vs eth_ipcp_*. Now all functions are
&lt;type&gt;_ipcp_*.

Als cleans up some minor things.

Signed-off-by: Dimitri Staessens &lt;dimitri@ouroboros.rocks&gt;
Signed-off-by: Sander Vrijders &lt;sander@ouroboros.rocks&gt;
</content>
</entry>
<entry>
<title>icpdp: Fix layer information for ipcpd-udp</title>
<updated>2023-03-24T09:04:53+00:00</updated>
<author>
<name>Dimitri Staessens</name>
<email>dimitri@ouroboros.rocks</email>
</author>
<published>2023-03-22T11:57:14+00:00</published>
<link rel='alternate' type='text/html' href='https://ouroboros.rocks/cgit/ouroboros/commit/?id=b69cb56fdc0343b7c25cc895f9841ff29f01da26'/>
<id>urn:sha1:b69cb56fdc0343b7c25cc895f9841ff29f01da26</id>
<content type='text'>
The refactors removed the need to set the hash algorithm for the
ipcpd-udp and the ipcpd-broadcast. However, the algorithm was not set
at bootstrap, so the ipcpd-udp was trying to use an SHA3-256 instead
of an MD5, causing flow allocation over the UDP to fail. The
ipcpd-broadcast used the default, so there was no problem.

Fixed by setting the correct algorithm for these ipcpds at bootstrap.

Signed-off-by: Dimitri Staessens &lt;dimitri@ouroboros.rocks&gt;
Signed-off-by: Sander Vrijders &lt;sander@ouroboros.rocks&gt;
</content>
</entry>
<entry>
<title>ipcpd: Fix condvar initialization in ipcpd-udp</title>
<updated>2023-03-24T09:04:53+00:00</updated>
<author>
<name>Dimitri Staessens</name>
<email>dimitri@ouroboros.rocks</email>
</author>
<published>2023-03-22T11:57:13+00:00</published>
<link rel='alternate' type='text/html' href='https://ouroboros.rocks/cgit/ouroboros/commit/?id=2a0cd15420427fcf0501c8bc1faf5cfee7734657'/>
<id>urn:sha1:2a0cd15420427fcf0501c8bc1faf5cfee7734657</id>
<content type='text'>
The clock was not explicitly initialized in the ipcpd-udp.

Signed-off-by: Dimitri Staessens &lt;dimitri@ouroboros.rocks&gt;
Signed-off-by: Sander Vrijders &lt;sander@ouroboros.rocks&gt;
</content>
</entry>
<entry>
<title>ipcpd: Fix address conversion in ipcpd-udp</title>
<updated>2023-03-01T11:52:21+00:00</updated>
<author>
<name>Dimitri Staessens</name>
<email>dimitri@ouroboros.rocks</email>
</author>
<published>2023-02-28T10:29:21+00:00</published>
<link rel='alternate' type='text/html' href='https://ouroboros.rocks/cgit/ouroboros/commit/?id=f38936e62cfcf8f0add97c4bea3b5662f3e07a19'/>
<id>urn:sha1:f38936e62cfcf8f0add97c4bea3b5662f3e07a19</id>
<content type='text'>
Bug introduced in 269f25d3. The wrong pointer was passed to inet_ntop.

Signed-off-by: Dimitri Staessens &lt;dimitri@ouroboros.rocks&gt;
Signed-off-by: Sander Vrijders &lt;sander@ouroboros.rocks&gt;
</content>
</entry>
<entry>
<title>ipcpd: refactor IPCP configuration</title>
<updated>2023-02-13T20:10:11+00:00</updated>
<author>
<name>Dimitri Staessens</name>
<email>dimitri@ouroboros.rocks</email>
</author>
<published>2023-02-12T20:05:40+00:00</published>
<link rel='alternate' type='text/html' href='https://ouroboros.rocks/cgit/ouroboros/commit/?id=269f25d3bac5ab871d8044935eacc15cfeadeec6'/>
<id>urn:sha1:269f25d3bac5ab871d8044935eacc15cfeadeec6</id>
<content type='text'>
The ipcp configuration struct now has internal structures for the
different IPCPs and for IPCP components of the unicast IPCP.

Split the very long IPCP main loop into individual handler functions.

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