ask MASALAH REFUSE CONNECTION YG BERDURASI

Diskusi tentang Ubuntu Server baik webserver, database server, samba server dan service lainnya serta jaringan menggunakan Sistem Operasi Ubuntu.
User avatar
baimzeven
Posts: 24
Joined: 25 Mar 2012, 12:28

ask MASALAH REFUSE CONNECTION YG BERDURASI

Postby baimzeven » 27 Apr 2013, 08:45

mo tanya sama masta masta di mari nich

lusca ane baru install di server
kenapa ya tiap 10 menit connection refuse ?
nnti klo saya restart lagi dia normal
beberapa saat kurang lebih 10 menit

ini saya sertakan log squid nya
2013/04/27 03:21:43| Starting Squid Cache version 2.7.STABLE9 for i686-pc-linux-gnu...
2013/04/27 03:21:43| Process ID 7132
2013/04/27 03:21:43| With 1024 file descriptors available
2013/04/27 03:21:43| Using epoll for the IO loop
2013/04/27 03:21:43| DNS Socket created at 0.0.0.0, port 41680, FD 6
2013/04/27 03:21:43| Adding nameserver 192.168.3.1 from /etc/resolv.conf
2013/04/27 03:21:43| User-Agent logging is disabled.
2013/04/27 03:21:43| Referer logging is disabled.
2013/04/27 03:21:43| logfileOpen: opening log /var/log/squid/access.log
2013/04/27 03:21:43| Unlinkd pipe opened on FD 11
2013/04/27 03:21:43| Swap maxSize 102400 + 8192 KB, estimated 8507 objects
2013/04/27 03:21:43| Target number of buckets: 425
2013/04/27 03:21:43| Using 8192 Store buckets
2013/04/27 03:21:43| Max Mem size: 8192 KB
2013/04/27 03:21:43| Max Swap size: 102400 KB
2013/04/27 03:21:43| Local cache digest enabled; rebuild/rewrite every 3600/3600 sec
2013/04/27 03:21:43| logfileOpen: opening log /var/log/squid/store.log
2013/04/27 03:21:43| Rebuilding storage in /var/spool/squid (DIRTY)
2013/04/27 03:21:43| Using Least Load store dir selection
2013/04/27 03:21:43| Set Current Directory to /var/spool/squid
2013/04/27 03:21:43| Loaded Icons.
2013/04/27 03:21:43| Accepting proxy HTTP connections at 0.0.0.0, port 3128, FD 12.
2013/04/27 03:21:43| Accepting ICP messages at 0.0.0.0, port 3130, FD 13.
2013/04/27 03:21:43| HTCP Disabled.
2013/04/27 03:21:43| WCCP Disabled.
2013/04/27 03:21:43| Ready to serve requests.
2013/04/27 03:21:43| Done scanning /var/spool/squid (0 entries)
2013/04/27 03:21:43| Finished rebuilding storage from disk.
2013/04/27 03:21:43| 0 Entries scanned
2013/04/27 03:21:43| 0 Invalid entries.
2013/04/27 03:21:43| 0 With invalid flags.
2013/04/27 03:21:43| 0 Objects loaded.
2013/04/27 03:21:43| 0 Objects expired.
2013/04/27 03:21:43| 0 Objects cancelled.
2013/04/27 03:21:43| 0 Duplicate URLs purged.
2013/04/27 03:21:43| 0 Swapfile clashes avoided.
2013/04/27 03:21:43| Took 0.6 seconds ( 0.0 objects/sec).
2013/04/27 03:21:43| Beginning Validation Procedure
2013/04/27 03:21:43| Completed Validation Procedure
2013/04/27 03:21:43| Validated 0 Entries
2013/04/27 03:21:43| store_swap_size = 0k
2013/04/27 03:21:44| storeLateRelease: released 0 objects
2013/04/27 04:15:53| Preparing for shutdown after 0 requests
2013/04/27 04:15:53| Waiting 30 seconds for active connections to finish
2013/04/27 04:15:53| FD 12 Closing HTTP connection
2013/04/27 04:15:53| Shutting down...
2013/04/27 04:15:53| FD 13 Closing ICP connection
2013/04/27 04:15:53| Closing unlinkd pipe on FD 11
2013/04/27 04:15:53| storeDirWriteCleanLogs: Starting...
2013/04/27 04:15:53| Finished. Wrote 0 entries.
2013/04/27 04:15:53| Took 0.0 seconds ( 0.0 entries/sec).
CPU Usage: 0.184 seconds = 0.084 user + 0.100 sys
Maximum Resident Size: 18640 KB
Page faults with physical i/o: 0
Memory usage for squid via mallinfo():
total space in arena: 2112 KB
Ordinary blocks: 2038 KB 3 blks
Small blocks: 0 KB 6 blks
Holding blocks: 280 KB 1 blks
Free Small blocks: 0 KB
Free Ordinary blocks: 73 KB
Total in use: 2318 KB 97%
Total free: 73 KB 3%
2013/04/27 04:15:53| logfileClose: closing log /var/log/squid/store.log
2013/04/27 04:15:53| logfileClose: closing log /var/log/squid/access.log
2013/04/27 04:15:53| Squid Cache (Version 2.7.STABLE9): Exiting normally.

ada yg salah kah ?


ini squid conf bila perlu

#-----------------------------------------------------#
## SQUID - High Performance Configuration
## ---------------------------------------------------#
## Updated: 19 March 2013 | ZEVEN-Net
##
#-----------------------------------------------------#

http_port 3128 transparent

cache_mem 8 MB

server_http11 on

pid_filename /var/run/squid.pid
coredump_dir /var/spool/squid/
error_directory /usr/share/squid/errors/English
icon_directory /usr/share/squid/icons
mime_table /etc/squid/mime.conf

maximum_object_size_in_memory 4 KB

memory_replacement_policy heap GDSF
cache_replacement_policy heap LFUDA

minimum_object_size 0 KB
maximum_object_size 400 MB

cache_swap_low 98%
cache_swap_high 99%




cache_dir aufs /cache1 45000 48 256
cache_dir aufs /cache2 45000 48 256
cache_dir aufs /cache3 45000 48 256
cache_dir aufs /cache4 45000 48 256
cache_dir aufs /cache5 45000 48 256



access_log /cache1/access.log
cache_log /cache1/cache.log
cache_log /dev/null
cache_store_log /dev/null

redirect_rewrites_host_header off

acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255

acl SSL_ports port 443 563 873 # https snews rsync
acl Safe_ports port 80 # http
acl Safe_ports port 20 21 # ftp
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 631 # cups
acl Safe_ports port 10000 # webmin
acl Safe_ports port 901 # SWAT
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl Safe_ports port 873 # rsync
acl Safe_ports port 110 # POP3
acl Safe_ports port 25 # SMTP
acl Safe_ports port 2095 2096 # webmail from cpanel
acl Safe_ports port 2082 2083 # cpanel

acl CONNECT method CONNECT
acl dynamic urlpath_regex cgi-bin \?
acl all src 0.0.0.0/0
acl zevennet src 192.168.2.0/24
http_access allow manager
http_access allow localhost
http_access allow zevennet
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access deny all
http_reply_access allow all
snmp_port 3401
acl snmppublic snmp_community public
snmp_access allow snmppublic all

acl admin src 192.168.10.250/32
acl management src 192.168.10.251/32
acl range url_regex -i .*youtube\.com\/videoplayback.*range\=.*$
http_access deny range
acl download url_regex -i \.avi$ \.mpg$ \.mpeg$ \.rm$ \.iso$ \.wav$ \.mov$ \.dat$ \.mpe$ \.mid$ \.flv$ \.3gp$
acl download url_regex -i ftp \.exe$ \.mp3$ \.mp4$ \.tar.gz$ \.gz$ \.tar.bz2$ \.rpm$ \.zip$ \.rar$
acl download url_regex -i \.midi$ \.rmi$ \.wma$ \.wmv$ \.ogg$ \.ogm$ \.m1v$ \.mp2$ \.mpa$ \.wax$
acl download url_regex -i \.m3u$ \.asx$ \.wpl$ \.wmx$ \.dvr-ms$ \.snd$ \.au$ \.aif$ \.asf$ \.m2v$
acl download url_regex -i \.m2p$ \.ts$ \.tp$ \.trp$ \.div$ \.divx$ \.mod$ \.vob$ \.aob$ \.dts$
acl download url_regex -i \.ac3$ \.cda$ \.vro$ \.deb$ \.mkv$

delay_pools 2

delay_class 1 1
delay_parameters 1 -1/-1
delay_access 1 allow admin
delay_access 1 allow admin management
delay_access 1 deny all

delay_class 2 1
delay_parameters 2 40000/5000000
delay_access 2 allow download
delay_access 2 deny all

