From: Ray Leach <raymondl@knowledgefactory.co.za>
To: Netfilter Mailing List <netfilter@lists.netfilter.org>
Subject: Re: how to filter applications with iptables
Date: 26 Jun 2003 09:21:13 +0200 [thread overview]
Message-ID: <1056612072.1474.10.camel@raylinux.internal> (raw)
In-Reply-To: <20030626070125.065CEC11A@postfix4-2.free.fr>
[-- Attachment #1: Type: text/plain, Size: 1424 bytes --]
There are verious ways to 'block' packets from unwanted apps. Some use
netfilter some don't.
You can block mime types using a squid proxy.
You can block arbitrary strings in packets using the string match
support in the P-O-M for netfilter, e.g. -m string --string 'KAZAA'
Most applications use specific ports and protocols, so you could find a
combination of those and block the app that way, e.g. MSN messenger uses
TCP port 1863
Some apps need to contact a central server, so blocking that server will
effectively disable the app, e.g. Yahoo messenger.
Regards
Ray
On Thu, 2003-06-26 at 10:03, Liber Chrétien wrote:
> Hello,
> I've been looking for some information but couldn't find, so here it goes, I'm asking
> to the list : (excuse my technical english if I'm not clear enough)
>
> I've a LAN at home with mdk as server and win and mdk on the clients
>
> My question is : is there a way to block certain applications, such as specific
> softwares (office suite for example), to access internet with iptables?
> How to identify the packets emitted from such applications and block them ?
>
> Thanks
>
> Bruno
>
--
--
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-26 7:21 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-26 8:03 how to filter applications with iptables Liber =?unknown-8bit?q?Chr=E9tien?=
2003-06-26 7:19 ` Cedric Blancher
2003-06-26 7:21 ` Ray Leach [this message]
2003-06-26 7:25 ` Joel Newkirk
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=1056612072.1474.10.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.