<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Security on iMil.net</title>
    <link>http://imil.net/blog/tags/security/</link>
    <description>Recent content in Security on iMil.net</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Mon, 14 Mar 2022 08:54:50 +0100</lastBuildDate>
    <atom:link href="http://imil.net/blog/tags/security/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>An Innocent Mount Issue</title>
      <link>http://imil.net/blog/posts/2022/an-innocent-mount-issue/</link>
      <pubDate>Mon, 14 Mar 2022 08:54:50 +0100</pubDate>
      <guid>http://imil.net/blog/posts/2022/an-innocent-mount-issue/</guid>
      <description>&lt;p&gt;I work as a freelance contractor for about a year now, I quit a 10+ years regular &lt;a href=&#34;https://web.archive.org/web/20210121194911/https://www.nbs-system.com/publications/interview-collaborateur/emile-heitor-interview-d-un-directeur-technique/&#34;&gt;CTO job&lt;/a&gt; to give into more technical subjects, troubleshoot, code, build infrastructures, &lt;a href=&#34;https://www.imdb.com/title/tt0084967/&#34;&gt;A-Team style&lt;/a&gt;, I help companies with complex matters that might require experience and rigorousness.&lt;/p&gt;&#xA;&lt;p&gt;One of my last missions was really, really fun to deal with. A rather big company handling scientific, secret-level data, had an issue with their storage system.&lt;br&gt;&#xA;They use &lt;a href=&#34;https://en.wikipedia.org/wiki/InfiniBand&#34;&gt;Infiniband&lt;/a&gt; as their communication layer on an &lt;a href=&#34;https://en.wikipedia.org/wiki/High-performance_computing&#34;&gt;HPC&lt;/a&gt; environment, it was not a problem while the underlying operating system was &lt;em&gt;CentOS&lt;/em&gt; 7.1 with kernel 3.10.0-1160, but since new machines were installed with &lt;em&gt;CentOS&lt;/em&gt; 7.7 and up, with kernels 3.10.0-1062 and up, whenever they wrote a file less than 701 bytes long, the file would be corrupted.&lt;br&gt;&#xA;For the record and understanding of the following debugging session, the company uses &lt;a href=&#34;https://en.wikipedia.org/wiki/Network_File_System&#34;&gt;NFS&lt;/a&gt; over &lt;a href=&#34;https://en.wikipedia.org/wiki/Remote_direct_memory_access&#34;&gt;RDMA&lt;/a&gt;, the latter being the technique used by &lt;em&gt;Infiniband&lt;/em&gt; to achieve low latency and great throughput.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Running snoopy on NetBSD</title>
      <link>http://imil.net/blog/posts/2014/running-snoopy-on-netbsd/</link>
      <pubDate>Sat, 06 Dec 2014 10:46:16 +0000</pubDate>
      <guid>http://imil.net/blog/posts/2014/running-snoopy-on-netbsd/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;https://github.com/a2o/snoopy&#34;&gt;Snoopy&lt;/a&gt; is a pretty cool piece of software that can log every &lt;code&gt;exec(3)&lt;/code&gt; call to &lt;code&gt;syslog&lt;/code&gt;. When it comes to security, that feature can be really handy.&lt;/p&gt;&#xA;&lt;p&gt;Yesterday (Dec. 5), I commited &lt;code&gt;security/snoopy&lt;/code&gt; to &lt;a href=&#34;http://pkgsrc.org&#34;&gt;pkgsrc&lt;/a&gt;. The package comes with GNU/Linux related scripts in order to modify &lt;code&gt;/etc/ld.so.preload&lt;/code&gt; so &lt;code&gt;libsnoopy&lt;/code&gt; is loaded before &lt;code&gt;libc&lt;/code&gt; and achieve its role. &lt;a href=&#34;http://NetBSD.org&#34;&gt;NetBSD&lt;/a&gt; doesn&amp;rsquo;t have a &lt;code&gt;ld.so.preload&lt;/code&gt; file, instead, we use a flexible &lt;code&gt;/etc/ld.so.conf&lt;/code&gt; configuration file which has the following syntax:&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
