<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ouroboros/src/irmd, branch 0.20.1</title>
<subtitle>Ouroboros main repository</subtitle>
<id>https://ouroboros.rocks/cgit/ouroboros/atom?h=0.20.1</id>
<link rel='self' href='https://ouroboros.rocks/cgit/ouroboros/atom?h=0.20.1'/>
<link rel='alternate' type='text/html' href='https://ouroboros.rocks/cgit/ouroboros/'/>
<updated>2023-11-08T08:17:33+00:00</updated>
<entry>
<title>irmd: Fix use of uninitialized value</title>
<updated>2023-11-08T08:17:33+00:00</updated>
<author>
<name>Dimitri Staessens</name>
<email>dimitri@ouroboros.rocks</email>
</author>
<published>2023-11-07T11:28:50+00:00</published>
<link rel='alternate' type='text/html' href='https://ouroboros.rocks/cgit/ouroboros/commit/?id=e8d7815033a0a9079be9b8ddefd496043f3f5dee'/>
<id>urn:sha1:e8d7815033a0a9079be9b8ddefd496043f3f5dee</id>
<content type='text'>
The value for 'ret' was not initialized when comparing to -ETIMEDOUT in
reg_name_leave_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>irmd: Don't load config file without --config set</title>
<updated>2023-10-25T07:53:27+00:00</updated>
<author>
<name>Dimitri Staessens</name>
<email>dimitri@ouroboros.rocks</email>
</author>
<published>2023-10-07T17:14:59+00:00</published>
<link rel='alternate' type='text/html' href='https://ouroboros.rocks/cgit/ouroboros/commit/?id=669108f477f404b58364bec8a49712f25d05bfe2'/>
<id>urn:sha1:669108f477f404b58364bec8a49712f25d05bfe2</id>
<content type='text'>
The irmd was automatically loading the default configfile (usually
/etc/ouroboros/irmd.conf) if present. Now the --config parameter has
to be set for the irmd to load a config. The service is adapted to
have the --config command line parameter set at install.

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: Wrap pthread_cond_timedwait for NULL abstime</title>
<updated>2023-10-25T07:53:27+00:00</updated>
<author>
<name>Dimitri Staessens</name>
<email>dimitri@ouroboros.rocks</email>
</author>
<published>2023-10-07T12:26:23+00:00</published>
<link rel='alternate' type='text/html' href='https://ouroboros.rocks/cgit/ouroboros/commit/?id=5706bf3efa8d8262982bbed15fb041e536f56cf2'/>
<id>urn:sha1:5706bf3efa8d8262982bbed15fb041e536f56cf2</id>
<content type='text'>
We often have the pattern where we NULL-check abstime for
pthread_cond_timedwait to call pthread_cond_wait if it is.
Added a __timedwait function to wrap this.

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: Remove separate rwlock for flows</title>
<updated>2023-10-25T07:53:27+00:00</updated>
<author>
<name>Dimitri Staessens</name>
<email>dimitri@ouroboros.rocks</email>
</author>
<published>2023-10-07T10:55:18+00:00</published>
<link rel='alternate' type='text/html' href='https://ouroboros.rocks/cgit/ouroboros/commit/?id=180e92c5f13b99ed171e8efe11058eb943bc6506'/>
<id>urn:sha1:180e92c5f13b99ed171e8efe11058eb943bc6506</id>
<content type='text'>
Modifications for flows were made under a different rwlock
(flows_lock) than the rwlock used for names, etc (reg_lock). This has
little value and unnecessarily complicates things. This removes the
flows_lock and uses the reg_lock for all registry objects.

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: Simplify mainloop</title>
<updated>2023-10-25T07:53:27+00:00</updated>
<author>
<name>Dimitri Staessens</name>
<email>dimitri@ouroboros.rocks</email>
</author>
<published>2023-10-05T09:28:46+00:00</published>
<link rel='alternate' type='text/html' href='https://ouroboros.rocks/cgit/ouroboros/commit/?id=0d35f3772706200f5cff670ad33e7837db7d6a2e'/>
<id>urn:sha1:0d35f3772706200f5cff670ad33e7837db7d6a2e</id>
<content type='text'>
This moves the command parsing function out of the mainloop
implementation to make it a bit less unwieldy.

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: Print ascii Ouroboros logo at startup</title>
<updated>2023-09-20T16:51:19+00:00</updated>
<author>
<name>Dimitri Staessens</name>
<email>dimitri@ouroboros.rocks</email>
</author>
<published>2023-09-12T15:26:35+00:00</published>
<link rel='alternate' type='text/html' href='https://ouroboros.rocks/cgit/ouroboros/commit/?id=a032b25832a75deef7d6d8b48a0786e5838df419'/>
<id>urn:sha1:a032b25832a75deef7d6d8b48a0786e5838df419</id>
<content type='text'>
The IRMd will now print a stylized logo at startup:

      ▄▄█████▄▄▄
    ▄█▀▀     ▀▀███▄                     █
   ██    ▄▄▄   ▄███▄  ▄   ▄  ▄ ▄▄   ▄▄  █ ▄▄   ▄▄  ▄ ▄▄   ▄▄   ▄▄
   ██   █   █  █████  █   █  █▀  ▀ █  █ █▀  █ █  █ █▀  ▀ █  █ ▀▄ ▀
   ██   ▀▄▄▄▀   ▀█▀   █   █  █     █  █ █▄  █ █  █ █     █  █ ▄ ▀▄
    █▄          █      ▀▀▀ ▀ ▀      ▀▀  ▀ ▀▀   ▀▀  ▀      ▀▀   ▀▀
     ▀█▄▄▄▄▄▄▄▄▀
       ▀▀▀▀▀▀

