<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Self-hosted on Mamadou Babaei</title>
    <link>https://www.babaei.net/tags/self-hosted/</link>
    <description>Recent content in Self-hosted on Mamadou Babaei</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-us</language>
    <lastBuildDate>Mon, 25 Nov 2024 00:49:00 +0100</lastBuildDate><atom:link href="https://www.babaei.net/tags/self-hosted/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>WebRTC IP Leak Demonstration</title>
      <link>https://www.babaei.net/blog/webrtc-ip-leak-demonstration/</link>
      <pubDate>Mon, 25 Nov 2024 00:49:00 +0100</pubDate>
      
      <guid>https://www.babaei.net/blog/webrtc-ip-leak-demonstration/</guid>
      <description>&lt;link rel=&#34;stylesheet&#34; href=&#34;https://www.babaei.net/css/hugo-easy-gallery.css&#34; /&gt;
&lt;div class=&#34;box&#34; &gt;
  &lt;figure  itemprop=&#34;associatedMedia&#34; itemscope itemtype=&#34;http://schema.org/ImageObject&#34;&gt;
    &lt;div class=&#34;img&#34;&gt;
      &lt;img itemprop=&#34;thumbnail&#34; src=&#34;https://www.babaei.net/blog/webrtc-ip-leak-demonstration/webrtc-ip-leak-demonstration-rust-javascript.webp&#34; alt=&#34;WebRTC IP Leak Demonstration using Rust and JavaScript&#34;/&gt;
    &lt;/div&gt;
    &lt;a href=&#34;https://www.babaei.net/blog/webrtc-ip-leak-demonstration/webrtc-ip-leak-demonstration-rust-javascript.webp&#34; itemprop=&#34;contentUrl&#34;&gt;&lt;/a&gt;
      &lt;figcaption&gt;
          &lt;p&gt;WebRTC IP Leak Demonstration using Rust and JavaScript&lt;/p&gt;
      &lt;/figcaption&gt;
  &lt;/figure&gt;
&lt;/div&gt;

&lt;p&gt;Deep in the vast jungle of the internet, an elusive predator lies in wait: the &lt;strong&gt;WebRTC IP leak&lt;/strong&gt;. This invisible hunter slithers through the dense digital undergrowth, silent and unseen, ready to strike its next target. The IP addresses of its unsuspecting victims are exposed in an instant. But its danger isn&amp;rsquo;t merely technical; if you&amp;rsquo;re a political activist in a repressive regime, leaking your IP could jeopardize your very life. Today, we embark on an expedition to track this hidden predator, uncover its secrets, and learn how to protect ourselves before it strikes.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>How to disable HP Proliant ML350p Gen8 P420i RAID controller, enable HBA mode (a.k.a. pass-through), and perform a FreeBSD root on ZFS installation</title>
      <link>https://www.babaei.net/blog/disable-hp-proliant-ml350p-gen8-p420i-raid-controller-enable-hba-mode-pass-through-perform-freebsd-root-zfs-installation/</link>
      <pubDate>Wed, 10 Nov 2021 18:33:00 +0100</pubDate>
      
      <guid>https://www.babaei.net/blog/disable-hp-proliant-ml350p-gen8-p420i-raid-controller-enable-hba-mode-pass-through-perform-freebsd-root-zfs-installation/</guid>
      <description>&lt;p&gt;I recently purchased a second-hand HP Proliant ML350p Gen8 in order to be used as a home server and to my disappointment realized I won&amp;rsquo;t be able to disable the hardware RAID that comes with this model, at least at first glance. Well, there is a way to do that, which is supported by HP themselves. And, this is how to do it the easy way!&lt;/p&gt;
&lt;p&gt;But, before we proceed any further, you might ask why do I need to disable the hardware RAID? The answer is because I need to install ZFS. There is already plenty of documentation why installing ZFS on a hardware RAID is a terrible idea. Thus, I won&amp;rsquo;t go over that since it&amp;rsquo;s not the focus of this article.&lt;/p&gt;
&lt;p&gt;Again, before we go any further there&amp;rsquo;s a catch you should know about. If you&amp;rsquo;d enable HBA-mode, the server won&amp;rsquo;t be able to boot from any disk connected in HBA mode to the controller! You should consider this before converting to HBA mode. In case you need to perform a FreeBSD/Linux root on ZFS installation through this controller there are two solutions:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;1.&lt;/strong&gt; Installing in hardware RAID mode, but making each disk a &lt;code&gt;RAID-0&lt;/code&gt; array consisting of only one disk. For example, if you&amp;rsquo;ve got &lt;code&gt;8&lt;/code&gt; disks, you&amp;rsquo;ll end up with &lt;code&gt;8&lt;/code&gt; &lt;code&gt;RAID-0&lt;/code&gt; arrays. Then you&amp;rsquo;d perform a ZFS installation and your operating system boots as expected. Though this is not recommended and if you&amp;rsquo;d proceed with this approach, it renders the rest of this post useless.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;2.&lt;/strong&gt; HP Proliant ML350p provides an SD-Card slot, which can be used to install a full system, which is not recommended due to the wear and tear effect of SDCards with each write-operation on them. In addition to that, this storage type is costly and slow. For example, a &lt;code&gt;SanDisk SDXC Extreme Pro 256GB&lt;/code&gt;, which provides a write speed of &lt;code&gt;90MB/s&lt;/code&gt; and read speed of &lt;code&gt;170MB/s&lt;/code&gt;, costs around &lt;code&gt;€99,99&lt;/code&gt; where I live. With today&amp;rsquo;s standards, this is not fast at all or even good enough, especially on a server. I was also able to find a &lt;code&gt;Sandisk CF Express Extreme Pro 512GB type B&lt;/code&gt;, with a write speed of &lt;code&gt;800MB/s&lt;/code&gt; and a read speed of &lt;code&gt;1500MB/s&lt;/code&gt;. It only costs &lt;code&gt;€629,-&lt;/code&gt;, which costs an arm and leg to buy!&lt;/p&gt;
&lt;p&gt;So, then! What&amp;rsquo;s the solution one might ask? We are going to install only &lt;code&gt;/boot&lt;/code&gt; partition on the internal SD Card. Note, that placing only a bootloader such as GRUB, rEFInd or other similar tools won&amp;rsquo;t work as they won&amp;rsquo;t be able to see the boot drive anyway! So, the only solution is to put the boot partition on the SDCard. This way, the system only reads it one time at boot and it does not even have to be an expensive SD-Card.&lt;/p&gt;
&lt;p&gt;So, let&amp;rsquo;s begin!&lt;/p&gt;</description>
    </item>
    
  </channel>
</rss>
