Menú principal
Menú

Mostrar Mensajes

Esta sección te permite ver todos los mensajes escritos por este usuario. Ten en cuenta que sólo puedes ver los mensajes escritos en zonas a las que tienes acceso en este momento.

Menú Mostrar Mensajes

Mensajes - si_faisal

#1
Mangle & Queues / Re:Qos
Agosto 16, 2013, 11:29:35 AM
loquitoslack

you can also use the simple way, use webhtb for manage traffic

http://www.webhtb.ro/

modified webhtb with squid & zph tos (indonesian language)
http://opensource.telkomspeedy.com/forum/viewtopic.php?id=5530

saludos
#2
Mangle & Queues / Re:Qos
Agosto 15, 2013, 08:45:14 PM
ingjaab

how is your configuration / network diagram?

in my configuration, the raptor cache is not connected with this qos router,
raptor is connected in the core that can use different qos and limit the distribution router

loquitoslack

do you mean, you are using debian for a router?
you can use htb or cbq with mangle an conntrack using tc command

here's more reading http://www.lartc.org/howto/

saludos
#3
Mangle & Queues / Re:Qos
Agosto 14, 2013, 07:49:25 PM
ingjaab

i have edited my post
please check in thread #2
#4
Mangle & Queues / Re:Qos
Agosto 11, 2013, 06:23:34 AM
yes you are right

please change the parent global-out to global at routeros version 6

thats it
#5
Mangle & Queues / Re:Qos
Agosto 11, 2013, 12:49:51 AM
hello ingjaab

sure, it can be implemented in core router
in routing mode or bridge mode it also works

this configuration is tested in routeros version 5 and 6

:)
#6
Mangle & Queues / Re:Qos
Agosto 10, 2013, 12:17:22 AM
hello rifranco202325

it will look like this, the purpose is to group some traffic and make prioritization in Queue Tree


if you give it try, please make some review

gracias :)
#7
Mangle & Queues / Re:Qos
Agosto 09, 2013, 11:00:05 PM
this l7 filter for capturing Skype Traffic

Código (mk) [Seleccionar]

/ip firewall layer7-protocol
add name=skypetoskype regexp="^..\\x02............."
add name=skype regexp="^(\\x01.\?.\?.\?.\?.\?.\?.\?.\?\\x01|\\x02.\?.\?.\?.\?.\
   \?.\?.\?.\?\\x02|\\x03.\?.\?.\?.\?.\?.\?.\?.\?\\x03|\\x04.\?.\?.\?.\?.\?.\
   \?.\?.\?\\x04|\\x05.\?.\?.\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.\?.\?.\?.\?.\?.\?\\xed|\\xee.\?.\?.\?.\?.\?.\?.\?.\?\\xee|\\xe\
   f.\?.\?.\?.\?.\?.\?.\?.\?\\xef|\\xf0.\?.\?.\?.\?.\?.\?.\?.\?\\xf0|\\xf1.\?\
   .\?.\?.\?.\?.\?.\?.\?\\xf1|\\xf2.\?.\?.\?.\?.\?.\?.\?.\?\\xf2|\\xf3.\?.\?.\
   \?.\?.\?.\?.\?.\?\\xf3|\\xf4.\?.\?.\?.\?.\?.\?.\?.\?\\xf4|\\xf5.\?.\?.\?.\
   \?.\?.\?.\?.\?\\xf5|\\xf6.\?.\?.\?.\?.\?.\?.\?.\?\\xf6|\\xf7.\?.\?.\?.\?.\
   \?.\?.\?.\?\\xf7|\\xf8.\?.\?.\?.\?.\?.\?.\?.\?\\xf8|\\xf9.\?.\?.\?.\?.\?.\
   \?.\?.\?\\xf9|\\xfa.\?.\?.\?.\?.\?.\?.\?.\?\\xfa|\\xfb.\?.\?.\?.\?.\?.\?.\
   \?.\?\\xfb|\\xfc.\?.\?.\?.\?.\?.\?.\?.\?\\xfc|\\xfd.\?.\?.\?.\?.\?.\?.\?.\
   \?\\xfd|\\xfe.\?.\?.\?.\?.\?.\?.\?.\?\\xfe|\\xff.\?.\?.\?.\?.\?.\?.\?.\?\\\
   xff)"
#8
Mangle & Queues / Re:Qos
Agosto 09, 2013, 10:58:31 PM
i just want to share my QoS configuration,

it can classify and prioritize traffic so the user can have a better internet experience
this can work in routing mode (put this rules in R1) or brigde mode (transparent traffic shaper)

the thunder/raptorcache hit full bandwitdh is NOT in this rules



this code below :
/ip firewall mangle
Código (mk) [Seleccionar]
/ip firewall mangle
add action=jump chain=forward comment="SERVICE CLASSIFIER" jump-target=\
   services-classifier protocol=tcp