All credits to Zen for providing the ASCII art!

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>irmd: Fix exit status when failing on configfile</title>
<updated>2023-08-23T11:09:10+00:00</updated>
<author>
<name>Dimitri Staessens</name>
<email>dimitri@ouroboros.rocks</email>
</author>
<published>2023-08-16T11:36:18+00:00</published>
<link rel='alternate' type='text/html' href='https://ouroboros.rocks/cgit/ouroboros/commit/?id=de9674f090c2ae71cacd5f8bd6dcf5e8657ad686'/>
<id>urn:sha1:de9674f090c2ae71cacd5f8bd6dcf5e8657ad686</id>
<content type='text'>
If there was an error reading the configuration file, the IRMd would
shutdown, but still return EXIT_SUCCESS instead of EXIT_FAILURE.

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: Check lockfile first on init</title>
<updated>2023-08-23T11:09:10+00:00</updated>
<author>
<name>Dimitri Staessens</name>
<email>dimitri@ouroboros.rocks</email>
</author>
<published>2023-08-13T15:41:03+00:00</published>
<link rel='alternate' type='text/html' href='https://ouroboros.rocks/cgit/ouroboros/commit/?id=3b39928f2a29aab3c93283d29cf4ab5e4cf6c16c'/>
<id>urn:sha1:3b39928f2a29aab3c93283d29cf4ab5e4cf6c16c</id>
<content type='text'>
The IRMd will now check the lockfile before initializing any other
internals.

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: Simplify ipcp and name listing</title>
<updated>2023-08-04T06:25:08+00:00</updated>
<author>
<name>Dimitri Staessens</name>
<email>dimitri@ouroboros.rocks</email>
</author>
<published>2023-07-31T12:22:00+00:00</published>
<link rel='alternate' type='text/html' href='https://ouroboros.rocks/cgit/ouroboros/commit/?id=d99ab9755b08db8b6c021f8358dbb0b460ebd383'/>
<id>urn:sha1:d99ab9755b08db8b6c021f8358dbb0b460ebd383</id>
<content type='text'>
These functions were too complex. This splits off the creation of the
info messages for each ipcp/name.

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