views:

243

answers:

3

I have recently started playing around with libnet and using it to generate IPV6 packets. I am very new at programming, however, I am quite happy with the library.

I have one problem with it though. It seems that libnet currently does not have the ability to properly calculate checksums on IPV6 packets. Being so new to programming, I am not yet capable of fixing this problem (although I am learning, so that one day I can).

I am curious, has anyone run across a version of the library that can do this properly?

Thanks!

A: 

What checksum? In IPv6, unlike IPv4, there is no checksum in layer-3 headers...

bortzmeyer
A: 

My apologies. I should have worded this better. Specifically I am talking about the TCP and UDP checksums.

A: 

Are you sure that you are specifying the right length for the IPv6 header and whatever headers it encapsulates?

Nadeem Douba