#konten dinamik
acl store_rewrite_list urlpath_regex \/(get_video|videoplayback\?id|videoplayback.*id) \.(jp(e?g|e|2)|gif|png|tiff?|bmp|ico|flv|wmv|3gp|mp(4|3)|exe|msi|zip|on2|mar|swf)\?
acl store_rewrite_list_domain url_regex ^http:\/\/([a-zA-Z-]+[0-9-]+)\.[A-Za-z]*\.[A-Za-z]*
acl store_rewrite_list_domain url_regex (([a-z]{1,2}[0-9]{1,3})|([0-9]{1,3}[a-z]{1,2}))\.[a-z]*[0-9]?\.[a-z]{3}
acl store_rewrite_list_path urlpath_regex \.(jp(e?g|e|2)|gif|png|tiff?|bmp|ico|flv|avc|zip|mp3|3gp|rar|on2|mar|exe)$
acl store_rewrite_list_domain_CDN url_regex (khm|mt)[0-9]?.google.co(m|\.id) streamate.doublepimp.com.*\.js\? photos-[a-z].ak.fbcdn.net \.rapidshare\.com.*\/[0-9]*\/.*\/[^\/]* ^http:\/\/(www\.ziddu\.com.*\.[^\/]{3,4})\/(.*) \.doubleclick\.net.* yieldmanager cpxinteractive ^http:\/\/[.a-z0-9]*\.photobucket\.com.*\.[a-z]{3}$ quantserve\.com
acl dontrewrite url_regex yimg.com redbot\.org (get_video|videoplayback\?id|videoplayback.*id).*begin\=[1-9][0-9]* \.php\?
acl range url_regex -i .*youtube\.com\/videoplayback.*range\=.*$
http_access deny range
acl getmethod method GET

storeurl_rewrite_children 2
storeurl_rewrite_concurrency 10

storeurl_access deny dontrewrite
storeurl_access deny !getmethod
storeurl_access allow store_rewrite_list_domain_CDN
storeurl_access allow store_rewrite_list
storeurl_access allow store_rewrite_list_domain store_rewrite_list_path
storeurl_access deny all

hierarchy_stoplist (ini|ui|lst|inf||mh-|sc-)$ (afs.dat|update.txt|vdf.info.gz|captcha|reset.css|gamenotice|ickernew.css)
acl QUERY urlpath_regex -i \.(ini|ui|lst|inf|mh-|sc-)$
acl QUERY urlpath_regex -i (afs.dat|captcha|reset.css|update.txt|gamenotice|vdf.info.gz)
cache deny QUERY

# 1 tahun = 525600 mins, 1 bulan = 43800 mins

refresh_pattern (get_video|videoplayback|videodownload|\.flv).*(begin|start)\=[1-9][0-9]* 0 0% 0
refresh_pattern imeem.*\.flv 0 0% 0 override-lastmod override-expire
refresh_pattern ^ftp: 40320 20% 40320 override-expire reload-into-ims store-stale
refresh_pattern ^gopher: 1440 0% 1440

refresh_pattern ^.*(streamate.doublepimp.com.*\.js\?|utm\.gif|ads\?|rmxads\.com|ad\.z5x\.net|bh\.contextweb\.com|bstats\.adbrite\.com|a1\.interclick\.com|ad\.trafficmp\.com|ads\.cubics\.com|ad\.xtendmedia\.com|\.googlesyndication\.com|advertising\.com|yieldmanager|game-advertising\.com|pixel\.quantserve\.com|adperium\.com|doubleclick\.net|adserving\.cpxinteractive\.com|syndication\.com|media.fastclick.net).* 5259487 20% 5259487 ignore-no-cache ignore-no-store ignore-private override-expire ignore-reload ignore-auth ignore-must-revalidate store-stale negative-ttl=40320 max-stale=1440
refresh_pattern .fbcdn.net.*\.(jpg|gif|png) 5259487 999999% 5259487 ignore-no-cache override-expire ignore-reload store-stale negative-ttl=0
refresh_pattern ((facebook.com)|(85.131.151.39)).*\.(png|gif) 5259487 999999% 5259487 override-expire ignore-reload store-stale
refresh_pattern ^http://v\.okezone\.com/get_video\/([a-zA-Z0-9]) 129600 100% 129600 ignore-no-cache ignore-no-store reload-into-ims override-expire ignore-must-revalidate store-stale


#antivirus
refresh_pattern avast.com.*\.vpx 40320 50% 161280 store-stale reload-into-ims
refresh_pattern (avgate|avira).*\.(idx|gz)$ 1440 90% 1440 ignore-reload ignore-no-cache ignore-no-store store-stale ignore-must-revalidate
refresh_pattern kaspersky.*\.avc$ 5259487 999999% 5259487 ignore-reload store-stale
refresh_pattern kaspersky 1440 50% 161280 ignore-no-cache store-stale
refresh_pattern mbamupdates.com.*\.ref 1440 50% 161280 reload-into-ims store-stale

