<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>FreeBSD on iMil.net</title>
    <link>http://imil.net/blog/tags/freebsd/</link>
    <description>Recent content in FreeBSD on iMil.net</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Sat, 27 May 2023 09:02:31 +0200</lastBuildDate>
    <atom:link href="http://imil.net/blog/tags/freebsd/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>NSD Slave DNS</title>
      <link>http://imil.net/blog/posts/2023/nsd-slave-dns/</link>
      <pubDate>Sat, 27 May 2023 09:02:31 +0200</pubDate>
      <guid>http://imil.net/blog/posts/2023/nsd-slave-dns/</guid>
      <description>&lt;p&gt;Ok this is possibly the easiest thing on earth but I didn&amp;rsquo;t see any clear documentation on the&#xA;topic apart from &lt;a href=&#34;https://nsrc.org/workshops/2014/menog-dns-dnssec/raw-attachment/wiki/Agenda/dns-nsd-config.txt&#34;&gt;a simple text file&lt;/a&gt; which actually helped.&lt;/p&gt;&#xA;&lt;p&gt;The server runs into a &lt;a href=&#34;https://docs.freebsd.org/en/books/handbook/jails/&#34;&gt;FreeBSD jail&lt;/a&gt;, I won&amp;rsquo;t cover this part as there are plenty of &lt;a href=&#34;https://ogris.de/howtos/freebsd-jails.html&#34;&gt;good documentation on this matter already&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;The first step is obviously to install &lt;a href=&#34;https://www.nlnetlabs.nl/projects/nsd/about/&#34;&gt;nsd&lt;/a&gt;, for example using &lt;code&gt;pkg&lt;/code&gt;:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-shell&#34; data-lang=&#34;shell&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;# pkg install nsd&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;My master DNS server runs &lt;a href=&#34;https://www.isc.org/bind/&#34;&gt;BIND&lt;/a&gt; so there&amp;rsquo;s no specifics regarding &lt;code&gt;nsd&lt;/code&gt;, here&amp;rsquo;s the most&#xA;basic configuration the slave needs:&lt;/p&gt;</description>
    </item>
    <item>
      <title>Migrating A ZPool To A Smaller Disk</title>
      <link>http://imil.net/blog/posts/2022/migrating-zpool-to-a-smaller-disk/</link>
      <pubDate>Mon, 18 Apr 2022 17:06:48 +0200</pubDate>
      <guid>http://imil.net/blog/posts/2022/migrating-zpool-to-a-smaller-disk/</guid>
      <description>&lt;p&gt;A week ago, I&amp;rsquo;ve migrated my gateway to a standalone machine running &lt;em&gt;FreeBSD&lt;/em&gt; 13.1. The whole process was certainly flawless and soon enough it was forwarding packets to and from my network.&lt;/p&gt;&#xA;&lt;p&gt;Quite happy with the result, I didn&amp;rsquo;t expect it to crash less than 2 days after its first production hour. At first I thought it could have been the temperature, the graphic card, the memory&amp;hellip; until it crashed again a couple of days after and I saw this:&lt;/p&gt;</description>
    </item>
    <item>
      <title>Boot an Existing ZFS From a FreeBSD LiveCD</title>
      <link>http://imil.net/blog/posts/2021/boot-zfs-from-freebsd-livecd/</link>
      <pubDate>Tue, 08 Jun 2021 17:05:03 +0200</pubDate>
      <guid>http://imil.net/blog/posts/2021/boot-zfs-from-freebsd-livecd/</guid>
      <description>&lt;p&gt;Because I ran &lt;code&gt;gpart bootcode&lt;/code&gt; on the wrong partition of every replacement disk I swapped and because my motherboard is incapable of finding an &lt;em&gt;EFI&lt;/em&gt; partition, I basically bricked my &lt;em&gt;FreeBSD&lt;/em&gt; NAS / gateway.&lt;/p&gt;&#xA;&lt;p&gt;It took me a ridiculous amount of time in order to find how to boot into an existing &lt;em&gt;ZFS FreeBSD&lt;/em&gt; installation from a &lt;a href=&#34;https://download.freebsd.org/ftp/releases/amd64/amd64/ISO-IMAGES/13.0/&#34;&gt;FreeBSD LiveCD&lt;/a&gt; (I used &lt;code&gt;mini-memstick&lt;/code&gt;).&lt;/p&gt;&#xA;&lt;p&gt;Finally, in a &lt;a href=&#34;https://lists.freebsd.org/pipermail/freebsd-questions/2014-November/262384.html&#34;&gt;2014 thread from the FreeBSD questions mailing list&lt;/a&gt;, someone mentioned the magic invocation, and from there I deducted the remaining parts.&lt;/p&gt;</description>
    </item>
    <item>
      <title>FreeBSD networking issues: TCP offloading and checksum</title>
      <link>http://imil.net/blog/posts/2019/freebsd-networking-issues-disable-offloading-and-checksum/</link>
      <pubDate>Sun, 15 Dec 2019 06:39:50 +0000</pubDate>
      <guid>http://imil.net/blog/posts/2019/freebsd-networking-issues-disable-offloading-and-checksum/</guid>
      <description>&lt;p&gt;In the past month, it&amp;rsquo;s the second time I&amp;rsquo;m being bitten by &lt;em&gt;FreeBSD&lt;/em&gt; in the networking field.&lt;/p&gt;&#xA;&lt;p&gt;First time with my own gateway, I had this weird behaviour where machines on a different &lt;em&gt;VLAN&lt;/em&gt; than the main one would use the Internet at full speed but would struggle to make any transfer from the main &lt;em&gt;VLAN&lt;/em&gt;.&lt;/p&gt;&#xA;&lt;p&gt;Turns out this was a &lt;code&gt;tcp segmentation offload&lt;/code&gt; issue, which seems to cause so much problems it is &lt;a href=&#34;https://docs.netgate.com/pfsense/en/latest/hardware/tuning-and-troubleshooting-network-cards.html&#34;&gt;disabled by default in some appliances&lt;/a&gt;.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Replacing a (silently) failing disk in a ZFS pool</title>
      <link>http://imil.net/blog/posts/2019/replacing-a-silently-failing-disk-in-a-zfs-pool/</link>
      <pubDate>Tue, 02 Jul 2019 17:13:31 +0000</pubDate>
      <guid>http://imil.net/blog/posts/2019/replacing-a-silently-failing-disk-in-a-zfs-pool/</guid>
      <description>&lt;p&gt;Maybe I can&amp;rsquo;t read, but I have the feeling that official documentations explain every single corner case for a given tool, except the one you will actually need. My today&amp;rsquo;s struggle: replacing a disk within a &lt;a href=&#34;https://www.freebsd.org/doc/handbook/zfs.html&#34;&gt;FreeBSD ZFS pool&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;What? there&amp;rsquo;s a shitton of docs on this topic! Are you stupid?&lt;/p&gt;&lt;/blockquote&gt;&#xA;&lt;p&gt;I don&amp;rsquo;t know, maybe. Yet none covered the process in a simple, straight and complete manner. Here&amp;rsquo;s the story:&lt;/p&gt;</description>
    </item>
    <item>
      <title>Running FreeBSD from an USB stick on a MacBook Pro</title>
      <link>http://imil.net/blog/posts/2017/running-freebsd-from-an-usb-stick-on-a-macbook-pro/</link>
      <pubDate>Mon, 31 Jul 2017 16:03:14 +0000</pubDate>
      <guid>http://imil.net/blog/posts/2017/running-freebsd-from-an-usb-stick-on-a-macbook-pro/</guid>
      <description>&lt;p&gt;It is possible to run &lt;a href=&#34;http://www.FreeBSD.org&#34;&gt;FreeBSD&lt;/a&gt; on a &lt;em&gt;MacBook Pro&lt;/em&gt; from an USB drive.&#xA;To achieve this, we will first prepare the USB drive from a &lt;em&gt;GNU/Linux&lt;/em&gt; machine and make it &lt;a href=&#34;https://en.wikipedia.org/wiki/Unified_Extensible_Firmware_Interface&#34;&gt;UEFI&lt;/a&gt; friendly:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-sh&#34; data-lang=&#34;sh&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;# apt-get install parted&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;# parted /dev/sdc&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;(&lt;/span&gt;parted&lt;span style=&#34;color:#f92672&#34;&gt;)&lt;/span&gt; mklabel gpt&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;(&lt;/span&gt;parted&lt;span style=&#34;color:#f92672&#34;&gt;)&lt;/span&gt; mkpart ESP fat32 1MiB 513MiB&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;(&lt;/span&gt;parted&lt;span style=&#34;color:#f92672&#34;&gt;)&lt;/span&gt; set &lt;span style=&#34;color:#ae81ff&#34;&gt;1&lt;/span&gt; boot on&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;(&lt;/span&gt;parted&lt;span style=&#34;color:#f92672&#34;&gt;)&lt;/span&gt; quit&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;From there, install &lt;em&gt;FreeBSD&lt;/em&gt; as you would for exmaple using the &lt;code&gt;kvm&lt;/code&gt; virtual machine &lt;em&gt;hypervisor&lt;/em&gt; on the GNU/Linux machine. Answer &amp;ldquo;yes&amp;rdquo; when the installer suggests to create a &lt;code&gt;freebsd-boot&lt;/code&gt; partition.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Run CoreOS on FreeBSD&#39;s bhyve</title>
      <link>http://imil.net/blog/posts/2016/coreos_on_bhyve/</link>
      <pubDate>Tue, 21 Jun 2016 21:00:17 +0000</pubDate>
      <guid>http://imil.net/blog/posts/2016/coreos_on_bhyve/</guid>
      <description>&lt;p&gt;No, I&amp;rsquo;m not following the hype, only I like to test things plus I feel there will be a growing demand for &lt;a href=&#34;https://www.docker.com/&#34;&gt;docker&lt;/a&gt; at &lt;em&gt;${DAYWORK}&lt;/em&gt;. I read here and there that &lt;a href=&#34;https://coreos.com/&#34;&gt;CoreOS&lt;/a&gt; was the Linux distribution of choice to play with &lt;a href=&#34;https://www.docker.com/&#34;&gt;docker&lt;/a&gt;, so  while at it, I picked up this one to dive into the container world.&#xA;Finally, I&amp;rsquo;ve been willing to put my hands on &lt;a href=&#34;http://bhyve.org/&#34;&gt;bhyve&lt;/a&gt; for quite a while, so I took this opportunity to learn all those new (to me) technologies at once.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Migrate FreeBSD root on UFS to ZFS</title>
      <link>http://imil.net/blog/posts/2016/migrate-freebsd-root-on-ufs-to-zfs/</link>
      <pubDate>Thu, 28 Apr 2016 17:24:17 +0000</pubDate>
      <guid>http://imil.net/blog/posts/2016/migrate-freebsd-root-on-ufs-to-zfs/</guid>
      <description>&lt;p&gt;At &lt;em&gt;${DAYJOB}&lt;/em&gt; I&amp;rsquo;m using a &lt;em&gt;FreeBSD&lt;/em&gt; workstation &lt;a href=&#34;http://imil.net/blog/2014/07/02/back-to-2000-2005-freebsd-desktop-2/&#34;&gt;for quite a while&lt;/a&gt;. Everything goes smoothly except for the filesystem. When I first installed it, I chose &lt;a href=&#34;https://en.wikipedia.org/wiki/Unix_File_System&#34;&gt;UFS&lt;/a&gt; because &lt;em&gt;FreeBSD&lt;/em&gt; installer said that &lt;em&gt;root-on-ZFS&lt;/em&gt; was &amp;ldquo;experimental&amp;rdquo;. I later learned that nobody uses &lt;a href=&#34;https://en.wikipedia.org/wiki/Unix_File_System&#34;&gt;UFS&lt;/a&gt; anymore and that &lt;em&gt;root-on-ZFS&lt;/em&gt; is perfectly stable. Thing is, I chose &lt;a href=&#34;https://en.wikipedia.org/wiki/Unix_File_System&#34;&gt;UFS&lt;/a&gt; and I deeply regret it. Not because of &lt;a href=&#34;https://en.wikipedia.org/wiki/ZFS&#34;&gt;ZFS&lt;/a&gt;&amp;rsquo;s features that absolutely do not matter for me on the desktop, but because &lt;strong&gt;FreeBSD&lt;/strong&gt; implementation of &lt;a href=&#34;https://en.wikipedia.org/wiki/Unix_File_System&#34;&gt;UFS&lt;/a&gt; is terribly, terribly slow when it comes to manipulate big files. When I say slow, I mean that &lt;code&gt;pkg upgrade&lt;/code&gt; tends to &lt;strong&gt;FREEZE&lt;/strong&gt; the entire machine while extracting archives. That slow. And before you ask, yes, there&amp;rsquo;s been a lot of tuning on that side.&lt;/p&gt;</description>
    </item>
    <item>
      <title>virt-manager: &amp;quot;nc: unix connect failed&amp;quot;</title>
      <link>http://imil.net/blog/posts/2014/virt-manager-nc-unix-connect-failed/</link>
      <pubDate>Mon, 11 Aug 2014 13:08:40 +0000</pubDate>
      <guid>http://imil.net/blog/posts/2014/virt-manager-nc-unix-connect-failed/</guid>
      <description>&lt;p&gt;I came across an annoying behaviour while trying to connect to a remote &lt;em&gt;KVM&lt;/em&gt; hypervisor from a &lt;em&gt;FreeBSD GUI&lt;/em&gt;. &lt;code&gt;virt-manager&lt;/code&gt; failed to connect to the server and showed the following error message:&lt;/p&gt;&#xA;&lt;!-- raw HTML omitted --&gt;&#xA;&lt;!-- raw HTML omitted --&gt;&#xA;&lt;p&gt;In short, &lt;code&gt;virt-manager&lt;/code&gt; tries to access to &lt;code&gt;/usr/local/var/run/libvirt/libvirt-sock&lt;/code&gt; because it is compiled with a &lt;code&gt;/usr/local&lt;/code&gt; &lt;code&gt;PREFIX&lt;/code&gt; on &lt;em&gt;FreeBSD&lt;/em&gt;. Of course they didn&amp;rsquo;t plan anything on a plain text configuration file. I figured out this has to be configured in &lt;code&gt;GConf&lt;/code&gt;, for example using &lt;code&gt;gconf-editor&lt;/code&gt;, simply replace:&lt;/p&gt;</description>
    </item>
    <item>
      <title>Back to 2000-2005: FreeBSD desktop</title>
      <link>http://imil.net/blog/posts/2014/back-to-2000-2005-freebsd-desktop-2/</link>
      <pubDate>Wed, 02 Jul 2014 09:27:03 +0000</pubDate>
      <guid>http://imil.net/blog/posts/2014/back-to-2000-2005-freebsd-desktop-2/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;http://imil.net/wp/2012/08/22/6-month-later/&#34;&gt;A while ago&lt;/a&gt;, I had my &lt;em&gt;${DAYWORK}&lt;/em&gt; workstation running &lt;a href=&#34;http://www.NetBSD.org&#34;&gt;NetBSD&lt;/a&gt;, and honestly, it did pretty well. Things began to become more painful when there was no more &lt;em&gt;DRI&lt;/em&gt; acceleration with the &lt;code&gt;radeon&lt;/code&gt; driver, it then did an okay-ish job, but the overall desktop became somewhat laggy.&lt;/p&gt;&#xA;&lt;p&gt;It was told &lt;a href=&#34;https://mail-index.netbsd.org/tech-x11/2013/02/06/msg001229.html&#34;&gt;someone was working on porting KMS/GEM&lt;/a&gt;, that was more than a year ago, and as of today, that work -and I guess it is not an easy one- isn&amp;rsquo;t mature enough to be used as a &lt;strong&gt;work&lt;/strong&gt;station, I need my desktop to run various tools, and not only terminal-based ones.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Back to 2000-2005: FreeBSD desktop</title>
      <link>http://imil.net/blog/posts/2014/back-to-2000-2005-freebsd-desktop/</link>
      <pubDate>Tue, 01 Jul 2014 19:28:28 +0000</pubDate>
      <guid>http://imil.net/blog/posts/2014/back-to-2000-2005-freebsd-desktop/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;http://imil.net/wp/2012/08/22/6-month-later/&#34;&gt;A while ago&lt;/a&gt;, I had my &lt;em&gt;${DAYWORK}&lt;/em&gt; workstation running &lt;a href=&#34;http://www.NetBSD.org&#34;&gt;NetBSD&lt;/a&gt;, and honestly, it did pretty well. Things began to become more painful when there was no more &lt;em&gt;DRI&lt;/em&gt; acceleration with the &lt;code&gt;radeon&lt;/code&gt; driver, it then did an okay-ish job, but the overall desktop became somewhat laggy.&lt;/p&gt;&#xA;&lt;p&gt;It was told &lt;a href=&#34;https://mail-index.netbsd.org/tech-x11/2013/02/06/msg001229.html&#34;&gt;someone was working on porting KMS/GEM&lt;/a&gt;, that was more than a year ago, and as of today, that work -and I guess it is not an easy one- isn&amp;rsquo;t mature enough to be used as a &lt;strong&gt;work&lt;/strong&gt;station, I need my desktop to run various tools, and not only terminal-based ones.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Un peu de réseau... ou presque</title>
      <link>http://imil.net/blog/posts/2010/un-peu-de-reseau-ou-presque/</link>
      <pubDate>Sat, 09 Oct 2010 10:58:31 +0000</pubDate>
      <guid>http://imil.net/blog/posts/2010/un-peu-de-reseau-ou-presque/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;http://www.nbs-system.com/&#34;&gt;Au boulot&lt;/a&gt;, ce sont des routeurs &lt;a href=&#34;http://www.juniper.net/customers/support/products/j2350.jsp&#34;&gt;Juniper J2350&lt;/a&gt; qui se chargent d&amp;rsquo;acheminer les lutins de l&amp;rsquo;internet vers &lt;a href=&#34;http://www.nbs-system.com/non-classe/architecture-hebergement-nbs-system/&#34;&gt;nos équipements&lt;/a&gt;. Depuis quelques temps, les routeurs en question s&amp;rsquo;occuppent entre autres d&amp;rsquo;annoncer nos plages d&amp;rsquo;IPs grâce au protocole &lt;a href=&#34;http://fr.wikipedia.org/wiki/Border_Gateway_Protocol&#34;&gt;BGP&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;Si l&amp;rsquo;établissement des sessions eBGP avec nos fournisseurs d&amp;rsquo;accès n&amp;rsquo;a posé aucun problème, l&amp;rsquo;établissement de la session iBGP entre nos differents routeurs montrait une charge CPU, mais surtout une consommation mémoire anormales, jusqu&amp;rsquo;à provoquer recemment le crash de l&amp;rsquo;un d&amp;rsquo;entre eux.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Migration dspam/sqlite vers dspam/mysql</title>
      <link>http://imil.net/blog/posts/2008/migration-dspamsqlite-vers-dspammysql/</link>
      <pubDate>Sun, 01 Jun 2008 12:56:15 +0000</pubDate>
      <guid>http://imil.net/blog/posts/2008/migration-dspamsqlite-vers-dspammysql/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;http://imil.net/wp/?p=123&#34;&gt;L&amp;rsquo;année dernière&lt;/a&gt;, je mettais en place &lt;code&gt;dspam&lt;/code&gt;, sur mon serveur dédié. Naïf, je me disais que pour gerer mes propres mails, le backend &lt;code&gt;sqlite&lt;/code&gt; serait amplement suffisant, et finalement tout ce petit monde a parfaitement fonctionné pendant quelques mois. Et puis la database a grossi, grossi, grossi au point d&amp;rsquo;etre lente à crever et provoquer ce type de réaction :&lt;/p&gt;&#xA;&lt;!-- raw HTML omitted --&gt;&#xA;&lt;!-- raw HTML omitted --&gt;&#xA;&lt;p&gt;Après que 2 attaques massives de spams aient écroulé la machine, je me suis enfin décidé à changer de backend&amp;hellip; et la différence est simplement indescriptible.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Voodoo</title>
      <link>http://imil.net/blog/posts/2008/voodoo/</link>
      <pubDate>Sun, 17 Feb 2008 19:21:31 +0000</pubDate>
      <guid>http://imil.net/blog/posts/2008/voodoo/</guid>
      <description>&lt;p&gt;J&amp;rsquo;ai topé ça dans une boutique à Montréal :&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&#34;http://www.oreilly.com/catalog/1593271425/&#34;&gt;&lt;img src=&#34;http://imil.net/blog/gfx/dbr.jpg&#34; alt=&#34;&#34;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;Vraiment pas mal. Si l&amp;rsquo;on possede quelques notions de C et de système, l&amp;rsquo;auteur nous fait manipuler du module kernel FreeBSD dès la 10eme page, et nous apprend à ruser dès la vingtieme. Je regrette qu&amp;rsquo;il soit si petit (à peine 130 pages), j&amp;rsquo;en aurait bien avalé le triple.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Ce ne sont pas ces dro&amp;#xEF;des que vous recherchez.</title>
      <link>http://imil.net/blog/posts/2007/ce-ne-sont-pas-ces-drodes-que-vous-recherchez/</link>
      <pubDate>Sat, 26 May 2007 21:35:15 +0000</pubDate>
      <guid>http://imil.net/blog/posts/2007/ce-ne-sont-pas-ces-drodes-que-vous-recherchez/</guid>
      <description>&lt;p&gt;Sur mon serveur perso, par définition, y&amp;rsquo;a des trucs perso. De plus, &lt;a href=&#34;http://www.lemonde.fr/web/article/0,1-0@2-651865,36-915090@51-886229,0.html&#34;&gt;à l&amp;rsquo;approche d&amp;rsquo;une société nouvelle&lt;/a&gt;, il n&amp;rsquo;est pas superflu de prendre quelques mesures afin de préserver un semblant d&amp;rsquo;intimité.&#xA;Pour cela, les &lt;a href=&#34;http://wp.netscape.com/eng/security/SSL_2.html&#34;&gt;bons génies de l&amp;rsquo;Internet&lt;/a&gt; on créé, il y a bien longtemps, &lt;a href=&#34;http://fr.wikipedia.org/wiki/SSL&#34;&gt;SSL&lt;/a&gt;.&#xA;Mais voila, il y a d&amp;rsquo;autres trucs et bidules que je souhaite pouvoir exposer en place publique. J&amp;rsquo;entreprend donc de jouer avec les directives de &lt;a href=&#34;http://trac.lighttpd.net/trac/wiki/Docs%3AConfigurationOptions&#34;&gt;lighttpd&lt;/a&gt; pour créer des exclusions et autres redirections.&#xA;Le lien qui eclaire tout, c&amp;rsquo;est &lt;a href=&#34;http://trac.lighttpd.net/trac/wiki/HowToRedirectHttpToHttps&#34;&gt;celui là&lt;/a&gt;. En substance, nous allons rediriger tout ce qui matche &lt;em&gt;mon.host.magique&lt;/em&gt; et faire passer ce traffic en SSL.&#xA;Voici la conf :&lt;/p&gt;</description>
    </item>
    <item>
      <title>kimloli, la conf</title>
      <link>http://imil.net/blog/posts/2007/kimloli-la-conf/</link>
      <pubDate>Mon, 21 May 2007 12:26:14 +0000</pubDate>
      <guid>http://imil.net/blog/posts/2007/kimloli-la-conf/</guid>
      <description>&lt;p&gt;y&amp;rsquo;a mon bouquetin et 2/3 autres qui me demandent la conf du kimloli, et plus particulièrement la conf des jails. Voici en quelques mots les divers points clé du bestiau. Rien de super novateur, mais ça me servira aussi de pense bête.&lt;/p&gt;&#xA;&lt;p&gt;Tout d&amp;rsquo;abord, les jails. Ayant fait crouter la machine en utilisant les scripts rc.d fournis, et même si le bug a été corrigé recemment dans la branche FreeBSD 6.2, ça m&amp;rsquo;a refroidi d&amp;rsquo;utiliser les scripts officiels. Sur les conseils du sieur ic, je me suis donc rabattu sur &lt;em&gt;jailctl&lt;/em&gt;, qui permet moult opérations sur les jails. Mon jails.conf ressemble à ceci :&lt;/p&gt;</description>
    </item>
    <item>
      <title>wanna fayne ? yeah i wanna fayne</title>
      <link>http://imil.net/blog/posts/2005/wanna-fayne-yeah-i-wanna-fayne/</link>
      <pubDate>Wed, 28 Dec 2005 15:29:25 +0000</pubDate>
      <guid>http://imil.net/blog/posts/2005/wanna-fayne-yeah-i-wanna-fayne/</guid>
      <description>&lt;p&gt;c&amp;rsquo;est du vil propriétaire, donc je posterai pas ca dans le jardin magique, mais comme je sais que vous etes nombreux à utiliser skype malgré tout, voici un petit howto-skype-on-FreeBSD&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&#34;http://wreak.lynx.ee/skypefreebsd5.html&#34;&gt;Pour FreeBSD 5 / 6&lt;/a&gt;&#xA;&lt;a href=&#34;http://wreak.lynx.ee/skypefreebsd.html&#34;&gt;Pour FreeBSD 4&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;Et si tu te demandes quel peut bien etre l&amp;rsquo;interet de la manip étant donné qu&amp;rsquo;il existe déjà un port, regarde un peu la gueule des fontes par defaut&amp;hellip;&lt;/p&gt;</description>
    </item>
    <item>
      <title>ldap un jour...</title>
      <link>http://imil.net/blog/posts/2005/ldap-un-jour/</link>
      <pubDate>Sat, 22 Oct 2005 13:10:09 +0000</pubDate>
      <guid>http://imil.net/blog/posts/2005/ldap-un-jour/</guid>
      <description>&lt;p&gt;Et c&amp;rsquo;est au tour d&amp;rsquo;apache. Très très simple :&#xA;&lt;code&gt;cd /usr/ports/www/mod_vhost_ldap/ make install clean&lt;/code&gt;&#xA;Si votre apache n&amp;rsquo;est pas compilé avec le support LDAP vous vous ferez insulter.&#xA;À noter que, contrairement à ce que dit le port :&#xA;`&lt;/p&gt;&#xA;&lt;h2 id=&#34;with_ldap----------------enable-ldap-support-mod_auth_ldap-implies-with_ldap_modules&#34;&gt;WITH_LDAP:                Enable LDAP support (mod_auth_ldap) (implies WITH_LDAP_MODULES)&lt;/h2&gt;&#xA;&lt;p&gt;`&#xA;Si je ne place pas explicitement WITH_LDAP=yes &lt;strong&gt;et&lt;/strong&gt; WITH_LDAP_MODULES=yes, je me prend un unresolved symbol au démarrage d&amp;rsquo;apache.&lt;/p&gt;&#xA;&lt;p&gt;Ajoutez maintenant dans votre httpd.conf (dans cet ordre) :&#xA;&lt;code&gt;LoadModule ldap_module  libexec/apache2/mod_ldap.so LoadModule vhost_ldap_module  libexec/apache2/mod_vhost_ldap.so&lt;/code&gt;&#xA;puis&#xA;&lt;code&gt;VhostLDAPEnabled on VhostLDAPUrl &amp;quot;ldap://127.0.0.1/ou=votre,dc=basedn&amp;quot; VhostLdapBindDN &amp;quot;cn=utilisateur,ou=qui,dc=binde&amp;quot; VhostLDAPBindPassword &amp;quot;mot de passe convivial&amp;quot;&lt;/code&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>Henri, sale con</title>
      <link>http://imil.net/blog/posts/2005/henri-sale-con/</link>
      <pubDate>Mon, 17 Oct 2005 15:27:49 +0000</pubDate>
      <guid>http://imil.net/blog/posts/2005/henri-sale-con/</guid>
      <description>&lt;p&gt;Y&amp;rsquo;a un truc qui m&amp;rsquo;a toujours bien fait chier: l&amp;rsquo;impression. Chaipa pourquoi, c&amp;rsquo;est inexpliquable, ca marche juste jamais. Alors comme d&amp;rsquo;hab aujourd&amp;rsquo;hui je me suis pris la tête 2h avant de constater que :&lt;/p&gt;&#xA;&lt;p&gt;. le backend /usr/local/libexec/cups/backend/parallel faisait locker cupsd au démarrage&#xA;. il faut parfois installer /usr/ports/print/foomatic-filters/, et notamment quand ton PPD fait appel à foomatic-rip et fait cracher a ton CUPS des messages aussi explicites que &amp;ldquo;Print file was not accepted (client-error-bad-request)!&amp;rdquo;&lt;/p&gt;</description>
    </item>
    <item>
      <title>chula, chupala</title>
      <link>http://imil.net/blog/posts/2005/chula-chupala/</link>
      <pubDate>Sun, 18 Sep 2005 12:14:54 +0000</pubDate>
      <guid>http://imil.net/blog/posts/2005/chula-chupala/</guid>
      <description>&lt;p&gt;&lt;em&gt;note: cette nouvelle est sujette à modifications en fonction de mon avancement dans la mise en place et la configuration de ma plateforme&lt;/em&gt;&lt;/p&gt;&#xA;&lt;p&gt;Quelques liens glânés de-ci de-la pour monter une plate-forme mail couillue :&lt;/p&gt;&#xA;&lt;p&gt;. &lt;a href=&#34;http://docs.snake.de/smtp-auth.html&#34;&gt;SMTP Auth avec sendmail et FreeBSD&lt;/a&gt;&#xA;. &lt;a href=&#34;http://www.sendmail.org/~ca/email/auth.html&#34;&gt;SMTP Auth, la doc officielle de sendmail.org&lt;/a&gt;&#xA;. &lt;a href=&#34;http://www.asyd.net/docs/sasl.html&#34;&gt;Un overview de l&amp;rsquo;integration SASL par l&amp;rsquo;ami asyd&lt;/a&gt;&#xA;. &lt;a href=&#34;http://www.minivisp.org/docs/install_minivisp_freeebsd_5.html&#34;&gt;l&amp;rsquo;excellent projet MiniVisp de l&amp;rsquo;ami Hug&lt;/a&gt;&#xA;. &lt;a href=&#34;http://www.onlamp.com/pub/a/onlamp/excerpt/sendmailckbk_chap01/&#34;&gt;FABULEUSE doc sur l&amp;rsquo;interfacage sendmail / LDAP&lt;/a&gt;&#xA;. &lt;a href=&#34;http://www.falkotimme.com/howtos/sendmail_smtp_auth_tls/&#34;&gt;Sendmail + Auth + TLS&lt;/a&gt;&#xA;. &lt;a href=&#34;http://www.sendmail.org/m4/starttls.html&#34;&gt;Utilisation de STARTTLS avec sendmail et l&amp;rsquo;accessdb&lt;/a&gt;&#xA;. &lt;a href=&#34;http://www.sendmail.org/~gshapiro/8.10.Training/LDAPConfig.html&#34;&gt;la liste des parametres compris par confLDAP_DEFAULT_SPEC (binddn, password&amp;hellip;)&lt;/a&gt;&#xA;. &lt;a href=&#34;http://netfrag.org/docs/topics/caesar/howto-sendmail_tls-imap_sasl-ldap-kerberosV.html&#34;&gt;à la fin de ce tuto vous trouverez de bons exemples de virtuser LDAP&lt;/a&gt;&#xA;. &lt;a href=&#34;http://www.puresimplicity.net/~hemi/freebsd/sendmail.html&#34;&gt;FreeBSD fast and secure mail server using sendmail and imap-uw (eeeet si)&#xA;. &lt;/a&gt;&lt;a href=&#34;http://www.doorbot.com/guides/sendmail/securemail/&#34;&gt;Secure Email Using Cyrus IMAP, Sendmail, and SASLv2&lt;/a&gt;&#xA;. &lt;a href=&#34;http://www.openldap.org/doc/admin23/quickstart.html&#34;&gt;Le classique mais toujours efficace OpenLDAP QuickStart Guide&lt;/a&gt;&#xA;. &lt;a href=&#34;http://www.cultdeadsheep.org/FreeBSD/docs/Quick_and_dirty_FreeBSD_5_x_and_nss_ldap_mini-HOWTO.html&#34;&gt;Le NSS / PAM LDAP HOWTO pour FreeBSD 5.x&lt;/a&gt;&#xA;. &lt;a href=&#34;http://wiki.bsd-crew.de/index.php/Cyrus-saslauthd_LDAP-Konfiguration&#34;&gt;saslauthd + LDAP&lt;/a&gt;&#xA;. &lt;a href=&#34;http://www.acme.com/mail_filtering/sendmail_config_frameset.html&#34;&gt;Des astuces pour rendre sendmail plus agressif&lt;/a&gt;&#xA;. &lt;a href=&#34;http://www.padl.com/OSS/MigrationTools.html&#34;&gt;les migration tools de padl.com&lt;/a&gt;&#xA;. &lt;a href=&#34;http://www.openldap.org/pub/ksoper/OpenLDAP_TLS_howto.html&#34;&gt;OpenLDAP TLS HOWTO&lt;/a&gt;&#xA;. &lt;a href=&#34;http://www.technoids.org/dk-milter.html&#34;&gt;Installer le milter DomainKey&lt;/a&gt;&#xA;. &lt;a href=&#34;http://www.elandsys.com/resources/sendmail/domainkeys.html&#34;&gt;Encore une doc sur domainkey&lt;/a&gt;&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
