IP
Definition
IP, or Internet Protocol, is a set of rules governing the format of data sent over the internet or local network. It is responsible for addressing and routing packets of data so that they can travel across networks and arrive at the correct destination. IP addresses are unique identifiers assigned to each device connected to a network, enabling communication between devices.
Secure Settings Example
# Example of a secure firewall rule configuration
firewall_rules:
- action: allow
protocol: tcp
port: 443
source_ip: 192.168.1.0/24
description: "Allow HTTPS traffic from internal network"
- action: deny
protocol: all
source_ip: 0.0.0.0/0
description: "Deny all other traffic"
Insecure Settings Example
# Example of an insecure firewall rule configuration
firewall_rules:
- action: allow
protocol: tcp
port: 80
source_ip: 0.0.0.0/0
description: "Allow HTTP traffic from anywhere"
- action: allow
protocol: tcp
port: 22
source_ip: 0.0.0.0/0
description: "Allow SSH traffic from anywhere"