Use squid to track http requests of machines in your LAN
The key is to set up a squid server on a Linux machine, and then have other machines use that squid server as the network proxy.
Procedures (for squid installed on Ubuntu)
To make your proxy server cache nothing, follow the instruction at here. For instance, add the following line in /etc/squid/squid.conf.
cache deny all
Procedures (for squid installed on Ubuntu)
- sudo apt-get install squid3
- Edit /etc/squid/squid.conf.
- Make sure you have uncomment the following acl lines:
- acl localhost src 127.0.0.1/32
- acl localnet src 192.168.2.0/24 (Replace 192.168.2.0/24 with the subnet of your LAN)
- Make sure you have uncomment the following http_access lines:
- http_access allow localnet
- http_access allow localhost
- service squid restart. By default the server uses port 3128.
- Set other machines to use that squid3 server as the network proxy.
To make your proxy server cache nothing, follow the instruction at here. For instance, add the following line in /etc/squid/squid.conf.
cache deny all
Comments
Post a Comment