Mikrotik | Forum Mikrotik Indonesia   Mikrotik Manual Mikrotik iSPY Mikrotik RSS Feed
This Logo is a Courtesy from RumahDowty

Go Back   Mikrotik | Forum Mikrotik Indonesia > Tutorial and News > Articles
iSpy My iTrade Register FAQ Members List Calendar Mark Forums Read

Diskusi NGE Limit Youtube Video Streaming di MT 3.xx pada Articles | Mikrotik | Forum Mikrotik Indonesia : To The Point saja Buat dulu http-video layer7-protocol nya Code: /ip firewall layer7-...


Official Board Announcements
NEW
Kunjungi Forum Diskusi PROXY Linux di FMI
donasi



 
Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old 21-04-2009, 09:57
maman maman is offline
Calon Member
 
Join Date: Nov 2007
Posts: 86
iTrader: (0)
Thanks: 2
Thanked 117 Times in 29 Posts
maman is on a distinguished roadmaman is on a distinguished roadmaman is on a distinguished roadmaman is on a distinguished roadmaman is on a distinguished roadmaman is on a distinguished road
NGE Limit Youtube Video Streaming di MT 3.xx




To The Point saja

Buat dulu http-video layer7-protocol nya

Code:
/ip firewall layer7-protocol
add name=http-video regexp="http/(0\.9|1\.0|1\.1)[\x09-\x0d ][1-5][0-9][0-9][\x09-\x0d -~]*(content-type: video)"
Mangle Mark Packet http-video nya

Code:
/ip frewall mangle
add action=mark-packet chain=prerouting comment="http-video mark-packet" \
    disabled=no layer7-protocol=http-video new-packet-mark=http-video \
    passthrough=no
Queue Simple http-video nya

Code:
/queue simple
add max-limit=0/64000 name=http-video packet-marks=http-video
Saat buka YouTube ..... kenceng, tapi saat Play Video langsung ke limit 64kbps

Selamat mencoba

| m | a | m | a | n |


Last edited by maman : 29-04-2009 at 02:15.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following 4 Users Say Thank You to maman For This Useful Post:
  #2 (permalink)  
Old 21-04-2009, 11:45
Akangage's Avatar
Akangage Akangage is offline
Administrator
 
Join Date: Aug 2007
Location: Purwokerto
Posts: 3,560
iTrader: (0)
Thanks: 218
Thanked 3,324 Times in 564 Posts
Akangage has a reputation beyond reputeAkangage has a reputation beyond reputeAkangage has a reputation beyond reputeAkangage has a reputation beyond reputeAkangage has a reputation beyond reputeAkangage has a reputation beyond reputeAkangage has a reputation beyond reputeAkangage has a reputation beyond reputeAkangage has a reputation beyond reputeAkangage has a reputation beyond reputeAkangage has a reputation beyond repute
Send a message via Yahoo to Akangage
Salah kamar post nih

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 21-04-2009, 11:49
Ye_Nan_Thien's Avatar
Ye_Nan_Thien Ye_Nan_Thien is offline
Forum Guru
 
Join Date: May 2008
Posts: 1,593
iTrader: (3)
Thanks: 52
Thanked 492 Times in 170 Posts
Ye_Nan_Thien has a reputation beyond reputeYe_Nan_Thien has a reputation beyond reputeYe_Nan_Thien has a reputation beyond reputeYe_Nan_Thien has a reputation beyond reputeYe_Nan_Thien has a reputation beyond reputeYe_Nan_Thien has a reputation beyond reputeYe_Nan_Thien has a reputation beyond reputeYe_Nan_Thien has a reputation beyond reputeYe_Nan_Thien has a reputation beyond reputeYe_Nan_Thien has a reputation beyond reputeYe_Nan_Thien has a reputation beyond repute
Quote:
Originally Posted by Akangage View Post
Salah kamar post nih
jadi artikel jg ngak pp kok.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 21-04-2009, 12:16
dencow dencow is online now
Forum Guru
 
Join Date: Jan 2008
Posts: 1,398
iTrader: (1)
Thanks: 43
Thanked 186 Times in 116 Posts
dencow is on a distinguished roaddencow is on a distinguished roaddencow is on a distinguished roaddencow is on a distinguished roaddencow is on a distinguished roaddencow is on a distinguished roaddencow is on a distinguished roaddencow is on a distinguished road
bisa juga tuh kalau mo gak di limit tapi dibelokin ke cache proxy video

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following User Says Thank You to dencow For This Useful Post:
  #5 (permalink)  
Old 21-04-2009, 15:57
darusatrio darusatrio is offline
Newbie
 
Join Date: May 2008
Posts: 32
iTrader: (0)
Thanks: 13
Thanked 1 Time in 1 Post
darusatrio is on a distinguished road
Bos, terimakasih tapi kok gak bisa jalan....
di trafik simple queque nya kosong...
padahal aku lagi buka you tube...

makasih

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 21-04-2009, 15:58
ripmanis's Avatar
ripmanis ripmanis is offline
VIP Member
 
