<?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>LateX on To Linux and beyond !</title>
    <link>https://home.regit.org/tags/latex/</link>
    <description>Recent content in LateX on To Linux and beyond !</description>
    <generator>Hugo</generator>
    <language>fr</language>
    <lastBuildDate>Tue, 23 Oct 2012 18:04:11 +0000</lastBuildDate>
    <atom:link href="https://home.regit.org/feed/tags/latex/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Display suricata signatures in Latex</title>
      <link>https://home.regit.org/2012/10/display-suricata-signatures-in-latex/</link>
      <pubDate>Tue, 23 Oct 2012 18:04:11 +0000</pubDate>
      <guid>https://home.regit.org/2012/10/display-suricata-signatures-in-latex/</guid>
      <description>&lt;p href=&#34;http://en.wikibooks.org/wiki/LaTeX/Packages/Listings&#34;&gt;
  lstlisting&lt;/a&gt; is a convenient way to display code when using latex. It has no definition for suricata rules language and I&amp;#8217;ve cooked one:
&lt;/p&gt;
&lt;pre&gt;\lstdefinelanguage{suricata}
{morekeywords= {alert, tcp, http, tls, ip, ipv4, ipv4, drop, pass, sid, priority, rev, classtype, threshold, metadata, reference, tag, msg, content, uricontent, pcre, ack, seq, depth, distance, within, offset, replace, nocase, fast\_pattern, rawbytes, byte\_test, byte\_jump, sameip, ip\_proto, flow, window, ftpbounce, isdataat, id, rpc, dsize, flowvar, flowint, pktvar, noalert, flowbits, stream\_size, ttl, itype, icode, tos, icmp\_id, icmp\_seq, detection\_filter, ipopts, flags, fragbits, fragoffset, gid, nfq\_set\_mark, tls.version, tls.subject, tls.issuerdn, tls.fingerprint, tls.store, http\_cookie, http\_method, urilen, http\_client\_body, http\_server\_body, http\_header, http\_raw\_header, http\_uri, http\_raw\_uri, http\_stat\_msg, http\_stat\_code, http\_user\_agent, ssh.protoversion, ssh.softwareversion, ssl\_version, ssl\_state, byte\_extract, file\_data, dce\_iface, dce\_opnum, dce\_stub\_data, asn1, filename, fileext, filestore, filemagic, filemd5, filesize, l3\_proto, luajit},
otherkeywords={ipv4-csum, tcpv4-csum, tcpv6-csum, udpv4-csum, udpv6-csum, icmpv4-csum, icmpv6-csum, decode-event, app-layer-event, engine-event, stream-event},
sensitive=true,
morecomment=[l]{//},
morecomment=[s]{/*}{*/},
morestring=[b]&#34;,
}
&lt;/pre&gt;
&lt;p&gt;To use it, you can simply add this code at start of your tex file and you can then use it:&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