add action=jump chain=forward jump-target=services-classifier protocol=udp
add action=jump chain=forward jump-target=services-classifier protocol=!ospf
add action=mark-connection chain=services-classifier comment=ICMP \
   new-connection-mark=cm_icmp protocol=icmp
add action=mark-packet chain=services-classifier connection-mark=cm_icmp \
   new-packet-mark=pm_icmp passthrough=no
add action=mark-connection chain=services-classifier comment=SSH dst-port=22 \
   new-connection-mark=cm_ssh protocol=tcp
add action=mark-connection chain=services-classifier new-connection-mark=\
   cm_ssh protocol=tcp src-port=22
add action=mark-packet chain=services-classifier connection-mark=cm_ssh \
   new-packet-mark=pm_ssh passthrough=no
add action=mark-connection chain=services-classifier comment="DNS TCP" \
   dst-port=53 new-connection-mark=cm_dns protocol=tcp
add action=mark-connection chain=services-classifier new-connection-mark=\
   cm_dns protocol=tcp src-port=53
add action=mark-packet chain=services-classifier connection-mark=cm_dns \
   new-packet-mark=pm_dns passthrough=no
add action=mark-connection chain=services-classifier comment="SKYPE TCP" \
   dst-port=!80 layer7-protocol=skypetoskype new-connection-mark=cm_skype \
   protocol=tcp
add action=mark-connection chain=services-classifier dst-port=!80 \
   layer7-protocol=skype new-connection-mark=cm_skype protocol=tcp
add action=mark-packet chain=services-classifier connection-mark=cm_skype \
   new-packet-mark=pm_skype passthrough=no
add action=mark-connection chain=services-classifier comment=PROXMOX \
   dst-port=8006 new-connection-mark=cm_proxmox protocol=tcp
add action=mark-connection chain=services-classifier new-connection-mark=\
   cm_proxmox protocol=tcp src-port=8006
add action=mark-packet chain=services-classifier connection-mark=cm_proxmox \
   new-packet-mark=pm_proxmox passthrough=no
add action=mark-connection chain=services-classifier comment=FTP dst-port=21 \
   new-connection-mark=cm_ftp protocol=tcp
add action=mark-packet chain=services-classifier connection-mark=cm_ftp \
   new-packet-mark=pm_ftp passthrough=no
add action=mark-connection chain=services-classifier comment="THE DUDE" \
   dst-port=2210,2211 new-connection-mark=cm_dude protocol=tcp
add action=mark-connection chain=services-classifier dst-port=2210,2211 \
   new-connection-mark=cm_dude protocol=tcp
add action=mark-packet chain=services-classifier connection-mark=cm_dude \
   new-packet-mark=pm_dude passthrough=no
add action=mark-connection chain=services-classifier comment=HTTP dst-port=\
   80,3128,8080 new-connection-mark=cm_http protocol=tcp
add action=mark-connection chain=services-classifier new-connection-mark=\
   cm_http protocol=tcp src-port=80,3128,8080
add action=mark-packet chain=services-classifier comment="HTTP PRIO #3" \
   connection-bytes=0-128000 connection-mark=cm_http new-packet-mark=\
   pm_http_prio3 passthrough=no protocol=tcp
add action=mark-packet chain=services-classifier comment="HTTP PRIO #4" \
   connection-bytes=128001-1024000 connection-mark=cm_http new-packet-mark=\
   pm_http_prio4 passthrough=no protocol=tcp
add action=mark-packet chain=services-classifier comment="HTTP PRIO #5" \
   connection-bytes=1024001-4096000 connection-mark=cm_http new-packet-mark=\
   pm_http_prio5 passthrough=no protocol=tcp
add action=mark-packet chain=services-classifier comment="HTTP PRIO #6" \
   connection-bytes=4096001-20480000 connection-mark=cm_http \
   new-packet-mark=pm_http_prio6 passthrough=no protocol=tcp
add action=mark-packet chain=services-classifier comment="HTTP PRIO #8" \
   connection-bytes=20480001-0 connection-mark=cm_http new-packet-mark=\
   pm_http_prio8 passthrough=no protocol=tcp
add action=mark-connection chain=services-classifier comment=HTTPS dst-port=\
   443 new-connection-mark=cm_https protocol=tcp
add action=mark-connection chain=services-classifier new-connection-mark=\
   cm_https protocol=tcp src-port=443
add action=mark-packet chain=services-classifier connection-mark=cm_https \
   new-packet-mark=pm_https passthrough=no
add action=mark-connection chain=services-classifier comment=EMAIL dst-port=\
   25,110,143,465,585,993,995 new-connection-mark=cm_email protocol=tcp
