Alef-Burzmali / netbox-data-flows

NetBox plugin to document data flows between systems and applications.
https://pypi.org/project/netbox-data-flows/
Apache License 2.0
37 stars 7 forks source link

allow the creation of flows having both TCP and UDP ports #8

Closed anubisg1 closed 1 year ago

anubisg1 commented 1 year ago

when creating a flow, only one protocol can be added. In reality, especially when configuring firewall rules, we generally have tcp/port-number udp/por-number in the same rule/flow.

take for example DNS, that is both tcp and udp port 53 and should be marked as a single flow.

Alef-Burzmali commented 1 year ago

Thanks for the suggestion. This will be added in the next release

anubisg1 commented 1 year ago

i have seen how this has been implemented and i have a question on the implementation or maybe on the expected way to model a flow.

when i create a firewall rule entry i can have multiple ports/protocls in a single rule. for example, a typical rule used to handle mgmt traffic would be as follow:

rule name: Device Management out

rule name: Device Management in

how would i model this? the request was about allow to add in the same flow both tcp and udp ports, which does covers as a special case the "tcp+udp" that was just added.

Alef-Burzmali commented 1 year ago

I have created the discussion #11 to discuss that