From: Krystian <optimusprime@o2.pl>
To: Tomasz Macioszek <tomekm@cea.pl>
Cc: Netfilter <netfilter@lists.netfilter.org>
Subject: Re: how to block p2p
Date: Thu, 11 Mar 2004 14:27:51 +0100 [thread overview]
Message-ID: <40506957.8050609@o2.pl> (raw)
In-Reply-To: <001201c40744$1f34a190$2a245cc2@cea05>
Tomasz Macioszek wrote:
>Hello!!
>I would like to block all known p2p program ( Kazaa, eDonkey, ...). I would
>like to find patch of iptables (p-o-m) which blocks all this programs??
>
>Thanks for your help
>Tomek
>
>
maybe ill write some tutorial :D
protecting from P2P is difficult, all depends on you users skillz :)
couple things I do:
- dont block normal P2P ports. it wont solve much becouse the user or
the program (kazaa automaticly) changes ports to avoid such block.
besides if you dont block the port you can easily spot P2P connections
in program like IPTRAF(which helps diagnosing)
- do QoS on your router forcing every packet from HTTP.. to have
prioroty over nonstandart ports.
- to filter connections on normal ports(HTTPS) use layer-7 filters like
squid (for http,ftp and https), for other programs (SMTP,POP3,NEWS...)
user layer-7 filters
- this should help you squash around 95% of downloaders. the other 5%
you r going to slay using IPTRAF+normal user punishing :D
One more thing which is the good. P2P programs like to use a lot of
connections. Limit number of connections per user to lets say 20-30 (im
guessing here :). this is the easyiest to do with a proper Iptables
filter :)
p.s.
sorry for my english
Krystian Antoni Szybis
tez Polak :D
next prev parent reply other threads:[~2004-03-11 13:27 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-11 8:37 how to block p2p Tomasz Macioszek
2004-03-11 9:01 ` Ray Leach
2004-03-11 8:59 ` Antony Stone
2004-03-11 9:21 ` Eric Leblond
[not found] ` <003301c40749$b68e4280$2a245cc2@cea05>
2004-03-11 9:26 ` Antony Stone
2004-03-11 9:39 ` Alexander Samad
2004-03-11 10:17 ` Kristian Hald
2004-03-11 9:10 ` Antony Stone
2004-03-11 9:38 ` Alexander Samad
2004-03-11 13:27 ` Krystian [this message]
2004-03-11 14:47 ` Kristian Hald
2004-03-11 18:00 ` Bob Keyes
2004-04-05 15:05 ` Michael Gale
2004-04-05 15:09 ` Michael Gale
-- strict thread matches above, loose matches on Subject: below --
2004-03-11 11:27 Babar Kazmi
2004-03-11 11:45 ` Antony Stone
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=40506957.8050609@o2.pl \
--to=optimusprime@o2.pl \
--cc=netfilter@lists.netfilter.org \
--cc=tomekm@cea.pl \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox