Module 12: Network Programming Design Flashcards

1
Q

denial of service attacks

A

bad attackers try to overwhelm a web server by making requests at the same time, using up all the resources on the web server; makes it difficult to distinguish between fake and legitimate traffic

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

event-driven programming

A

rather than using blocking system calls, event-driven programming allows higher performance and resource utilization by allowing functionality to continue or sleeping until the desired event occurs

  • -event loop
  • -event handlers
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

network stack: OSI model

A

a formal, standard representation of networking that splits the network functionality into seven layers

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

network stack: internet model

A

an informal representation of networking that splits the network functionality into five layers; this model groups the application, presentation, and session layers of the OSI model together

  1. physical layer: wires etc between physical systems
  2. data link layer: determines how the raw bytes should be transferred over the physical links. the link layer puts the raw bytes into messages, performs error detection and correction in transferred data, includes functions for reliable delivery, and determines where and when to send the data over links
  3. network layer: includes IP and message routing within the network
  4. transport layer: TCP and UDP; creates network communication channels between different processes on the same or on different machines through the use of sockets
  5. application layer: includes the user level processes that require network communication
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

interface

A

accepted form of representing and accessing data such that the user can decode the information

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

protocol

A

rules and formats that govern the communication over network boxes

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

data link layer

A

data frame: grouping of raw data bits; the recipient can identify the frames by the particular sequences of bits that represent the start and end

MAC address: unique address that identifies your network card; 48 bit address space

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

network layer

A

packet - a method of wrapping data with its control information
router - a networking device that is connected to multiple network links and determines where to send a packet based
switch - switches forward messages between devices

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

encapsulation

A

each layer can only see the service provided by the layer immediately below it

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