[Unit]
Description=Reduce CVE-2026-98432 exposure by dropping IPv4 TCP packets with IP options
Before=docker.service
After=network-pre.target
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStartPre=/usr/sbin/nft -c -f /etc/stream-tcp-options-guard.nft
ExecStart=/usr/sbin/nft -f /etc/stream-tcp-options-guard.nft
ExecStop=/usr/sbin/nft delete table inet stream_tcp_options_guard
[Install]
WantedBy=multi-user.target