#security
Network
→ Test Port Open
this will test if the remote has port open:
nc -zv <host> <port>
→ Test Ports Open
this will scan for open/closed ports on the remote :
nmap -p 1-10000 <host>
→ Random facts
- one interface can have multiple ip address
- the loopback ip aka
lo
is either 127.0.0.1 or [::] in ipV6 - a bridge allows miltiple interfaces to connect
- netfilter is a kernel component that allow to hook userspace program to apply on packets
- iptable is such userspace program
- conntrack keeps information of lineage between packets and connectons
- route: Linux prefers to route packets by specificity, by mean the smallest matching gateway
- iptables has 3 concepts: tables, chains, and rules. They are considered hierarchical in nature: a table contains chains, and a chain contains rules
- the iptable maskerade allows to make pods to have the same ip as their node
This page was last modified: