0% found this document useful (0 votes)
76 views50 pages

Preliminary Computer Science I: COMP0001

The document discusses a lecture on networking and the internet. It covers network fundamentals like classifications and protocols. It then discusses the internet as a worldwide collection of networks connected by routers. The internet relies on internet service providers to provide connectivity and uses IP addresses and domain names for identification. It also covers the world wide web and common internet applications.

Uploaded by

Gordon Ferkin
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
76 views50 pages

Preliminary Computer Science I: COMP0001

The document discusses a lecture on networking and the internet. It covers network fundamentals like classifications and protocols. It then discusses the internet as a worldwide collection of networks connected by routers. The internet relies on internet service providers to provide connectivity and uses IP addresses and domain names for identification. It also covers the world wide web and common internet applications.

Uploaded by

Gordon Ferkin
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 50

1

Preliminary Computer Science I

COMP0001

School of Science, Computing and Artificial Intelligence

Lecturer: Ilenius Ildephonce

Ilenius Ildephonce (The UWI, Five Islands) COMP0001-Lecture Week 4 September 24, 2021 1 / 50
2

Lecture 3B

Networking and the Internet

Ilenius Ildephonce (The UWI, Five Islands) COMP0001-Lecture Week 4 September 24, 2021 2 / 50
Contents
3

1 Network Fundamentals

2 The Internet

3 The World Wide Web

4 Internet Protocols

5 Security

Ilenius Ildephonce (The UWI, Five Islands) COMP0001-Lecture Week 4 September 24, 2021 3 / 50
Content
4

1 Network Fundamentals

2 The Internet

3 The World Wide Web

4 Internet Protocols

5 Security

Ilenius Ildephonce (The UWI, Five Islands) COMP0001-Lecture Week 4 September 24, 2021 4 / 50
Network Fundamentals
5

Network Software allows users to exchange information and share


resources
Content
Software
Data storage facilities
Network software has evolved into a network-wide operating system

Ilenius Ildephonce (The UWI, Five Islands) COMP0001-Lecture Week 4 September 24, 2021 5 / 50
6

Network Classifications
Scope
Personal Area Network (short-range)
Local Area Network (building/campus)
Metropolitan Area Network (community)
Wide Area Network (greater distances)
Ownership
Closed versus open
Topology (configuration)
Bus (Ethernet)
Star (Wireless networks with central Access Point)

Ilenius Ildephonce (The UWI, Five Islands) COMP0001-Lecture Week 4 September 24, 2021 6 / 50
7

Protocols
Rules by which activities are conducted on a network
Example: Coordinating the transmission of messages between
computers
Need to avoid all machines transmitting at the same time
Allows vendors to build products that are compatible with products
from other vendors

Ilenius Ildephonce (The UWI, Five Islands) COMP0001-Lecture Week 4 September 24, 2021 7 / 50
8

Protocols for Transmitting Messages


CSMA/Collision Detection
used in Ethernet
both machines stop and wait for a independent, random time
CSMA/Collision Avoidance
used in WiFi, where not all machines can hear each other (hidden
terminal problem)
give advantage to the machine that has already been waiting

Ilenius Ildephonce (The UWI, Five Islands) COMP0001-Lecture Week 4 September 24, 2021 8 / 50
Communication over a bus network
9

Ilenius Ildephonce (The UWI, Five Islands) COMP0001-Lecture Week 4 September 24, 2021 9 / 50
10

Combining Networks
Repeater: passes all messages across two busses
Bridge: passes only messages that are destined for computers on
the other bus
Switch: acts like a bridge, but with connections to multiple busses
Router: Connects two incompatible networks resulting in a
network of networks called an internet

Ilenius Ildephonce (The UWI, Five Islands) COMP0001-Lecture Week 4 September 24, 2021 10 / 50
11

Ilenius Ildephonce (The UWI, Five Islands) COMP0001-Lecture Week 4 September 24, 2021 11 / 50
Routers connecting two WiFi networks and an
12
Ethernet network to form an internet

Ilenius Ildephonce (The UWI, Five Islands) COMP0001-Lecture Week 4 September 24, 2021 12 / 50
13

Client-server
Many clients, one server (executing continuously)
Clients make requests of other processes
Server satisfies requests made by clients
Peer-to-peer (P2P)
Two processes communicating as equals
Processes execute on a temporary basis

Ilenius Ildephonce (The UWI, Five Islands) COMP0001-Lecture Week 4 September 24, 2021 13 / 50
14

Ilenius Ildephonce (The UWI, Five Islands) COMP0001-Lecture Week 4 September 24, 2021 14 / 50
15

Distributed Systems
Systems units that execute as processes on different computers
Cluster computing
Independent computers work closely together instead of a single,
much larger machine
Grid computing
Millions of home PCs (not connected to each other) work on a
complex problem
Cloud computing
Provide services, hide the details

