<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>Advogato blog for gavinb</title>
    <link>http://www.advogato.org/person/gavinb/</link>
    <description>Advogato blog for gavinb</description>
    <language>en-us</language>
    <generator>mod_virgule</generator>
    <pubDate>Sun, 7 Sep 2008 11:40:48 GMT</pubDate>
    <item>
      <pubDate>Wed, 2 Jan 2002 03:35:53 GMT</pubDate>
      <title>2 Jan 2002</title>
      <link>http://www.advogato.org/person/gavinb/diary.html?start=0</link>
      <guid>http://www.advogato.org/person/gavinb/diary.html?start=0</guid>
      <description>&lt;b&gt;Some progress at last!&lt;/b&gt;
&lt;p&gt;
I've finally got myself focusing on project work, rather
than randomly surfing the net and being constantly
distracted by tangential things. (It seems to be a summer
thing.)
&lt;p&gt;
So now, I've actually started real work on my &lt;a
href="http://www.pyrewall.org/"&gt;Pyrewall&lt;/a&gt; project. 
Basically it's a personal firewall for Linux.  I'm aiming to
develop something like ZoneAlarm, only with a better
interface (ZA has some nice features, but the UI sucks IMHO).
&lt;p&gt;
I'm taking firewall rules from the O'Reilly book "Building
Internet Firewalls", and writing them in a new spec language
to actually make them readable.  I considered XML, but it
was a PITA to write in, and shell scripts that call ipchains
are to low level.  So basically I've designed a high-level
firewall specification language.  I've now written a parser
for it, and I'm about to hook it up to some Python code.
&lt;p&gt;
I've also written a kernel module which does rule-based
validation of socket calls.  It hooks into the socket
syscall and intercepts calls to &lt;tt&gt;connect()&lt;/tt&gt; and
&lt;tt&gt;listen()&lt;/tt&gt;, and will refuse or allow based on the
rules (which are currently hardcoded for testing).  Then I
obviously have to hook up the front end rules and the back
end kernel module, which is the subject of my current
research.  I'm looking at using something like netlink
currently.
&lt;p&gt;
I should really start posting some code - I've got a
SourceForge project and I've registered a domain.  Now
there's actually some code there, I'm going to do the "publish
early and often" thing...
</description>
    </item>
  </channel>
</rss>
