Pelajaran Hari Ini heheheh

31 01 2010

Pelajaran hari ini yang saya dapat :

“Begitu Susahnya kita beranjak kita naik, tetapi begitu cepatnya kita jatuh”

hehehehhe

yang jelas ketika jatuh kita masih bisa tersenyum, mengapa tersenyum? karena tersenyum dapat memberikan respon positif kepada diri kita.

Kenapa lagi respon positif? Karena dengan berfikiran positif kita dapat berfikir secara jernih untuk dapat membayangkan “Apa yang akan sy lakukan disaat sedang jatuh”

Dan akirnya kita harus tetap memakai konsep lagu dari D’Masiv “Syukuri apa yang ada, hidup adalah anugerah”





Hari pertama setelah Bencana Flooding

28 01 2010

Setelah 1 Minggu lamanya terkena bencana alam Flooding akhirnya wnet kembali normal lagi.

Keraguan kembali muncul lagi, bagaimana caranya mengembalikan warnet seramai dulu lagi? mudah²an kali ini bisa diatasi.





Mangle Load Balancer dengan NTh

27 01 2010

copas saja coy…..

/ip firewall mangle
add action=mark-connection chain=postrouting comment=”" disabled=yes new-connection-mark=hyyp-conn passthrough=no \
protocol=tcp tcp-flags=ack
add action=mark-connection chain=prerouting comment=”load balancer” connection-state=new disabled=no in-interface=lokal \
new-connection-mark=ADSL-1 nth=3,1 passthrough=yes port=80 protocol=tcp tcp-flags=syn
add action=mark-routing chain=prerouting comment=”" connection-mark=ADSL-1 disabled=no in-interface=lokal \
new-routing-mark=route_ADSL-1 passthrough=no port=80 protocol=tcp tcp-flags=syn
add action=mark-connection chain=prerouting comment=”" connection-state=new disabled=no in-interface=lokal \
new-connection-mark=ADSL-2 nth=2,1 passthrough=yes port=80 protocol=tcp tcp-flags=syn
add action=mark-routing chain=prerouting comment=”" connection-mark=ADSL-2 disabled=no in-interface=lokal \
new-routing-mark=route_ADSL-2 passthrough=no port=80 protocol=tcp tcp-flags=syn
add action=mark-connection chain=prerouting comment=”" connection-state=new disabled=no in-interface=lokal \
new-connection-mark=adsl-3 nth=1,1 passthrough=yes port=80 protocol=tcp tcp-flags=syn
add action=mark-routing chain=prerouting comment=”" connection-mark=adsl-3 disabled=no in-interface=lokal \
new-routing-mark=route_ADSL-3 passthrough=yes port=80 protocol=tcp tcp-flags=syn

ini role untuk 3 line





Pengaturan Squid tambahan Untuk Perform Fesbuk

27 01 2010

akhirnya setelah main kutu2 dengan si cumi, berhasil juga settingan squid untuk fesbuk, cara ini telah sy coba pada si cumi versi 3

inilah yang wajib diisi jangan lupa ditinggalkan

http_port 8080 http11
http_port 8080 act-as-origin

Itu tarukan pada bagian atas

jika ingan menjadikan transparent proxy jangan lupa ditambah satu lagi

http_port 8080 transparent << sebaiknya ini ditaruh paling atas

Nah pada penutupan jangan lupa masukkan ini :

server_http11 on

Ok kawan² seperjuangan semoga cumi nya berhasil :D





Catatan Pertama di Bulan Januari 2010

24 01 2010

23 Januari 2009

