software checksum calculation fails when using vlan tags without offloading · Issue #9 · libmoon/libmoon · GitHub
More Web Proxy on the site http://driver.im/
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Related: calling tcp:calculateChecksum() on encapsulated inner packets is slightly inconvenient because it requires a pointer to the right offset in the outer packet.
The code assumes a hardcoded offset of 50/60 (IPv4/6) for the payload data which is wrong if there is a vlan tag that is not offloaded.
This is relevant for encapsulated packets.
Maybe we need a generic way to determine offsets within stacks?
The text was updated successfully, but these errors were encountered: