From: Jonas Berlin <xkr47@outerspace.dyndns.org>
To: Nick Hay <nickjhay@hotmail.com>
Cc: netfilter-devel@lists.netfilter.org
Subject: Re: Extending LOG target to display pid
Date: Thu, 07 Jul 2005 06:32:19 +0000 [thread overview]
Message-ID: <42CCCC73.50902@outerspace.dyndns.org> (raw)
In-Reply-To: <42CB1E31.1000802@hotmail.com>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quoting Nick Hay on 2005-07-05 23:56 UTC:
> My original intention was to replicate some part of Windows' ZoneAlarm
> package: the ability to recognise which program was asking for access,
> and to filter based on that. Noticing a strange packet that was blocked
> by my filter on outgoing ports, and not being able to find out where it
> came from was the immediate motivation :)
I made this kind of program some years ago ; it pops up a window if some
yet-unknown program tries to access anything.. You then have the options
to create a rule on-the-fly if you want or just accept/reject that
specific packet. It uses the QUEUE target of iptables which sends the
whole packet to userspace. I have tweaked the kernel code to send the
PID as well. This whole thing has only been tested with outgoing
connections, and it worked well.
It isn't user-friendly like ZoneAlarm, but it sure is hacker-friendly :)
I have three clients implemented, one text-based (for desperate console
hacking), one gtk-based written in C and one java-gnome-based (gtk
wrapper lib for java) written in Java. The Java one has the most
features. It would probably not be too hard to rewrite the java version
for some other toolkit like Swing or SWT.
Here's some screenshots, the first one from the java-gnome version and
the second from the C-gtk version:
http://xkr47.outerspace.dyndns.org/tmp/firefly-java-1.png
http://xkr47.outerspace.dyndns.org/tmp/firewall-layout-5.png
If you are interested I could pack it up for you..
- --
- - xkr47
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFCzMxxxyF48ZTvn+4RAo/VAJ9Rxw8mc483cOMz/zvvWlGikz7ycACeIuWN
/yLfUiUvzg7pcKJHwDeb/gY=
=UALz
-----END PGP SIGNATURE-----
next prev parent reply other threads:[~2005-07-07 6:32 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-05 23:56 Extending LOG target to display pid Nick Hay
2005-07-07 6:32 ` Jonas Berlin [this message]
-- strict thread matches above, loose matches on Subject: below --
2005-07-05 16:05 Nick Hay
2005-07-05 17:28 ` Tobias DiPasquale
2005-07-05 18:05 ` Juha Heljoranta
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=42CCCC73.50902@outerspace.dyndns.org \
--to=xkr47@outerspace.dyndns.org \
--cc=netfilter-devel@lists.netfilter.org \
--cc=nickjhay@hotmail.com \
/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.