digitalocean / go-openvswitch

Go packages which enable interacting with Open vSwitch and related tools. Apache 2.0 Licensed.
Other
295 stars 95 forks source link

No way to match UDP ports #118

Closed asimeth-do closed 2 years ago

asimeth-do commented 2 years ago

Despite the documentation for e.g. TransportSourcePort saying that it "matches packets with a transport layer (TCP/UDP)" port, it does not actually work with UDP--OvS reports an error if you try to match using tp_src or tp_dst when the protocol udp is specified: prerequisites not met for setting tp_src.

I expect to have a PR ready to address this in the not-too-distant future.