PinQ | st. Mudo

Lembar Coretan Memori ku

Entries for the ‘Networking’ Category

Cara blok situs porno dengan squid proxy di linux

Akses browsing ke situs-situs porno dapat diblok jika kita menggunakan squid sebagai proxy pada linux/unix server, ada beberapa teman yang bertanya bagaimana cara blokir situs porno pada squid proxy tersebut, nah dibawah ini saya jelaskan salah satu tips untuk blok situs porno tersebut.
Squid memiliki Access List atau ACL yang bisa digunakan sebagai sarana untuk [...]

Transparent proxy di squid versi 2.6.xx

Untuk menjadikan squid sebagai Transparent proxy pada squid versi 2.6.xx, terdapat perbedaan pada settingan squid.conf nya. Untuk versi 2.5.xx ke bawah biasanya ditambahkan konfigurasi berikut :
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
Namun untuk squid dengan versi 2.6.xx cukup dengan menambahkan konfigurasi berikut pada squid.conf nya :
http_port 3128 transparent
always_direct allow all
Sepertinya untuk versi squid 2.6.xx, transparent proxy bisa [...]

DDoS dan DoS

Denial of Service (DoS)
Varian pertama serangan berupa pengiriman air bah data ke target itu adalah DoS (Denial of Service). Dalam serangan ini penyerang hanya menggunakan satu komputer untuk menyemburkan data ke korbannya.
Penjelasan sederhananya seperti ini: Suatu ketika handphone anda berbunyi. Sebelum anda sempat menggangkatnya handphone anda telah berhenti berbunyi. Tiba-tiba handphone anda berbunyi lagi dan [...]

Script for monitoring memory usage with MRTG

With MRTG you can graph your network traffic, but you can also use it to gather other network information, such as monitoring your system’s swap and memory usage. MRTG is useful for more than just graphing network traffic. If you look at the MRTG Companion Sites page, you’ll see numerous links to different scripts [...]

Squid – File Descriptor Limits

File descriptor limits are a common problem for new Squid users. This happens because some operating systems have relatively low per-process and system-wide limits. In some cases, you must take steps to tune your system before compiling Squid.A file descriptor is simply a number that represents an open [...]

Squid: WARNING! Your cache is running out of filedescriptors

So you have a LAN with 50+ users and you set up a nice Squid w3cache as a transparent proxy with 100GB of space reserved for the cache (hdds are so cheap nowadays…). Weeks pass and suddenly you notice that something is messing up your
web experience as Firefox suddenly decides to run painfully slow. About [...]