[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

IP Authentication Header implementation



Hello all,
I am a grad student at UC Santa Barbara. I am writing this note to ask for
your help on IP Authentication Header.

Unfortunately I am not familiar with Crypto but need to use HMAC-MD5 for
my project.  I am supposed to implement a new protocol MRM (Multicast
Route Monitoring) for end systems. The packet format for MRM is as 
follows:

+--------------------------------------------------------------
| IP Header  |  Authentication Header(AH)  |  UDP Header |  MRM Header
+--------------------------------------------------------------

Here, I need to use "IPsec Authentication Header with HMAC-MD5
transformation as the standard authentication algorithm" (from MRM draft).
I will implement this for SUN (solaris) machines. I will use RAW IP
sockets to create an IP packet and need to have a code to do AH part for
me.

My question is: Do you have a sample implementation for doing this
authentication process or do you know any place where I can find a sample
implementation for this ?

I will greatly appreciate your help on this.

	- kamil