ports etc Flashcards

(16 cards)

1
Q

What is the main difference between TCP and UDP

A

TCP is the connection-based( reliable)
udp is connectionless. (faster but less reliable)

Tcp is guaranteed delivery like web emails UDP for gaming and streaming

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

what are ports 20 -21 used for

A

FTP (file transfer protocol) - transfers files between systems over TCP

still used in legacy systems , insecure unless encrypted

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

What is port 22 used for ?

A

SSH (secure shell) - secure remote login and command line access via TCP

why it matters - admis use it daily to control systems security

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

what is port 23 used for ?

A

Telnet- remote command line access (insecure , TCP(SSH replacement)

outdated and insecure, replace by SSH. know it to avoid using it

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

what is port 25 used for

A

SMTP (simple mail transfer protcol) - sends email (TCP)

its how messages leave your email app

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

what is port 53 used for

A

DNS (domain name systems)- translate domain names to IPS and vise versa uses TCP and UDP

without DNS you would have to remember IPS to browse the NET

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

what are ports 67 / 68 used for

A

DHCP ( dynamic host configuration protocol) - assigns IPs to devices (UDP)

No DHCP= manual IP setup= pain

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

what is port 80 used for

A

HTTP -transfer web pages over TCP (non - secure).

Basis of web browsing before HTTPS

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

What is port 110 used for

A

POP3 ( post office protocol 3) - downloads emails to device (TCP)

Legacy emails method still in use

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

what is port 143 used for ?

A

IMAP - manges email on server (TCP)

Most modern emails clients use this to sync across devices

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

what are ports 137-139 used for

A

NetBios/NETBT - Legacy windows file / printer sharing (tcp/udp_.

legacy systems still use this ; be cations for security

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

what is port 389 used for

A

LDAP -accesses directory services (TCP/UDP)

used for authentications ( like logging into a work computer)

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

What is port 443 used for

A

HTTPS -secure web traffic (TCP)

standard for modern , secure browsing

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

what is 445 used for

A

SMB/CIFS - windows file / printer sharing over TCP

still used in windows networks today

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

what is port 3389 used for

A

RDP- remote desktop protocol (TCP/UDP)

used for remote control of desktops (especially in IT)

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