<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Snort_inline on Inliniac</title>
    <link>https://inliniac.net/blog/category/snort_inline/</link>
    <description>Recent content in Snort_inline on Inliniac</description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Tue, 06 Jan 2009 14:26:31 +0000</lastBuildDate>
    <atom:link href="https://inliniac.net/blog/category/snort_inline/feed.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Checking out SourceForge&#39;s Marketplace</title>
      <link>https://inliniac.net/blog/2009/01/06/checking-out-sourceforges-marketplace/</link>
      <pubDate>Tue, 06 Jan 2009 14:26:31 +0000</pubDate>
      <guid>https://inliniac.net/blog/2009/01/06/checking-out-sourceforges-marketplace/</guid>
      <description>&lt;p&gt;I&amp;rsquo;ve registered myself as a seller of services on SourceForge&amp;rsquo;s Open Source &lt;a href=&#34;http://sourceforge.net/services/buy/index.php&#34;&gt;Marketplace&lt;/a&gt;. I&amp;rsquo;ve done so offering software development services for the &lt;a href=&#34;http://www.snort.org/&#34;&gt;Snort&lt;/a&gt;, &lt;a href=&#34;http://snort-inline.sf.net/&#34;&gt;Snort_inline&lt;/a&gt; and &lt;a href=&#34;http://www.vuurmuur.org&#34;&gt;Vuurmuur&lt;/a&gt; projects. I was wondering if anyone has any experience (good or bad) with the Marketplace system, either as a buyer or seller of services. Let me know!&lt;/p&gt;</description>
    </item>
    <item>
      <title>Available for contract work</title>
      <link>https://inliniac.net/blog/2009/01/05/available-for-contract-work/</link>
      <pubDate>Mon, 05 Jan 2009 13:26:06 +0000</pubDate>
      <guid>https://inliniac.net/blog/2009/01/05/available-for-contract-work/</guid>
      <description>&lt;p&gt;This year there will be a lot of work that needs to be done for the &lt;a href=&#34;http://www.openinfosecfoundation.org/&#34;&gt;Open Infosec Foundation&lt;/a&gt;. And like I wrote a few days ago, a lot of work is already being done. However, most of it is unpaid at this time as it will be some months before our funding comes in. So at least until then I&amp;rsquo;m available and looking for contract work.&lt;/p&gt;&#xA;&lt;p&gt;For the last two years I&amp;rsquo;ve been doing work as a contractor in the (open source) security field. My experience is mostly in coding in C and Perl, primarily on &lt;a href=&#34;http://www.snort.org/&#34;&gt;Snort&lt;/a&gt; and &lt;a href=&#34;http://snort-inline.sf.net/&#34;&gt;Snort_inline&lt;/a&gt;. Recently I created the (Perl language) &lt;a href=&#34;http://doc.emergingthreats.net/bin/view/Main/SidReporter&#34;&gt;SidReporter&lt;/a&gt; program for &lt;a href=&#34;http://www.emergingthreats.net/&#34;&gt;Emerging Threats&lt;/a&gt;. Areas I worked in: IPv6 IDS/IPS coding, signature writing, Web Application Firewalls, threading, bandwidth accounting, and more&amp;hellip;&lt;/p&gt;</description>
    </item>
    <item>
      <title>Snort_inline load balancing</title>
      <link>https://inliniac.net/blog/2008/09/18/snort_inline-load-balancing/</link>
      <pubDate>Thu, 18 Sep 2008 11:32:40 +0000</pubDate>
      <guid>https://inliniac.net/blog/2008/09/18/snort_inline-load-balancing/</guid>
      <description>&lt;p&gt;Dave Remien of &lt;a href=&#34;http://www.nitrosecurity.com/&#34;&gt;NitroSecurity&lt;/a&gt; created a patch that &amp;ldquo;implements a relatively simple form of (IPV4) load balancing&amp;rdquo; between multiple Snort_inline processes using Nfqueue. Here is what it does:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;1. Load balancing. The bottom half of the source and dest addresses are added together, and mod&amp;rsquo;d with the number of &amp;ldquo;load-balancing&amp;rdquo; snorts you desire to run. This means that traffic stays with a particular snort, so that state is maintained.&lt;/p&gt;&#xA;&lt;p&gt;2. Because you can run many snorts (presumably on many CPUs), you can now take advantage of that super-hooty 16way box and those 10 gig NICs you just got your hands on&amp;hellip;&lt;/p&gt;</description>
    </item>
    <item>
      <title>Snort_inline updated to 2.8.3 in SVN</title>
      <link>https://inliniac.net/blog/2008/09/16/snort_inline-updated-to-283-in-svn/</link>
      <pubDate>Tue, 16 Sep 2008 21:08:26 +0000</pubDate>
      <guid>https://inliniac.net/blog/2008/09/16/snort_inline-updated-to-283-in-svn/</guid>
      <description>&lt;p&gt;Snort_inline was just updated to Snort 2.8.3 in SVN. Please give it a try. It hasn&amp;rsquo;t seen much testing so far, so be careful when putting it on production servers.&lt;/p&gt;&#xA;&lt;p&gt;Get the code from SVN like this:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;svn co &lt;a href=&#34;https://snort-inline.svn.sourceforge.net/svnroot/snort-inline/trunk&#34;&gt;https://snort-inline.svn.sourceforge.net/svnroot/snort-inline/trunk&lt;/a&gt;&lt;/p&gt;&lt;/blockquote&gt;&#xA;&lt;p&gt;Check it out!&lt;/p&gt;</description>
    </item>
    <item>
      <title>Snort_inline updated to 2.8.2.1 in SVN</title>
      <link>https://inliniac.net/blog/2008/06/18/snort_inline-updated-to-2821-in-svn/</link>
      <pubDate>Wed, 18 Jun 2008 07:41:48 +0000</pubDate>
      <guid>https://inliniac.net/blog/2008/06/18/snort_inline-updated-to-2821-in-svn/</guid>
      <description>&lt;p&gt;This morning I updated our Snort_inline codebase with SourceFire&amp;rsquo;s just released 2.8.2.1 version. See the original changelogs here: &lt;a href=&#34;http://www.snort.org/docs/release_notes/release_notes_281.txt&#34;&gt;2.8.1&lt;/a&gt;, &lt;a href=&#34;http://www.snort.org/docs/release_notes/release_notes_282.txt&#34;&gt;2.8.2&lt;/a&gt;, &lt;a href=&#34;http://www.snort.org/docs/release_notes/release_notes_2821.txt&#34;&gt;2.8.2.1&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;Also Richard Bejtlich and Nr have good posts about the improvements of the last versions. See Richards post about a fixed frag3 vulnerability &lt;a href=&#34;http://taosecurity.blogspot.com/2008/05/snort-evasion-vulnerability-in-frag3.html&#34;&gt;here&lt;/a&gt; and see Nr&amp;rsquo;s post &lt;a href=&#34;http://eatingsecurity.blogspot.com/2008/05/snort-281-changes-and-upgrading.html&#34;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;Please note that our SVN code has seen limited testing so far, so be careful! Please report any issues!&lt;/p&gt;</description>
    </item>
    <item>
      <title>Snort_inline 2.8.2.rc1 in SVN</title>
      <link>https://inliniac.net/blog/2008/05/10/snort_inline-282rc1-in-svn/</link>
      <pubDate>Sat, 10 May 2008 18:24:06 +0000</pubDate>
      <guid>https://inliniac.net/blog/2008/05/10/snort_inline-282rc1-in-svn/</guid>
      <description>&lt;p&gt;Today I&amp;rsquo;ve spent some time on updating the Snort_inline source to the latest 2.8.2.rc1. The updating went quite smooth, so I hope no big issues pop up. Like before, trying out this code can be done by checking out SVN like this:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;svn co &lt;a href=&#34;https://snort-inline.svn.sourceforge.net/svnroot/snort-inline/trunk&#34;&gt;https://snort-inline.svn.sourceforge.net/svnroot/snort-inline/trunk&lt;/a&gt;&lt;/p&gt;&lt;/blockquote&gt;&#xA;&lt;p&gt;This will save the source to the directory &amp;rsquo;trunk&amp;rsquo;. In the directory &amp;rsquo;trunk&amp;rsquo;, run &amp;lsquo;sh autojunk.sh&amp;rsquo; and then configure, make, make install&amp;hellip;&lt;/p&gt;</description>
    </item>
    <item>
      <title>Snort_inline 2.8 status</title>
      <link>https://inliniac.net/blog/2008/02/26/snort_inline-28-status/</link>
      <pubDate>Tue, 26 Feb 2008 17:12:15 +0000</pubDate>
      <guid>https://inliniac.net/blog/2008/02/26/snort_inline-28-status/</guid>
      <description>&lt;p&gt;A while ago I wrote about porting Snort_inline to 2.8.0.1. That worked well, however we are still trying to resolve some issues. Especially in stickydrop, that is just broken right now. Also, SourceFire released 2.8.0.2 last week, so we need to update to that too.&lt;/p&gt;&#xA;&lt;p&gt;First however, I will be traveling to California this week. I will be meeting Will there, so I&amp;rsquo;ll try to get him to fix that damn code ;-)&lt;/p&gt;</description>
    </item>
    <item>
      <title>Improving Snort_inline&#39;s NFQ performance</title>
      <link>https://inliniac.net/blog/2008/01/23/improving-snort_inlines-nfq-performance/</link>
      <pubDate>Wed, 23 Jan 2008 15:27:29 +0000</pubDate>
      <guid>https://inliniac.net/blog/2008/01/23/improving-snort_inlines-nfq-performance/</guid>
      <description>&lt;p&gt;When using Snort_inline with NFQ support, it&amp;rsquo;s likely that at some point you&amp;rsquo;ve seen messages like these on the console: &lt;em&gt;packet recv contents failure: No buffer space available&lt;/em&gt;. When the messages are appearing Snort_inline slows down significantly. I&amp;rsquo;ve been trying to find out why.&lt;/p&gt;&#xA;&lt;p&gt;There are a number of setting that influence NFQ performance. One of them is the NFQ queue maximum length. This is a value in packets. Snort_inline takes an argument to modify the buffer length: &amp;ndash;queue-maxlen 5000 (note: there are two dashes before queue-maxlen).&lt;/p&gt;</description>
    </item>
    <item>
      <title>Tunnel unwrapping for Snort_inline 2.8.0.1</title>
      <link>https://inliniac.net/blog/2008/01/11/tunnel-unwrapping-for-snort_inline-2801/</link>
      <pubDate>Fri, 11 Jan 2008 16:24:37 +0000</pubDate>
      <guid>https://inliniac.net/blog/2008/01/11/tunnel-unwrapping-for-snort_inline-2801/</guid>
      <description>&lt;p&gt;Not many people have native IPv6 connectivity and use some form of tunneling. For this reason Nitro Security asked me to develop a Snort preprocessor to unwrap various tunnels. This resulted in the preprocessor &amp;lsquo;ip6tunnel&amp;rsquo;, which I uploaded to Snort_inline&amp;rsquo;s SVN yesterday. The preprocessor is capable of unwrapping IPv6-in-IPv4, IPv6-in-IPv6, IPv4-in-IPv6, IPv4-in-IPv4 and finally IPv6-over-UDP. The latter is used by Freenet6.&lt;/p&gt;&#xA;&lt;p&gt;I chose to develop it as a preprocessor because this allows Snort to inspect both the original packet and the tunnel packet(s). The preprocessor supports recursive unwrapping. The recursion depth is limited to 3 by default, but can be configured differently. Get the preprocessor from Snort_inline&amp;rsquo;s SVN by checking out the latest trunk:&lt;/p&gt;</description>
    </item>
    <item>
      <title>Snort_inline updated to 2.8.0.1 in SVN</title>
      <link>https://inliniac.net/blog/2008/01/09/snort_inline-updated-to-2801-in-svn/</link>
      <pubDate>Wed, 09 Jan 2008 15:41:19 +0000</pubDate>
      <guid>https://inliniac.net/blog/2008/01/09/snort_inline-updated-to-2801-in-svn/</guid>
      <description>&lt;p&gt;I&amp;rsquo;ve just committed an update to Snort_inline&amp;rsquo;s SVN. It brings it to the Snort 2.8.0.1 level. It supports both IPv4 and IPv6 on IPQ and NFQ. I have not been able to test IPFW on IPv6, so I don&amp;rsquo;t think that will work currently.&lt;/p&gt;&#xA;&lt;p&gt;This update removes the libdnet dependency and replaces it with libnet 1.1. To be able to send ICMPv6 unreachable packets you will need the libnet 1.1 patch I wrote a while ago. You can find that &lt;a href=&#34;http://www.inliniac.net/blog/2007/10/16/libnet-11-ipv6-fixes-and-additions.html&#34;&gt;here&lt;/a&gt;. Get the latest Snort_inline by checking out SVN:&lt;/p&gt;</description>
    </item>
    <item>
      <title>Working on Snort_inline 2.8.0.1</title>
      <link>https://inliniac.net/blog/2007/12/22/working-on-snort_inline-2801/</link>
      <pubDate>Sat, 22 Dec 2007 12:49:20 +0000</pubDate>
      <guid>https://inliniac.net/blog/2007/12/22/working-on-snort_inline-2801/</guid>
      <description>&lt;p&gt;The last week I&amp;rsquo;ve been working on bringing Snort_inline to the Snort 2.8.0.1 level, including it&amp;rsquo;s IPv6 support. I&amp;rsquo;m almost ready to commit it to SVN, there are just some issues I need to fix in the inline specific code. The code will get rid of libdnet and use libnet 1.1 for sending reset/reject packets for both IPv4 and IPv6. After committing I will start working on getting the IPv6 features I wrote for NitroSecurity into this tree. This includes more matches, tunnel decoding (including for example the freenet6 tunnel, etc). So stay tuned!&lt;/p&gt;</description>
    </item>
    <item>
      <title>New Snort_inline TCP window normalization code in SVN</title>
      <link>https://inliniac.net/blog/2007/11/17/new-snort_inline-tcp-window-normalization-code-in-svn/</link>
      <pubDate>Sat, 17 Nov 2007 13:55:38 +0000</pubDate>
      <guid>https://inliniac.net/blog/2007/11/17/new-snort_inline-tcp-window-normalization-code-in-svn/</guid>
      <description>&lt;p&gt;A while ago I &lt;a href=&#34;http://www.inliniac.net/blog/2007/09/04/window-scaling-normalization-in-snort_inline-broken-by-design.html&#34;&gt;wrote&lt;/a&gt; about why the TCP window scaling normalization in Snort_inline was broken by design. I also wrote about a new solution I was working on and testing that would be uploaded to SVN soon. I just committed the patch to SVN. What it does is add two new options to stream4:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;&lt;strong&gt;norm_window&lt;/strong&gt;: normalize the TCP window (disabled by default). This is to protect Snort_inline from being forced to queue too many packets.&#xA;&lt;strong&gt;max_win_size&lt;/strong&gt;: maximum size of the scaled TCP window. Packets increasing the window beyond the limit are modified.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Matt Jonkman leaves Bleeding Edge</title>
      <link>https://inliniac.net/blog/2007/11/17/matt-jonkman-leaves-bleeding-edge/</link>
      <pubDate>Sat, 17 Nov 2007 12:05:56 +0000</pubDate>
      <guid>https://inliniac.net/blog/2007/11/17/matt-jonkman-leaves-bleeding-edge/</guid>
      <description>&lt;p&gt;Matt Jonkman is stepping out of the &lt;a href=&#34;http://www.bleedingthreats.net/&#34;&gt;Bleeding Edge project&lt;/a&gt;. He announced this &lt;a href=&#34;http://www.bleedingthreats.net/index.php/2007/11/17/im-leaving-bleeding-threats/&#34;&gt;here&lt;/a&gt;. Apparently &lt;a href=&#34;http://sensorynetworks.com/&#34;&gt;Sensory Networks&lt;/a&gt;, one of the sponsors of the project, now owns it. It will be interesting to see if they will continue it, and if so, how. Honestly, I&amp;rsquo;m a bit skeptical, since to my knowledge not many Sensory people are directly involved at this moment. Still I believe Sensory consists of good people. I did a contract job for them about a year ago, and enjoyed working with them.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Multiple Snort_inline processes with Vuurmuur</title>
      <link>https://inliniac.net/blog/2007/11/12/multiple-snort_inline-processes-with-vuurmuur/</link>
      <pubDate>Mon, 12 Nov 2007 21:29:58 +0000</pubDate>
      <guid>https://inliniac.net/blog/2007/11/12/multiple-snort_inline-processes-with-vuurmuur/</guid>
      <description>&lt;p&gt;One of the cool things of the &lt;a href=&#34;http://snort-inline.sf.net/&#34;&gt;Snort_inline&lt;/a&gt; project is the support for NFQUEUE. NFQUEUE is the new queuing mechanism to push packets from the kernel to userspace so a userspace program can issue a verdict on it. What makes NFQUEUE cooler than it&amp;rsquo;s predecessor ip_queue is that it supports multiple queue&amp;rsquo;s. This means that there can be more than one Snort_inline process inspecting and judging traffic. The challenge is to make sure that each Snort_inline instance sees all traffic belonging to a certain connection so Snort_inline can do stateful inspection on it. Luckily, &lt;a href=&#34;http://www.vuurmuur.org/&#34;&gt;Vuurmuur&lt;/a&gt; makes it very easy.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Libnet 1.1 IPv6 fixes and additions</title>
      <link>https://inliniac.net/blog/2007/10/16/libnet-11-ipv6-fixes-and-additions/</link>
      <pubDate>Tue, 16 Oct 2007 21:35:11 +0000</pubDate>
      <guid>https://inliniac.net/blog/2007/10/16/libnet-11-ipv6-fixes-and-additions/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;http://www.packetfactory.net/libnet/&#34;&gt;Libnet&lt;/a&gt; is a cool packet crafting tool, used by &lt;a href=&#34;http://www.snort.org/&#34;&gt;Snort&lt;/a&gt; to send TCP reset packets and ICMP unreachable packets as part of active responses. Libnet 1.1 supports IPv6 which is what I needed for my work. After some reading and testing there were a few problems. First, while possible to send TCP reset packets, the packets didn&amp;rsquo;t have a correct checksum and debugging this with valgrind showed lots of memory errors. Second, ICMPv6 was only partly implemented. The libnet_build_* functions for it are missing. This is, by the way, quite a common picture. Many libraries and projects have some support for IPv6, but generally incomplete and less well tested.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Window scaling normalization in Snort_inline broken by design</title>
      <link>https://inliniac.net/blog/2007/09/04/window-scaling-normalization-in-snort_inline-broken-by-design/</link>
      <pubDate>Tue, 04 Sep 2007 15:51:25 +0000</pubDate>
      <guid>https://inliniac.net/blog/2007/09/04/window-scaling-normalization-in-snort_inline-broken-by-design/</guid>
      <description>&lt;p&gt;After debugging some connection problems I found that the wscale normalization concept is flawed. I&amp;rsquo;ll describe here what is wrong with it and then move on to suggest a different solution I&amp;rsquo;m currently testing. The problem I was seeing is that some connections to some webservers stalled without an apparent reason.&lt;/p&gt;&#xA;&lt;p&gt;First a quick reminder of why I originally came up with the wscale normalization. Stream4 originally doesn&amp;rsquo;t look at the window scaling value when determining the TCP window. This causes it to be wrong about the TCP window in about every connection, which is one of the reasons out of window packets are not dropped (this is actually a gaping evasion hole since these packets are not used in stream reassembly). This is why I decided to add window scaling support to the stream4inline extension. This works great and allows the admin to drop out of window packets. There is a problem associated with it though. The maximal window that is possible with wscaling is 1GB. This would mean that Snort_inline would in the worst case have to queue almost 1GB of data in it&amp;rsquo;s buffers for a single stream. To prevent this being used by an attacker to attack Snort_inline, I wanted give the admin the option to set a maximal wscale size.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Snort_inline and out of order packets</title>
      <link>https://inliniac.net/blog/2007/07/30/snort_inline-and-out-of-order-packets/</link>
      <pubDate>Mon, 30 Jul 2007 21:22:56 +0000</pubDate>
      <guid>https://inliniac.net/blog/2007/07/30/snort_inline-and-out-of-order-packets/</guid>
      <description>&lt;p&gt;In Snort_inline&amp;rsquo;s stream4 modifications, one of the changes is that out of order TCP packets are treated differently from unmodified stream4. This can cause some new alerts to appear and some unexpected behaviour. So I&amp;rsquo;ll try to explain what happens here.&lt;/p&gt;&#xA;&lt;p&gt;First of all let me explain quickly what out of order packets are. To put it simple, TCP packets are send out by the source host in a specific order but can arrive in a different order at the destination. Packetloss, link saturation, routing issues are among many things that can cause this. A Snort_inline specific issue is that when Snort_inline can&amp;rsquo;t keep up with the packets it needs to process, it will drop packets which causes packetloss. These packets will then have to be resent by the sending host.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Snort and the GPL version 3</title>
      <link>https://inliniac.net/blog/2007/06/29/snort-and-the-gpl-version-3/</link>
      <pubDate>Fri, 29 Jun 2007 20:21:24 +0000</pubDate>
      <guid>https://inliniac.net/blog/2007/06/29/snort-and-the-gpl-version-3/</guid>
      <description>&lt;p&gt;Today the final version of the &lt;a href=&#34;http://www.gnu.org/licenses/gpl.html&#34;&gt;GPL version 3&lt;/a&gt; was released. This is interesting from many perspectives, and one of them is Snort licensing. Much has been written about Snort and the GPL lately, but that was all about new license language introduced with Snort 3.0 alpha and not about the currently maintained and developed 2.6 and 2.7 branches. When I&amp;rsquo;m talking about Snort here and now, I mean those versions prior to 3.0.&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>TCP Window scaling in Snort_inline</title>
      <link>https://inliniac.net/blog/2007/06/16/tcp-window-scaling-in-snort_inline/</link>
      <pubDate>Fri, 15 Jun 2007 22:04:57 +0000</pubDate>
      <guid>https://inliniac.net/blog/2007/06/16/tcp-window-scaling-in-snort_inline/</guid>
      <description>&lt;p&gt;The TCP window field in the TCP header is only 16 bits, so the maximum window size it can handle is only 64kb. A long time ago this was enough, but nowadays it isn&amp;rsquo;t, by far. Luckily, this is something the window scaling option fixes. Window scaling is very common these days. Your pc or laptop probably uses it by default. Snort&amp;rsquo;s stream4 however, does not support it. This means that when tracking and reassembling streams, Snort for most connections has no idea about what data is in window and which is out of window. To make matters worse, the packets that are in window when using wscaling, but appear out of window when the wscaling is not accounted for, are never used in the reassembly process. This makes Snort evadable.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Snort_inline 2.6.1.5 released</title>
      <link>https://inliniac.net/blog/2007/06/08/snort_inline-2615-released/</link>
      <pubDate>Fri, 08 Jun 2007 12:55:29 +0000</pubDate>
      <guid>https://inliniac.net/blog/2007/06/08/snort_inline-2615-released/</guid>
      <description>&lt;p&gt;Finally, after many months of development and testing, Snort_inline 2.6.1.5 has been released. It&amp;rsquo;s the first stable release in almost a year and also the first stable release based on &lt;a href=&#34;http://www.snort.org&#34;&gt;Snort&lt;/a&gt; 2.6. William sent the announcement:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;&lt;strong&gt;snort_inline-2.6.1.5 released&lt;/strong&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-gdscript3&#34; data-lang=&#34;gdscript3&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;List,&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;I know it has been a long time since we have had a non&lt;span style=&#34;color:#f92672&#34;&gt;-&lt;/span&gt;beta release,&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;but what can I say&lt;span style=&#34;color:#960050;background-color:#1e0010&#34;&gt;?&lt;/span&gt; Victor &lt;span style=&#34;color:#f92672&#34;&gt;and&lt;/span&gt; I have both been busy &lt;span style=&#34;color:#f92672&#34;&gt;in&lt;/span&gt; our personal&#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;and&lt;/span&gt; professional lives&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt; If you have been running the version of code&#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;in&lt;/span&gt; SVN, there are no major updates with this release other than a&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;memleak fix &lt;span style=&#34;color:#66d9ef&#34;&gt;for&lt;/span&gt; stream4inline&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt; I don&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;t think this gets said often&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;enough, so I would like to thank Sourcefire &lt;span style=&#34;color:#66d9ef&#34;&gt;for&lt;/span&gt; all the hard work they&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;put into snort &lt;span style=&#34;color:#f92672&#34;&gt;and&lt;/span&gt; the snort rule sets &lt;span style=&#34;color:#66d9ef&#34;&gt;for&lt;/span&gt; which I &lt;span style=&#34;color:#f92672&#34;&gt;and&lt;/span&gt; the rest of the&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;community greatly benefit&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Regards,&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Will&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;snort_inline&lt;span style=&#34;color:#f92672&#34;&gt;-&lt;/span&gt;&lt;span style=&#34;color:#ae81ff&#34;&gt;2.6&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;&lt;span style=&#34;color:#ae81ff&#34;&gt;1.5&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;http:&lt;span style=&#34;color:#f92672&#34;&gt;//&lt;/span&gt;snort&lt;span style=&#34;color:#f92672&#34;&gt;-&lt;/span&gt;inline&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;sourceforge&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;net&lt;span style=&#34;color:#f92672&#34;&gt;/&lt;/span&gt;download&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;html&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Differences between snort &lt;span style=&#34;color:#f92672&#34;&gt;in&lt;/span&gt; inline mode &lt;span style=&#34;color:#f92672&#34;&gt;and&lt;/span&gt; snort_inline&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;http:&lt;span style=&#34;color:#f92672&#34;&gt;//&lt;/span&gt;www&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;inliniac&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;net&lt;span style=&#34;color:#f92672&#34;&gt;/&lt;/span&gt;blog&lt;span style=&#34;color:#f92672&#34;&gt;/&lt;/span&gt;&lt;span style=&#34;color:#960050;background-color:#1e0010&#34;&gt;?&lt;/span&gt;p&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#ae81ff&#34;&gt;74&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/blockquote&gt;&#xA;&lt;p&gt;Go and get it! :)&lt;/p&gt;</description>
    </item>
    <item>
      <title>Memory leak fixed in stream4inline</title>
      <link>https://inliniac.net/blog/2007/05/22/memory-leak-fixed-in-stream4inline/</link>
      <pubDate>Tue, 22 May 2007 21:54:17 +0000</pubDate>
      <guid>https://inliniac.net/blog/2007/05/22/memory-leak-fixed-in-stream4inline/</guid>
      <description>&lt;p&gt;A few days ago William told me that if he enabled stream4inline on a busy gateway, Snort_inline would consume all memory within hours. The problem went away when disabling stream4inline, so it made sense that the problem would be in there somewhere.&lt;/p&gt;&#xA;&lt;p&gt;The first suspect was the reassembly cache. The reassembly cache is used to keep a per stream copy of the reassembled packet in memory. While being memory expensive, it greatly speeds up the &lt;em&gt;sliding window&lt;/em&gt; stream reassembly process, especially with small packets. The reason for this being the first and primary suspect is that this is the only place where stream4inline code allocates memory. Reviewing the code however, showed no leaks and adding a debug counter to monitor the memory usage also showed that the leak was not in that code.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Snort_inline updated to 2.6.1.5 in SVN</title>
      <link>https://inliniac.net/blog/2007/05/14/snort_inline-updated-to-2615-in-svn/</link>
      <pubDate>Mon, 14 May 2007 20:02:12 +0000</pubDate>
      <guid>https://inliniac.net/blog/2007/05/14/snort_inline-updated-to-2615-in-svn/</guid>
      <description>&lt;p&gt;SourceFire just released Snort 2.6.1.5 so I have updated our patch to that. You can get it by checking out SVN with the following command:&lt;/p&gt;&#xA;&lt;p&gt;svn co &lt;a href=&#34;https://snort-inline.svn.sourceforge.net/svnroot/snort-inline/trunk&#34;&gt;https://snort-inline.svn.sourceforge.net/svnroot/snort-inline/trunk&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;Check it out! :)&lt;/p&gt;</description>
    </item>
    <item>
      <title>Differences between Snort and Snort_inline</title>
      <link>https://inliniac.net/blog/2007/05/14/differences-between-snort-and-snort_inline/</link>
      <pubDate>Mon, 14 May 2007 17:05:41 +0000</pubDate>
      <guid>https://inliniac.net/blog/2007/05/14/differences-between-snort-and-snort_inline/</guid>
      <description>&lt;p&gt;Every few weeks the same question comes up: what is the difference between Snort in inline mode and Snort_inline. This makes sense, because the Snort_inline documentation and website fail to explain it. In this post I will try to highlight the main differences. In general I can say that we try to develop Snort_inline as a patchset on top of Snort. Snort_inline is focused at improving the &lt;em&gt;inline&lt;/em&gt; part of Snort. Originally of course, Snort&amp;rsquo;s &lt;em&gt;inline&lt;/em&gt; capabilities were developed in the Snort_inline project. With Snort 2.3.0RC1 they were merged into mainline Snort.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Snort_inline updated to 2.6.1.4 in SVN</title>
      <link>https://inliniac.net/blog/2007/04/20/snort_inline-updated-to-2614-in-svn/</link>
      <pubDate>Fri, 20 Apr 2007 16:47:33 +0000</pubDate>
      <guid>https://inliniac.net/blog/2007/04/20/snort_inline-updated-to-2614-in-svn/</guid>
      <description>&lt;p&gt;After moving, which went fine, I now finally have some real coding time again. The last week I have been updating and fixing various parts of Snort_inline. The most important change was the update to Snort version 2.6.1.4, which contains security fixes. William also found an issue with the Stream4inline code. The issue was that the memcap that the admin sets to limit the amount of memory used by stream4 wasn&amp;rsquo;t properly enforced.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Snort_inline and TCP Segmentation Offloading</title>
      <link>https://inliniac.net/blog/2007/04/20/snort_inline-and-tcp-segmentation-offloading/</link>
      <pubDate>Fri, 20 Apr 2007 16:36:55 +0000</pubDate>
      <guid>https://inliniac.net/blog/2007/04/20/snort_inline-and-tcp-segmentation-offloading/</guid>
      <description>&lt;p&gt;Since a short while I have a gigabit setup at home. My laptop has a e1000 Intel NIC, my desktop a Broadcom NIC.While playing with Snort_inline and netpipe-tcp, I noticed something odd. I got tcp packets that had the &amp;lsquo;Don&amp;rsquo;t Fragment&amp;rsquo; option set, but were still bigger than the mtu size of the link. Snort_inline read packets of up to 26kb from the queue, and wireshark and tcpdump were seeing the packets as well. This was only for outgoing packets on the e1000 NIC. The receiving pc saw the packets split up in multiple packets that were honoring the mtu size. This got me thinking that some form of offloading must be taking place and indeed this was the case:&lt;/p&gt;</description>
    </item>
    <item>
      <title>New WordPress issue &#43; Snort and ModSecurity rules</title>
      <link>https://inliniac.net/blog/2007/03/20/new-wordpress-issue-modsecurity-rule/</link>
      <pubDate>Tue, 20 Mar 2007 18:03:21 +0000</pubDate>
      <guid>https://inliniac.net/blog/2007/03/20/new-wordpress-issue-modsecurity-rule/</guid>
      <description>&lt;p&gt;I just read about a new issue with &lt;a href=&#34;http://www.wordpress.org/&#34;&gt;WordPress&lt;/a&gt; &lt;a href=&#34;http://www.securityfocus.com/archive/1/463291&#34;&gt;here&lt;/a&gt; at SecurityFocus. It&amp;rsquo;s a potential credential stealing vulnerability, so I quickly created these &lt;a href=&#34;http://www.modsecurity.org&#34;&gt;ModSecurity&lt;/a&gt; 2 rules:&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;SecDefaultAction &amp;ldquo;log,deny,status:403,phase:2,t:lowercase,t:escapeSeqDecode&amp;rdquo;&lt;/strong&gt;&#xA;&lt;strong&gt;SecRule REQUEST_FILENAME &amp;ldquo;/wp-login.php$&amp;rdquo; &amp;ldquo;chain,msg:&amp;lsquo;WORDPRESS wp-login.php redirect_to credentials stealing attempt&amp;rsquo;,severity:2,t:normalisePath&amp;rdquo;&lt;/strong&gt;&#xA;&lt;strong&gt;SecRule ARGS_NAMES &amp;ldquo;^redirect_to$&amp;rdquo; &amp;ldquo;chain&amp;rdquo;&lt;/strong&gt;&#xA;&lt;strong&gt;SecRule ARGS:redirect_to &amp;ldquo;(ht|f)tps?://&amp;rdquo;&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;I can still login to my WordPress install, so it seems that the rule does no harm. Use at your own risk!&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Update&lt;/strong&gt;: I&amp;rsquo;ve created a Snort rule as well:&lt;/p&gt;</description>
    </item>
    <item>
      <title>Experimenting with IPv6</title>
      <link>https://inliniac.net/blog/2007/03/13/experimenting-with-ipv6/</link>
      <pubDate>Tue, 13 Mar 2007 19:04:51 +0000</pubDate>
      <guid>https://inliniac.net/blog/2007/03/13/experimenting-with-ipv6/</guid>
      <description>&lt;p&gt;My &lt;a href=&#34;http://www.xs4all.nl/&#34;&gt;ISP&lt;/a&gt; is one of the few here in the Netherlands that provides a IPv6 tunnel broker. I have played with it some during the last year or so, but now decided to get a little more serious with it. So I&amp;rsquo;ve decided to enable it for my blog. When opening up my site to IPv6 one thing that is important is security. I will describe the status of IPv6 support of my current setup:&lt;/p&gt;</description>
    </item>
    <item>
      <title>Snort_inline in svn updated to 2.6.1.3</title>
      <link>https://inliniac.net/blog/2007/02/22/snort_inline-in-svn-updated-to-2613/</link>
      <pubDate>Thu, 22 Feb 2007 07:59:05 +0000</pubDate>
      <guid>https://inliniac.net/blog/2007/02/22/snort_inline-in-svn-updated-to-2613/</guid>
      <description>&lt;p&gt;This week &lt;a href=&#34;http://www.sourcefire.com/&#34;&gt;SourceFire&lt;/a&gt; published a &lt;a href=&#34;http://www.snort.org/docs/advisory-2007-02-19.html&#34;&gt;security advisory&lt;/a&gt; for (among others) &lt;a href=&#34;http://www.snort.org&#34;&gt;Snort&lt;/a&gt; version 2.6.1.2, on which Snort_inline is based. So I took some time to update Snort_inline. Normally this would have taken Will and me quite some time, but since we switched to using svn those days are gone. I was able to update it in under a hour. I was very happy I blogged about the procedure to follow, since I had already forgotten about it ;-)&lt;/p&gt;</description>
    </item>
    <item>
      <title>Snort_inline 2.6.1.2 BETA 1 released!</title>
      <link>https://inliniac.net/blog/2007/01/23/snort_inline-2612-beta-1-released/</link>
      <pubDate>Tue, 23 Jan 2007 15:52:00 +0000</pubDate>
      <guid>https://inliniac.net/blog/2007/01/23/snort_inline-2612-beta-1-released/</guid>
      <description>&lt;p&gt;William Metcalf has finally released the new Snort_inline version we have been working on so hard, the first release of our code against Snort 2.6. The last release was in June 2006.&lt;/p&gt;&#xA;&lt;p&gt;Of course, we continue to lag behind SourceFire, as they just released 2.7.0 BETA 1, but I have good hope that we will be able to keep up a little bit better the following time!&lt;/p&gt;&#xA;&lt;p&gt;Anyway, get the release from the SourceForge &lt;a href=&#34;http://sourceforge.net/project/showfiles.php?group_id=78497&amp;amp;package_id=219144&amp;amp;release_id=480637&#34;&gt;download section&lt;/a&gt;!&lt;/p&gt;</description>
    </item>
    <item>
      <title>Snort_inline patch updated to 2.6.1.2</title>
      <link>https://inliniac.net/blog/2007/01/17/snort_inline-patch-updated-to-2612/</link>
      <pubDate>Wed, 17 Jan 2007 11:55:34 +0000</pubDate>
      <guid>https://inliniac.net/blog/2007/01/17/snort_inline-patch-updated-to-2612/</guid>
      <description>&lt;p&gt;With the recent Snort vulnerabilities we had to make a choice if we would backport the fixes to our Snort_inline 2.6.0.2 patch or that we would upgrade to 2.6.1.2. Upgrading makes most sense since &lt;a href=&#34;http://www.sourcefire.com/&#34;&gt;SourceFire&lt;/a&gt; improves Snort with every release, but since the upgrade process has been very painful the last couple of releases, we weren&amp;rsquo;t really looking forward to it.&lt;/p&gt;&#xA;&lt;p&gt;Earlier I wrote about my testing with &lt;a href=&#34;http://www.inliniac.net/blog/?p=60&#34;&gt;Subversion for Snort_inline&lt;/a&gt;, and I found out that using Subversion made the upgrade procedure much easier and much less time consuming. So upgrading it was. Generally there were little changes to the Snort_inline patch required.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Setting up Subversion for Snort_inline</title>
      <link>https://inliniac.net/blog/2007/01/17/setting-up-subversion-for-snort_inline/</link>
      <pubDate>Wed, 17 Jan 2007 11:02:31 +0000</pubDate>
      <guid>https://inliniac.net/blog/2007/01/17/setting-up-subversion-for-snort_inline/</guid>
      <description>&lt;p&gt;A reason for the slow development of Snort_inline is that we still weren&amp;rsquo;t using a version control system. Being sick of this, I decided to setup a private Subversion server to see how we could best use it. One thing that complicates the use of such a system is the fact that we maintain a patch on top of source code not maintained by ourselves. So the system must be able to deal with upstream sourcecode updates.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Snort_inline 2.6 development update</title>
      <link>https://inliniac.net/blog/2006/12/23/snort_inline-26-development-update/</link>
      <pubDate>Sat, 23 Dec 2006 00:35:58 +0000</pubDate>
      <guid>https://inliniac.net/blog/2006/12/23/snort_inline-26-development-update/</guid>
      <description>&lt;p&gt;Development of Snort_inline 2.6 experienced a bit of a setback when William and I discovered that the new Stream4inline had some issues with detecting certain attacks. Since we are scanning the reassembled stream certain detection plugins didn&amp;rsquo;t work as expected. Basically every detection plugin that uses absolute offsets from the packet start is messed up when we scan the reassembled stream only.&lt;/p&gt;&#xA;&lt;p&gt;This is because the start of the reassembled stream doesn&amp;rsquo;t match with the start of the last packet added to this stream. Most TCP sigs are using offsets match against the start of the stream, or relative matches. For example a rule like:&lt;/p&gt;</description>
    </item>
    <item>
      <title>Snort_inline: good article in hackin9 magazine</title>
      <link>https://inliniac.net/blog/2006/12/05/snort_inline-good-article-in-hackin9-magazine/</link>
      <pubDate>Tue, 05 Dec 2006 21:50:28 +0000</pubDate>
      <guid>https://inliniac.net/blog/2006/12/05/snort_inline-good-article-in-hackin9-magazine/</guid>
      <description>&lt;p&gt;William pointed me at a nice introductionary article in &lt;a href=&#34;http://en.hakin9.org/content/display/77&#34;&gt;Hackin9 magazine&lt;/a&gt; about setting up and running Snort_inline in various scenarios. Written by Pierpaolo Palazzoli and Matteo Valenza. Worth a read!&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&#34;http://en.hakin9.org/attachments/hakin9_6-2006_str22-33_snort_EN.pdf&#34;&gt;http://en.hakin9.org/attachments/hakin9_6-2006_str22-33_snort_EN.pdf&lt;/a&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>Detecting and blocking Phishing with Snort and ClamAV</title>
      <link>https://inliniac.net/blog/2006/11/12/detecting-and-blocking-phishing-with-snort-and-clamav/</link>
      <pubDate>Sun, 12 Nov 2006 18:12:31 +0000</pubDate>
      <guid>https://inliniac.net/blog/2006/11/12/detecting-and-blocking-phishing-with-snort-and-clamav/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;http://www.clamav.net/&#34;&gt;ClamAV&lt;/a&gt; is a great Open Source virusscanner that can be used for detecting virusses from &lt;a href=&#34;http://www.snort.org/&#34;&gt;Snort&lt;/a&gt; or &lt;a href=&#34;http://snort-inline.sf.net/&#34;&gt;Snort_inline&lt;/a&gt; using the &lt;a href=&#34;http://www.bleedingthreats.net/staticpages/index.php?page=snort-clamav&#34;&gt;ClamAV preprocessor&lt;/a&gt;. However, by using the anti-phishing and anti-scam signatures by &lt;a href=&#34;http://www.sanesecurity.com/clamav/&#34;&gt;SaneSecurity&lt;/a&gt;, this combination can also be used to detect and block phishing and scam attempts. Here is how to set it up.&lt;/p&gt;&#xA;&lt;p&gt;I&amp;rsquo;ve decided to run this on my gateway, which is a slow machine. Because I don&amp;rsquo;t want all my traffic to slow down to much, I&amp;rsquo;m not going to run the ClamAV defs, only the anti-phishing ones. The default location of the defs on my Debian Sarge system is /var/lib/clamav, so I&amp;rsquo;ve created a new directory called &amp;lsquo;/var/lib/clamav-phish&amp;rsquo;. Next I&amp;rsquo;ve downloaded the defs from &lt;a href=&#34;http://www.sanesecurity.com/clamav/downloads.htm&#34;&gt;SaneSecurity&lt;/a&gt;. After unzipping them and the defs were ready.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Update on Snort_inline 2.6.0.2 development</title>
      <link>https://inliniac.net/blog/2006/11/10/update-on-snort_inline-2602-development/</link>
      <pubDate>Fri, 10 Nov 2006 11:54:11 +0000</pubDate>
      <guid>https://inliniac.net/blog/2006/11/10/update-on-snort_inline-2602-development/</guid>
      <description>&lt;p&gt;I have spend the last week trying to find a very annoying bug that caused Snort_inline to go into 100% CPU on certain traffic. It kept working, only my P3 500Mhz home gateway slowed down to between 2kb/s and 25kb/s, while normally it handles the full 325kb/s for my DSL line at around 25% CPU.&lt;/p&gt;&#xA;&lt;p&gt;Snort comes with a number of performance measurement options. In 2.6 &amp;ndash;enable-perfprofiling was introduced. Also, &amp;ndash;enable-profile builds Snort for use with gprof. Next to those you can use strace and ltrace with the -c option to see the ammount of time spend in the several functions.&lt;/p&gt;&#xA;&lt;p&gt;I already knew the problem was related to my new Stream4 code, since running Snort_inline without the &amp;lsquo;stream4inline&amp;rsquo; option made the problem go away. So my performance debugging and code reviews were focussed on that code. However, the performance statistics showed no functions that took large ammounts of time in Stream4.&lt;/p&gt;&#xA;</description>
    </item>
    <item>
      <title>New ClamAV patch for Snort 2.6.0.2</title>
      <link>https://inliniac.net/blog/2006/11/06/new-clamav-patch-for-snort-2602/</link>
      <pubDate>Mon, 06 Nov 2006 08:11:50 +0000</pubDate>
      <guid>https://inliniac.net/blog/2006/11/06/new-clamav-patch-for-snort-2602/</guid>
      <description>&lt;p&gt;Okay, so i&amp;rsquo;m &lt;a href=&#34;http://marc.theaimsgroup.com/?l=snort-users&amp;amp;m=116278345729435&amp;amp;w=2&#34;&gt;fired at patch making&lt;/a&gt; because I screwed up the last patch. I never bothered to test it with Snort in inline-mode. This didn&amp;rsquo;t work because we included all kinds of specific features for Snort_inline into the preprocessor. I have updated the patch.&lt;/p&gt;&#xA;&lt;p&gt;Get it here: &lt;a href=&#34;http://www.inliniac.net/files/061106-snort-2.6.0.2-clamav.diff.gz&#34;&gt;http://www.inliniac.net/files/061106-snort-2.6.0.2-clamav.diff.gz&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;Will, am I re-hired now? Pretty please??? ;-)&lt;/p&gt;</description>
    </item>
    <item>
      <title>Rules for reported Tikiwiki vulnerabilities</title>
      <link>https://inliniac.net/blog/2006/11/02/rules-for-reported-tikiwiki-vulnerabilities/</link>
      <pubDate>Thu, 02 Nov 2006 11:02:52 +0000</pubDate>
      <guid>https://inliniac.net/blog/2006/11/02/rules-for-reported-tikiwiki-vulnerabilities/</guid>
      <description>&lt;p&gt;Yesterday there was a mail to the bugtraq mailinglist about two types of vulnerabilties in Tikiwiki 1.9.5. The most serious is a claimed MySQL password disclosure through a special URI. The second is an XSS, also through an special URI. The message can be found &lt;a href=&#34;http://www.securityfocus.com/archive/1/450268/30/0&#34;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;I wrote &amp;lsquo;claimed password disclosure&amp;rsquo;, because on the Tikiwiki server I run, I could not reproduce it. With that I mean the password disclosure, since I do see that Tikiwiki gives an error that reveals other information, most notably the location of the website on the local filesystem.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Snort_inline: getting closer to 2.6.0.2</title>
      <link>https://inliniac.net/blog/2006/10/30/snort_inline-getting-closer-to-2602/</link>
      <pubDate>Sun, 29 Oct 2006 22:40:29 +0000</pubDate>
      <guid>https://inliniac.net/blog/2006/10/30/snort_inline-getting-closer-to-2602/</guid>
      <description>&lt;p&gt;I&amp;rsquo;m back from my vacation which was very nice. Hardly did any geek stuff, other than meeting up with Philippe, who lives in Paris. It was the first time I met someone I got to know through the Vuurmuur project :)&lt;/p&gt;&#xA;&lt;p&gt;So with Snort_inline things aren&amp;rsquo;t moving as fast as I hoped, but there is certainly progress. I&amp;rsquo;m currently hunting for a few bugs. First of all I&amp;rsquo;ve seen it segfault on me once. Sadly I had forgotten to enable coredumps, so no clue as of why. Second, William and I have been ironing out some issues where the new stream4 mode was getting mixed up with the old. I think these are pretty much taken care of now. Third, there is a bug where an unified alert fired by http_inspect doesn&amp;rsquo;t contain a payload. Finally, i&amp;rsquo;m hunting what appears to be a heisenbug in the new stream reassembly, because I&amp;rsquo;ve never encountered it since I&amp;rsquo;m actually looking for it.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Snort_inline: running Snort_inline 2.6.0.2</title>
      <link>https://inliniac.net/blog/2006/10/05/snort_inline-running-snort_inline-2602/</link>
      <pubDate>Thu, 05 Oct 2006 08:13:29 +0000</pubDate>
      <guid>https://inliniac.net/blog/2006/10/05/snort_inline-running-snort_inline-2602/</guid>
      <description>&lt;p&gt;No, it&amp;rsquo;s not released. But it wil be soon&amp;hellip; really!&lt;/p&gt;&#xA;&lt;p&gt;William has done most of the hard work of porting our Snort_inline patch from 2.4.5 to 2.6. I have mostly been working on improving the stream4inline modification. I have written about this &lt;a href=&#34;http://www.inliniac.net/blog/?p=3&#34;&gt;before&lt;/a&gt;. Like the stream4inline modification in Snort_inline 2.4.5 it scans the stream in a sliding window, making it possible to drop an attack detected in the reassembled stream. The new code does the same but is much faster, at the cost of higher memory usage.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Sguil: full content logging in combination with Snort_inline, revisited *again*</title>
      <link>https://inliniac.net/blog/2006/08/10/sguil-full-content-logging-in-combination-with-snort_inline-revisited-again/</link>
      <pubDate>Wed, 09 Aug 2006 23:54:33 +0000</pubDate>
      <guid>https://inliniac.net/blog/2006/08/10/sguil-full-content-logging-in-combination-with-snort_inline-revisited-again/</guid>
      <description>&lt;p&gt;Note to self: never assume something works, instead, test it.&lt;/p&gt;&#xA;&lt;p&gt;Yesterday there was some discussion in the #snort channel over whether or not passing multiple interface to snort works or not. As a reminder, &lt;a href=&#34;http://www.inliniac.net/blog/?p=9&#34; title=&#34;Sguil: full content logging in combination with Snort_inline, revisited&#34;&gt;some time ago&lt;/a&gt; i noted that passing two interfaces to snort like this: &amp;lsquo;snort -i eth0:eth1&amp;rsquo; worked just fine. However, &lt;em&gt;common&lt;/em&gt; mentioned in irc that he could not imagine it to be working. Determined to proof him wrong, i decided to run a few test. On my gateway, i ran &amp;lsquo;snort -v -i eth0:eth1 ip proto 1&amp;rsquo;. This should print all ICMP packets to the screen for both interfaces. The first clue that something wasn&amp;rsquo;t right was this message:&lt;/p&gt;</description>
    </item>
    <item>
      <title>Sguil: full content logging in combination with Snort_inline, revisited</title>
      <link>https://inliniac.net/blog/2006/07/30/sguil-full-content-logging-in-combination-with-snort_inline-revisited/</link>
      <pubDate>Sun, 30 Jul 2006 17:02:51 +0000</pubDate>
      <guid>https://inliniac.net/blog/2006/07/30/sguil-full-content-logging-in-combination-with-snort_inline-revisited/</guid>
      <description>&lt;p&gt;A few days ago i wrote about some challenges that my Snort_inline presented. Especially the full content logging wasn&amp;rsquo;t working quite as i would have liked. Logging on pseudo device &amp;lsquo;any&amp;rsquo; didn&amp;rsquo;t work right because then the traffic that was NAT-ted was both recorded before NAT and after NAT. The solution I (with help of #snort-gui) came up with was using &amp;lsquo;-i any&amp;rsquo; anyway, but exclude my public ip using a BPF filter. Later i saw Joel Esler write the solution in a unrelated problem to someone else. Sometimes solutions can be so simple!&lt;/p&gt;</description>
    </item>
    <item>
      <title>Sguil: full content logging in combination with Snort_inline</title>
      <link>https://inliniac.net/blog/2006/07/26/sguil-full-content-logging-in-combination-with-snort_inline/</link>
      <pubDate>Wed, 26 Jul 2006 19:44:06 +0000</pubDate>
      <guid>https://inliniac.net/blog/2006/07/26/sguil-full-content-logging-in-combination-with-snort_inline/</guid>
      <description>&lt;p&gt;Just spend some time trying to get the transcripts part of Sguil working with my Snort_inline sensor. Without an obvious clue it returned no data for every alert that was received. After much trial and error, and especially much help by Bamm Visscher on IRC, i noticed that i recorded the full packet data from my ppp0 device. Then i remembered issues i had before with that, namely that the logging occurs after NAT. Snort_inline however, gets the packets from the system before NAT. That results in a mismatch causing the sensor not to be able to provide the transcript requested. Changing the interface to record the full packets from to eth0 solved the problem!&lt;/p&gt;</description>
    </item>
    <item>
      <title>Snort_inline: idea for an improved bait-and-switch</title>
      <link>https://inliniac.net/blog/2006/07/11/snort_inline-idea-for-an-improved-bait-and-switch/</link>
      <pubDate>Mon, 10 Jul 2006 22:13:09 +0000</pubDate>
      <guid>https://inliniac.net/blog/2006/07/11/snort_inline-idea-for-an-improved-bait-and-switch/</guid>
      <description>&lt;p&gt;William Metcalf recently wrote a bait-and-switch plugin for Snort_inline. The idea is that when a rule matches on certain traffic this plugin loads an iptables rule into the system that redirects the offending host to another server. This can present the user an error message such as &amp;ldquo;Access Denied&amp;rdquo; for example, but this server can also have al kinds of sniffing tools, or even be a honeypot.&lt;/p&gt;&#xA;&lt;p&gt;As the plugin currently creates an iptables rule it only works with linux. Also, it has some difficulty with existing iptables rulesets that might be maintained by other programs, such as my own Vuurmuur. My idea is to investigate whether or not it is possible to simply do the redirection in Snort_inline itself. By rewriting the ipaddress in the IP header, it might work as well. Naturally, this would need to be done for every packet, but with a connection to either the flow engine or the stream engine, this should be able to work&amp;hellip; just a thought&amp;hellip;&lt;/p&gt;</description>
    </item>
    <item>
      <title>Snort_inline: Adapting the TCP stream reassembler</title>
      <link>https://inliniac.net/blog/2006/07/10/snort_inline-adapting-the-tcp-stream-reassembler/</link>
      <pubDate>Mon, 10 Jul 2006 16:34:25 +0000</pubDate>
      <guid>https://inliniac.net/blog/2006/07/10/snort_inline-adapting-the-tcp-stream-reassembler/</guid>
      <description>&lt;p&gt;Currently I am rewriting a modification of the TCP reassembler in Snort_inline. Snort&amp;rsquo;s TCP reassembler is called Stream4 and it works fairly well in IDS mode, however it has some serious issues in &lt;em&gt;inline&lt;/em&gt; mode. The biggest and most important issue is that Snort_inline cannot block an attack if it is detected in the reassembled stream. In Snort_inline 2.4 we made our first attempt to fix this with the &lt;em&gt;stream4inline&lt;/em&gt; modification.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
