You are not logged in.
Hi all,
I need to write a Shell Script monitoring firefox browsing and it need to send an email when certain site and key word are use.
So I will assume the script will have to start firefox to allow him to monitor input search word and website address? I would also like to use my gmail account to send the email.
So if the user will search for the word "example" the script will send an email to warn the admin; or if a certain address is access "example.com" the script will send an email to warn the admin.
The users in questions are not very advance so I am not worry that they will check the address to launch their firefox, but the script need to be transparent to them.
Any suggestion on how to approach the issue?
Many thanks,
Sweetthy,
Offline
Could you please provide some information about how this script will be used? Why do you want to do this?
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
Well the script need to run in the background, so either start when the user log on, or simply when the user start Firefox to browse; and then when define words are search in google, or define website are visited the script will send an email to warn me.
I want to monitor use of prohibited website to download copyright files - I cannot block site like rapidshare and co as we use it to share working large files.
So basically instead of having to search couples of internet history (which could be deleted) I will automatically be warn.
I hope that help,
Offline
I think this is more commonly accomplished with a web proxy. You could configure every computer to use a web proxy on your local network or setup your router (if you have a good one) to forward all web requests on port 80 to the local proxy. I found this link while googling 'monitoring web proxy': http://ubuntuforums.org/showthread.php?t=655460
Offline
Cheers for the answer, but if I am correct Squid will log - what I am after is to get email right away when it happen with the search words or the website.
Offline
You could have iwatch parses your logs and email you...
http://iwatch.sourceforge.net/documentation.html
Offline