add action=mark-connection chain=services-classifier new-connection-mark=\
   cm_email protocol=tcp src-port=25,110,143,465,585,993,995
add action=mark-packet chain=services-classifier connection-mark=cm_email \
   new-packet-mark=pm_email passthrough=no
add action=mark-connection chain=services-classifier comment=STREAMING \
   dst-port=1935 new-connection-mark=cm_streaming protocol=tcp
add action=mark-connection chain=services-classifier new-connection-mark=\
   cm_streaming protocol=tcp src-port=1935
add action=mark-packet chain=services-classifier connection-mark=cm_streaming \
   new-packet-mark=pm_streaming passthrough=no
add action=mark-connection chain=services-classifier comment=\
   "YAHOO MESSENGER" dst-port=5050 new-connection-mark=cm_ym protocol=tcp
add action=mark-connection chain=services-classifier new-connection-mark=\
   cm_ym protocol=tcp src-port=5050
add action=mark-packet chain=services-classifier connection-mark=cm_ym \
   new-packet-mark=pm_ym passthrough=no
add action=mark-connection chain=services-classifier comment=TEAMVIEWER \
   dst-port=5938 new-connection-mark=cm_teamviewer protocol=tcp
add action=mark-connection chain=services-classifier dst-port="" \
   new-connection-mark=cm_teamviewer protocol=tcp src-port=5938
add action=mark-packet chain=services-classifier connection-mark=\
   cm_teamviewer new-packet-mark=pm_teamviewer passthrough=no
add action=mark-connection chain=services-classifier comment=WINBOX dst-port=\
   8291 new-connection-mark=cm_winbox protocol=tcp
add action=mark-connection chain=services-classifier new-connection-mark=\
   cm_winbox protocol=tcp src-port=8291
add action=mark-packet chain=services-classifier connection-mark=cm_winbox \
   new-packet-mark=pm_winbox passthrough=no
add action=mark-connection chain=services-classifier comment=VNC dst-port=\
   5900-5950 new-connection-mark=cm_vnc protocol=tcp
add action=mark-connection chain=services-classifier new-connection-mark=\
   cm_vnc protocol=tcp src-port=5900-5950
add action=mark-packet chain=services-classifier connection-mark=cm_vnc \
   new-packet-mark=pm_vnc passthrough=no
add action=mark-connection chain=services-classifier comment="P2P TORRENT" \
   new-connection-mark=cm_p2p p2p=all-p2p
add action=mark-packet chain=services-classifier connection-mark=cm_p2p \
   new-packet-mark=pm_p2p passthrough=no
add action=mark-connection chain=services-classifier comment="OTHER TCP" \
   new-connection-mark=cm_other-tcp protocol=tcp
add action=mark-packet chain=services-classifier connection-mark=cm_other-tcp \
   new-packet-mark=pm_other-tcp passthrough=no
add action=mark-connection chain=services-classifier comment=" UDP" dst-port=\
   53 new-connection-mark=cm_dns protocol=udp
add action=mark-connection chain=services-classifier new-connection-mark=\
   cm_dns protocol=udp src-port=53
add action=mark-packet chain=services-classifier connection-mark=cm_dns \
   new-packet-mark=pm_dns passthrough=no
add action=mark-connection chain=services-classifier comment=NTP dst-port=123 \
   new-connection-mark=cm_ntp protocol=udp
add action=mark-packet chain=services-classifier connection-mark=cm_ntp \
   new-packet-mark=pm_ntp passthrough=no
add action=mark-connection chain=services-classifier comment=\
   "YAHOO MESSENGER UDP" dst-port=3478 new-connection-mark=cm_ym_udp \
   protocol=udp src-port=1024-5000
add action=mark-connection chain=services-classifier dst-port=1024-5000 \
   new-connection-mark=cm_ym_udp protocol=udp src-port=3478
add action=mark-packet chain=services-classifier connection-mark=cm_ym_udp \
   new-packet-mark=pm_ym_udp
add action=mark-connection chain=services-classifier comment=SIP/VOIP \
   dst-port=5060 new-connection-mark=cm_voip protocol=udp
add action=mark-connection chain=services-classifier new-connection-mark=\
   cm_voip protocol=udp src-port=5060
add action=mark-packet chain=services-classifier connection-mark=cm_voip \
   new-packet-mark=pm_voip
add action=mark-connection chain=services-classifier comment=SNMP dst-port=\
   161,162 new-connection-mark=cm_snmp protocol=udp
add action=mark-connection chain=services-classifier new-connection-mark=\
   cm_snmp protocol=udp src-port=161,162
add action=mark-packet chain=services-classifier connection-mark=cm_snmp \
   new-packet-mark=pm_snmp passthrough=no
