From: "Tony Thompson" <tony.thompson@stone-ware.com>
To: ramin@cannon.eng.us.uu.net
Cc: netfilter@lists.netfilter.org
Subject: Re: Do I need to write a module?
Date: Tue, 24 Jun 2003 11:08:16 -0500 [thread overview]
Message-ID: <sef83134.027@mail.stone-ware.com> (raw)
So, to do the HTTP redirect before authentication, it sounds like I will
need a module or ????
What is the best way to control netfilter from Java, JNI or ????
This type of project is certain to have tricky little issues lurking
about but, should be interesting!
>>> Ramin Dousti <ramin@cannon.eng.us.uu.net> 06/24/03 10:55AM >>>
On Tue, Jun 24, 2003 at 10:22:52AM -0500, Tony Thompson wrote:
> Thanks for the response. Maybe I should give a better picture of
what I
> am trying to do. I have a private network that I am trying to route
> through a Linux box. I want to deny all traffic (from a MAC
address)
> until a user authenticates, with their browser, to a Java application
on
> the Linux server (when they authenticate, something has to happen to
let
> netfilter know that the MAC address is allowed to pass). There has
to
> be some level of coordination at that point between the Java app and
> netfilter so that session timeouts, etc. can be handled. I would
like
> to have all of this happen as close to real time (i.e. not batched)
as
> possible.
>
> After writing this out, maybe I don't even need a module but, just a
> way to control netfilter from a Java app. I am still open to
> suggestions...
Yes, what you need is to control netfilter from a Java app.
Before the authentication, redirect his web traffic to your java app.
After the authentication, remove the MAC restriction for the client,
add the necessary rules for his service.
Also, I'd implement some kind of timer to go off after certain period
of inactivity and remove the permission of his MAC.
It sounds easy but I'm sure it's gonna be fun implementing it ;-)
Ramin
>
> Thanks.
> Tony
next reply other threads:[~2003-06-24 16:08 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-24 16:08 Tony Thompson [this message]
[not found] <sef83134.026@mail.stone-ware.com>
2003-06-24 17:30 ` Do I need to write a module? Ramin Dousti
-- 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-23 18:43 Tony Thompson
2003-06-24 6:57 ` Ray Leach
2003-06-25 9:02 ` Ralf Spenneberg
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=sef83134.027@mail.stone-ware.com \
--to=tony.thompson@stone-ware.com \
--cc=netfilter@lists.netfilter.org \
--cc=ramin@cannon.eng.us.uu.net \
/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.