Ilenius Ildephonce (The UWI, Five Islands) COMP0001-Lecture Week 4 September 24, 2021 15 / 50
Content
16

1 Network Fundamentals

2 The Internet

3 The World Wide Web

4 Internet Protocols

5 Security

Ilenius Ildephonce (The UWI, Five Islands) COMP0001-Lecture Week 4 September 24, 2021 16 / 50
17

Ilenius Ildephonce (The UWI, Five Islands) COMP0001-Lecture Week 4 September 24, 2021 17 / 50
18

The Internet
The Internet is an internet that spans the world
1 Original goal was to link a variety of networks into a connected
system unaffected by local disasters
2 Today, it is a commercial undertaking that links a worldwide
combination of PANs, LANs, MANs, and WANs involving millions
of computers

Ilenius Ildephonce (The UWI, Five Islands) COMP0001-Lecture Week 4 September 24, 2021 18 / 50
19

Internet Service Provider (ISP)


Tier-1 (Internet backbone)
Tier-2
Access or Tier-3 ISP: Provides connectivity to the Internet
Hot spot (wireless)
Telephone lines
Cellular
Cable/Satellite systems

Ilenius Ildephonce (The UWI, Five Islands) COMP0001-Lecture Week 4 September 24, 2021 19 / 50
20

Ilenius Ildephonce (The UWI, Five Islands) COMP0001-Lecture Week 4 September 24, 2021 20 / 50
21

Internet Addressing
IP address: pattern of 32 or 128 bits often represented in dotted
decimal notation
Mnemonic address:
Domain names (uwi.edu)
Top-Level Domains
.org, .gov, .ag, .jm, .com, .mil, .net, .au, .ca, .biz, . . . .
Domain name system (DNS)
Name servers
DNS lookup

Ilenius Ildephonce (The UWI, Five Islands) COMP0001-Lecture Week 4 September 24, 2021 21 / 50
22

Internet Corporation for Assigned Names & Numbers (ICANN)


Allocates blocks of IP addresses to ISPs who then assign those
addresses within their regions.
Oversees the registration of domains and domain names.

Ilenius Ildephonce (The UWI, Five Islands) COMP0001-Lecture Week 4 September 24, 2021 22 / 50
23

Early Internet Applications


Network News Transfer Protocol (NNTP)
File Transfer Protocol (FTP)
Telnet and Secure Shell (SSH)
Hypertext Transfer Protocol (HTTP)
Electronic Mail (email)
Domain mail server collects incoming mail and transmits outing
mail
Mail server delivers collected incoming mail to clients via POP3 or
IMAP

Ilenius Ildephonce (The UWI, Five Islands) COMP0001-Lecture Week 4 September 24, 2021 23 / 50
24

More Recent Applications


Voice Over IP (VoIP)
Internet Multimedia Streaming
N-unicast
Multicast
On-demand streaming
Content delivery networks (CDNs)

Ilenius Ildephonce (The UWI, Five Islands) COMP0001-Lecture Week 4 September 24, 2021 24 / 50
25

Diagnose the conncection


traceroute www.uwi.edu
tracert www.uwi.edu
Try: https://www.bandwidthplace.com
http://downrightnow.com

Ilenius Ildephonce (The UWI, Five Islands) COMP0001-Lecture Week 4 September 24, 2021 25 / 50
Content
26

1 Network Fundamentals

2 The Internet

3 The World Wide Web

4 Internet Protocols

5 Security

Ilenius Ildephonce (The UWI, Five Islands) COMP0001-Lecture Week 4 September 24, 2021 26 / 50
27

Ilenius Ildephonce (The UWI, Five Islands) COMP0001-Lecture Week 4 September 24, 2021 27 / 50
28

World Wide Web


Hypertext combines internet technology with concept of
linked-documents Embeds hyperlinks to other documents
Browsers present materials to the user
Webservers provide access to documents
Documents are identified by URLs and transferred using HTTP

Ilenius Ildephonce (The UWI, Five Islands) COMP0001-Lecture Week 4 September 24, 2021 28 / 50
A typical URL
29

Ilenius Ildephonce (The UWI, Five Islands) COMP0001-Lecture Week 4 September 24, 2021 29 / 50
30

Hypertext Markup Language (HTML)


Encoded as text file
Contains tags to communicate with browser
Appearance
<h1> to start a level one heading
<p> to start a new paragraph
Links to other documents and content
<a href = . . . >
Insert images
<img src = . . . >

Ilenius Ildephonce (The UWI, Five Islands) COMP0001-Lecture Week 4 September 24, 2021 30 / 50
A simple webpage
31

Ilenius Ildephonce (The UWI, Five Islands) COMP0001-Lecture Week 4 September 24, 2021 31 / 50
Extensible Markup Language (XML)
32

XML: A language for constructing markup languages similar to


HTML
A descendant of the Standard Generalized Markup Language
Opens door to a World Wide Semantic Web

