<body><script type="text/javascript"> function setAttributeOnload(object, attribute, val) { if(window.addEventListener) { window.addEventListener('load', function(){ object[attribute] = val; }, false); } else { window.attachEvent('onload', function(){ object[attribute] = val; }); } } </script> <div id="navbar-iframe-container"></div> <script type="text/javascript" src="https://apis.google.com/js/platform.js"></script> <script type="text/javascript"> gapi.load("gapi.iframes:gapi.iframes.style.bubble", function() { if (gapi.iframes && gapi.iframes.getContext) { gapi.iframes.getContext().openChild({ url: 'https://www.blogger.com/navbar.g?targetBlogID\x3d17253534\x26blogName\x3dMe+Ordinary+People\x26publishMode\x3dPUBLISH_MODE_BLOGSPOT\x26navbarType\x3dBLUE\x26layoutType\x3dCLASSIC\x26searchRoot\x3dhttps://metabe.blogspot.com/search\x26blogLocale\x3den_US\x26v\x3d2\x26homepageUrl\x3dhttp://metabe.blogspot.com/\x26vt\x3d1493338880194554238', where: document.getElementById("navbar-iframe-container"), id: "navbar-iframe" }); } }); </script>
Saturday, October 14, 2006
::When IT Guys Sing Songs::


YESTERDAY
By : Beatles

Yesterday,
All those backups seemed a waste of pay
Now my database has gone away
Oh I believe in yesterday…..

Suddenly,
There’s not half the files there used to be
And there’s a milestone hanging over me
The system crashed so suddenly
I pushed something wrong
What it was I could not say
Now all my data’s gone and I long for yesterday-ay-
ay-ay

Yesterday,
The need for back-ups seemed so far away
I knew my data was all here to stay
Now I believe in yesterday

IMAGINE
by : John Lennon

Imagine there’s no Windows
It’s easy if you try
No fatal errors or new bugs
To kill your hard drives

Imagine Mr. Bill Gates
Leaving us in peace!
Imagine never ending hard disks
It isn’t hard to do
Nothing to del or wipe off
And no floppy too

Imagine Mr. Bill Gates
Sharing all his money
You may say I’m a hacker
But I’m not the only one
I hope someday you’ll join us
And your games will fit in RAM

Imagine 1-Giga RAM
I wonder if you can
No need for left-shifts or setups
And no booting again and again

Imagine all the systems
Working all life-time!
You may say I’m a hacker
But I’m not the only one
Maybe someday I’ll be a cracker
And then I’ll make Windows run…..

LET IT BE
By : Beatles

When I find my code in tons of trouble
Friends and colleagues come to me
Speaking words of wisdom: Write in C
As the deadline fast approaches
And bugs are all that I can see
Somewhere, someone whispers: Write in C

Write in C, Write in C
Write in C, oh, Write in C
LOGO’s dead and buried
Write in C

I used to write a lot of FORTRAN
For science it worked flawlessly
Try using it for graphics!
Write in C

If you’ve just spent nearly 30 hours
Debugging some assembly
Soon you will be glad to Write in C

Write in C, Write in C
Write in C, yeah, Write in C
BASIC’s not the answer
Write in C
Write in C, Write in C
Write in C, oh, Write in C
Pascal won’t quite cut it
Write in C

Thanks to Bang Avudz boleh ambil lirik lagu ini dari webna.. :)

 
posted by -MuHaMaD IqBaL- at 1:57 PM | Permalink | 0 comments
Tuesday, October 10, 2006
::Management Bandwith di Squid dengan Delay Pools::


Delay_Pools mendefinisikan jumlah pools yang akan di gunakan untuk management jumlah bandwith dari acl.Opsi ini di bundle bersama delay_class dan delay parameters dan akan coba di jelaskan di bawah ini.

Delay_class mendefinisikan kelas yang telah di definisikan delay_pools.untuk mendefinisikan delay_class harus sesuai dengan delay_pools yang telah di tetapkan.Jika terdapat 2 delay_pools maka harus ada 2 delay_class.

Contoh :
delay_pools 2 # 2 delay pools
delay_class 1 2 # pool 1 delay class 2
delay_class 2 3 # pool 2 delay class 3

Berikut ini tiga delay class yang mendukung squid.

class 1 : Semua di limit dengan single bucket, yang artinya hanya bisa medefinisikan bandwith keseluruhan untuk suatu acl tidak bisa lebih mendetail.

class 2 : Semua di limit dengan single bucket, dan dua parameter bandwith.Parameter pertama untuk mendefiniskan bandwith maksimal yang di dapatkan, dan parameter kedua untuk mendefinisikan bandwith keseluruhan untuk acl spesifik yang terdapat pada network tersebut.

