UPDATE GAME ONLINE

Diskusi tentang Ubuntu Server baik webserver, database server, samba server dan service lainnya serta jaringan menggunakan Sistem Operasi Ubuntu.
User avatar
Aira
Posts: 70
Joined: 22 Mar 2012, 21:20

UPDATE GAME ONLINE

Postby Aira » 31 Mar 2013, 23:54

Mari kita diskusikan tentang UPDATE GAME ONLINE
Yang sudah dapat tercache
[spoiler=Seperti :]
PointBlank
SEALOnlineIDN
PerfectWorld
CrossFire
CrazyKart2
AyoDance
Grand Chase
WarRock[/spoiler]
Yang belum tercache
[spoiler=Seperti :]
Idol-street Next Gen
LineageII
RagnarokOnline
Rohan
Atlantica Online
CABAL Online
DragonNest
LostSaga
YulgangOnline[/spoiler]

Di tempat saya =
Squid-2.7.STABLE9
OS ubuntu-10.04.4-server-amd64 + Mikrotik RB750

Toplogi Jaringan
[img:center]http://s22.postimg.org/sysyl6qy9/Topologi_jaringan_GIGA.jpg[/img]

Contoh Squid.conf sederhana dari kepunyaan yohanexz
squid.conf standar
#================
# ACCESS CONTROLS
#================
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl Safe_ports port 21 70 80 210 280 443 488 563 591 631 777 901 81 3128 1025-65535
acl SSL_ports port 443 563 81
acl purge method PURGE
acl CONNECT method CONNECT
http_access allow manager localhost
http_access deny manager
http_access allow purge localhost
http_access deny purge
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localhost
http_access deny all

#================
# NETWORK OPTIONS
#================
http_port 3128 transparent
zph_mode tos
zph_local 0x30
zph_parent 0
zph_option 136
cache_effective_user proxy
cache_effective_group proxy

#=====================
# MEMORY CACHE OPTIONS
#=====================
cache_mem 8 MB
maximum_object_size_in_memory 32 KB
memory_replacement_policy heap GDSF

#===================
# DISK CACHE OPTIONS
#===================
cache_replacement_policy heap LFUDA
cache_dir aufs /cache 20000 18 256
minimum_object_size 512 bytes
maximum_object_size 200000 KB
cache_swap_low 90
cache_swap_high 95

#================
# LOGFILE OPTIONS
#================
error_directory /usr/share/lusca/errors/English
icon_directory /usr/share/lusca/icons
pid_filename /var/run/squid.pid
mime_table /etc/squid/mime.conf
access_log /var/spool/squid/access.log
cache_log /var/spool/squid/cache.log
cache_store_log none
logfile_rotate 1

#=============================
# OPTIONS FOR TUNING THE CACHE
#=============================
acl cache_allow_dom dstdomain .youtube.com .googlevideo.com .4shared.com .speedtest.net
storeurl_access allow cache_allow_dom
storeurl_access deny all

storeurl_rewrite_program /etc/squid/storeurl.pl
storeurl_rewrite_children 7
storeurl_rewrite_concurrency 15

#=========================================================
# REFRESH PATTERN FOR TUNING THE CACHE
# 1 year = 525600 mins, 1 month = 10080 mins, 1 day = 1440
#=========================================================
refresh_pattern ^.*safebrowsing.*google 43200 999999% 43200 override-expire ignore-reload ignore-no-cache ignore-private ignore-auth ignore-must-revalidate negative-ttl=10080 store-stale
refresh_pattern ytimg\.com.*\.jpg 43200 999999% 43200 override-expire ignore-reload store-stale
refresh_pattern ^http:\/\/images|pics|thumbs[0-9]\. 43200 999999% 43200 reload-into-ims ignore-no-cache ignore-no-store ignore-reload override-expire store-stale
refresh_pattern -i \.facebook.com.*\.(jpg|gif|png) 129600 999999% 129600 ignore-reload override-expire ignore-no-cache ignore-no-store store-stale
refresh_pattern -i \.fbcdn.net.*\.(jpg|gif|png|swf|mp3) 129600 999999% 129600 ignore-reload override-expire ignore-no-cache ignore-no-store store-stale
refresh_pattern static\.ak\.fbcdn\.net*\.(jpg|gif|png) 129600 999999% 129600 ignore-reload override-expire ignore-no-cache ignore-no-store store-stale
refresh_pattern ^http:\/\/profile\.ak\.fbcdn.net*\.(jpg|gif|png) 129600 999999% 129600 ignore-reload override-expire ignore-no-cache ignore-no-store store-stale
refresh_pattern ^http:\/\/apps.facebook.com.*\/ 10080 999999% 43200 ignore-reload override-expire ignore-no-cache ignore-no-store store-stale
refresh_pattern speedtest\. 259200 80% 259200 override-expire reload-into-ims stale-while-revalidate=2592000 ignore-private ignore-no-cache negative-ttl=0
refresh_pattern .zynga.com.*\.(swf|jpg|gif|png|mp3) 129600 999999% 129600 override-expire ignore-reload store-stale
refresh_pattern \.(jp(e?g|e|2)|tiff?|bmp|gif|png)($|&) 43200 99999% 43200 override-expire ignore-no-cache ignore-no-store reload-into-ims ignore-private store-stale
refresh_pattern \.(z(ip|[0-9]{2})|r(ar|[0-9]{2})|jar|bz2|gz|tar|rpm|vpu) 43200 99999% 43200 override-expire reload-into-ims store-stale ignore-must-revalidate
refresh_pattern \.(mp3|wav|og(g|a)|flac|midi?|rm|aac|wma|mka|ape) 43200 99999% 43200 override-expire reload-into-ims ignore-reload ignore-must-revalidate store-stale
refresh_pattern \.(kom|pak|stg|nzp|iop|exe|msi|dmg|bin|xpi|iso|swf |mar|psf|cab) 43200 99999% 43200 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|r v|vob|asx|ogm|flv|3gp|on2) 43200 99999% 43200 override-expire reload-into-ims ignore-must-revalidate ignore-private ignore-no-store store-stale
refresh_pattern ^ftp: 10080 95% 43200 override-lastmod reload-into-ims store-stale
refresh_pattern -i (cgi-bin|Loder|login|sources) 0 0% 0
refresh_pattern \.(php|jsp|cgi|asx|js|jsp)\? 0 0% 0
refresh_pattern . 0 50% 4320 override-lastmod reload-into-ims store-stale

#=============
# HTTP OPTIONS
#=============
quick_abort_min 0 KB
quick_abort_max 0 KB
quick_abort_pct 98
range_offset_limit 128 KB
store_avg_object_size 13 KB
negative_ttl 0 second
positive_dns_ttl 12 hour
negative_dns_ttl 1 minute
vary_ignore_expire on
server_http11 on
half_closed_clients off
shutdown_lifetime 5 seconds

#==========================
# ADMINISTRATIVE PARAMETERS
#==========================
cache_mgr webmaster
visible_hostname webmaster

#============
# ICP OPTIONS
#============
icp_port 0
log_icp_queries off
client_db on
buffered_logs on
log_fqdn off
icp_hit_stale on
query_icmp on
retry_on_error off

#============
# DNS OPTIONS
#============
dns_nameservers 8.8.8.8
dns_nameservers 8.8.4.4
ipcache_size 16384
ipcache_low 90
ipcache_high 95
fqdncache_size 16384

#==============
# MISCELLANEOUS
#==============
memory_pools off
forwarded_for on
reload_into_ims on
offline_mode off
coredump_dir /var/spool/squid
pipeline_prefetch on


[size:14pt][font:Arial Black]Mari kita diskusikan [/font][/size]
User avatar
q_p
Posts: 3109
Joined: 14 Oct 2012, 13:01
Contact:

Re: UPDATE GAME ONLINE

Postby q_p » 01 Apr 2013, 00:43

Nice, ikutan mas =

Saran =
lengkapi juga dengan data pendukung (mohon dikoreksikurang/lebih-ya) =
1. tambahkan versi squid , OS-nya
2. topologi jaringan LAN

Misalnya, di tempat saya =
Squid-2.7.STABLE9
OS Ubuntu Server 10.04.4 LTS 64 bit (full ubuntu-server tanpa mikrotik)
Toplogi seperti gambar berikut =

[img:center]http://s20.postimage.org/gii02uk8d/topologi.png[/img]

Game on-line yang di-install =
Ragnarok
LosrSaga
DragonNest
Rohan
AyoDance
PointBlank
CSO
PerfectWorld
WarRock
Rappelz
Antlatica
Xshoot

Semuanya ter-cache
Namun terkendala pada Rohan yang error (Invalid CRC) saben upgrade versi. Sampai sekarang Rohan belum fix (satu bulan lebih)
Tidak ada yang istimewa dalam squid.conf saya. Hanya menambahkan semua Port game ke dalam opsi safe_port.
squid.conf
# WarnetersA | Kyai Saleh 29 Pati
# Last edited 21th, march 2013

cache_peer 127.0.0.1 parent 8282 0 no-query no-digest no-netdb-exchange default

http_port 3128 transparent
server_http11 on
icp_port 0

include /etc/squid/fine_tune.conf
icon_directory /usr/share/squid/icons
cache_dir aufs /proxy_1 15000 32 256
cache_dir aufs /proxy_2 15000 32 256
cache_swap_log /var/log/squid/swap.state
cache_access_log /var/log/squid/access.log
referer_log /var/log/squid/referer.log
cache_log /dev/null
cache_store_log /dev/null
pid_filename /var/run/squid.pid
coredump_dir /var/spool/squid/
error_directory /usr/share/squid/errors/English
mime_table /etc/squid/mime.conf

dns_nameservers 127.0.0.1
uri_whitespace strip
emulate_httpd_log off

ftp_user anonymous@
ftp_list_width 32
ftp_passive on
ftp_sanitycheck on

include /etc/squid/acl.conf

url_rewrite_program /usr/local/bin/squidGuard -c /usr/local/squidGuard/squidGuard.conf
storeurl_rewrite_program /etc/squid/storeurl.pl
storeurl_rewrite_children 5
storeurl_rewrite_concurrency 10

include /etc/squid/refresh_pattern.conf

cache_effective_user proxy
cache_effective_group proxy
cache_mgr warnetersa.net
cachemgr_passwd none all
visible_hostname localhost
#end of file
User avatar
Aira
Posts: 70
Joined: 22 Mar 2012, 21:20

Re: UPDATE GAME ONLINE

Postby Aira » 02 Apr 2013, 03:28

Mas Pragola kalo pakai
refresh_patten ini
Game online bisa masuk semua cuman ada kendala youtube, page forum tidak mau berubah...
Sudah saya rubah2 tetap saja malah tambah error jadinya.
User avatar
q_p
Posts: 3109
Joined: 14 Oct 2012, 13:01
Contact:

Re: UPDATE GAME ONLINE

Postby q_p » 02 Apr 2013, 14:34

Pengaturan "waktu penyimpanan" di refresh_pattern yg harus anda modif. Jangan sampai web yang selalu update setiap saat, seperti FUI dan situs berita, yang tampil sudah KDL :)

Tadi malam, saya coba update Rohan hasilnya sukses. Tanpa ada upaya, bisa2 sendiri. Jadi yang bermasalah memang server origin Rohan :D
User avatar
Aira
Posts: 70
Joined: 22 Mar 2012, 21:20

Re: UPDATE GAME ONLINE

Postby Aira » 02 Apr 2013, 22:27

Kemarin saya coba amati log hasilnya :
Tampilkan
[color:#FF0000]Sebelum[/color]
TCP_MISS/200 1128 GET http://202.93.21.244/dcfg/rohan1/2013032815.zip - DIRECT/202.93.21.244 Application/Octet-Stream
TCP_MISS/206 3508994 GET http://202.93.21.244/dcfg/rohan1/2013032815.zip - DIRECT/202.93.21.244 Application/Octet-Stream
[color:#FF0000]Sesudah[/color]
TCP_HIT/200 639308 GET http://202.93.21.244/dcfg/rohan1/2013032815.zip - NONE/- Application/Octet-Stream
TCP_HIT/206 3508994 GET http://202.93.21.244/dcfg/rohan1/2013032815.zip - NONE/- Application/Octet-Stream


Cuman masih error kenapa ya...?
User avatar
q_p
Posts: 3109
Joined: 14 Oct 2012, 13:01
Contact:

Re: UPDATE GAME ONLINE

Postby q_p » 02 Apr 2013, 22:41

Itu sudah hit gitu mas, apanya yang errot ?
User avatar
Aira
Posts: 70
Joined: 22 Mar 2012, 21:20

Re: UPDATE GAME ONLINE

Postby Aira » 03 Apr 2013, 03:59

Update time out mas kenapa ya....?
Apa koneksi 1 mega kosong masih kurang?
Apa saya salah download clientnya yaa...
User avatar
sonor
Posts: 38
Joined: 20 Jun 2011, 16:22

Re: UPDATE GAME ONLINE

Postby sonor » 03 Apr 2013, 10:37

cara cache game Grandchase gimana ya..
mohon petunjuknya....
ane koq gagal mulu...[blm pernah bisa tercache]..
User avatar
q_p
Posts: 3109
Joined: 14 Oct 2012, 13:01
Contact:

Re: UPDATE GAME ONLINE

Postby q_p » 03 Apr 2013, 16:49

@Aira
Origin server -nya yang mungkin down

@sonor
Coba anda naikkkan nilai pada tag maximum_object_size
User avatar
Aira
Posts: 70
Joined: 22 Mar 2012, 21:20

Re: UPDATE GAME ONLINE

Postby Aira » 04 Apr 2013, 01:08

Masih saja tetap error updatenya sampe sekarang mas...
Tiap waktu saya coba terus...
Secreen shortnya mas...
Tampilkan
Image


Boleh dunk link download rohan punya mas di share disini...
Terimakasih
User avatar
q_p
Posts: 3109
Joined: 14 Oct 2012, 13:01
Contact:

Re: UPDATE GAME ONLINE

Postby q_p » 04 Apr 2013, 04:43

Update masih error ya, mungkin penyebabnya beda lingkungan saja. Saya full ubuntu server dan anda tercampur mikrotik. Tapi intinya, menurut saya ada di masing2 IP:port gameOnLine. Port pengaturannya ada di iptables dan masukkan ke tag safe_port squid, sedangkan IP saya gunakan sebagai dasar penjatahan bandwith.
Ini iptables saya, silahkan anda cari padanannya di mikrotik. Jangan tanya saya soal mikrotik ya, nol prutul saya :D

Code: Select all

/sbin/iptables -t filter -A INPUT -i ppp0 -p tcp -m multiport --dports $TCP_1 -j ACCEPT
/sbin/iptables -t filter -A INPUT -i ppp0 -p udp -m multiport --dports $UDP_1 -j ACCEPT
dst ...
dst ...

Dan ini port-nya
Tampilkan
#Games Online
TCP_1=843,1818,2001,3010,4300,5105,5121,5126,5171
TCP_2=5340:5352
TCP_3=6000:6152
TCP_4=7341:7350
TCP_5=7451,7777,8085,8421,9600,16666,19000,10402
TCP_6=9601,9602,9300,9339,9376,9377,9400,9700
TCP_7=10001:10011
TCP_8=11011:11041
TCP_9=12011,12110,13008,13413,15000,15001,15002
TCP_10=16402:16502
TCP_11=18901:18909
TCP_12=19101,22100,27780,28012,29000,29200,39100,39110,39220,39190,40000,49100
UDP_1=1293,1479,9401,9600,9601,9602,30000
UDP_2=6000:6152
UDP_3=7777:7977
UDP_4=12020:12080
UDP_5=40000:40010
UDP_6=42051:42052
UDP_7=11100:11125
UDP_8=11440:11460

##Rohan =
Waduh...saya tidak nyatat ya :) Download Rohan installer yang baru dan rohan fix dari server origin, jangan mirror. re-Install dan jalankan rohan fix.
User avatar
sonor
Posts: 38
Joined: 20 Jun 2011, 16:22

Re: UPDATE GAME ONLINE

Postby sonor » 04 Apr 2013, 12:35

Pragola_Pati wrote:@Aira
Origin server -nya yang mungkin down

@sonor
Coba anda naikkkan nilai pada tag maximum_object_size



maximum_object_size sudah ane buat 400000 KB... denger2 kalo Grandchase itu partial conten ya... nah disini ane yg blm ngerti gan caranya..
User avatar
q_p
Posts: 3109
Joined: 14 Oct 2012, 13:01
Contact:

Re: UPDATE GAME ONLINE

Postby q_p » 04 Apr 2013, 13:00

@sonor
Trik yang saya lakukan di atas ini, coba anda terapkan :)
User avatar
q_p
Posts: 3109
Joined: 14 Oct 2012, 13:01
Contact:

Re: UPDATE GAME ONLINE

Postby q_p » 18 Jun 2013, 22:20

@sonor
sonor wrote:...
denger2 kalo Grandchase itu partial conten ya... nah disini ane yg blm ngerti gan caranya
...

Jika TCP_MISS/206, betul itu partial-content (reff = http://wiki.squid-cache.org/SquidFaq/Sq ... atus_codes ). Untuk memastikannya coba anda pastekan di sini access.log yang berhubungan dengan granchase.
User avatar
sipelaut
Posts: 1963
Joined: 03 Jan 2010, 17:25
Location: madura-sampang
Contact:

Re: UPDATE GAME ONLINE

Postby sipelaut » 23 Jun 2013, 15:00

buat bro pragola_pati
dengan mapping jaringan seperti punya anda
anda ngawasi ip client yang masuk gimana
atau hanya menggunakan nmap saja ???
User avatar
q_p
Posts: 3109
Joined: 14 Oct 2012, 13:01
Contact:

Re: UPDATE GAME ONLINE

Postby q_p » 23 Jun 2013, 22:45

Iya mas, tapi jarang. Dikunci rapat2 he .. he ... :)

Return to “Ubuntu Server”

Who is online

Users browsing this forum: Bing [Bot] and 0 guests