<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Ubuntu on Inliniac</title>
    <link>https://inliniac.net/blog/category/ubuntu/</link>
    <description>Recent content in Ubuntu on Inliniac</description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Thu, 27 Feb 2014 11:48:39 +0000</lastBuildDate>
    <atom:link href="https://inliniac.net/blog/category/ubuntu/feed.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>tcpreplay on Intel 82576</title>
      <link>https://inliniac.net/blog/2014/02/27/tcpreplay-on-intel-82576/</link>
      <pubDate>Thu, 27 Feb 2014 11:48:39 +0000</pubDate>
      <guid>https://inliniac.net/blog/2014/02/27/tcpreplay-on-intel-82576/</guid>
      <description>&lt;p&gt;For my Suricata QA setup, I&amp;rsquo;m using tcpreplay on a dual port gigabit NIC. The idea is to blast out packets on one port and then have Suricata listen on the other part.&lt;/p&gt;&#xA;&lt;p&gt;For the traffic replay I&amp;rsquo;m using tcpreplay 3.4.4 from the Ubuntu archive. As I have a lot of pcaps to process I intend to use the &amp;ndash;topspeed option to keep runtimes as low as possible. This will result in approximately ~500Mbps on this box, as the pcaps come from a nas.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Vuurmuur 0.8rc1 released</title>
      <link>https://inliniac.net/blog/2013/01/25/vuurmuur-0-8rc1-released/</link>
      <pubDate>Fri, 25 Jan 2013 16:45:34 +0000</pubDate>
      <guid>https://inliniac.net/blog/2013/01/25/vuurmuur-0-8rc1-released/</guid>
      <description>&lt;p&gt;&lt;img src=&#34;https://inliniac.net/blog/blog/wp-content/uploads/2012/08/vuurmuur-connview-small.png&#34; alt=&#34;&#34;&gt;I just released a new &lt;a href=&#34;http://www.vuurmuur.org&#34;&gt;Vuurmuur&lt;/a&gt; version: 0.8rc1. The first release candidate for the 0.8 series. This release improves IPv6 support a lot. The wizard is now also fully functional. Try &amp;ldquo;vuurmuur_conf &amp;ndash;wizard&amp;rdquo;.&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Improved IPv6 support: #115&lt;/li&gt;&#xA;&lt;li&gt;Improved Debian packages, switching to nflog as default for logging.&lt;/li&gt;&#xA;&lt;li&gt;Fix connection viewer not showing accounting on newer systems. #141&lt;/li&gt;&#xA;&lt;li&gt;Amd64 packages for Debian and Ubuntu are now available through the apt server. #83&lt;/li&gt;&#xA;&lt;li&gt;Switch from &amp;ldquo;state&amp;rdquo; match to &amp;ldquo;conntrack&amp;rdquo; match for connection tracking.&lt;/li&gt;&#xA;&lt;li&gt;Services now support possible protocols. #63&lt;/li&gt;&#xA;&lt;li&gt;Add support for rpfilter match. #137&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;Get this release from the ftp server:&#xA;&lt;a href=&#34;ftp://ftp.vuurmuur.org/releases/0.8rc1/Vuurmuur-0.8rc1.tar.gz&#34;&gt;ftp://ftp.vuurmuur.org/releases/0.8rc1/Vuurmuur-0.8rc1.tar.gz&lt;/a&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>IPv6 Evasions, Scanners and the importance of staying current</title>
      <link>https://inliniac.net/blog/2012/12/11/ipv6-evasions-scanners-and-the-importance-of-staying-current/</link>
      <pubDate>Tue, 11 Dec 2012 16:13:49 +0000</pubDate>
      <guid>https://inliniac.net/blog/2012/12/11/ipv6-evasions-scanners-and-the-importance-of-staying-current/</guid>
      <description>&lt;p&gt;Lots of activity on the IPv6 front lately. There was a talk on a conference on bypassing IDS using IPv6 tricks. Also a new scan tool (Topera) claimed to scan a host while staying below the radar of an IDS was released. To start with the latter, even though Suricata doesn&amp;rsquo;t have a dedicated port scan detector, the tool&amp;rsquo;s traffic lights up like a Christmas tree. The trick it pulls is to pack a lot of duplicate DST OPTS extension headers in the IPv6 packets. These options are just fillers, the only options they use are the &amp;ldquo;pad&amp;rdquo; option. In Suricata we&amp;rsquo;ve had an event for duplicate DST OPTS headers since 1.3 and the padding only headers generate an event in 1.4. Both alerts will be very noisy, so calling this a stealth attack rather dubious.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Speeding up Suricata with tcmalloc</title>
      <link>https://inliniac.net/blog/2010/10/21/speeding-up-suricata-with-tcmalloc/</link>
      <pubDate>Thu, 21 Oct 2010 12:10:33 +0000</pubDate>
      <guid>https://inliniac.net/blog/2010/10/21/speeding-up-suricata-with-tcmalloc/</guid>
      <description>&lt;p&gt;&amp;rsquo;tcmalloc&amp;rsquo; is a library Google created as part of the &lt;a href=&#34;http://code.google.com/p/google-perftools/&#34;&gt;google-perftools suite&lt;/a&gt; for speeding up memory handling in a threaded program. It&amp;rsquo;s very simple to use and does work fine with Suricata. Don&amp;rsquo;t expect magic from it, but it should give you a few percent more speed.&lt;/p&gt;&#xA;&lt;p&gt;On Ubuntu, install the libtcmalloc-minimal0 package:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;apt-get install libtcmalloc-minimal0&lt;/p&gt;&lt;/blockquote&gt;&#xA;&lt;p&gt;Then run Suricata as follows (on a single line):&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;LD_PRELOAD=&amp;quot;/usr/lib/libtcmalloc_minimal.so.0&amp;quot; ./src/suricata -c suricata.yaml -i eth0&lt;/p&gt;</description>
    </item>
    <item>
      <title>Setting up Suricata 0.9.0 for initial use on Ubuntu Lucid 10.04</title>
      <link>https://inliniac.net/blog/2010/05/10/setting-up-suricata-0-9-0-for-initial-use-on-ubuntu-lucid-10-04/</link>
      <pubDate>Mon, 10 May 2010 14:27:25 +0000</pubDate>
      <guid>https://inliniac.net/blog/2010/05/10/setting-up-suricata-0-9-0-for-initial-use-on-ubuntu-lucid-10-04/</guid>
      <description>&lt;p&gt;The last few days I blogged about compiling Suricata in &lt;a href=&#34;http://www.inliniac.net/blog/2010/05/07/compiling-suricata-0-9-0-in-ubuntu-lucid-10-04-in-ids-mode.html&#34;&gt;IDS&lt;/a&gt; and &lt;a href=&#34;http://www.inliniac.net/blog/2010/05/07/compiling-suricata-0-9-0-in-ubuntu-lucid-10-04-in-ips-inline-mode.html&#34;&gt;IPS&lt;/a&gt; mode. Today I&amp;rsquo;ll write about how to set it up for first use.&lt;/p&gt;&#xA;&lt;p&gt;Starting with Suricata 0.9.0 the engine can run as an unprivileged user. For this create a new user called &amp;ldquo;suricata&amp;rdquo;.&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;useradd &amp;ndash;no-create-home &amp;ndash;shell /bin/false &amp;ndash;user-group &amp;ndash;comment &amp;ldquo;Suricata IDP account&amp;rdquo; suricata&lt;/p&gt;&lt;/blockquote&gt;&#xA;&lt;p&gt;This command will create a user and group called &amp;ldquo;suricata&amp;rdquo;. It will be unable to login as the shell is set to /bin/false.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Compiling Suricata 0.9.0 in Ubuntu Lucid 10.04 in IPS (inline) mode</title>
      <link>https://inliniac.net/blog/2010/05/07/compiling-suricata-0-9-0-in-ubuntu-lucid-10-04-in-ips-inline-mode/</link>
      <pubDate>Fri, 07 May 2010 08:30:30 +0000</pubDate>
      <guid>https://inliniac.net/blog/2010/05/07/compiling-suricata-0-9-0-in-ubuntu-lucid-10-04-in-ips-inline-mode/</guid>
      <description>&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; the difference with the &lt;a href=&#34;http://www.inliniac.net/blog/2010/05/01/compiling-suricata-0-8-2-in-ubuntu-lucid-10-04-in-ips-inline-mode.html&#34;&gt;0.8.2 post&lt;/a&gt; is that addition of libcap-ng-dev. This allows Suricata to run as an unprivileged user.&lt;/p&gt;&#xA;&lt;p&gt;Here is how to compile Suricata 0.9.0 in &lt;em&gt;inline mode&lt;/em&gt; on Ubuntu Lucid 10.04.&lt;/p&gt;&#xA;&lt;p&gt;First, make sure you have the &amp;ldquo;universe&amp;rdquo; repository enabled. Go to the System menu, Administration, Software Sources. There enable &amp;ldquo;Community-maintained Open Source Software (universe)&amp;rdquo;. If you&amp;rsquo;re not running a gui, edit /etc/apt/sources.list and enable the universe repository there. Don&amp;rsquo;t forget doing an &amp;ldquo;apt-get update&amp;rdquo;.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Compiling Suricata 0.9.0 in Ubuntu Lucid 10.04 in IDS mode</title>
      <link>https://inliniac.net/blog/2010/05/07/compiling-suricata-0-9-0-in-ubuntu-lucid-10-04-in-ids-mode/</link>
      <pubDate>Fri, 07 May 2010 08:16:53 +0000</pubDate>
      <guid>https://inliniac.net/blog/2010/05/07/compiling-suricata-0-9-0-in-ubuntu-lucid-10-04-in-ids-mode/</guid>
      <description>&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; the difference with the &lt;a href=&#34;http://www.inliniac.net/blog/2010/04/30/compiling-suricata-0-8-2-in-ubuntu-lucid-10-04-in-ids-mode.html&#34;&gt;0.8.2 post&lt;/a&gt; is that addition of libcap-ng-dev. This allows Suricata to run as an unprivileged user.&lt;/p&gt;&#xA;&lt;p&gt;Ubuntu Lucid 10.04 LTS looks like a good platform for running an IDS on. It&amp;rsquo;s up to date and has long term support. Here is how to compile and install Suricata 0.9.0 on it.&lt;/p&gt;&#xA;&lt;p&gt;Install the following packages needed to build Suricata: libpcre3-dev libpcap-dev libyaml-dev zlib1g-dev libcap-ng-dev.&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;apt-get install libpcre3-dev libpcap-dev libyaml-dev zlib1g-dev libcap-ng-dev&lt;/p&gt;</description>
    </item>
    <item>
      <title>Compiling Suricata 0.8.2 in Ubuntu Lucid 10.04 in IPS (inline) mode</title>
      <link>https://inliniac.net/blog/2010/05/01/compiling-suricata-0-8-2-in-ubuntu-lucid-10-04-in-ips-inline-mode/</link>
      <pubDate>Sat, 01 May 2010 19:45:12 +0000</pubDate>
      <guid>https://inliniac.net/blog/2010/05/01/compiling-suricata-0-8-2-in-ubuntu-lucid-10-04-in-ips-inline-mode/</guid>
      <description>&lt;p&gt;Yesterday I &lt;a href=&#34;http://www.inliniac.net/blog/2010/04/30/compiling-suricata-0-8-2-in-ubuntu-lucid-10-04-in-ids-mode.html&#34;&gt;wrote&lt;/a&gt; about how to compile and install Suricata 0.8.2 as an IDS on Ubuntu Lucid 10.04, today I&amp;rsquo;ll explain the steps to compile and install it as an IPS. In IPS mode the engine runs in &lt;em&gt;inline&lt;/em&gt; mode. This means that it gets it&amp;rsquo;s packets from &lt;a href=&#34;http://www.netfilter.org/&#34;&gt;netfilter&lt;/a&gt; and sets a verdict on them after inspecting them. This way we can drop packets that trigger the rules.&lt;/p&gt;&#xA;&lt;p&gt;First, make sure you have the &amp;ldquo;universe&amp;rdquo; repository enabled. Go to the System menu, Administration, Software Sources. There enable &amp;ldquo;Community-maintained Open Source Software (universe)&amp;rdquo;. If you&amp;rsquo;re not running a gui, edit /etc/apt/sources.list and enable the universe repository there. Don&amp;rsquo;t forget doing an &amp;ldquo;apt-get update&amp;rdquo;.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Compiling Suricata 0.8.2 in Ubuntu Lucid 10.04 in IDS mode</title>
      <link>https://inliniac.net/blog/2010/04/30/compiling-suricata-0-8-2-in-ubuntu-lucid-10-04-in-ids-mode/</link>
      <pubDate>Fri, 30 Apr 2010 18:35:51 +0000</pubDate>
      <guid>https://inliniac.net/blog/2010/04/30/compiling-suricata-0-8-2-in-ubuntu-lucid-10-04-in-ids-mode/</guid>
      <description>&lt;p&gt;The newly released Ubuntu Lucid 10.04 LTS looks like a good platform for running an IDS on. It&amp;rsquo;s up to date and has long term support. Here is how to compile and install Suricata 0.8.2 on it.&lt;/p&gt;&#xA;&lt;p&gt;Install the following packages needed to build Suricata: libpcre3-dev libpcap-dev libyaml-dev zlib1g-dev.&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;apt-get install libpcre3-dev libpcap-dev libyaml-dev zlib1g-dev&lt;/p&gt;&lt;/blockquote&gt;&#xA;&lt;p&gt;Download Suricata 0.8.2 &lt;a href=&#34;http://www.openinfosecfoundation.org/download/suricata-0.8.2.tar.gz&#34;&gt;here&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;Extract the suricata-0.8.2.tar.gz file as follows:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;tar xzvf suricata-0.8.2.tar.gz&lt;/p&gt;&lt;/blockquote&gt;&#xA;&lt;p&gt;Enter the extracted directory suricata-0.8.2.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Fixing noise on Ubuntu Hardy 8.04, aka setting max_cstate</title>
      <link>https://inliniac.net/blog/2008/07/25/fixing-noise-on-ubuntu-hardy-804-aka-setting-max_cstate/</link>
      <pubDate>Thu, 24 Jul 2008 22:46:30 +0000</pubDate>
      <guid>https://inliniac.net/blog/2008/07/25/fixing-noise-on-ubuntu-hardy-804-aka-setting-max_cstate/</guid>
      <description>&lt;p&gt;Not security related at all, but it took me so much time to figure this out, I want to share this with the world!&lt;/p&gt;&#xA;&lt;p&gt;I own a Lenovo Thinkpad T60 that I like very much. There is one annoyance, and that is that when on battery, the laptop produces a high pitched noise when idle. It turns out that this has something to do with the ACPI state. States of C3 and higher made my laptop produce the noise. In Ubuntu Gutsy 7.10 there was a simple solution. I could force the laptop to never use anything higher that C2. That was done like this:&lt;/p&gt;</description>
    </item>
    <item>
      <title>Sguil 0.7-CVS client on Ubuntu Gutsy</title>
      <link>https://inliniac.net/blog/2007/10/30/sguil-07-cvs-client-on-ubuntu-gutsy/</link>
      <pubDate>Tue, 30 Oct 2007 16:11:29 +0000</pubDate>
      <guid>https://inliniac.net/blog/2007/10/30/sguil-07-cvs-client-on-ubuntu-gutsy/</guid>
      <description>&lt;p&gt;Last week I installed Ubuntu Gutsy on my laptop. I did a clean install, which went fine. Of course, I needed the Sguil client on it as well. Gutsy has all the required libraries in it&amp;rsquo;s repositories. Install the following packages:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;tcl8.4&#xA;tclx8.4&#xA;tcllib&#xA;tk8.4&#xA;iwidgets4&lt;/p&gt;&lt;/blockquote&gt;&#xA;&lt;p&gt;Checking out the Sguil client is easy (make sure you have &amp;lsquo;cvs&amp;rsquo; installed):&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;cvs -d:pserver:anonymous@sguil.cvs.sourceforge.net:/cvsroot/sguil login&#xA;cvs -d:pserver:anonymous@sguil.cvs.sourceforge.net:/cvsroot/sguil co sguil&lt;/p&gt;&lt;/blockquote&gt;&#xA;&lt;p&gt;After this the client runs fine on my system.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Update on Sguil 0.7-CVS client on Ubuntu Feisty</title>
      <link>https://inliniac.net/blog/2007/07/04/update-on-sguil-07-cvs-client-on-ubuntu-feisty/</link>
      <pubDate>Wed, 04 Jul 2007 17:10:56 +0000</pubDate>
      <guid>https://inliniac.net/blog/2007/07/04/update-on-sguil-07-cvs-client-on-ubuntu-feisty/</guid>
      <description>&lt;p&gt;A short time ago I wrote about how the Sguil 0.7-CVS client can be installed on Ubuntu Feisty. Since then there has been a change to Sguil that changes the requirements a bit. Because of this the standard tcllib package in Feisty is no longer usable. It provides tcllib 1.8 while Sguil now needs 1.9. Luckily, we can use the tcllib package from the upcoming Ubuntu release called &amp;lsquo;Gutsy&amp;rsquo;. It can be found here: &lt;a href=&#34;http://packages.ubuntu.com/gutsy/interpreters/tcllib&#34;&gt;http://packages.ubuntu.com/gutsy/interpreters/tcllib&lt;/a&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>Compiling Snort_inline with NFQUEUE support on Ubuntu</title>
      <link>https://inliniac.net/blog/2007/06/26/compiling-snort_inline-with-nfqueue-support-on-ubuntu/</link>
      <pubDate>Tue, 26 Jun 2007 15:59:21 +0000</pubDate>
      <guid>https://inliniac.net/blog/2007/06/26/compiling-snort_inline-with-nfqueue-support-on-ubuntu/</guid>
      <description>&lt;p&gt;I needed to setup the right libraries for Snort_inline development on my fresh Ubuntu Feisty installation, so I decided to write down the procedure for those who think compiling Snort_inline from source is hard. :)&lt;/p&gt;&#xA;&lt;p&gt;Make sure you have build-essential package installed. This makes sure you have a compiler and development packages for glibc and other important libraries. I&amp;rsquo;m installing the libraries from source to get the latest versions because the latest versions are more stable and perform better than the versions included in Feisty. I&amp;rsquo;m installing them into /usr because some programs like them there best.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Sguil 0.7-CVS client on Ubuntu Feisty</title>
      <link>https://inliniac.net/blog/2007/06/19/sguil-07-cvs-client-on-ubuntu-feisty/</link>
      <pubDate>Tue, 19 Jun 2007 09:49:08 +0000</pubDate>
      <guid>https://inliniac.net/blog/2007/06/19/sguil-07-cvs-client-on-ubuntu-feisty/</guid>
      <description>&lt;p&gt;I just got a new workstation that I&amp;rsquo;m setting up today with Ubuntu Feisty 7.04. When setting up the Sguil client from CVS I needed to install the following packages (including dependencies, but apt-get takes care of that):&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;tcl8.4&#xA;tclx8.4&#xA;tcllib&#xA;tk8.4&#xA;iwidgets4&lt;/p&gt;&lt;/blockquote&gt;&#xA;&lt;p&gt;After this it ran but looked horrible because of some ugly font that was used. I found that for my use the following fonts look good:&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
