المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : block torrent trafic



mohamed81salah
06-03-2010, 01:42
السلام عليكم و رحمة الله و بركاتة
اولا احب ان اشكر كل من سوف يساعدني
ثانيا احب ان اشكر كل الموجودين علي المجهود الرائع

انا عندي cisco 3620 و كونت عايز ارفع ملف torrent.bdlm لكي استطيع ايقاف peer 2 peer <torrent>عن طريق class map و لكن عندي سؤالين
1 - هل هذا هو الفيل المطلوب للعمل
2 - اذا لم يكن هذا هو الفيل المطلوب ارحو المساعدة لمعرفة المطلوب لعمل ايقاف لل (torrent)

minimax
07-03-2010, 21:39
وعليكم السلام ورحمة الله وبركاته

جرب هذه الخطوات


class-map match-all torrent
match protocol bittorrent

policy-map test
class torrent
drop

int fa0/0
service-policy output test

one-zero
07-03-2010, 22:44
كما قال اخي العزيز ميني ماكس
واذا لم تكن محمل بعد الملف من الفلاش اكتب :
Router(config) # ip nbar pdlm flash://bittorrent.pdlm

ولكن هذا لن يمنع كل بروتكولات البير تو بير
ممكن تنفذ التالي:

Router(config) # ip nbar pdlm flash://kazaa2.pdlm
Router(config) # ip nbar pdlm flash://bittorrent.pdlm
Router(config) # ip nbar pdlm flash://gnutella.pdlm
Router(config) # ip nbar pdlm flash://eDonkey.pdlm

Router(config) # class-map match-any peer-to-peer
Router(config-cmap) # match protocol gnutella
Router(config-cmap) # match protocol kazaa2
Router(config-cmap) # match protocol napster
Router(config-cmap) # match protocol fasttrack
Router(config-cmap) # match protocol novadigm
Router(config-cmap) # match protocol edonkey
Router(config-cmap) # match protocol bittorrent

Router(config)# policy-map drop-peer-to-peer
Router(config-pmap)# class peer-to-peer
Router(config-pmap)# drop

Router(config)# Interface fastethernet 0/0
Router(config-if)# ip nbar protocol-discovery
Router(config-if)# service-policy input drop-peer-to-peer

SyrianCyclone
08-03-2010, 03:09
كما قال اخي العزيز ميني ماكس
واذا لم تكن محمل بعد الملف من الفلاش اكتب :
Router(config) # ip nbar pdlm flash://bittorrent.pdlm

ولكن هذا لن يمنع كل بروتكولات البير تو بير
ممكن تنفذ التالي:

Router(config) # ip nbar pdlm flash://kazaa2.pdlm
Router(config) # ip nbar pdlm flash://bittorrent.pdlm
Router(config) # ip nbar pdlm flash://gnutella.pdlm
Router(config) # ip nbar pdlm flash://eDonkey.pdlm

Router(config) # class-map match-any peer-to-peer
Router(config-cmap) # match protocol gnutella
Router(config-cmap) # match protocol kazaa2
Router(config-cmap) # match protocol napster
Router(config-cmap) # match protocol fasttrack
Router(config-cmap) # match protocol novadigm
Router(config-cmap) # match protocol edonkey
Router(config-cmap) # match protocol bittorrent

Router(config)# policy-map drop-peer-to-peer
Router(config-pmap)# class peer-to-peer
Router(config-pmap)# drop

Router(config)# Interface fastethernet 0/0
Router(config-if)# ip nbar protocol-discovery
Router(config-if)# service-policy input drop-peer-to-peer


ولا أروع من استاذ أكثر من رائع

mohamed81salah
11-03-2010, 01:02
dear eng woboo and eng syrian frist tak u so mush for help and ur time and i try ur way but the machine give me this error idk what it mean
% ERROR: 'ip nbar pdlm flash://bittorrent.pdlm' : Unable to open file
is this mean that i must to dowlooad the pdlm file to my flash if so can u lead me to the url that i download the file from it and tank again

mohamed81salah
11-03-2010, 01:05
dear eng woboo and eng syrian frist thank u so mush for help and ur time and i try your way but the machine give me this error idk what it mean
% ERROR: 'ip nbar pdlm flash://bittorrent.pdlm' : Unable to open file
is this mean that i must to dowlooad the pdlm file to my flash if so can u lead me to the url that i download the file from it and thank again
the problem with me is on the pdlm and thank u again

one-zero
11-03-2010, 11:52
نعم يجب تحميل الملف اخي الي الفلاش
بعد تنويله من موقع سيسكو
يجب ان يكون لديك حساب عميل لدى سيسكو حتى تستطيع تنزيل هذا الملف وغيره

بعض الملفات عملت معك جيدا ولم تخرج رسالة خطاء لانها قادمه مع ال ios

mohamed81salah
12-03-2010, 13:45
thank you so much eng woboo

hanyibm
23-03-2010, 07:35
ولا اروع اخي العزيز ويبو بجد شرح رائع لاستخدام NBAR