TCP/IP Applications Flashcards

1
Q

session

A

any communication between one computer and another

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

TCP

A

Transmission Control Protocol

- enables connection oriented communications in networks that use TCP/IP protocol suite

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

How does TCP connect

A

TCP three-way handshake

  • client send single SYN segment to server
  • server return a single SYN, ACK segment
  • client sends single ACK segment and request server begins sending data
  • once server finishes, sends a FIN segment
  • client responds with ACK, then sends FIN
  • server responds with ACK
  • both parties consider session closed
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

DHCP ports

A

UDP 67 for client

UDP 68 for server

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

Synchronize time

A

NTP - Network Time Protocol
SNTP - Simple Network Time Protocol
Both use UDP 123

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

TFTP

A

Trivial File Transfer Protocol

  • UDP port 69
  • only used on same LAN
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

ICMP

A

Internet Control Message Protocol

  • works at layer 3
  • UDP
  • ping is an example
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the reply to a ping request called?

A

echo reply

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

ping of death

A

sending a malformed ping packet to cause destination computer to crash

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

IGMP

A

Internet Group Managment Protocol

- enables routers to communicate with hosts to determine a group “memebership”

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

port number

A
  • 16 bit value
  • between 0 and 65535
  • 0 to 1023 are well-known port numbers (reserved for specific applications)
  • 1024 to 5000 are ephemeral port numbers
  • 49152 to 65535 are dynamic or private port numbers
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Session information (IP address and port number) are stored in?

A

socket or endpoint

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

Session data stored for two computers about the same connection

A

socket pairs or endpoints

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

Term for session information and session data

A

connection or session

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

View endpoints on Windows CLI

A

netstat -n

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

a socket that is prepared to respond to any IP packets destined for that port

A

open port or listening port

17
Q

View open ports on Windows CLI

A

netstat -an

18
Q

netstat states

A

listening - open, waiting for connection
established - port is connected
close_wait - closed

19
Q

View process IDs in netstat

A

netstat -o

20
Q

View program names in netstat

A

netstat -b

21
Q

find process ID in linux

A

ps

22
Q

Why set a connection limit on IIS

A
  • based on avialable memory and bandwidth

- prevent DOS attacks

23
Q

URL

A

Uniform Resource Locator

24
Q

What does an internet application need to be secure?

A

authentication - user names and passwords
encryption - stirring up the data
nonrepudiation - source is not able to deny a sent message

25
Q

SSL/TLS

A

Secure Sockets Layer / Tranport Layer Security

26
Q

HTTPS port

A

TCP 443

27
Q

Telnet port

A

TCP 23

28
Q

SSH port

A

TCP 22

29
Q

SMTP port

A

TCP 25

30
Q

POP3 port

A

TCP 110

31
Q

IMAP4 port

A

TCP 143

32
Q

3 main email servers

A

Exim, postfix and exchange

33
Q

FTP port

A

TCP ports 21 and 20
passive FTP only uses port 21
use passive FTP with NAT

34
Q

TFTP port

A

UDP port 69

35
Q

Protocol developed by netscape for transmitting private documents

A

SSL

36
Q

netstat show all used ports

A

netstat -a

37
Q

netstat show raw port numbers and ip addresses

A

netstat -n