E05: Linux Security Posture Flashcards
What enables packet filtering, NAT, and packet logging?
- Nftables
- iptables
- netfilter
- tables
netfilter
Ubuntu 20.04 for example has netfilter and iptables but has another command-line front end for iptables. What is the command?
ufw (Uncomplicated Firewall)
What was designed to replace the old iptables in pursuit of better performance, scalabiltiy, and useability?
- Nftables
- iptables
- netfilter
- tables
Nftables
Iptables filters packets based on Tables, Chains, Rules, and Targets
T/F
True
Within iptables, what are files that join similar actions and consists of several chains?
- Chains
- rules
- tables
- targets
tables
Within iptables, what is a statement that tells the system what to do with a packet?
- Chains
- rules
- tables
- targets
rules
What is a decision of what to do with a packet.
- chains
- rules
- tables
- targets
targets
Which of the following is not one of the default tables that can be used within iptables?
- Chain
- Filter
- NAT
- Mangle
Chain
What is used to adjust the TCP headers of the packet.
- Raw
- Filter
- NAT
- Mangle
Mangle
What is used to exempt packets from connection tracking?
- Raw
- Filter
- NAT
- Mangle
Raw
The default chains for NAT include all of the following except:
- Prerouting
- Postroutiing
- Input
- Output
Input
The default chains for Filter include all of the following except:
- Routing
- Input
- Output
- Forward
Routing
This table rules for routing packets to networks that cannot be accessed directly.
- Filter
- Mangle
- RAW
- NAT
NAT
For more information on iptables, what command could a user use in a terminal?
man iptables
What Chain in Targets, is defined as targets that keep matching the packets against rules in a chain even when the packet matches a rule?
- Terminating
- Non-Terminating
- Accept
- Reject
Non-Terminating