Security Infrastructure Flashcards
What is port 21 used for?
FTP – TCP – used to transfer files between computers.
FTP 文件传输协议,用来在电脑之间传文件(像上传、下载)。
What is port 22 used for?
SSH – TCP – used for secure remote login to servers.
SSH 安全远程登录协议,像用命令行远程控制服务器,很安全。
What is port 23 used for?
Telnet – TCP – used for remote login, but not secure.
Telnet 远程登录协议,数据是明文的,很不安全,已经淘汰。
What is port 25 used for?
SMTP – TCP – used to send emails.
SMTP 发送邮件用的协议,常用于发邮件服务器之间通信。
What is port 53 used for?
DNS – TCP/UDP – used to turn website names into IP addresses.
DNS 域名解析,把网址(例如 google.com)转换成 IP 地址。
What is port 80 used for?
HTTP – TCP – used for browsing regular (non-encrypted) websites.
HTTP 协议,用来打开普通网页(没有加密)。
What is port 443 used for?
HTTPS – TCP – used for secure websites (encrypted).
HTTPS 是加密版的 HTTP,用来打开安全网页,比如银行网站。
What is port 110 used for?
POP3 – TCP – used to receive email and download it to your device.
POP3 是旧版收邮件协议,收到邮件后就下载到本地。
What is port 143 used for?
IMAP – TCP – used to read email without downloading it.
IMAP 是新版收邮件协议,邮件保存在服务器上,可以多设备同步。
What is port 3389 used for?
RDP – TCP – used for remote desktop access to Windows systems.
RDP 是远程桌面协议,用来远程操作 Windows 电脑。
What is a firewall?
A firewall is a device or software that controls network traffic based on rules.
防火墙是控制网络流量的设备或软件,根据规则允许或阻止连接。
What is the main function of a firewall?
To block unauthorized access and allow safe traffic.
防止未经授权的访问,同时允许合法流量通过。
What is a packet filtering firewall?
It checks IP addresses and port numbers, but not content.
它只检查 IP 和端口,不看数据内容,工作在第4层。
What is a stateful firewall?
It tracks connection status and allows return traffic for valid sessions.
它会“记住连接”,允许合法请求返回的数据通过。
What is a proxy firewall?
It makes requests on behalf of the user and filters traffic at the application layer.
它代表用户与外部通信,能看懂内容,过滤更精准。
What is a Next-Generation Firewall (NGFW)?
It adds deep packet inspection, application control, and built-in IPS.
比普通防火墙更强大,可以检查数据内容、识别 App,还能防攻击。
What is a Web Application Firewall (WAF)?
A firewall that protects websites from attacks like SQL injection and XSS.
专门保护网站,能防止 SQL 注入、跨站脚本等攻击。
What is a screened subnet (DMZ)?
A separate network zone that hosts public services and isolates them from internal systems.
放网站服务器的“中间地带”,跟内网隔开,防止被入侵波及。
What is the difference between Layer 4 and Layer 7 firewalls?
Layer 4 checks ports/protocols; Layer 7 checks app-level content like URLs.
第4层看端口和协议,第7层能看懂网页内容或App行为。
What’s a key takeaway about firewalls?
Firewalls enforce rules to protect the network—some are basic, others are advanced with app awareness and attack prevention.
防火墙通过规则保护网络,有的简单,有的能识别应用甚至防攻击。
What is an Access Control List (ACL)?
A set of rules used by firewalls to allow or deny traffic.
ACL 是一组防火墙规则,用来决定哪些流量可以通过,哪些要被拦。
What are the common components of an ACL rule?
Source IP, destination IP, port, and action (allow/deny).
来源 IP、目标 IP、端口号、允许或拒绝的动作。
Why is rule order important in ACLs?
The firewall checks rules top-down and stops at the first match.
规则是从上往下执行的,遇到匹配的就不再继续查了。
What is the best practice for ACL rule order?
Put specific rules first and general “deny all” last.
越具体的规则越往上放,最底下一般是“全部拒绝”。