add action=mark-connection chain=services-classifier comment="SKYPE UDP L7" \
   layer7-protocol=skype new-connection-mark=cm_skype_udp protocol=udp
add action=mark-connection chain=services-classifier layer7-protocol=\
   skypetoskype new-connection-mark=cm_skype_udp protocol=udp
add action=mark-packet chain=services-classifier connection-mark=cm_skype_udp \
   new-packet-mark=pm_skype_udp passthrough=no
add action=mark-connection chain=services-classifier comment="OTHER UDP" \
   new-connection-mark=cm_other-udp protocol=udp
add action=mark-packet chain=services-classifier connection-mark=cm_other-udp \
   new-packet-mark=pm_other-udp passthrough=no
add action=return chain=services-classifier


Queue Tree Configuration - in this example, bandwitdh is set for 5 Mbps.
please change according to your network
keep in mind that maximum sum of limit-at of the child, cannot larger that the parent max-limit value

Código (mk) [Seleccionar]
/queue tree
add max-limit=5M name=INTERNET parent=global-out priority=3
add limit-at=256k max-limit=5M name=PRIO#1 parent=INTERNET priority=1
add limit-at=512k max-limit=4M name=PRIO#2 parent=INTERNET priority=2
add limit-at=384k max-limit=3M name=PRIO#3 parent=INTERNET priority=3
add limit-at=256k max-limit=2M name=PRIO#4 parent=INTERNET priority=4
add limit-at=256k max-limit=2M name=PRIO#5 parent=INTERNET priority=5
add limit-at=128k max-limit=1536k name=PRIO#6 parent=INTERNET priority=6
add limit-at=96k max-limit=1M name=PRIO#7 parent=INTERNET priority=7
add limit-at=128k max-limit=1M name=PRIO#8 parent=INTERNET
add name=icmp packet-mark=pm_icmp parent=PRIO#1 priority=1
add name=dns packet-mark=pm_dns parent=PRIO#1 priority=1
add name=ssh packet-mark=pm_ssh parent=PRIO#1 priority=1
add name=vnc packet-mark=pm_vnc parent=PRIO#2 priority=2
add name=winbox packet-mark=pm_winbox parent=PRIO#2 priority=2
add name=ntp packet-mark=pm_ntp parent=PRIO#2 priority=2
add name=skype packet-mark=pm_skype parent=PRIO#2 priority=2
add name=email packet-mark=pm_email parent=PRIO#3 priority=3
add name=https packet-mark=pm_https parent=PRIO#4 priority=4
add name=http_small packet-mark=pm_http_prio3 parent=PRIO#3 priority=3
add name=ftp packet-mark=pm_ftp parent=PRIO#4 priority=4
add name=other-tcp packet-mark=pm_other-tcp parent=PRIO#8
add name=other-udp packet-mark=pm_other-udp parent=PRIO#8
add name=pve-mgmnt packet-mark=pm_proxmox parent=PRIO#2 priority=2
add name=snmp packet-mark=pm_snmp parent=PRIO#2 priority=2
add name=thedude packet-mark=pm_dude parent=PRIO#2 priority=2
add name=http_heavy packet-mark=pm_http_prio8 parent=PRIO#7 priority=7 queue=\
   pcq-http
add name=p2p-torrent packet-mark=pm_p2p parent=PRIO#8
add name=http_medium packet-mark=pm_http_prio5 parent=PRIO#5 priority=5 \
   queue=pcq-http
add name=http_large packet-mark=pm_http_prio6 parent=PRIO#6 priority=6 queue=\
   pcq-http
add name=http_light packet-mark=pm_http_prio4 parent=PRIO#4 priority=4 queue=\
   pcq-http
add name=voip packet-mark=pm_voip parent=PRIO#2 priority=2
add name=stream-rtmp packet-mark=pm_streaming parent=PRIO#3 priority=3
add name=skype-udp packet-mark=pm_skype_udp parent=PRIO#2 priority=2
add name=teamviewer packet-mark=pm_teamviewer parent=PRIO#2 priority=2
add name=ym-tcp packet-mark=pm_ym parent=PRIO#2 priority=2
add name=ym-udp packet-mark=pm_ym_udp parent=PRIO#2 priority=2


in routeros v6 change parent global-out to global
Código (mk) [Seleccionar]
add max-limit=5M name=INTERNET parent=global priority=3

Queue Types
Código (mk) [Seleccionar]
/queue type
set 0 pfifo-limit=500
add kind=sfq name=default-sfq sfq-perturb=8
add kind=pcq name=pcq-http pcq-burst-time=16s pcq-classifier=dst-address \
   pcq-dst-address6-mask=64 pcq-limit=500 pcq-src-address6-mask=64 \
   pcq-total-limit=20000
set 9 pfifo-limit=100


hope this help
greetings from Indonesia
:)