With the same TOS setting of 4?no its working with me on v3rc3 , i dont know how it can work on 2.9 ?
i agree , couse we solve this issue after a long discussion :Please don't hijack what has become a constructive discussion just to advertise your services...
add action=mark-packet chain=output comment="CACHE" disabled=no dscp=4 new-packet-mark=cache-packets \
out-interface=(local) passthrough=no
I'm thinking if we find a way to make it work with one ROS, why waste resources & use two?I don't know why you people don't interested in my web-proxy solution with 2 MT OS?
add action=mark-packet chain=output comment="CACHE" disabled=no dscp=4 new-packet-mark=cache-packets out-interface=(Local) passthrough=no
add comment="" direction=both disabled=no dst-address=0.0.0.0/0 interface=all limit-at=10000/20000 \
max-limit=30000/3000000 name="CACHED-PACKETS" packet-marks=cache-packets parent=none priority=3 \
queue=pcq-upload/pcq-download target-addresses=192.168.1.0/24 total-queue=default-small
Hi! The solution is in 3.0 version. Change tos from "hits" in the proxy - Cache Hit DSCP (TOS) - option in web-proxy general settings, then mangle or anything. In version 2.9 or prior is not possible.
which version is stable in your opinion ?? why do you upgrade before untill you reach v 2.9.46 ?offcourse thanks to npbrasil
Quote:
Hi! The solution is in 3.0 version. Change tos from "hits" in the proxy - Cache Hit DSCP (TOS) - option in web-proxy general settings, then mangle or anything. In version 2.9 or prior is not possible.
hello , i dont know if read my past topic or not ? it has been solved my friends , and i'm monitoring the results , and it is perfect ..
its by marking traffic coming from proxy with TOS = 4 , its the traffic generated in local process ( hard disk cache ) ..
for example i downloaded a file for the first time , my Q limit reachs the max limit ( red ) , and its the same value i can see in tourch , downloading the file for the second time in tourch it's more than 1.5M/s while my Q still at about 25k/s , i repeated the test many many times and i can see how successfull is this way ..
here is the rules i wrote :
Mangle : first rule in mangleSimple Q : first rule in simple QCode: Select alladd action=mark-packet chain=output comment="CACHE" disabled=no dscp=4 new-packet-mark=cache-packets out-interface=(Local) passthrough=no
and i will post some capture images of the result..Code: Select alladd comment="" direction=both disabled=no dst-address=0.0.0.0/0 interface=all limit-at=10000/20000 \ max-limit=30000/3000000 name="CACHED-PACKETS" packet-marks=cache-packets parent=none priority=3 \ queue=pcq-upload/pcq-download target-addresses=192.168.1.0/24 total-queue=default-small
offcourse thanks to npbrasilHi! The solution is in 3.0 version. Change tos from "hits" in the proxy - Cache Hit DSCP (TOS) - option in web-proxy general settings, then mangle or anything. In version 2.9 or prior is not possible.
Yes emmanuel you are right, TOS 4 is not working in my MT (3.0rc4n5) too.emmanuel wrote: TOS setting of 4 is not working in 3.0rc5 pl chcek it out
/ip firewall mangle
add action=mark-packet chain=output comment="cached packets" disabled=no \
dscp=4 new-packet-mark=cached out-interface=!wan passthrough=no
/queue simple
add comment="" direction=both disabled=no dst-address=0.0.0.0/0 interface=all \
limit-at=0/0 max-limit=0/0 name="cached" packet-marks=cached parent=none \
priority=8 queue=default-small/default-small \
target-addresses=192.168.0.0/16 total-queue=default-small
Hey, what do u think u r? Am I sounds like a dump shit?!!skillful wrote:Maybe you need to hire a consultant to configure your router for you.
to get HIT cache objects with unlimited rateHi,
If you check this old post:
http://forum.mikrotik.com/viewtopic.php ... 334&hilit=
you can see that I've asked this web-cache issue last year (without reply).
Also, I asked this on my last Mikrotik training and get no answer
This is Not possible with 2.9.x routeros (at least until 2.9.46).
With routeros 3.0 you can do it , as wiki article said
how ever , routeros 3 is unestable yet.
In order to mark HIT OBJETS, I use a Linux box , with squid patched
with:
http://zph.bratcheda.org
This is the *only way* to get HIT cache objets with unlimited rate,
on routeros 2.9 series.
HIT objects are marked with ToS on squid configuration.
a MT rule on mangle table, can sent that objects to a simple (and unlimited) queue.
Regards...
Can you help me out, or it is not possible with MT OS??!!Simple Q : first rule in simple Q
Code:
add comment="" direction=both disabled=no dst-address=0.0.0.0/0 interface=all limit-at=10000/20000 \
max-limit=30000/3000000 name="CACHED-PACKETS" packet-marks=cache-packets parent=none priority=3 \
queue=pcq-upload/pcq-download target-addresses=192.168.1.0/24 total-queue=default-small
for your give hint . i make posible this to my linux box ! over 20 mb wan link and 2000 users are running well since 3 days ! thanks again