Filter on IP version (IPv4 / IPv6) #459
Labels
area/cilium
Requires upstream work in Cilium
⌨️ area/cli
Impacts the command line interface of any command in the repository.
👍 good-first-issue
Good starting point for new developers, which requires minimal understanding of Hubble.
🙏 help-wanted
Please volunteer for this by adding yourself as an assignee!
kind/enhancement
This would improve or streamline existing functionality.
Currently it is not possible to filter only IPv4 or IPv6 flows with the CLI.
Note that
FlowFilter
lack support for this, so a first step will be to add this filter to the Hubble observer at https://github.com/cilium/cilium. There are many example of filters, see https://github.com/cilium/cilium/blob/master/pkg/hubble/filters.Then, the flow protobuf must be adapted with a new
IPVersion
field inFlowFilter
so that queries can use the new filter.Finally, a CLI change adding
-4|--ipv4
and-6|--ipv6
could make use of this new filter. The option names could be different, although the one proposed in this issue are already widely adopted (seenc(1)
,curl(1)
etc.)Parts:
The text was updated successfully, but these errors were encountered: