Client - Server Model Flashcards

1
Q

What is the Client - Server Model?

A

The paradigm by which modern systems are designed, which consists of clients requesting data or service from servers and servers providing data or service to clients.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is a “I P addrss”

A

An address given to each machine connected to the public internet.

IPv4 addresses consists of four numbers seperated by dots: z.b.c.d. where all four numbers are between 0-255.
- Special values include:

127.a.a.1 - your own local machine, referred to as 
localhost.

192.168.x.y - your private network. For instance, your 
machine and all machines on your private wifi 
networks will usually have the prefix 192168.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is a Po0RT?

A

In order for mutliple programs to listen for new network connections on the same machine without colliding, they pick a port to listen on. A port is an integer between O - 1023 are reserved system ports or well known ports and should be used by user-level processes.

Certain ports have predifned uses, below are examples:

  • 22: Secure shell
  • 53: DNS lookup
  • 80: HTTP
  • 443: HTTPS
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is a DNS. When would we use DNS?

A

Domain Name System; describes entities and protocols involved in the translation from domain names to IP addresses.

Machines make DNS query to well known entity, which returns the I PP addrss (or more) of the requested domain name in the response.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly