2004-02-14 19:06:39 +01:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2008-07-07 22:42:54 +02:00
|
|
|
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd">
|
2004-02-14 19:06:39 +01:00
|
|
|
<article id="Shorewall_and_Kazaa">
|
|
|
|
<!--$Id$-->
|
|
|
|
|
|
|
|
<articleinfo>
|
|
|
|
<title>Kazaa Filtering</title>
|
|
|
|
|
|
|
|
<authorgroup>
|
|
|
|
<author>
|
|
|
|
<firstname>Tom</firstname>
|
|
|
|
|
|
|
|
<surname>Eastep</surname>
|
|
|
|
</author>
|
|
|
|
</authorgroup>
|
|
|
|
|
2006-07-07 03:04:16 +02:00
|
|
|
<pubdate><?dbtimestamp format="Y/m/d"?></pubdate>
|
2004-02-14 19:06:39 +01:00
|
|
|
|
|
|
|
<copyright>
|
2005-06-02 16:08:57 +02:00
|
|
|
<year>2003-2005</year>
|
2004-02-14 19:06:39 +01:00
|
|
|
|
|
|
|
<holder>Thomas M. Eastep</holder>
|
|
|
|
</copyright>
|
|
|
|
|
|
|
|
<legalnotice>
|
|
|
|
<para>Permission is granted to copy, distribute and/or modify this
|
|
|
|
document under the terms of the GNU Free Documentation License, Version
|
|
|
|
1.2 or any later version published by the Free Software Foundation; with
|
2023-01-19 23:17:25 +01:00
|
|
|
no Invariant Sections, no Front-Cover Texts, and no Back-Cover
|
2004-02-14 19:06:39 +01:00
|
|
|
Texts. A copy of the license is included in the section entitled
|
2004-09-24 00:50:12 +02:00
|
|
|
<quote><ulink url="GnuCopyright.htm">GNU Free Documentation
|
|
|
|
License</ulink></quote>.</para>
|
2004-02-14 19:06:39 +01:00
|
|
|
</legalnotice>
|
|
|
|
</articleinfo>
|
|
|
|
|
2005-09-04 01:03:06 +02:00
|
|
|
<caution>
|
|
|
|
<para><emphasis role="bold">This article applies to Shorewall 3.0 and
|
|
|
|
later. If you are running a version of Shorewall earlier than Shorewall
|
|
|
|
3.0.0 then please see the documentation for that
|
|
|
|
release.</emphasis></para>
|
|
|
|
</caution>
|
|
|
|
|
2004-02-14 19:06:39 +01:00
|
|
|
<para>Beginning with Shorewall version 1.4.8, Shorewall can interface to
|
|
|
|
ftwall. <emphasis role="bold">ftwall</emphasis> is part of the <ulink
|
|
|
|
url="http://p2pwall.sourceforge.net">p2pwall project</ulink> and is a
|
|
|
|
user-space filter for applications based on the <quote>Fast Track</quote>
|
|
|
|
peer to peer protocol. Applications using this protocol include Kazaa,
|
|
|
|
KazaaLite, iMash and Grokster.</para>
|
|
|
|
|
|
|
|
<para>To filter traffic from your <quote>loc</quote> zone with ftwall, you
|
2005-09-04 01:03:06 +02:00
|
|
|
insert the following rules in the ESTABLISHED section of
|
|
|
|
/etc/shorewall/rules file after any DROP or REJECT rules whose source is the
|
|
|
|
<quote>loc</quote> zone.</para>
|
2004-02-14 19:06:39 +01:00
|
|
|
|
|
|
|
<programlisting> #ACTION SOURCE DEST PROTO
|
|
|
|
QUEUE loc net tcp
|
|
|
|
QUEUE loc net udp
|
2005-09-12 20:43:26 +02:00
|
|
|
QUEUE loc $FW udp</programlisting>
|
2004-02-14 19:06:39 +01:00
|
|
|
|
|
|
|
<para>Now simply configure ftwall as described in the ftwall documentation
|
|
|
|
and restart Shorewall.</para>
|
|
|
|
|
|
|
|
<tip>
|
2004-09-24 00:50:12 +02:00
|
|
|
<para>There are ftwall init scripts for use with
|
2005-11-24 20:22:48 +01:00
|
|
|
<trademark>SUSE</trademark> and <trademark>Debian</trademark> Linux at
|
2004-09-24 00:50:12 +02:00
|
|
|
<ulink
|
2020-03-26 22:58:35 +01:00
|
|
|
url="https://shorewall.org/pub/shorewall/contrib/ftwall">http://shorewall.org/pub/shorewall/contrib/ftwall</ulink>.</para>
|
2004-02-14 19:06:39 +01:00
|
|
|
</tip>
|
2004-12-01 22:23:59 +01:00
|
|
|
|
2008-08-15 07:03:24 +02:00
|
|
|
<para>Shorewall versions 2.2.0 and later also include support for the ipp2p
|
2005-06-02 16:08:57 +02:00
|
|
|
match facility which can be use to control P2P traffic. See the <ulink
|
|
|
|
url="IPP2P.html">Shorewall IPP2P documentation</ulink> for details.</para>
|
2008-07-07 22:42:54 +02:00
|
|
|
</article>
|