Follow us on...
Follow us on G+ Follow us on Twitter Follow us on Facebook Watch us on YouTube
Register
Results 1 to 2 of 2
  1. #1
    Status
    Offline
    koetoecyber's Avatar
    Newbie
    Join Date
    Apr 2008
    Posts
    40
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0

    limit download untuk besar file tertentu

    Mau tanya di kantor saya , saya punya email server sendiri nah bisa tidak mikrotik mengontrol besarnya file yang akan diterima oleh si email server,misal jika besar email yang didownload lebih dari 5 M maka drop / jangan di download tapi diksh log
    nah kalo besarnya kurang dari 5 M maka dapat didownload oleh si email server

    dari artikel yang sudah saya baca diforum ini yang bisa adalah jika tipe filenya zip(misal) maka besar bandwidth yang didapat 64 kbps.

    mohon bantuannya maaf merepotkan dpt tugas dr si bos nih..

  2. #2
    Status
    Offline
    tohizma's Avatar
    Newbie
    Join Date
    Jul 2009
    Posts
    34
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    Pada prinsipnya web-proxy internal mikrotik mengeluarkan log lengkap header request dan reply dari webserver yg dituju, jika donlod klo gak salah ada mime-type sama size, mungkin bisa tulis script regex berdasar debug log web-proxy ini

    Contohnya output klo dimonitor pake mtsyslog gini :
    web-proxy,debug POST /ajax/chat/typ.php HTTP/1.1 in 6-Nov 21:40:39.0 from 192.168.1.200
    web-proxy,debug Host: in 6-Nov 21:40:39.0 from 192.168.1.200
    web-proxy,debug User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2 in 6-Nov 21:40:39.0 from 192.168.1.200
    web-proxy,debug Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 in 6-Nov 21:40:39.1 from 192.168.1.200
    web-proxy,debug Accept-Language: en-us,en;q=0.5 in 6-Nov 21:40:39.1 from 192.168.1.200
    web-proxy,debug Accept-Encoding: gzip,deflate in 6-Nov 21:40:39.1 from 192.168.1.200
    web-proxy,debug Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 in 6-Nov 21:40:39.1 from 192.168.1.200
    web-proxy,debug X-SVN-Rev: 198907 in 6-Nov 21:40:39.1 from 192.168.1.200
    web-proxy,debug Content-Type: application/x-www-form-urlencoded; charset=UTF-8 in 6-Nov 21:40:39.1 from 192.168.1.200
    web-proxy,debug Referer: in 6-Nov 21:40:39.1 from 192.168.1.200
    web-proxy,debug Content-Length: 118 in 6-Nov 21:40:39.1 from 192.168.1.200


    Maaf, gak terlalu donk regex Click here to enlarge , prinsipnya parsing content-length, if lebih dari 5M then gak usah didonlod lah yaw....


    Mungkin bawah saya lebih paham nih... Click here to enlarge

    |
    V

 

 

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. (ask) limit size file download
    By joysolutions in forum Scripting @ Mikrotik
    Replies: 13
    Last Post: 07-12-2015, 15:21
  2. [ASK] Memisahkan bandwidth upload untuk file tertentu
    By sridjokoonline in forum Beginner Basics
    Replies: 1
    Last Post: 28-08-2009, 03:02
  3. (ASK) cara ngakalin blokir file extension tertentu?
    By manmalay in forum General Networking
    Replies: 13
    Last Post: 03-04-2009, 21:43
  4. limit untuk download file
    By Hari99 in forum Beginner Basics
    Replies: 3
    Last Post: 02-07-2008, 21:03
  5. limit download file
    By ahmad.rifani in forum General Networking
    Replies: 1
    Last Post: 22-08-2007, 18:42

Posting Permissions

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