#situs lainnya
refresh_pattern \.rapidshare.*\/[0-9]*\/.*\/[^\/]* 161280 90% 161280 ignore-reload store-stale
refresh_pattern (get_video\?|videoplayback\?|videodownload\?|\.flv?) 5259487 99999999% 5259487 override-expire ignore-reload store-stale ignore-private negative-ttl=0
refresh_pattern \.(ico|video-stats) 5259487 999999% 5259487 override-expire ignore-reload ignore-no-cache ignore-no-store ignore-private ignore-auth override-lastmod ignore-must-revalidate negative-ttl=10080 store-stale
refresh_pattern \.etology\? 5259487 999999% 5259487 override-expire ignore-reload ignore-no-cache store-stale
refresh_pattern galleries\.video(\?|sz) 5259487 999999% 5259487 override-expire ignore-reload ignore-no-cache store-stale
refresh_pattern brazzers\? 5259487 999999% 5259487 override-expire ignore-reload ignore-no-cache store-stale
refresh_pattern \.adtology\? 5259487 999999% 5259487 override-expire ignore-reload ignore-no-cache store-stale
refresh_pattern ^.*safebrowsing.*google 5259487 999999% 5259487 override-expire ignore-reload ignore-no-cache ignore-no-store ignore-private ignore-auth ignore-must-revalidate negative-ttl=10080 store-stale
refresh_pattern ^http://((cbk|mt|khm|mlt)[0-9]?)\.google\.co(m|\.id) 5259487 999999% 5259487 override-expire ignore-reload store-stale ignore-private negative-ttl=10080
refresh_pattern ytimg\.com.*\.(jpg|png) 5259487 999999% 5259487 override-expire ignore-reload store-stale
refresh_pattern images\.friendster\.com.*\.(png|gif) 5259487 999999% 5259487 override-expire ignore-reload store-stale
refresh_pattern garena\.com 5259487 999999% 5259487 override-expire reload-into-ims store-stale
refresh_pattern photobucket.*\.(jp(e?g|e|2)|tiff?|bmp|gif|png) 5259487 999999% 5259487 override-expire ignore-reload store-stale
refresh_pattern vid\.akm\.dailymotion\.com.*\.on2\? 5259487 999999% 5259487 ignore-no-cache override-expire override-lastmod store-stale
refresh_pattern ^http:\/\/images|openx|pics|thumbs[0-9]\. 5259487 999999% 5259487 ignore-no-cache ignore-no-store ignore-reload override-expire store-stale
refresh_pattern ^http:\/\/www.onemanga.com.*\/ 5259487 999999% 5259487 reload-into-ims override-expire store-stale
refresh_pattern mediafire.com\/images.*\.(jp(e?g|e|2)|tiff?|bmp|gif|png) 5259487 999999% 5259487 reload-into-ims override-expire ignore-private store-stale
refresh_pattern speedtest.*\.(jp(e?g|e|2)|tiff?|bmp|gif|png|swf|txt|js) 0 50% 180 store-stale negative-ttl=0

refresh_pattern -i \.(sc-|dl-|ex-|mh-|dll) 0 50% 1440
refresh_pattern -i \.(mst|Xtp|iepngfix.htc)$ 0 50% 43800
refresh_pattern -i (main.exe|notice.html|Loader.xml|Loader.xml.zip|update.exe|grandchase.exe|FSLauncher.exe|FreeStyle_Setup.exe|rohanclient__exe.rp)$ 180 50% 43800
refresh_pattern -i (UpdaterModifier.exe|FreeStyle.exe|PBLauncher.exe|update.exe|NewLauncher.exe|NewAvalon.exe|hon.exe.zip|cabal.exe|filelist.zip|AvaClient.exe)$ 180 50% 43800
refresh_pattern -i (wks_avira-win32-en-pecl.info.gz|wks_avira10-win32-en-pecl.info.gz|update.exe.gz|setup.exe.gz|avscan.exe.gz|avguard.exe.g)$ 180 50% 180
#PB
refresh_pattern (PointBlank.exe.zip|HSUpdate.exe.zip|PBConfig.exe.zip) 180 60% 131400
refresh_pattern -i (livescore.com|goal.com) 0 50% 60

