Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Log in to check your private messages
Log in to check your private messages
SMS Forum Index » SMS User Support

Post new topic   Reply to topic
Block P2P Application
View previous topic :: View next topic  
Author Message
poel
Junior Member


Joined: 02 Dec 2008
Posts: 5
Location: Indonesia

PostPosted: Fri Dec 05, 2008 7:08 pm    Post subject: Block P2P Application Reply with quote

Hello...

how to block p2p application on sms:?:

any budy know the way Question

on some article the p2p application can block with l7filter.

please help me...

thank's
Back to top
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1757
Location: Greece

PostPosted: Sat Dec 06, 2008 8:25 am    Post subject: Reply with quote

It's quite difficult to block p2p, but you can try though.
If you want to use layer7 match you have to switch to hugel7 kernel, and try

iptables -t mangle -A POSTROUTING -m layer7 --l7proto fasttrack -j DROP
iptables -t mangle -A POSTROUTING -m layer7 --l7proto edonkey -j DROP
iptables -t mangle -A POSTROUTING -m layer7 --l7proto directconnect -j DROP
iptables -t mangle -A POSTROUTING -m layer7 --l7proto bittorrent -j DROP


If you can't block 100% p2p another way is to control traffic through a QoS (Quality of Service) script, so everyone can work without problems.
You can take a look at Linux Advanced routing & traffic control if you haven't already.

gerasimos_h

_________________
Superb! Mini Server Project Manager
http://sms.it-ccs.com
Back to top
View user's profile Send private message Visit poster's website
poel
Junior Member


Joined: 02 Dec 2008
Posts: 5
Location: Indonesia

PostPosted: Sat Dec 06, 2008 2:35 pm    Post subject: Reply with quote

ok thank's for the advice and the link book for linux advanced routing& trafic control.

i will try it.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    SMS Forum Index » SMS User Support All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

SMS - Superb! Mini Server Project © 2016
Powered by phpBB © 2001, 2002 phpBB Group
iCGstation v1.0 Template By Ray © 2003, 2004 iOptional