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 5 forks source link

feat: support sending serialized valid UDP and TCP packets over IPv4 #70

Closed viniarck closed 3 weeks ago

viniarck commented 1 month ago

feat: support sending serialized valid UDP and TCP packets over IPV4

At the moment neither UDP nor TCP packets are supported, so, when a UDP or TCP payload is passed, the input should be similar to sdntrace_cp openapi spec https://github.com/kytos-ng/sdntrace_cp/blob/master/openapi.yml#L59-L95, but then only accept TCP = 6, UDP = 17, and only for IPv4 related fields for now. The data on UDP or TCP can be dummy bytes. src and dst ports should be parametrized too.

This implementation should work on both OvS and NoviFlow platforms when the PacketOut is sent.