Posts

Showing posts with the label hosts

Devil in the details.

Image
Was trying to get a list of systems up on the network.  Pingall.sh would not work at all. It was driving me nuts. So I went to another system and it worked.  $ cat pingall.sh a="" for i in {1..254} do ping 192.168.1.$i -c1 -w1 -v  | grep "icmp_seq=1" done $ ./pingall.sh 64 bytes from 192.168.1.1: icmp_seq=1 ttl=64 time=0.623 ms 64 bytes from 192.168.1.32: icmp_seq=1 ttl=64 time=0.113 ms 64 bytes from 192.168.1.99: icmp_seq=1 ttl=255 time=4.77 ms 64 bytes from 192.168.1.125: icmp_seq=1 ttl=64 time=1.26 ms 64 bytes from 192.168.1.149: icmp_seq=1 ttl=64 time=0.306 ms Went back to the original system and decided to do just one ping. $ ping -c 1 192.168.1.32 PING 192.168.1.32 (192.168.1.32) 56(84) bytes of data. 64 bytes from 192.168.1.32: icmp_req=1 ttl=64 time=0.363 ms --- 192.168.1.32 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.363/0.363/0.363/0.000 ms After looking at it abou...

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 ...

Your local network telephone book.

Image
We need a way to know what device (i.e. computer) is what and or who. That is why we need an internet telephone book. The internet is in some ways still is like a telephone network. You can key in the phone number of someone to call or you can use the phone book to look up their phone number. The internet is sort of the same, but now the directory assistance is built in so to speak. The internet uses an internet protocol address instead of a phone number, to identify which computer is which, The Google internet protocol address is: 173.194.64.106 in this case. Computer directory assistance: $ nslookup www.google.com Server:        x.x.x.1 Address:    x.x.x.1#xx Non-authoritative answer: www.google.com    canonical name = www.l.google.com. Name:    www.l.google.com Address: 173.194.64.147 Name:    www.l.google.com Address: 173.194.64.105 Name:    www.l.google.com...

How hosting companies rake in the dough.

Image
It seems amazing how hosting companies can have sites so cheap sometimes. Not knowing what goes on behind the scenes, you might think you have a whole computer just for your web site. It could be that way for more premium site rates. Amazon and all the major sites do two things. What they do is two fold. They use one set of hardware to set up what is known as virtual machines. One computer can emulate one or more additional machines. You do not have to purchase additional hardware to have another computer to set up a web site.  Almost like getting a computer for free. The second thing they can do is have what is known as virtual hosts. That is you can run many websites with only one computer. So every time a hosting company signs up someone to use their equipment for having a web site, it is almost like free money as it does not cost them any additional money to host your site (unless their equipment is at full capacity). For example, we love to have virtual web hosting. You c...