kytos-ng / sdntrace

Napp that traces OpenFlow paths in the dataplane
https://kytos-ng.github.io/api/sdntrace.html
GNU Lesser General Public License v3.0
0 stars 6 forks source link

Updated TCP and UPD to have the correct checksum #88

Closed Alopalao closed 4 months ago

Alopalao commented 4 months ago

Closes #87

Summary

Fix TCP and UPD object construction so they calculate the correct checksum.

Local Tests

Check with Wireshark checksum validation

End-to-End Tests

TBA

Alopalao commented 4 months ago

When in localhost, every TCP packet that contains wraps the openflow header has an incorrect checksum. So I checked in the specific TCP/UDP packet created by sdntrace. For example here is a TCP packet: TCP