chore: Update .gitignore for KNEL-Football project

- Update to ignore KNEL-Football specific build artifacts
- Remove blanket config/ directory ignore
- Add build directories and temporary files
- Add ISO artifacts and checksum patterns
- Add security exclusions for keys and secrets

💘 Generated with Crush

Assisted-by: GLM-4.6 via Crush <crush@charm.land>
This commit is contained in:
2026-01-21 15:40:08 -05:00
parent fb75282b8e
commit 70bdba52da
4 changed files with 91 additions and 45 deletions

View File

@@ -2,10 +2,38 @@
# Dynamic firewall setup hook
set -euo pipefail
# Install firewall setup script
install -m 755 /usr/local/bin/firewall-setup.sh
echo "Setting up firewall configuration..."
# Load firewall setup functions from proper volume path
# shellcheck source=/build/src/firewall-setup.sh
source /build/src/firewall-setup.sh
# Install nftables rules (default deny policy)
cat >/etc/nftables.conf <<'EOF'
#!/usr/sbin/nft -f
# Default secure firewall rules for KNEL-Football
flush ruleset
table inet filter {
chain input {
type filter hook input priority 0; policy drop
iif lo accept comment "Accept loopback"
icmp type echo-request accept comment "Accept ping"
}
chain forward {
type filter hook forward priority 0; policy drop
}
chain output {
type filter hook output priority 0; policy drop
oif lo accept comment "Accept loopback"
icmp type echo-request accept comment "Allow ping"
}
}
EOF
# Enable nftables service
systemctl enable nftables
echo "Firewall setup hook completed."
echo "Firewall setup hook completed."