mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-25 23:59:01 +01:00
e482c3cf26
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@1794 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
67 lines
2.5 KiB
XML
67 lines
2.5 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
|
|
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
|
|
<article id="Shorewall_and_Kazaa">
|
|
<!--$Id$-->
|
|
|
|
<articleinfo>
|
|
<title>Kazaa Filtering</title>
|
|
|
|
<authorgroup>
|
|
<author>
|
|
<firstname>Tom</firstname>
|
|
|
|
<surname>Eastep</surname>
|
|
</author>
|
|
</authorgroup>
|
|
|
|
<pubdate>2004-11-29</pubdate>
|
|
|
|
<copyright>
|
|
<year>2003-2004</year>
|
|
|
|
<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
|
|
no Invariant Sections, with no Front-Cover, and with no Back-Cover
|
|
Texts. A copy of the license is included in the section entitled
|
|
<quote><ulink url="GnuCopyright.htm">GNU Free Documentation
|
|
License</ulink></quote>.</para>
|
|
</legalnotice>
|
|
</articleinfo>
|
|
|
|
<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
|
|
insert the following rules in /etc/shorewall/rules file after any DROP or
|
|
REJECT rules whose source is the <quote>loc</quote> zone.</para>
|
|
|
|
<programlisting> #ACTION SOURCE DEST PROTO
|
|
QUEUE loc net tcp
|
|
QUEUE loc net udp
|
|
QUEUE loc fw udp</programlisting>
|
|
|
|
<para>Now simply configure ftwall as described in the ftwall documentation
|
|
and restart Shorewall.</para>
|
|
|
|
<tip>
|
|
<para>There are ftwall init scripts for use with
|
|
<trademark>SuSE</trademark> and <trademark>Debian</trademark> Linux at
|
|
<ulink
|
|
url="http://shorewall.net/pub/shorewall/contrib/ftwall">http://shorewall.net/pub/shorewall/contrib/ftwall</ulink>.</para>
|
|
</tip>
|
|
|
|
<para>Shorewall verions 2.2.0 and later also include support for the ipp2p
|
|
match facility which can be use to filter and/or control P2P traffic. See
|
|
the <ulink url="IPP2P.html">Shorewall IPP2P documentation</ulink> for
|
|
details.</para>
|
|
</article> |