Join Date: Dec 2008
Location: Balikpapan as Balikpapaners
Posts: 745
iTrader: (0)
Thanks: 196
Thanked 53 Times in 44 Posts
ripmanis is on a distinguished roadripmanis is on a distinguished roadripmanis is on a distinguished road
Quote:
Originally Posted by maman View Post
To The Point saja

Buat dulu http-video layer7-protocol nya

Code:
/ip firewall layer7-protocol
add name=http-video regexp=http/(0\.9|1\.0|1\.1)[\x09-\x0d ][1-5][0-9][0-9][\x09-\x0d -~]*(content-type: video)
masukinnya klo dari terminal gak mau yah !?!?
tapi klo pake winbox kok mau


Last edited by ripmanis : 21-04-2009 at 16:21.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 21-04-2009, 16:07
darusatrio darusatrio is offline
Newbie
 
Join Date: May 2008
Posts: 32
iTrader: (0)
Thanks: 13
Thanked 1 Time in 1 Post
darusatrio is on a distinguished road
di mangle nya counternya jalan..
tetapi kenapa ya sepertinya gak kelimit di QQ nya..

mohon arahan

terimakasih

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 21-04-2009, 16:09
darusatrio darusatrio is offline
Newbie
 
Join Date: May 2008
Posts: 32
iTrader: (0)
Thanks: 13
Thanked 1 Time in 1 Post
darusatrio is on a distinguished road
to Ripmanis :

masukinnya dari winbox aja, copy paste di menu layer7 protocolnya

copy paste regexp nya

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 21-04-2009, 16:18
ripmanis's Avatar
ripmanis ripmanis is offline
VIP Member
 
Join Date: Dec 2008
Location: Balikpapan as Balikpapaners
Posts: 745
iTrader: (0)
Thanks: 196
Thanked 53 Times in 44 Posts
ripmanis is on a distinguished roadripmanis is on a distinguished roadripmanis is on a distinguished road
Quote:
Originally Posted by darusatrio View Post
Bos, terimakasih tapi kok gak bisa jalan....
di trafik simple queque nya kosong...
padahal aku lagi buka you tube...

makasih
sama nih gan.. gak mlaku2 negh

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 21-04-2009, 16:40
darusatrio darusatrio is offline
Newbie
 
Join Date: May 2008
Posts: 32
iTrader: (0)
Thanks: 13
Thanked 1 Time in 1 Post
darusatrio is on a distinguished road
he he he... iya.... kenapa ya....

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #11 (permalink)  
Old 22-04-2009, 11:59
ripmanis's Avatar
ripmanis ripmanis is offline
VIP Member
 
Join Date: Dec 2008
Location: Balikpapan as Balikpapaners
Posts: 745
iTrader: (0)
Thanks: 196
Thanked 53 Times in 44 Posts
ripmanis is on a distinguished roadripmanis is on a distinguished roadripmanis is on a distinguished road
Quote:
Originally Posted by darusatrio View Post
he he he... iya.... kenapa ya....
tuuu kan.. apa aku bilang.. knapa kok ya ndak mau.. ono opo !!?

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12 (permalink)  
Old 24-04-2009, 02:09
dencow dencow is online now
Forum Guru
 
Join Date: Jan 2008
Posts: 1,398
iTrader: (1)
Thanks: 43
Thanked 186 Times in 116 Posts
dencow is on a distinguished roaddencow is on a distinguished roaddencow is on a distinguished roaddencow is on a distinguished roaddencow is on a distinguished roaddencow is on a distinguished roaddencow is on a distinguished roaddencow is on a distinguished road
kalau ga jalan, mungkin proses penandaannya yang salah atau di queuenya ga sesuai atau di layer 7 nya yang kurang pas.

kalau settingan test di routerku jalan aja kok, tapi aku pake pcq ya..
cuman ya setingan seorang newbie yang ga pernah makan pojokan sekolah, kalau emang kurang pas tolong dikoreksi.
nih aku exportin, ga nolak kalau di kasih ijo ijo

oh ya, aku pake MT versi 3 yang udah aku upgrade ke 3.23 dua hari lalu


Code:
/ip firewall layer7-protocol
add comment="" name=http-video regexp="http/(0\\.9|1\\.0|1\\.1)[\\x09-\\x0d ][\
    1-5][0-9][0-9][\\x09-\\x0d -~]*(content-type: video)"

Code:
/ip fi ma
add action=mark-packet chain=prerouting comment="Mark Packet HTTP Video" \
    disabled=no in-interface=ether1 layer7-protocol=http-video \
    new-packet-mark=http-video-up passthrough=no
add action=mark-connection chain=forward comment="" disabled=no \
    layer7-protocol=http-video new-connection-mark=video-stream passthrough=\
    yes
add action=mark-packet chain=forward comment="" connection-mark=video-stream \
    disabled=no in-interface=ether2 layer7-protocol=http-video \
    new-packet-mark=http-video-down passthrough=no

Code:
/que typ
add kind=pcq name=http-video-up pcq-classifier=src-address pcq-limit=50 \
    pcq-rate=0 pcq-total-limit=2000
