VirtualMV/Internet and Web/How the Internet works/Content

Overview


2012 Internet Usage over 24hrs

Protocols
Everything on the Internet is governed by a set of standard rules called protocols. Any computer network can communicate with any other as long as they abide by the standards. Even in ordinary life there are protocols. For example; Maori Protocol on a Marae, and formal meeting protocols where you speak through the chairperson, and minutes are taken, etc.


 * An interesting web site about the Internet Protocol(IP) http://www.cisco.com/univercd/cc/td/doc/cisintwk/ito_doc/ip.htm

Example of a mail protocol
For example consider the Postal System. Once we have written a letter we need to have the recipient’s address. This is written on the envelope in a certain order: name, street, town and then the country last. We must then put the stamp with the required amount on it. We then take it to a receiving area (the post box) and put it in. The letter then travels to a central sorting area and is sorted. It is then dispatched to the destination country, then the destination city, and finally to the local Post Office. From there is goes to the individual Post Office person who will deliver it. If only one of these "protocols" is omitted, the letter may go missing or like email, be bounced back to the sender.

Compare that protocol with SMTP (Simple Mail Transfer Protocol) which is one of protocols that control the sending of Email on the Internet.

The email address must be written in a certain order: name, host, sub-domain, and domain. It is then send via various routers to the destination network, where a mail server delivers it into the individual person’s mailbox.

Internet Protocols
Some important Internet protocols are:
 * TCP/IP – Transmission Control Protocol/Internet Protocol
 * SMTP – Simple Mail Transfer Protocol
 * HTTP – HyperText Transfer Protocol
 * HTTPS - HTTP with secure sockets layer.
 * FTP – File Transfer Protocol
 * NNTP – Network News Transfer Protocol

Transmission Control Protocol/ Internet Protocol (TCP/IP)
The communications protocol used to route packets of data across the Internet is actually composed of two parts. The Internet is actually named after IP. TCP/IP enables computers using different operating systems to communicate with each other, such as DOS, Windows,Macintosh, and UNIX-based systems all use TCP/IP to communicate on the Internet.
 * TCP (Transmission Control Protocol) defines how the data that is to be sent is broken up into packets, and then how the packets are re-combined at the destination.
 * IP (Internet Protocol) defines the address that the packets are to be sent to.

Infrastructure
The Internet is composed of interconnected routers which forward packets of data to the next router. Each transmission is called a hop. Data needn’t take the shortest route to the destination.

Tracing a route
It is possible to trace the route that the packets of data take as shown. The Figure shows a report screen from a package called VisualRoute, tracing the route from Fairfax (USA) to Wellington. Almost all data will pass through regional networks, national backbones and international gateways(Visual route, Mapping the Internet ,2000).

IPv6
The original IP address system used 32-bit addresses, represented by 4 numbers for example, 127.98.241.36. This allows a theoretical maximum of over 4 billion IP addresses (4,294,967,296) - in 2003 the earth’s population was just over 6 billion. In practice however because whole blocks of addresses are assigned at once, the Internet is ran out of addresses. So another inter-operable system was needed, and all the protocols for this have been worked out – it is called IPv6. It is a 128-bit system and uses 6 numbers, and IPv6 addresses are represented as eight groups of four hexadecimal digits separated by colons, for example 2001:0db8:85a3:0042:1000:8a2e:0370:7334, but methods of abbreviation of this full notation exist. There are thus 340 trillion, trillion, trillion possible addresses (340,282,366,920,938,463,374,607,431,768,211,456 !). Additionally, the current IP address system gives no information on location, either geographical location or network location. Because of this, Internet backbone routers have to maintain huge tables of where to send information for any given address. This slows the performance of the routers. In IPv6 however IP addresses will be given out in an elegant hierarchy, which will simplify routing. By 2014 around 4% of the Internet traffic was using IPv6.

IP / Domain Name System (DNS)
Before the Internet was possible there had to be an agreement on a naming system. A system called IP addresses was decided upon. Addresses are numerical, for example 128.16.4.23. However you may never see a numerical IP address because the domain name system provides us with a more meaningful and easy to remember system. Domain names are converted to IP address numbers in the background.

DNS Example

 * For the USA there is no country code. e.g. http://www.microsoft.com
 * There are over 200 country domains.


 * The top 10 unintentionally worst company URLs


 * 1) A site called ‘Who Represents‘ where you can find the name of the agent that represents a celebrity. Their domain name… wait for it… is www.whorepresents.com
 * 2) Experts Exchange, a knowledge base where programmers can exchange advice and views at www.expertsexchange.com
 * 3) Looking for a pen? Look no further than Pen Island at www.penisland.net
 * 4) Need a therapist? Try Therapist Finder at www.therapistfinder.com
 * 5) Then of course, there’s the Italian Power Generator company… www.powergenitalia.com
 * 6) And now, we have the Mole Station Native Nursery, based in New South Wales: www.molestationnursery.com
 * 7) If you’re looking for computer software, there’s always www.ipanywhere.com
 * 8) Welcome to the First Cumming Methodist Church. Their website is www.cummingfirst.com
 * 9) Then, of course, there’s these brainless art designers, and their whacky website: www.speedofart.com
 * 10) Want to holiday in Lake Tahoe? Try their brochure website at www.gotahoe.com

Ref: http://independentsources.com/2006/07/12/worst-company-urls/

ISO Domain names
Every country in the world has a top-level domain except the United States, because the Internet started there. Some examples of country domains are:

nz – New Zealand uk – United Kingdom au – Australia to – Tonga ca – Canada Country-level domain names are also called ISO domain names. On the 16th of January 2000, there were 3,216,807 of these domains registered in over 2000 countries. The countries with the most domain names registered is shown below. New Zealand is actually a very wired country for its size - it is 16th on the list.

(ISO-3166: English country names and code elements, 2003)

InterNIC domain names
In the US the top-level domains refer to the type of network connected to the Internet. The most important are: com – Commercial net - Network edu – Educational org – Organisation gov – Government mil – Military biz - Business (added 16 Nov 2000) info - Information(added 16 Nov 2000) pro - professional (added 16 Nov 2000) These top-level domains are also known as InterNIC domains after the organisation that oversees the domain name system. On the 16th January 2000, the total number of domains registered worldwide was 13,226,005. Of these 10,009,198 were top-level or InterNIC domain names. Anyone in the world can register a .com, .org or .net InterNIC domain name, but only the proper US authorities can register a .edu, .gov or .mil domain name. These domains used to be assigned only by Network Solutions, the company set up by InterNIC to provide domain names. However now there is competition and four other companies can assign InterNIC domains. Many businesses and organisations choose to register top-level domain names because it gives them an international appeal. For example groovyshirts.com is likely to get more orders from around the world than groovyshirts.co.nz, even though both may be hosted in New Zealand. An InterNIC domain name can have up to 26 characters (including the .com, .net or .org). Letters, numbers and dashes are all valid, but they cannot begin or end the name.

News flash!! Get ready for a nearly infinite variety of new Web addresses ending in words like .perfume, .sports and .paris. (Carvajal & Stone, 2008, June 27)

Sub-domain names
Domain names in each country are given out by the Internet Society for each country. They decide which sub-domains to use, e.g. an educational establishment in NZ is .ac.nz while in Australia it is .edu.au a company in NZ is .co.nz while in Australia it is .com.au

Domain names are case un-sensitive e.g. www.EIT.ac.NZ will work too Examples
 * http://www.eit.ac.nz
 * http://www.massey.ac.nz
 * http://www.curtin.edu.au
 * http://www.dse.co.nz

The NZ Sub-domains
The NZ sub-domains Open restricted
 * .ac - tertiary educational institutions and related organisations
 * .co - Organisations pursuing commercial aims and purposes
 * .net - Organisations and service providers directly related to the NZ Internet
 * .org - Non-profit organisations
 * .school - Primary, secondary and pre schools and related organisations
 * .gen - Individuals and other organisations
 * .iwi - Maori tribe/Trust Board
 * .mil - NZ Military organisations of the NZ government
 * .cri - Crown Research Institutes
 * .govt - national, regional and local government

