zeldor.biz

Linux, programming and more

Copyright © 2023
Log in

Rsync Server

July 8, 2011 by Igor Drobot Leave a Comment

Another different method to create your backups over network, a client data establish a connection to a rsync daemon server.

I describe a simple method without authentication (trusted LAN). [Read more…]

Filed Under: Linux Tagged With: backup, rsync, rsync server, Squid, squid.conf, Webfilter

Squid visited sites

January 21, 2011 by Igor Drobot 2 Comments

You have a IP-Address from a PC, and you want to know which web-sites ware visited from this PC.

Grep for PCs IP-Address in the access log of your proxy box.

As result you will get a list with visited sites.

1
grep 172.16.0.5 /var/log/squid3/access.log | cut -d" " -f7 | sort -u | less

grep 172.16.0.5 /var/log/squid3/access.log | cut -d" " -f7 | sort -u | less

Filed Under: Bash, Linux Tagged With: Proxy, Squid