add kind=pcq name=http-video-down pcq-classifier=dst-address pcq-limit=50 \
    pcq-rate=0 pcq-total-limit=2000

Code:
/que sim
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s comment="" \
    direction=both disabled=no dst-address=0.0.0.0/0 interface=all limit-at=\
    64k/128k max-limit=64k/128k name="7. HTTP Video Traffict" packet-marks=\
    http-video-up,http-video-down parent=none priority=8 queue=\
    http-video-up/http-video-down total-queue=default-small
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s comment="" \
    direction=both disabled=no dst-address=0.0.0.0/0 interface=all limit-at=\
    0/0 max-limit=16k/96k name="Queue HTTP Video" packet-marks=\
    http-video-up,http-video-down parent="7. HTTP Video Traffict" priority=8 \
    queue=http-video-up/http-video-down target-addresses=0.0.0.0/0 \
    total-queue=default-small

tapi sepertinya urutan peletakan menentukan prestasi


ket:
ether1 interface ke klien
ether2 interface ke ISP





InGAT! JANGAN ASAL COPY PASTE. PELAJARI DULU LOGIKA DAN ALURNYA!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following 3 Users Say Thank You to dencow For This Useful Post:
  #13 (permalink)  
Old 24-04-2009, 05:31
zainalk29's Avatar
zainalk29 zainalk29 is offline
Donatur
 
Join Date: Aug 2007
Location: Yogyakarta and Banjarmasin
Posts: 671
iTrader: (0)
Thanks: 25
Thanked 162 Times in 99 Posts
zainalk29 is a splendid one to beholdzainalk29 is a splendid one to beholdzainalk29 is a splendid one to beholdzainalk29 is a splendid one to beholdzainalk29 is a splendid one to beholdzainalk29 is a splendid one to beholdzainalk29 is a splendid one to behold
Send a message via Yahoo to zainalk29
thx juragan ....... jelas banget dah penjelasan nya tuh :P

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #14 (permalink)  
Old 27-04-2009, 15:32
chestercazz's Avatar
chestercazz chestercazz is offline
Newbie
 
Join Date: Apr 2008
Posts: 42
iTrader: (0)
Thanks: 81
Thanked 3 Times in 3 Posts
chestercazz is on a distinguished road
Send a message via Yahoo to chestercazz
Code:
/que sim
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s comment="" \
    direction=both disabled=no dst-address=0.0.0.0/0 interface=all limit-at=\
    64k/128k max-limit=64k/128k name="7. HTTP Video Traffict" packet-marks=\
    http-video-up,http-video-down parent=none priority=8 queue=\
    http-video-up/http-video-down total-queue=default-small
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s comment="" \
    direction=both disabled=no dst-address=0.0.0.0/0 interface=all limit-at=\
    0/0 max-limit=16k/96k name="Queue HTTP Video" packet-marks=\
    http-video-up,http-video-down parent="7. HTTP Video Traffict" priority=8 \
    queue=http-video-up/http-video-down target-addresses=0.0.0.0/0 \
    total-queue=default-small

mas sampe langkah diatas koq di terminal qu keluar peringatan sbb

"invalid value 64k for out, an interger required"

itu kenapa yach mohon pencerahannya?

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #15 (permalink)  
Old 28-04-2009, 08:44
dencow dencow is online now
Forum Guru
 
Join Date: Jan 2008
Posts: 1,398
iTrader: (1)
Thanks: 43
Thanked 186 Times in 116 Posts
dencow is on a distinguished roaddencow is on a distinguished roaddencow is on a distinguished roaddencow is on a distinguished roaddencow is on a distinguished roaddencow is on a distinguished roaddencow is on a distinguished roaddencow is on a distinguished road
Quote:
Originally Posted by chestercazz View Post
mas sampe langkah diatas koq di terminal qu keluar peringatan sbb

"invalid value 64k for out, an interger required"

itu kenapa yach mohon pencerahannya?

coba di ketik manual di konsol, jangan di copy paste.
ini aku coba jadikan 1 baris.


Code:
/que sim
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s comment="" direction=both disabled=no dst-address=0.0.0.0/0 interface=all limit-at=64k/128k max-limit=64k/128k name="7. HTTP Video Traffict" packet-marks=http-video-up,http-video-down parent=none priority=8 queue=http-video-up/http-video-down total-queue=default-small
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s comment="" direction=both disabled=no dst-address=0.0.0.0/0 interface=all limit-at=0/0 max-limit=16k/96k name="Queue HTTP Video" packet-marks=http-video-up,http-video-down parent="7. HTTP Video Traffict" priority=8 queue=http-video-up/http-video-down target-addresses=0.0.0.0/0 total-queue=default-small

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following User Says Thank You to dencow For This Useful Post:
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Limit YouTube sone General Networking 32 10-04-2010 04:12
testing video [a] Testing Area 7 10-12-2009 02:53
Tanya:Gmn caranya ngeBlok Video Streaming? chenia General Networking 9 30-05-2009 11:24
[Help] Limit youtube nipluk General Networking 1 08-02-2008 16:40


This Forum is Powered by Orion Net.

All times are GMT +8. The time now is 19:53.