class 3 : delay class dengan definisi bandwith paling spesifik, parameter pertama untuk mendefinisikan bandwith maksimal yang di dapatkan acl, parameter kedua untuk mendefinisikan bandwith yang di dapatkan setelah normal pada acl.Dan parameter ketiga mendefinisikan bandwith yang di dapatkan acl yang lebih spesifik untuk file-file seperti mp3,mp4,mov,ISO,exe dll.


Delay_parameters mendefinisikan parameters untuk delay pools, setiap delay pool mempunyai nomor bucket, yang mendeskripsikan delay class.


Note : 1 byte = 8 bits

delay_parameters pool aggregate # class 1 delay pool syntax
Contoh :

delay_parameters 1 8000/8000
Maksud syntax tersebut adalah angka 1 untuk class 1 delay pool, 8000/8000 bandwith maksimal yang di dapat delay pool adalah 64 Kbps dari 64 Kbps yang dialokasikan.8000 di atas dalam satuan byte, hasil sebenarnya dikalikan 8 menjadi 64000 bits atau 64Kbps.

delay_parameters pool aggregate individual# class 2 delay pool syntax
Contoh :

delay_parameters 2 -1/-1 8000/16000
Maksud syntax tersebut adalah angka 2 untuk class 2 delay pool, -1/-1 bandwith maksimal yang diberikan squid untuk delay pool ini unlimited, 8000/16000 8000 bandwith normal yang di dapat acl setelah masuk delay pool ini 64 Kbps dan 16000 bandwith maksimal yang didapat pada saat traffic kosong.


delay_parameters pool aggregate network individual# class 3 delay pool syntax
Contoh :

delay_parameters 2 32000/32000 8000/8000 700/8000
Maksud syntax tersebut adalah angka 3 untuk class 3 delay pool, 32000/32000 bandwith maksimal yang diberikan squid untuk delay pool ini 256 Kbps, 8000/8000 bandwith yang didapat setiap network 64 Kbps dari 64 Kbps yang disediakan, 700/8000 bandwith yang didapat individual host pada saat download file-file yang di definisikan acl yang spesifik 5600 Bps atau 5,6 Kbps setelah download file sebesar 64 Kb.

Contoh konfigurasi :

Kita buat acl terlebih dahulu.

acl customer src 172.16.2.0/24
acl download urlpath_regex [-i] \.EXE$ \.exe$ \.cab$ \.dll$ \.tar.gz$ \.gz$ \.tgz$ \.rpm$ \.zip$ \.tar$ \.iso$ \.doc$ \.xls$ \.mpeg$ \.avi$ \.mp3$ \.wav$ \.iso$ \.rm$ \.mwv$ \.dat$ \.pdf$ \.rar$ \.psf$ \.asf$

delay_pools 1
delay_class 1 3
delay_parameters 1 64000/64000 8000/8000 700/8000
delay_access 1 allow download customer
delay_access 1 deny all

setelah selesai save konfigurasi squid dan restart service squid atau reconfigure.
[root@proxy /]# /etc/init.d/squid restart
atau
[root@proxy /]# /usr/sbin/squid -k reconfigure

Mohon maaf kalau ada yang salah CMIIW biar bisa di revisi ulang dan di pelajari lebih detail lagi maklum newbie di linux :D.Semua ini bersumber dari http://www.squid-cache.org/ dan mbah google tentunya :D..semoga bermanfaat bagi yang membaca.

Spesial Thanks to Ucha, Susi my inspiration ^^' and new best friends Rico Asslab BudiLuhur.Yang Paling penting My Boss, Pak Gede yang selalu komporin belajar linux oprek terus..Tetap semangat.. hehehe...








 
posted by -MuHaMaD IqBaL- at 10:04 AM | Permalink | 0 comments
Tuesday, October 03, 2006
::Mikrotik::



Hari ini gw dapat inspirasi baru upss sorry sesuatu yang baru tuk jadi bahan oprekan, hehehe..Mikrotik nih time tuk begadang lagi, ini tuh mantap bgt canggih dah..hehehe..Fungsi na sih buat bandwith limiter, gw juga kurang familiar sih sama ini..maklum lagi belajar tapi gw udah bisa command line base linux soal na :D ...cepat ini insya4JJI gw pelajarin na cos sama kyk linux canggih...kalau gw udah bisa gw bakal coba implement sama sahabat baru gw si Rico Asslab Budi Luhur..di Lab na buat bandwith limiter dan di coba kerja bareng sama proxy...konsep na sih bisa, cmn belum di coba buat implement my boss said like that..hehehe dia juga lagi belajar bareng" ma gw..ya gk bosa ;) yg punya login na gw sama dia ajah kita sengkokol mikrotik ini.Buat cari duit bisa hehehehe..Doain biar cepat paham dah teman" biar bisa cepat" bagi ilmu sama teman" and kalau bisa bikin tutorial na... ^^' Semoga si dia selalu kasih daku semangat walaupun gk secara langsung...



 
posted by -MuHaMaD IqBaL- at 5:49 PM | Permalink | 0 comments