Posts

Showing posts with the label proxy

Ltsp (ubuntu 10.x) - a bit 0f safety.

Image
In this section we will add some internet safety software and allow access to the net from the ltsp clients. Step 1: Setting up a proxy To filter the internet we need a tool to allow us to do that. Tinyproxy allows us to do that. Launch the Synaptic Package Manager from the "System" -> "Administration" menu. We need to make sure that community open source packages are available. To do that under the menu "Settings" select "Repositories". Make sure "Community maintained Open Source software (universe)" is selected. Now on the tool menu click Search and type "tinyproxy". Right-click on "tinyproxy" and select "Mark for Installation". Now click Apply on the tool menu. or sudo apt-get install tinyproxy Tinyproxy should now be installed. Step 2: Content filtering. Before we enable the internet connection to the thin clients we want to be able to filter or block s...

Proxy.

Image
You may want to surf internet a bit more carefully. That is you do not want the sites you go to to know where you are surfing from.   Here is one way to achieve that, You will need to use a program called SSH and you will need a shell account on a server no where you are. Copied a short piece of code to  test what ipaddress we were surfing from on the local server. Getmyip.php <?php header(“Cache-Control: no-cache, must-revalidate”); header(“Expires: Mon, 26 Jul 1997 05:00:00 GMT”); header(“Content-Type:text/javascript;charset=utf-8″); if (!empty($_GET)) { // lecture du GET et execution des tâches } exit(“alert(‘Your ip address is: “.$_SERVER['REMOTE_ADDR'].”‘);”); ?> After installing that file on the server where it would be easily accessible, I tested it out. That was the correct ipaddress so what’s next? We need to get access to the shell account we want to use via ssh. So we will for deminstrations purposes will just use te server oesrvr1. $ ssh -D localhost:999...

Proxy.

Image
You may want to surf internet a bit more carefully. That is you do not want the sites you go to to know where you are surfing from.   Here is one way to achieve that, You will need to use a program called SSH and you will need a shell account on a server no where you are. Copied a short piece of code to  test what ipaddress we were surfing from on the local server. Getmyip.php <?php header(“Cache-Control: no-cache, must-revalidate”); header(“Expires: Mon, 26 Jul 1997 05:00:00 GMT”); header(“Content-Type:text/javascript;charset=utf-8″); if (!empty($_GET)) { // lecture du GET et execution des tâches } exit(“alert(‘Your ip address is: “.$_SERVER['REMOTE_ADDR'].”‘);”); ?> After installing that file on the server where it would be easily accessible, I tested it out. That was the correct ipaddress so what’s next? We need to get access to the shell account we want to use via ssh. So we will for deminstrations purposes will just use te server oesrvr1. $...

Warning: Microsoft allegedly mods YOUR hosts file.

Image
Preface:  One thing I forgot to mention in an earlier article is that you can also block sites from being accessed with the hosts file.  127.0.0.1 is the address for your local computer. So when an address of say www.facebook.com is associated with the local host and then accessed, it will bring you back to your local machine. Good way to keep people off unwanted sites. In fact, you can down load a list of sites that are generally not good for your system at: (you will have to modify it for your needs). http://winhelp2002.mvps.org/hosts.txt The main story:  According to http://www.h-online.com/security/news/item/Microsoft-s-security-software-modifies-HOSTS-file-1670927.html/ The biggest gripe is that if you have www.facebook.com and certain other sitess blocked, Microsoft will modify your hosts file to re-enable it. Here is an example before modification. What bothers a lot of people is that what gives Microsoft the right to modify such ...