#GAME2
refresh_pattern .gemscool.com.*\(zip) 43800 100% 43800 reload-into-ims override-expire store-stale
refresh_pattern .edgecastcdn.net.*\swf\? 43800 999999% 43800 ignore-no-cache override-expire ignore-reload ignore-must-revalidate store-stale
refresh_pattern ^http://file.pb.gemscool.com/hackshield/.* 720 100% 4320 override-expire override-lastmod reload-into-ims store-stale
refresh_pattern ^http://*.facebook.poker.zynga.com/.* 720 100% 10080 override-expire override-lastmod reload-into-ims ignore-no-cache ignore-auth
refresh_pattern ^http://*.statics.poker.static.zynga.com/.* 720 100% 10080 override-expire override-lastmod reload-into-ims ignore-no-cache ignore-auth
refresh_pattern ^http://*.zynga.*/.* 720 100% 10080 override-expire override-lastmod reload-into-ims ignore-no-cache ignore-auth
refresh_pattern ^http://*.texas_holdem.*/.* 720 100% 10080 override-expire override-lastmod reload-into-ims ignore-no-cache ignore-auth
refresh_pattern ^http://*.static.facebook.mafiawar.com/.* 720 100% 10080 override-expire override-lastmod reload-into-ims ignore-no-cache ignore-auth
refresh_pattern ^http://*.static.farmville.com/.* 720 100% 10080 override-expire override-lastmod reload-into-ims ignore-no-cache ignore-auth
refresh_pattern ^http://*.nav3.zynga.com/.* 720 100% 10080 override-expire override-lastmod reload-into-ims ignore-no-cache ignore-auth
refresh_pattern ^http://*.ninjasaga.com/.* 720 100% 10080 override-expire override-lastmod reload-into-ims ignore-no-cache ignore-auth
refresh_pattern ^http://*.farmville.net./.* 720 100% 10080 override-expire override-lastmod reload-into-ims ignore-no-cache ignore-auth
refresh_pattern garena\.com 5259487 999999% 5259487 override-expire reload-into-ims store-stale



refresh_pattern \.(jp(e?g|e|2)|tiff?|bmp|gif|png) 5259487 999999% 5259487 ignore-no-cache ignore-no-store reload-into-ims override-expire ignore-must-revalidate store-stale
refresh_pattern \.(z(ip|[0-9]{2})|r(ar|[0-9]{2})|jar|bz2|gz|tar|rpm|vpu) 5259487 100% 5259487 override-expire reload-into-ims
refresh_pattern \.(mp3|wav|og(g|a)|flac|midi?|rm|aac|wma|mka|ape) 5259487 100% 5259487 override-expire reload-into-ims ignore-reload
refresh_pattern \.(exe|msi|dmg|bin|xpi|iso|swf|mar|psf|cab) 5259487 999999%% 5259487 override-expire reload-into-ims ignore-no-cache ignore-must-revalidate
refresh_pattern \.(mpeg|ra?m|avi|mp(g|e|4)|mov|divx|asf|wmv|m\dv|rv|vob|asx|ogm|flv|3gp|on2) 5259487 100% 5259487 override-expire reload-into-ims
refresh_pattern -i (cgi-bin) 0 0% 0
refresh_pattern \.(php|jsp|cgi|asx)\? 0 0% 0
refresh_pattern . 0 50% 161280 store-stale
header_access X-Forwarded-For deny all

storeurl_rewrite_program /usr/local/share/squid/storeurl.pl
include /usr/local/share/squid/refresh.conf

fqdncache_size 4096
ipcache_low 98
ipcache_high 99
quick_abort_min 0
quick_abort_max 0
quick_abort_pct 75
shutdown_lifetime 10 seconds
memory_pools off
buffered_logs off
log_icp_queries off
logfile_rotate 1
log_fqdn off
forwarded_for off
icp_hit_stale on
query_icmp on
reload_into_ims on
emulate_httpd_log off
negative_ttl 2 minutes
pipeline_prefetch on
vary_ignore_expire on
half_closed_clients off
high_page_fault_warning 2
nonhierarchical_direct on
prefer_direct off
cache_mgr baimzeven@gmail.com
cache_effective_user proxy
cache_effective_group proxy
visible_hostname zeven-Net
unique_hostname zeven-Net
cachemgr_passwd none all
client_db on
max_filedescriptors 8192

# TAG: ZPH
zph_mode tos
zph_local 0x30
zph_parent 0
zph_option 136


mungkin sesepuh dimari ada yg bisa bantu ?
atau mungkin masalah hardware ??
bilamana masalah hardware ?
thanks
User avatar
baimzeven
Posts: 24
Joined: 25 Mar 2012, 12:28

Re: ask MASALAH REFUSE CONNECTION YG BERDURASI

Postby baimzeven » 02 May 2013, 05:03

solusinya adalah

jeng jeng ..... masalah get methood di squid conf

Return to “Ubuntu Server”

Who is online

Users browsing this forum: No registered users and 5 guests