Follow us on...
Follow us on G+ Follow us on Twitter Follow us on Facebook Watch us on YouTube
Register
Results 1 to 6 of 6
  1. #1
    Status
    Offline
    ahmad210993's Avatar
    Member Senior
    Join Date
    Jun 2009
    Location
    Semarang - www.dyasrtrw.net
    Posts
    440
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0

    [tanya] Proxy menolak download file

    kepada suhu-suhu Linux dan mikrotik.

    saya mengalami masalah dalam server proxy saya,
    1. setiap saya mendownload file, selalu saja keluar service unavaible atw bad request. kenapa ya? Click here to enlargeClick here to enlarge
    2. setiap buka web yg secure (https) selalu saja keluar Sambungan Aman Gagal, SSL menerima bagian pesan yang panjangnya melebihi yang dibolehkan.Click here to enlarge

    ada yang bisa kasih tau apa penyebabnya?

    Help Me.... Click here to enlarge

  2. #2
    Status
    Offline
    yosanpro's Avatar
    Co-Admin
    Join Date
    Nov 2007
    Location
    Bantul, Bantul, Yogyakarta
    Posts
    2,559
    Reviews
    Read 0 Reviews
    Downloads
    11
    Uploads
    4
    Feedback Score
    1 (100%)
    Bisa lebih diperinci, khususnya topologi dan setting redirectnya (kalau ada).

  3. #3
    Status
    Offline
    vzouh's Avatar
    Member Super Senior
    Join Date
    Jun 2009
    Location
    Solo-Sragen PP
    Posts
    680
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    Click here to enlarge Originally Posted by ahmad210993 Click here to enlarge
    kepada suhu-suhu Linux dan mikrotik.

    saya mengalami masalah dalam server proxy saya,
    1. setiap saya mendownload file, selalu saja keluar service unavaible atw bad request. kenapa ya? Click here to enlargeClick here to enlarge
    2. setiap buka web yg secure (https) selalu saja keluar Sambungan Aman Gagal, SSL menerima bagian pesan yang panjangnya melebihi yang dibolehkan.Click here to enlarge

    ada yang bisa kasih tau apa penyebabnya?

    Help Me.... Click here to enlarge
    akhirnya dah jalan ya bos squidnya Click here to enlarge
    1. itu download yg diblok dari browser ato pake accelerator ?
    2. sudah pernah dibahas sebelumnya... https/443 jangan dibelok'in ke squid... pada prinsipnya SSL harus terkoneksi langsung tanpa ada caching... klo di squid dia harus di bypass
    CMIIW Click here to enlarge

  4. #4
    Status
    Offline
    yosanpro's Avatar
    Co-Admin
    Join Date
    Nov 2007
    Location
    Bantul, Bantul, Yogyakarta
    Posts
    2,559
    Reviews
    Read 0 Reviews
    Downloads
    11
    Uploads
    4
    Feedback Score
    1 (100%)
    Setuju sama bro vzouh, kalau https dibelokkan ke squid (transparent) gak bisa, tapi kalau diset di browser manual https bisa pake squid.

  5. #5
    Status
    Offline
    c0nf's Avatar
    Contributor
    Join Date
    Jul 2007
    Location
    Bandung, Indonesia
    Posts
    1,816
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    sama kayak model mau masuk ke facebook ya?
    kalo port 443 nya dibelokin ke proxy, yg ada bengong facebook nya Click here to enlarge
    tapi kalo manual dipasang di browser, baru lancarClick here to enlarge

  6. #6
    Status
    Offline
    ahmad210993's Avatar
    Member Senior
    Join Date
    Jun 2009
    Location
    Semarang - www.dyasrtrw.net
    Posts
    440
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    Click here to enlarge Originally Posted by vzouh Click here to enlarge
    akhirnya dah jalan ya bos squidnya Click here to enlarge
    1. itu download yg diblok dari browser ato pake accelerator ?
    2. sudah pernah dibahas sebelumnya... https/443 jangan dibelok'in ke squid... pada prinsipnya SSL harus terkoneksi langsung tanpa ada caching... klo di squid dia harus di bypass
    CMIIW Click here to enlarge
    yup, dengan resep yang kemarin boss vzouh beri itu,

    oh, begitu, baru tau kalo port 443 di transparent proxy kagak mau, Click here to enlarge

    trus yg download file bagaimana bos? ini selalu saja keluar no route to host(firefox), atau timed out(opera) dan gateway timed out (IDM) Click here to enlarge

    setingan network tempat saya:
    gateway: 192.168.31.215
    proxy: 192.168.31.225
    client: 192.168.31.0/24

    setingan firewall:
    ip fire nat pr
    Flags: X - disabled, I - invalid, D - dynamic
    0 chain=hs-auth action=dst-nat to-addresses=192.168.31.225 to-ports=8080
    protocol=tcp src-address=!192.168.31.225 dst-port=80

    squid.conf
    Code:
    acl all src all
    acl manager proto cache_object
    acl localhost src 127.0.0.1/255.255.255.255
    acl to_localhost dst 127.0.0.0/8
    acl SSL_ports port 443
    acl Safe_ports port 80 # http
    acl Safe_ports port 21 # ftp
    acl Safe_ports port 443 # https
    acl Safe_ports port 777 # multiling http
    acl CONNECT method CONNECT
    acl clients src 192.168.67.0/24 192.168.31.0/24
    http_access allow clients fo
    http_access deny all
    icp_access allow all
    http_port 8080 transparent
    acl download urlpath_regex -i \.exe? \.mp3? \.mp4? \.tar.gz? \.gz? \.tar.bz2? \.rpm? \.zip? \.rar? \.avi? \.mpg? \.mpeg?
    acl download urlpath_regex -i \.rm? \.iso? \.wav? \.mov? \.dat? \.mpe? \.mid? \.midi? \.rmi? \.wma? \.wmv? \.ogg? \.ogm? \.m1v?
    acl download urlpath_regex -i \.mp2? \.mpa? \.wax? \.m3u? \.asx? \.wpl? \.wmx? \.dvr-ms? \.snd? \.au? \.aif? \.asf? \.m2v? \.m2p?
    acl download urlpath_regex -i \.ts? \.tp? \.trp? \.div? \.divx? \.mod? \.vob? \.aob? \.dts? \.ac3? \.cda? \.vro? \.deb? \.bin?
    acl download urlpath_regex -i get_video\?video_id videodownload\? \initialmeter.php? \meter.php? \result.php?
    acl download urlpath_regex -i \.jpg?$ \.png?$ \.jpeg?$ \.gif?$ \.bmp?$ \.ico?$ \.swf?$
    acl download urlpath_regex -i speedtest?
    acl ups dstdomain .?vip?.yahoo.com .lpmpsulteng.org .vip.mud.yahoo.com .vip.re2.yahoo.com .vip.re1.yahoo.com .google.com .gmail.com .telkom.net .hotmail.com .live.com .plasa.com .sentosamotor.com
    acl downs dstdomain .kaskus.us .doubleclick.net .yimg.com .google.co.id .google-analytics.com .youtube.com .speedtest.net .ookla.com 
    acl downs dstdomain .ip-ku.com .rapidshare.com .rapidshare.de .topspeed-shop.com .msn.com .mansion88.com .adbrite.com .kapetbatui.org
    acl nonoperate dstdomain .multiply.com .surabaya.detik.com bandung.detik.com .indo-pc.com .bursamoge.com .lagado.com .e-zy.net .balabit.com .forummikrotik.com .mikrotik.com .pdajakarta.com
    acl browsing urlpath_regex -i \.htm? \.html? \.asp? \.aspx? \.php? \.php3? \.php4? \.js? \.css? \.shtm? \.shtml? \.jsp? \.jsf? \.xml? \.dll?
    server_persistent_connections off
    acl QUERY urlpath_regex cgi-bin \?
    cache deny QUERY
    cache_mem 64 MB
    maximum_object_size_in_memory 16 KB
    memory_replacement_policy heap GDSF
    cache_replacement_policy heap GDSF
    cache_dir coss /var/spool/squid 10240 16 256
    maximum_object_size 1024 KB
    cache_swap_log /var/logs/%s
    refresh_pattern ^ftp: 1440 20% 10080
    refresh_pattern ^gopher: 1440 0% 1440
    refresh_pattern . 0 20% 4320
    quick_abort_min 0 KB
    quick_abort_max 0 KB
    quick_abort_pct 99
    store_avg_object_size 15 KB
    acl apache rep_header Server ^Apache
    broken_vary_encoding allow apache
    forward_timeout 3 minutes
    cache_mgr ahmad210993@gmail.com
    cache_effective_user proxy
    cache_effective_group proxy
    icp_port 0
    coredump_dir /var/cache
    Bagaimana ini? Click here to enlarge
    apakah ada yg perlu di ubah??

 

 

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. Filter download file > 1 MB
    By biasaja in forum General Networking
    Replies: 0
    Last Post: 05-08-2009, 12:35
  3. Object/file hasil download ga masuk cache
    By vandrisar in forum General Networking
    Replies: 4
    Last Post: 21-10-2008, 18:44
  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
  •