Ilenius Ildephonce (The UWI, Five Islands) COMP0001-Lecture Week 4 September 24, 2021 32 / 50
Client Side Versus Server Side
33

Client-side activities (browser)


Javascript
Java applets
Macromedia Flash
Server-side activities (webserver)
Common Gateway Interface (CGI)
Servlets
JavaServer Pages (JSP) / Active Server Pages (ASP)
PHP

Ilenius Ildephonce (The UWI, Five Islands) COMP0001-Lecture Week 4 September 24, 2021 33 / 50
HTML and CSS
34

https://www.w3schools.com/html/default.asp
https://www.w3schools.com/css/default.asp

Challenge: Create a 1 page resume using html and css.

Ilenius Ildephonce (The UWI, Five Islands) COMP0001-Lecture Week 4 September 24, 2021 34 / 50
Content
35

1 Network Fundamentals

2 The Internet

3 The World Wide Web

4 Internet Protocols

5 Security

Ilenius Ildephonce (The UWI, Five Islands) COMP0001-Lecture Week 4 September 24, 2021 35 / 50
36

Internet Protocols
Control how messages are transferred over the Internet
This software must reside on every computer in the Internet
Accomplished by a multi-level hierarchy

Ilenius Ildephonce (The UWI, Five Islands) COMP0001-Lecture Week 4 September 24, 2021 36 / 50
Package-shipping example
37

Ilenius Ildephonce (The UWI, Five Islands) COMP0001-Lecture Week 4 September 24, 2021 37 / 50
38

Internet Software Layers


Application: Constructs message with address
Transport: Chops message into packets
Network: Handles routing through the Internet
Link: Handles actual transmission of packets

Ilenius Ildephonce (The UWI, Five Islands) COMP0001-Lecture Week 4 September 24, 2021 38 / 50
The Internet software layers
39

Ilenius Ildephonce (The UWI, Five Islands) COMP0001-Lecture Week 4 September 24, 2021 39 / 50
Following a message through the Internet
40

Ilenius Ildephonce (The UWI, Five Islands) COMP0001-Lecture Week 4 September 24, 2021 40 / 50
41

Transport Layer
Transmission Control Protocol (TCP)
User Datagram Protocol (UDP)
Network Layer
Internet Protocol (IP)
IPv4
IPv6

Ilenius Ildephonce (The UWI, Five Islands) COMP0001-Lecture Week 4 September 24, 2021 41 / 50
Choosing between TCP and UDP
42

Ilenius Ildephonce (The UWI, Five Islands) COMP0001-Lecture Week 4 September 24, 2021 42 / 50
Content
43

1 Network Fundamentals

2 The Internet

3 The World Wide Web

4 Internet Protocols

5 Security

Ilenius Ildephonce (The UWI, Five Islands) COMP0001-Lecture Week 4 September 24, 2021 43 / 50
Cybersecurity
44

Forms of Attack
Malware (viruses, worms, Trojan horses, spyware, phishing
software)
Denial of service (DoS)
Spam (common medium for delivering malware)
Protection and Cures
Firewalls
Spam filters
Proxy Servers
Antivirus software

Ilenius Ildephonce (The UWI, Five Islands) COMP0001-Lecture Week 4 September 24, 2021 44 / 50
Cryptography
45

HTTPS for secure Internet access


Public-key Encryption (asymmetric) Public key: Used to encrypt
messages
Private key: Used to decrypt messages
Certificate Authorities Trusted to maintain lists of public keys
Provide Certificates to clients containing a party’s name and its
public key

Ilenius Ildephonce (The UWI, Five Islands) COMP0001-Lecture Week 4 September 24, 2021 45 / 50
Public key encryption
46

Ilenius Ildephonce (The UWI, Five Islands) COMP0001-Lecture Week 4 September 24, 2021 46 / 50
Legal Approaches to Network Security
47

In Antigua & Barbuda


Electronic crimes act, 2013 (ammendment, 2018).
Data protection act, 2013
Computer Misuse Act, 2006
telecommunications bill, 2016
In USA
Computer Fraud and Abuse Act
Electronic Communication Privacy Act
USA PATRIOT Act
Communications Assistance for Law Enforcement Act
Anticybersquatting Consumer Protection Act

Ilenius Ildephonce (The UWI, Five Islands) COMP0001-Lecture Week 4 September 24, 2021 47 / 50
Live attacks and threats
48

https://www.akamai.com/visualizations/visualizing-akamai

Ilenius Ildephonce (The UWI, Five Islands) COMP0001-Lecture Week 4 September 24, 2021 48 / 50
Further reading assignments
49

Research on the technology used by different ISP in Antigua &


Barbuda, and their internet speed variations.

Ilenius Ildephonce (The UWI, Five Islands) COMP0001-Lecture Week 4 September 24, 2021 49 / 50
50

End

Ilenius Ildephonce (The UWI, Five Islands) COMP0001-Lecture Week 4 September 24, 2021 50 / 50

You might also like