Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library

Comment by notherhack

3 months ago

For NAT (Network Address Translation) or any other packet header modifications, you need to recalculate checksums manually

Why doesn’t checksum offload in the NIC take care of that?

2 comments

notherhack

Reply

jcalvinowens  3 months ago

And I'm confused how they have to correct the TCP checksum but not the IPv4 header checksum...

  • shivanshvij  3 months ago

    Oh no we absolutely have to also correct the IPv4 header checksum!

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities