Follow us on...
Follow us on G+ Follow us on Twitter Follow us on Facebook Watch us on YouTube
Register
Page 1 of 3 123 LastLast
Results 1 to 15 of 39
  1. #1
    Status
    Offline
    yogaponsel's Avatar
    Forum Guru
    Join Date
    Oct 2008
    Location
    "BnetAkses"
    Posts
    2,511
    Reviews
    Read 0 Reviews
    Downloads
    1
    Uploads
    0
    Feedback Score
    0

    Mikrotik Dan External Squid Dgn Zph Patch

    coba dan berbagi bagi pengguna squid external dengan zph...
    perangkat ubuntu server 9.04 + rb450G .

    bisa ditaruh pada baris terakhir di squidnya..
    #Squid Zph

    zph_tos_local 0×30
    zph_tos_peer 0
    zph_tos_parent off
    zph_preserve_miss_tos on


    untuk mangle ...
    0 chain=forward action=mark-connection new-connection-mark=squid_con passthrough=yes
    content=X-Cache: HIT

    1 chain=forward action=mark-packet new-packet-mark=squid_pkt passthrough=no connection-mark=squid_co>

    2 chain=forward action=mark-connection new-connection-mark=all_con passthrough=yes
    connection-mark=!squid_con

    3 chain=forward action=mark-packet new-packet-mark=http_pkt passthrough=no protocol=tcp src-port=80
    connection-mark=all_con

    4 chain=forward action=mark-packet new-packet-mark=icmp_pkt passthrough=no protocol=icmp
    connection-mark=all_con

    5 chain=forward action=mark-packet new-packet-mark=test_pkt passthrough=no connection-mark=all_con

    6 X chain=postrouting action=mark-packet new-packet-mark=proxy-hit passthrough=no dscp=12
    ---- nggak di pake ... di hapus aja

    7 X chain=output action=mark-connection new-connection-mark=cache_con passthrough=yes
    src-address=192.168.11.0/24 content=X-Cache: HIT

    8 X chain=output action=mark-packet new-packet-mark=xpaket passthrough=no connection-mark=cache_con


    untuk simple kue - kue nya .... :
    0 name="Squid_HIT" dst-address=0.0.0.0/0 interface=all parent=none packet-marks=squid_pkt
    direction=both priority=1 queue=default-small/default-small limit-at=0/0 max-limit=128k/512k
    burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s total-queue=default-small

    1 name="pc-1" target-addresses=192.168.11.2/32 dst-address=0.0.0.0/0 interface=all parent=none
    direction=both priority=8 queue=default-small/default-small limit-at=0/0 max-limit=64k/128k
    burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s total-queue=default-small


    ( mohon koreksinya dari pakar squid .... ya ... masalah nggak ada .. )Click here to enlarge
    Last edited by yogaponsel; 07-06-2009 at 15:21.

  2. The Following User Says Thank You to yogaponsel For This Useful Post:


  3. #2
    Status
    Offline
    ch4rli3's Avatar
    Member
    Join Date
    Jul 2007
    Posts
    158
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    6 X chain=postrouting action=mark-packet new-packet-mark=proxy-hit passthrough=no dscp=12
    di disable? gak tercounter?

    Bagaimana dg ini:
    chain=prerouting action=mark-packet new-packet-mark=proxy-hit passthrough=no dscp=12

    jika ini tercounter maka saya rasa: mangle no 0 tidak diperlukan lagi.

    dan utk client tinggal di tambahkan di mangle dscp=!12, artinya MISS buat client.

    mari kita diskusikan bersama..
    Click here to enlarge

  4. #3
    Status
    Offline
    yogaponsel's Avatar
    Forum Guru
    Join Date
    Oct 2008
    Location
    "BnetAkses"
    Posts
    2,511
    Reviews
    Read 0 Reviews
    Downloads
    1
    Uploads
    0
    Feedback Score
    0
    ups sory untuk mangle ya itu seharusnya nggak ke pake ... sory ... kemaren sih coba 2 ... thx ya ... cuma perlu masukan dari teman2 agar penggunaan squid external lebih maksimal .... mungkin ada yang perlu ditambahi.. atau di CONTRENG

  5. #4
    Status
    Offline
    yogaponsel's Avatar
    Forum Guru
    Join Date
    Oct 2008
    Location
    "BnetAkses"
    Posts
    2,511
    Reviews
    Read 0 Reviews
    Downloads
    1
    Uploads
    0
    Feedback Score
    0
    salah kopi dari winbox .... sori .. manglenya pake yang nih .... ( dioreksi ya )
    0 chain=forward action=mark-connection new-connection-mark=squid_con passthrough=yes
    content=X-Cache: HIT

    1 chain=forward action=mark-packet new-packet-mark=squid_pkt passthrough=no connection-mark=squid_con

    2 chain=forward action=mark-connection new-connection-mark=all_con passthrough=yes
    connection-mark=!squid_con

    3 chain=forward action=mark-packet new-packet-mark=http_pkt passthrough=no protocol=tcp src-port=80
    connection-mark=all_con

    4 chain=forward action=mark-packet new-packet-mark=icmp_pkt passthrough=no protocol=icmp
    connection-mark=all_con

    5 chain=forward action=mark-packet new-packet-mark=test_pkt passthrough=no connection-mark=all_con

  6. The Following 2 Users Say Thank You to yogaponsel For This Useful Post:


  7. #5
    Status
    Offline
    ch4rli3's Avatar
    Member
    Join Date
    Jul 2007
    Posts
    158
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    nah..utk yang pake content=X-Cache: HIT
    di bandingkan dscp=12..
    lebih optimal mana?

    saya lebih mencontreng yang dscp=12 krn ini berdasarkan tag header. Click here to enlarge

  8. #6
    Status
    Offline
    yogaponsel's Avatar
    Forum Guru
    Join Date
    Oct 2008
    Location
    "BnetAkses"
    Posts
    2,511
    Reviews
    Read 0 Reviews
    Downloads
    1
    Uploads
    0
    Feedback Score
    0
    Click here to enlarge Originally Posted by ch4rli3 Click here to enlarge
    nah..utk yang pake content=X-Cache: HIT
    di bandingkan dscp=12..
    lebih optimal mana?

    saya lebih mencontreng yang dscp=12 krn ini berdasarkan tag header. Click here to enlarge
    thx masukan nya bro ... gua coba dah ... ntar dicomment kalo udah ada perbedaannya ....

  9. #7
    Status
    Offline
    ripmanis's Avatar
    VIP Member
    Join Date
    Dec 2008
    Location
    Balikpapan as Balikpapaners
    Posts
    774
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    Click here to enlarge Originally Posted by yogaponsel Click here to enlarge
    thx masukan nya bro ... gua coba dah ... ntar dicomment kalo udah ada perbedaannya ....
    segera ikut ditiru juragaaann.. Click here to enlarge

  10. #8
    Status
    Offline
    sum14rdi's Avatar
    VIP Member
    Join Date
    Sep 2007
    Location
    Tambun-Bekasi
    Posts
    860
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    1 (100%)
    iseng2 dicobain dua mode, x-cache:Hit dan DSCP..

    ini manglenya:
    0 ;;; zph
    chain=prerouting action=mark-packet new-packet-mark=proxy-pkt
    passthrough=no protocol=tcp content=X-Cache: HIT

    1 ;;; zph
    chain=prerouting action=mark-packet new-packet-mark=proxy-pkt
    passthrough=no protocol=tcp dscp=12
    kemudian dipantau trafiknya, kondisi awal sama-sama nol seperti dibawah ini


    setelah beberapa lama kemudian menjadi:


    (sorry klo gambarnya kecil2...)

    nah klo ditempat saya terlihat lebih banyak "yang nyangkut" jika menggunakan DSCP dibandingkan dengan X-cache: HIT

    ditunggu yang lainnya untuk sekedar berbagi........Click here to enlarge

  11. #9
    Status
    Offline
    clovanzo's Avatar
    Member Senior
    Join Date
    Sep 2007
    Posts
    408
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    ada zph patch buat squid-2.6.STABLE22 ga ya?

  12. #10
    Status
    Offline
    sum14rdi's Avatar
    VIP Member
    Join Date
    Sep 2007
    Location
    Tambun-Bekasi
    Posts
    860
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    1 (100%)
    udah kemari gan ....Tapi kayaknya gak ada ya gan..??

    mending naik kelas aja gan ke 2.7.STABLE6, gak perlu patch2 segala...hehehe sekedar usul gan...Click here to enlarge

  13. #11
    Status
    Offline
    yogaponsel's Avatar
    Forum Guru
    Join Date
    Oct 2008
    Location
    "BnetAkses"
    Posts
    2,511
    Reviews
    Read 0 Reviews
    Downloads
    1
    Uploads
    0
    Feedback Score
    0
    kalo aku pake koq trafiknya besaran yg ini ... aneh ...?

    0 chain=prerouting action=mark-packet new-packet-mark=squid_pkt passthrough=no content=X-Cache: HIT

  14. #12
    Status
    Offline
    felix_sg's Avatar
    Member Super Senior
    Join Date
    Sep 2007
    Location
    indonesia
    Posts
    607
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    mungkin mau di liat pake squid ver berapa linux.

  15. #13
    Status
    Offline
    clovanzo's Avatar
    Member Senior
    Join Date
    Sep 2007
    Posts
    408
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    Click here to enlarge Originally Posted by sum14rdi Click here to enlarge
    udah kemari gan ....Tapi kayaknya gak ada ya gan..??

    mending naik kelas aja gan ke 2.7.STABLE6, gak perlu patch2 segala...hehehe sekedar usul gan...Click here to enlarge
    Udah terlanjur jatuh cinta sama 2.6 boss, soalnya url_rewrite_program (dibutuhkan buat cache video) adanya di versi itu Click here to enlarge

  16. #14
    Status
    Offline
    hikmahcell's Avatar
    Member Senior
    Join Date
    Apr 2009
    Location
    Tolitoli, Sulawesi Tengah, Indonesia, Indonesia
    Posts
    488
    Reviews
    Read 0 Reviews
    Downloads
    5
    Uploads
    0
    Feedback Score
    0
    Click here to enlarge Originally Posted by clovanzo Click here to enlarge
    Udah terlanjur jatuh cinta sama 2.6 boss, soalnya url_rewrite_program (dibutuhkan buat cache video) adanya di versi itu Click here to enlarge
    lah' emang di v.2.7 gak support url_rewrite_program ya gan?

  17. #15
    Status
    Offline
    zainalk29's Avatar
    Member Super Senior
    Join Date
    Aug 2007
    Location
    Banjarmasin, Yogyakarta, Indonesia
    Posts
    676
    Reviews
    Read 0 Reviews
    Downloads
    1
    Uploads
    0
    Feedback Score
    0
    support ko di 2.7.STABLE6 untuk url_rewrite_program.
    kalau aku pakai nya ini
    /ip firewall mangle chain=prerouting action=mark-packet new-packet-mark=proxy-hit passthrough=no dscp=12

 

 
Page 1 of 3 123 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 36
    Last Post: 15-10-2011, 13:52
  2. Pake squid external lebih lemot dari internal MT
    By kunimihiro in forum General Networking
    Replies: 30
    Last Post: 17-05-2011, 07:40
  3. Replies: 6
    Last Post: 25-02-2010, 02:14
  4. (ask) patch ragnarok bermasalah mikrotik salah setting ?
    By asking in forum General Networking
    Replies: 6
    Last Post: 09-10-2008, 16:14
  5. Proxy External utk Mikrotik
    By juniorbrother in forum Chit Chat
    Replies: 2
    Last Post: 26-05-2008, 15:10

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •