Remix.run Logo
notherhack 18 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?

jcalvinowens 17 hours ago | parent [-]

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

shivanshvij 16 hours ago | parent [-]

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