<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Vim on To Linux and beyond !</title>
    <link>https://home.regit.org/tags/vim/</link>
    <description>Recent content in Vim on To Linux and beyond !</description>
    <generator>Hugo</generator>
    <language>fr</language>
    <lastBuildDate>Mon, 27 Jun 2011 06:31:31 +0000</lastBuildDate>
    <atom:link href="https://home.regit.org/feed/tags/vim/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Playing a bit with vim macros</title>
      <link>https://home.regit.org/2011/06/playing-a-bit-with-vim-macros/</link>
      <pubDate>Mon, 27 Jun 2011 06:31:31 +0000</pubDate>
      <guid>https://home.regit.org/2011/06/playing-a-bit-with-vim-macros/</guid>
      <description>&lt;p&gt;During one of my recent coding, I had to modify a signature file for suricata. The file was looking like this:&lt;/p&gt;
&lt;pre&gt;alert pkthdr any any -&gt; any any (msg:&#34;SURICATA ICMPv4 unknown code&#34;; decode-event:icmpv4.unknown_code; sid:2200024; rev:1;)
alert pkthdr any any -&gt; any any (msg:&#34;SURICATA ICMPv4 truncated packet&#34;; decode-event:icmpv4.ipv4_trunc_pkt; sid:2200025; rev:1;)
alert pkthdr any any -&gt; any any (msg:&#34;SURICATA ICMPv4 unknown version&#34;; decode-event:icmpv4.ipv4_unknown_ver; sid:2200026; rev:1;)
alert pkthdr any any -&gt; any any (msg:&#34;SURICATA ICMPv6 packet too small&#34;; decode-event:icmpv6.pkt_too_small; sid:2200027; rev:1;)
alert pkthdr any any -&gt; any any (msg:&#34;SURICATA ICMPv6 unknown type&#34;; decode-event:icmpv6.unknown_type; sid:2200028; rev:1;)
alert pkthdr any any -&gt; any any (msg:&#34;SURICATA ICMPv6 unknown code&#34;; decode-event:icmpv6.unknown_code; sid:2200029; rev:1;)&lt;/pre&gt;
&lt;p&gt;The modification was to decrease the number behind &amp;lt;em&amp;lt;sid&lt;/em&gt; by 24 for each signatures.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
