A friend of mine uses Windows XP which runs AVG Antivirus. Although he is a avid Linux user (Ubuntu Jaunty Jackalope and all that!), he has to have Windows XP on his machine (cos the missus finds that a lot easier!).
Now, he has a feeling that when he connects to the internet, a lot of other ports are open and worries himself thinking about, someone out there in the bad world, might make his machine a server and put virus, malware, adware, trojans and the like. He also feels that with a system like Linux, he can control that, close the other ports and prevent hacking into his system.
When I ran the command on my machine, the following is the output
netstat -an | find /i "listening" TCP 0.0.0.0:135 0.0.0.0:0 LISTENING TCP 0.0.0.0:445 0.0.0.0:0 LISTENING TCP 127.0.0.1:1025 0.0.0.0:0 LISTENING TCP 127.0.0.1:1039 0.0.0.0:0 LISTENING TCP 127.0.0.1:5152 0.0.0.0:0 LISTENING TCP 127.0.0.1:27015 0.0.0.0:0 LISTENING TCP 192.168.1.2:139 0.0.0.0:0 LISTENING
Why are these ports listening? Do they have any significance? Will I get affected as my friend says?
What I told my friend is this -
To install Ubuntu as the host system, run Virtual Box and Load Windows XP on that. This way, you can always control things on the host system (I myself am not sure what he means by controlling?!?) and the missus works with Windows.
Second, the far more easiest way is to get a TV and subscribe those channels which the missus wants to watch - a lot more easier option (albeit an expensive one), but saves a lot of other hassles (including posting this in SuperUser).
Anyways, I thought of posting it in SU, because, I would learn something!