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

Comment by notherhack

7 hours 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  6 hours ago

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

  • shivanshvij  6 hours 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