Drop Lagi deh Koneksi warnet mulai dari pukul 17.00 – 02.00(24 Januari Subuh) :’(

Pusing kiri, pusing kanan eh ternyata ada yg flood. sudah di firewall ip nya di blok tapi tetap juga tidak bisa? apakah mungkin karena virus?ah tau ah……

hasilnya sehh lumayan sudah bisa konek tapi 1 line sementara di dropkan dlu, demi stabilitas bandwidth. hehehhe





Konfigurasi Squid….!!

12 04 2008

Copy Paste Juga sehh konfig squidnya, cuman ada beberapa yg dirubah…; jikalau ada saran²nya pls correct yah…

# WELCOME TO SQUID 2.6.STABLE1
# —————————-

# NETWORK OPTIONS
# —————————————————————————–

http_port 3128 transparent
icp_port 3130 transparent

# OPTIONS WHICH AFFECT THE NEIGHBOR SELECTION ALGORITHM
# —————————————————————————–

hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin ?
acl apache rep_header Server ^Apache
broken_vary_encoding allow apache

# OPTIONS WHICH AFFECT THE CACHE SIZE
# —————————————————————————–

cache_mem 256 MB
cache_swap_low 99
cache_swap_high 99
maximum_object_size 100 MB
maximum_object_size_in_memory 32 KB
ipcache_size 1024
ipcache_low 90
ipcache_high 95
cache_replacement_policy heap LFUDA
memory_replacement_policy heap GDSF

# LOGFILE PATHNAMES AND CACHE DIRECTORIES
# —————————————————————————–

cache_dir ufs /cache/cache1 2000 16 256
cache_dir ufs /cache/cache2 2000 16 256
cache_dir ufs /cache/cache3 2000 16 256
access_log /var/log/squid/access.log squid
cache_log /var/log/squid/cache.log
cache_store_log /var/log/squid/store.log
mime_table /usr/share/squid/mime.conf
pid_filename /var/run/squid.pid
log_fqdn off
client_netmask 255.255.255.0

# OPTIONS FOR EXTERNAL SUPPORT PROGRAMS
# —————————————————————————–

ftp_passive on
ftp_sanitycheck on
hosts_file /etc/hosts
diskd_program /usr/lib/squid/diskd_daemon
# OPTIONS FOR TUNING THE CACHE
# —————————————————————————–

#Suggested default:
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320
refresh_pattern .gif 4320 50% 43200
refresh_pattern .jpg 4320 50% 43200
refresh_pattern .tif 4320 50% 43200
refresh_pattern .png 4320 50% 43200
refresh_pattern .jpeg 4320 50% 43200
refresh_pattern .exe 4320 50% 43200
refresh_pattern .swf 4320 50% 43200
refresh_pattern .pdf 4320 50% 43200
refresh_pattern .3gp 4320 50% 43200
refresh_pattern .mp3 4320 50% 43200
refresh_pattern .bin 4320 50% 43200
refresh_pattern ^http://*.friendster.com/.* 720 100% 4320
refresh_pattern ^http://mail.yahoo.com/.* 720 100% 4320
refresh_pattern ^http://*.yahoo.*/.* 720 100% 4320
refresh_pattern ^http://*.yimg.*/.* 720 100% 4320
refresh_pattern ^http://*.gmail.*/.* 720 100% 4320
refresh_pattern ^http://*.google.*/.* 720 100% 4320
refresh_pattern ^http://*.korea.*/.* 720 100% 4320
refresh_pattern ^http://*.akamai.*/.* 720 100% 4320
refresh_pattern ^http://*.windowsmedia.*/.* 720 100% 4320
refresh_pattern ^http://*.googlesyndication.*/.* 720 100% 4320
refresh_pattern ^http://*.plasa.*/.* 720 100% 4320
refresh_pattern ^http://*.telkom.*/.* 720 100% 4320
refresh_pattern ^http://*.multiply.*/.* 720 100% 4320
refresh_pattern ^http://id.mail.yahoo.com/.* 720 100% 4320
refresh_pattern ^ftp: 10080 95% 40320 reload-into-ims override-lastmod
refresh_pattern . 0 20% 4320 reload-into-ims override-lastmod

quick_abort_min 0 KB
quick_abort_max 0 KB
# 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 to_localhost dst 127.0.0.0/8
acl SSL_ports port 443 563 # https, snews
acl SSL_ports port 873 # rsync
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 563 # https, snews
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
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 631 # cups
acl Safe_ports port 873 # rsync
acl Safe_ports port 901 # SWAT
acl purge method PURGE
acl CONNECT method CONNECT
acl notsex url_regex -i “/etc/squid/notsex”
acl sex url_regex -i “/etc/squid/sex”
no_cache deny SEX
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
acl our_networks src 192.168.0.1-192.168.0.99/255.255.255.255
acl pusat src 192.168.0.100/255.255.255.255
acl kabel src 192.168.1.0/24
acl lab2 src 192.168.2.0/24
acl kuri src 192.168.0.202/255.255.255.255
acl erwin src 203.130.244.19/255.255.255.255
cache deny QUERY
http_access allow notsex all
http_access deny sex all

http_access allow our_networks
http_access allow localhost
http_access allow kabel
http_access allow pusat
http_access allow lab2
http_access allow kuri
http_access allow erwin
http_access deny all
http_reply_access allow all
icp_access allow all
cache_mgr erwinpasali@gmail.com
visible_hostname www.smanpat.net
httpd_accel_no_pmtu_disc on
always_direct allow all
icon_directory /usr/share/squid/icons
coredump_dir /var/spool/squid
ie_refresh on