Minggu, 15 Februari 2009

Proxy Server Linux dengan Squid

y FX. Eko Budi Kristanto

Proxy Server LinuxBagi sebagian rekan-rekan yang mau membuat proxy server dengan Linux, atau bagi adik-adik Ilmu Komputer USD yang mau coba-coba belajar bikin proxy, saya ingin membagikan pengalaman kecil saya dalam membuat proxy menggunakan Linux. Meski banyak software untuk membuat proxy server, saya memilih squid karena paketnya sudah ter-include dalam distro yang saya gunakan (Fedora Core) dan hampir sebagian proxy server Linux menggunakan squid. Untuk spesifikasi hardware yang saya gunakan, dapat dilihat di artikel Proxy Server di tempat kerja saya. Proxy server tersebut menggunakan squid versi 2.6-12 pada distro Fedora Core 6 yang saya fungsikan sebagai:

  1. Menyimpan halaman web di proxy untuk mempercepat akses Internet.

  2. Akses kontrol Internet berdasarkan IP Address. Menggunakan 2 network yang berbeda (saya fungsikan juga sebagai router – dengan IP Forwarding), untuk ini, saya menggunakan 3 NIC pada 1 server.

  3. Blacklist daftar situs terlarang secara manual.

  4. Membatasi ukuran download File dengan ekstension tertentu dan hanya berlaku pada jam tertentu.

  5. Pesan Error dalam format Bahasa Indonesia.

  6. Rule untuk memperbolehkan akses Internet hanya protokol tertentu saja.

Langkah-langkah yang saya lakukan:

  1. Instal aplikasi squid
  2. Edit file konfigurasi squid
  3. Buat direktori dan file blacklist untuk blacklist secara manual
  4. Buat direktori dan file untuk pesan error dalam bahasa indonesia
  5. Check konfigurasi firewall yang diterapkan di proxy
  6. Jalankan servicenya
  7. Test konfigurasi di proxy dan client
File konfigurasi squid: /etc/squid/squid.conf

Squid: Optimising Web Delivery

Squid is a caching proxy for the Web supporting HTTP, HTTPS, FTP, and more. It reduces bandwidth and improves response times by caching and reusing frequently-requested web pages. Squid has extensive access controls and makes a great server accelerator. It runs on most available operating systems, including Windows and is licensed under the GNU GPL.

Making the most of your Internet Connection

Squid is used by hundreds of Internet Providers world-wide to provide their users with the best possible web access. Squid optimises the data flow between client and server to improve performance and caches frequently-used content to save bandwidth. Squid can also route content requests to servers in a wide variety of ways to build cache server hierarchies which optimise network throughput.

Website Content Acceleration and Distribution

Thousands of web-sites around the Internet use Squid to drastically increase their content delivery. Squid can reduce your server load and improve delivery speeds to clients. Squid can also be used to deliver content from around the world - copying only the content being used, rather than inefficiently copying everything. Finally, Squid's advanced content routing configuration allows you to build content clusters to route and load balance requests via a variety of web servers.

[The Squid systems] are currently running at a hit-rate of approximately 75%, effectively quadrupling the capacity of the Apache servers behind them. This is particularly noticeable when a large surge of traffic arrives directed to a particular page via a web link from another site, as the caching efficiency for that page will be nearly 100%. - Wikemedia Deployment Information.

Want to learn more?

The Squid project provides a number of resources to assist users design, implement and support Squid installations. Please browse the Documentation and Support sections for more information

About Ubuntu

Ubuntu is a community developed, Linux-based operating system that is perfect for laptops, desktops and servers. It contains all the applications you need - a web browser, presentation, document and spreadsheet software, instant messaging and much more.

Learn more about Ubuntu » - Take the desktop tour »

Desktop Edition

Desktop

Learn more »

Server Edition

Server

Learn more »

The Ubuntu promise

  • Ubuntu will always be free of charge, including enterprise releases and security updates.
  • Ubuntu comes with full commercial support from Canonical and hundreds of companies around the world.
  • Ubuntu includes the very best translations and accessibility infrastructure that the free software community has to offer.
  • Ubuntu CDs contain only free software applications; we encourage you to use free and open source software, improve it and pass it on.
Read more about the Ubuntu philosophy

LINUX ??

Linux is a free Unix-type operating system originally created by Linus Torvalds with the assistance of developers around the world. Developed under the GNU General Public License , the source code for Linux is freely available to everyone. Click on the link below to find out more about the operating system that is causing a revolution in the world of computers. " align="middle" border="0" height="18" width="43">

Linux in the News
For coverage of the SCO vs. IBM case, consult our SCO section

-Kernel release: 2.6.28.6-rc2, Feb 14 2009
-Kernel release: 2.6.27.18-rc2, Feb 14 2009
-Kernel release: 2.6.28.6-rc1, Feb 14 2009
-Kernel release: 2.6.27.18-rc1, Feb 14 2009
-Kernel release: 2.6.29-rc5, Feb 13 2009
-At the third stroke, the Unix time will be 1234567890, Feb 13 2009
-An open door for open source?, Feb 13 2009
-Kernel release: 2.6.27.17, Feb 12 2009
-Cloud computing with Linux, Feb 12 2009
-The first dual Windows/Linux PCs arrive, Feb 12 2009

Tawaran openSUSE Good Bye ke-EULA

openSUSE mengadopsi lisensi baru yang didasarkan pada lisensi yang digunakan oleh Fedora. Lisensi baru yang akan digunakan untuk rilis openSUSE 11,1. "Pengguna tidak perlu lagi untuk menyetujui lisensi. Ini bukan sebuah EULA, ini lisensi pemberitahuan," ujar Joe Brockmeier, Komunitas openSUSE Antara. Ini merupakan upaya membuat openSUSE mudah untuk mendistribusikan kembali dan membuat modifikasi. Untuk mempelajari lebih lanjut tentang apa yang baru di openSUSE 11,1 periksa ini meninjau dari release 11,1 beta4.