Archive for August, 2007

How do I limit the number of simultaneous web connections from a client system via the Squid proxy server?

August 15, 2007

How do I limit the number of simultaneous web connections from a client system via the Squid proxy server?
 
Using Squid’s maxconn Access Control List (acl) element it is possible to limit simultaneous web connections coming from client systems that use a Squid proxy server. To use the maxconn element, the “client_db on” directive should be set. By default this [...]

Howto: Create Faster Web Sites (13 rules to speed up website)

August 15, 2007

 
: Thirteen Simple Rules for Speeding Up Your Web Site
 

High Performance Web Sites
by Steve Souders,
Chief Performance Yahoo!
available in September from
O’Reilly Media

Make Fewer HTTP Requests
Use a Content Delivery Network
Add an Expires Header
Gzip Components
Put CSS at the Top
Move Scripts to the Bottom
Avoid CSS Expressions
Make JavaScript and CSS External
Reduce DNS Lookups
Minify JavaScript
Avoid Redirects
Remove Duplicate Scripts
Configure ETags

1: Minimize HTTP [...]

Copy hard disk or partition image to another system using a network and netcat (nc)

August 15, 2007

netcat utility (nc command) considered as TCP/IP swiss army knife. It reads and writes data across network connections, using TCP or UDP protocol. It is designed to be a reliable “back-end” tool that can be used directly or easily driven by other programs and scripts. At the same time, it is a feature-rich network debugging [...]

Linux: Setup a transparent proxy with Squid in three easy steps

August 15, 2007

My Setup:
i) System: HP dual Xeon CPU system with 8 GB RAM (good for squid).
ii) Eth0: IP:192.168.1.1
iii) Eth1: IP: 192.168.2.1 (192.168.2.0/24 network (around 150 windows XP systems))
iv) OS: Red Hat Enterprise Linux 4.0 (Following instruction should work with Debian and all other Linux distros)
Eth0 connected to internet and eth1 connected to local lan i.e. system [...]