Difference between revisions of "P2P blocking"

From SME Server
Jump to navigationJump to search
(link corrected)
(Installation instructions updated to suit current location of rpms on maintainers site)
Line 18: Line 18:
 
===Installation===
 
===Installation===
  
The rpm is currently located in the smetest repository here
+
The rpms are currently located here
  
http://mirror.contribs.org/smeserver/releases/7/smetest/i386/RPMS/
+
http://jeremielorente.free.fr/linux/sme/contribs/ipp2p/
  
To install do
+
Please manually check the latest released rpm version numbers, and use those version numbers in the commands below.
  yum install --enablerepo=smetest smeserver-ipp2p
+
 
 +
To download do
 +
  mkdir -p /temp/ipp2p
 +
cd /temp/ipp2p
 +
wget http://jeremielorente.free.fr/linux/sme/contribs/ipp2p/smeserver-ipp2p
 +
wget http://jeremielorente.free.fr/linux/sme/contribs/ipp2p/ipp2p
 +
wget http://jeremielorente.free.fr/linux/sme/contribs/ipp2p/kmod-ipp2p
 +
wget http://jeremielorente.free.fr/linux/sme/contribs/ipp2p/kmod-ipp2p-smp
 +
 
 +
Alternatively download and install the hugemem kmod module if required by your system
 +
wget http://jeremielorente.free.fr/linux/sme/contribs/ipp2p/kmod-ipp2p-hugemem
 +
 
 +
Install the rpms
 +
cd /temp/ipp2p
 +
yum locallinstall *.rpm
  
 
===Configuration===
 
===Configuration===

Revision as of 21:33, 3 October 2010

Overview

The goal of the IPP2P project is to identify peer-to-peer (P2P) data in IP traffic.

Refer http://ipp2p.org/ which then refers to http://opendpi.org/

It appears the ipp2p project may now be defunct (at February 2010).


Important.png Note:
These instructions refer to smeserver-ipp2p.

The package must be recompiled for each released version of SME server and the corresponding kernel (and kernel mod) version.

The last smeserver-ipp2p package was released on 3 March 2009.

See Bugzilla:38 for information regarding the current status of development & maintenance.

Also see this related Forum thread http://forums.contribs.org/index.php/topic,43669.0.html


Installation

The rpms are currently located here

http://jeremielorente.free.fr/linux/sme/contribs/ipp2p/

Please manually check the latest released rpm version numbers, and use those version numbers in the commands below.

To download do

mkdir -p /temp/ipp2p
cd /temp/ipp2p
wget http://jeremielorente.free.fr/linux/sme/contribs/ipp2p/smeserver-ipp2p
wget http://jeremielorente.free.fr/linux/sme/contribs/ipp2p/ipp2p
wget http://jeremielorente.free.fr/linux/sme/contribs/ipp2p/kmod-ipp2p
wget http://jeremielorente.free.fr/linux/sme/contribs/ipp2p/kmod-ipp2p-smp

Alternatively download and install the hugemem kmod module if required by your system

wget http://jeremielorente.free.fr/linux/sme/contribs/ipp2p/kmod-ipp2p-hugemem

Install the rpms

cd /temp/ipp2p
yum locallinstall *.rpm

Configuration

Enabling

set configuration values for various networks
The default is disabled, ie no blocking of p2p
bit = bittorrent and ipp2p = are the common protocols, the others are less common and not as well tested.

config setprop ipp2p apple enabled
config setprop ipp2p bit enabled
config setprop ipp2p ares enabled 
config setprop ipp2p ipp2p enabled
config setprop ipp2p soul enabled 
config setprop ipp2p winmx enabled 

check settings are correct

config show ipp2p

apply changes and restart server

signal-event remoteaccess-update

Disabling

To disable blocking setprop to disabled

config setprop ipp2p apple disabled
config setprop ipp2p bit disabled
config setprop ipp2p ares disabled 
config setprop ipp2p ipp2p disabled
config setprop ipp2p soul disabled 
config setprop ipp2p winmx disabled

apply changes and restart server

signal-event remoteaccess-update

Uninstallation

yum remove smeserver-ipp2p