Reference : Domainz ( http://www.domainz.net.nz/ )

Registering
The New Zealand country domains, .nz are assigned by DomaiNZ ( http://www.domainz.net.nz ), a company set up by the Internet Society of NZ to provide domain names. DomaiNZ charges $53.00 (+GST) a year to register a domain name plus a one-off $21 (+GST) set-up fee. The actual process of registering a domain name is carried out by an agent, typically a website designer or website hosting company. When registering either an InterNIC or an ISO domain name you must first check to see if that name is still available. This is done by querying a WWW database, and many websites that advertise domain name registration offer you this service. Try it out on a website of your name - check and see if it is already taken.

Disputes
In recent years there have been a number of court cases, where companies have fought over who should own a particular domain name. Often small companies who registered domain names in the early years of the WWW, have been sued by large companies who have registered trademarks similar to the domain name. For example one famous early case was when US shoewear company Prince successfully sued a small UK business also called Prince who had registered the domain prince.com. In many cases the big company wins the case, but recently some small non-profit hobbyist website owners have fought back by encouraging online protests. A successful campaign forced Colgate-Palmolive to drop its case against the non-profit website ajax.com and Archie Comics recently dropped its case against veronica.org, a Web site set up by a Los Angeles man to celebrate the birth of his daughter Veronica in 1997.

Squatting
Another common type of court case has been against the "cyber squatters" people who buy up popular brand names in order to withhold them from or sell them to the firms that own the brands. Unlike the disputes over trademarks, in all the cyber-squatter court cases the companies have won. In the most recent case, a Texas judge sided with Microsoft in its battle with two people who registered 11 domain names including "microsoftwindows.com" and "microsoftoffice.com." The amount of court disputes over domain names is increasing, but hopefully new rules being worked out by the organisations who control the Internet will make disputes over domain names less likely.

Shortest and Longest Domain Names
A very short domain name with a big price tag… http://Z.COM ? “Japanese Internet Services Provider, GMO Internet Acquires Z.com for JPY800 million”

and the world’s longest domain name is 63 characters http://www.iamtheproudownerofthelongestlongestlongestdomainnameinthisworld.com

with Google Buying The Shortest Domain Name In Cyberspace – http://G.CN

Client-Server model
Once you connect to the Internet, you interact with other computers using a client/server model. The resources of the Internet – information and services – are provided through host computers, known as servers. The server is the computer system that contains information such as electronic mail, database information, or text files. As a customer, or "client," you access those resources via client programs (applications) which use TCP/IP to request the information from the server. The server then transfers the information to your computer and the client program displays it on your screen

Recognising Domain Names
Instructions Being able to decipher URLs will make your time spent on-line much more productive. For example it will allow you to discard search engine results, or help identify the authority of the resource.

URL recognition.
 * What organisation or individual do you think is responsible for each of these URLs?
 * What else can you infer about the page from its URL?
 * http://www.boatingoz.com.au/travsyd.htm
 * http://www.waikato.ac.nz/library/index.html
 * http://pagebuilder.lycos.com/travel/
 * http://www.nwa.com/freqfly/
 * http://www.doc.govt.nz/rec/rec.htm
 * http://www.travelshop.de/index-e.html
 * http://www.sans.vuw.ac.nz/~tramping/
 * http://pidp.ewc.hawaii.edu/pireport/98/082110.html
 * http://www.bbsc.vic.gov.au/t205.htm
 * http://ee.usyd.edu.au/~callum/travel.htm

Determining URLs
What do you think the URL of the homepage of each of these organisations might be?


 * The Ferrari homepage in Australia
 * Massey Uni’s Maths Department’s Stats-Lab
 * Pacific Tours - a Cairns, Australia company
 * Westpac Trust Australian HQ
 * Air New Zealand (Australia)
 * Air New Zealand (Canada)
 * NZ Ministry of Fisheries
 * Auckland Uni’s Geology Department

Ping - establishing whether an IP address exists
Syntax: ping www.nzherald.co.nz ping www.xtra.co.nz
 * Open up the MS_DOS prompt (You may be able to use Start > Run > then type command [Enter]).
 * Type ping followed by the name or IP address of the server you are trying to contact. Tip: if you try to ping an overseas web site it will probably time out, so ping a NZ web site.
 * What do the results tell you?

Note: to prevent denial of service attacks many corporations will disable the ability to ping.

Tracert - trace the route that a message takes when connecting to server
It should return the number of hops, the time for each hop, and the addresses of all the devices the message passes through to get to its destination. Syntax: You will probably find that some of the hops time out (or the host is shown as unknown).
 * Open up the MS_DOS prompt (You may be able to use Start > Run > then type command [Enter]
 * Type tracert followed by the name or IP address of the server you are trying to contact. Tip: if you try to tracert an overseas web site it will probably time out, so tracert a NZ web site.
 * tracert www.nzherald.co.nz
 * tracert www.ihug.co.nz

 (Note some of the IP addresses have been obscured with #)

ipconfig - Finds the IP address of the computer.

 * Open up the MS_DOS prompt. (or from [Start], choose Run ...
 * Type ipconfig