06-17-2010 02:35 AM
Hi All;
Can I understand that HMAC is one of the method to implement the (Authentication Header AH) and (Encapsulation Security Payload) ESP?
When to use Authentication Header (AH) and when to use Encapsulation Security Payload (ESP)?
Can we use 3DES or AES with Authentication Header?
Any help?
Regards
Bilal
06-17-2010 03:57 AM
HMAC is a mechanism for message authentication using cryptographic hash functions.
http://www.faqs.org/rfcs/rfc2104.html
AH—Authentication Header. A security protocol which provides data authentication and optional anti replay services. AH is embedded in the data to be protected (a full IP datagram).
http://www.faqs.org/rfcs/rfc2402.html
ESP—Encapsulating Security Payload. A security protocol which provides data privacy services and optional data authentication, and anti replay services. ESP encapsulates the data to be protected.
http://www.faqs.org/rfcs/rfc2406.html
If you will be using an ASA, you can not use AH anyway, as it is not supported :
http://www.cisco.com/en/US/docs/security/asa/asa80/command/reference/c5.html#wp2172593
If using router code 12.4, you can not use AH with AES
Most implementatin now uses ESP.
I hope this helps you.
Regards,
06-17-2010 04:53 AM
So HMAC is one of the mechanism that is used with Authenticaton Header, correct?
06-18-2010 06:51 PM
AH and ESP are both protocols, you can use them for ipsec vpn.
HMAC can be included with either ESP or AH.
Check the sample transform sets as per documents I provided to you previously.
Regards,
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide