Security · IPsec
Authentication Header
Cheat sheet · https://pcornel.dk/topic.php?topic=4659
Answer
AH (Authentication Header, IP protocol 51) gives IPsec packets integrity and origin authentication but no encryption. It breaks with NAT and is rarely used; ESP is preferred.
Remember
- AH gives integrity and authentication, no encryption.
- It breaks with NAT.
- ESP is preferred.
First checks
tcpdump -ni <if> ah— AH traffic- Legacy configurations using AH — inventory
- NAT presence — breaks AH
Verify in this order
packet → AH ICV → verify
Where it usually breaks
First mismatch in endpoint/identity → path/reachability → policy selection → enforcement/session → protected flow → telemetry/detection; preserve identity/policy/pre-state before mutation.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4659