Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Jul 2006 19:10:16 -0500
From:      "Travis H." <solinym@gmail.com>
To:        "Rajkumar S" <rajkumars@gmail.com>
Cc:        freebsd-pf@freebsd.org
Subject:   Re: Program to add/delete a rule from pf
Message-ID:  <d4f1333a0607191710h11de539bt5d9fec059aba1247@mail.gmail.com>
In-Reply-To: <64de5c8b0607182335q4fae2ed9w233f2ea6438504ad@mail.gmail.com>
References:  <64de5c8b0607181030h64d7d539r788ba7bbc6841e4d@mail.gmail.com> <200607181950.10304.max@love2party.net> <d4f1333a0607181750x4304cf63v60e5abd7b643ff6b@mail.gmail.com> <64de5c8b0607182335q4fae2ed9w233f2ea6438504ad@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 7/19/06, Rajkumar S <rajkumars@gmail.com> wrote:
> Thanks for the link, but there are couple of problems preventing me
> from using it.

> 1. ... Zope and Twisted

A valid concern, they are a bit much for the task.  Strictly speaking,
it's only the ZopeInterface code, and the base Twisted code, but yeah,
it's a bit bulky overall.

> 2. The license of the code does not permit me to contribute it back to
> snortsam, which BSD licenced.

You can certainly take the example script and make a similar one
without violating it... of course, then users would have to use
dfd_keeper to take advantage of the script.  The license is not set in
stone; my current feeling is that if nobody will pay me to do earn a
living, then they don't deserve the fruits of my obsession^W largesse.
 One day everything I wrote was BSD-licensed, but a prolonged period
of unemployment left me relatively bitter.

> btw, is there any other program (other than pfctl) that interfaces
> with pf using ioctl to add a rule (not a table entry) so that I can
> look into the code?

Check out these links for possibilities:
http://www.benzedrine.cx/pf.html
https://solarflux.org/pf/
-- 
``I am not a pessimist.  To perceive evil where it exists is, in my
opinion, a form of optimism.'' -- Roberto Rossellini
http://www.lightconsulting.com/~travis/ -><-
GPG fingerprint: 9D3F 395A DAC5 5CCC 9066  151D 0A6B 4098 0C55 1484



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d4f1333a0607191710h11de539bt5d9fec059aba1247>