470,848 Members | 1,111 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,848 developers. It's quick & easy.

How to use IPSecAuthenticationHeader and IPSecEncapsulatingSecurityPayload ?

Part of the IPv6 specification are two mechanism to support for
authentication and encryption. I quote "The first mechanism, called the
"IPng Authentication Header", is an extension header which provides
authentication and integrity (without confidentiality) to IPng
datagrams. ... The second security extension header provided with IPng
is the "IPng Encapsulating Security Header" [15]. This mechanism
provides integrity and confidentiality to IPng datagrams"

In dotnet, these mechanisms seem to be supported by way of two protocol
types: IPSecAuthenticationHeader and IPSecEncapsulatingSecurityPayload.
The problem is: I have no idea how I'm supposed to use them.

The following line:

Socket listenSocket = new Socket (AddressFamily.InterNetworkV6,
SocketType.Stream, ProtocolType.IPSecEncapsulatingSecurityPayload);

throws an exception with the description "An address incompatible with
the requested protocol was used".

Any idea anyone?

Apr 5 '06 #1
0 883

This discussion thread is closed

Replies have been disabled for this discussion.

By using this site, you agree to our Privacy Policy and Terms of Use.