From: Ray Leach <raymondl@knowledgefactory.co.za>
To: Netfilter Mailing List <netfilter@lists.netfilter.org>
Subject: Re: Do I need to write a module?
Date: 24 Jun 2003 08:57:25 +0200 [thread overview]
Message-ID: <1056437845.2764.57.camel@raylinux.internal> (raw)
In-Reply-To: <sef70417.087@mail.stone-ware.com>
[-- Attachment #1: Type: text/plain, Size: 1503 bytes --]
Hi
Why don't you get the Java app to export some kind of text that you can
get netfilter to parse with regular unix utilities (sed, awk, grep).
Create a cron job to parse the file every 10 minutes (if that's regular
enough) that parses the text file and reloads your iptables rules as per
the file.
Ray
On Mon, 2003-06-23 at 20:43, Tony Thompson wrote:
> I am investigating an option to use netfilter to allow/deny traffic from
> the local subnet based on rules/accounting information that is in
> another (Java based) system. I am new to netfilter so, I can someone
> offer some suggestions:
>
> 1. Is netfilter the right place to hook or should I look at a firewall
> that may provide some higher level hooks for authentication and
> accounting?
>
> 2. If I should hook into netfilter, is it a good idea to call into a
> JVM from a netfilter module?
>
> 3. I am not sure what kind of control I have when using the userspace
> driver but, should I use that in this situation? Can I use that
> directly from Java so I wouldn't have the hassel of calling into a JVM
> from a native process?
>
> If anyone can offer any other suggestions or examples, that would be
> appreciated.
>
> Thanks.
> Tony
--
--
Raymond Leach <raymondl@knowledgefactory.co.za>
Network Support Specialist
http://www.knowledgefactory.co.za
"lynx -source http://www.rchq.co.za/raymondl.asc | gpg --import"
Key fingerprint = 7209 A695 9EE0 E971 A9AD 00EE 8757 EE47 F06F FB28
--
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2003-06-24 6:57 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-23 18:43 Do I need to write a module? Tony Thompson
2003-06-24 6:57 ` Ray Leach [this message]
2003-06-25 9:02 ` Ralf Spenneberg
-- strict thread matches above, loose matches on Subject: below --
2003-06-24 15:22 Tony Thompson
2003-06-24 15:55 ` Ramin Dousti
2003-06-24 16:08 Tony Thompson
[not found] <sef83134.026@mail.stone-ware.com>
2003-06-24 17:30 ` Ramin Dousti
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1056437845.2764.57.camel@raylinux.internal \
--to=raymondl@knowledgefactory.co.za \
--cc=netfilter@lists.netfilter.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.