Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a probe ID to disaggregate traffic #5383

Closed
fanciulli opened this issue May 20, 2021 · 3 comments
Closed

Add a probe ID to disaggregate traffic #5383

fanciulli opened this issue May 20, 2021 · 3 comments
Assignees

Comments

@fanciulli
Copy link

In order to better disaggregate traffic through a "Custom Traffic Disaggregation" it would be great if nProbe/ntopng support a user defined identifier to be associated to the flow. This would allow to split traffic coming from networks which may share the same private addressing space (e.g. 10.0.0.x).

Here an example:

Suppose to have multiple locations to track with the same ntopng instance. We want to split traffic on ntopng via disaggregation. Unfortunately those locations share the same addressing space (e.g. 192.168.0.x) so current logic cannot work. Moreover we don't want to use any traffic specific parameter to filter traffic (this may break thing later on).
The proposed solution is to allow nProbe to specify a custom id that is being added to the flow data being sent to ntopng. Let's say that:

LOCATION 1 --> Custom id = 100
LOCATION 2 --> Custom id = 200
LOCATION 3 --> Custom id = 300

On ntopng the user can create a "Custom Traffic Disaggregation" specifiying the custom id. As an example the configuration for location #2 would be:

Interface Name: My location #2
Traffic filter: CUSTOM_ID 200

@cardigliano
Copy link
Member

@fanciulli what about using the exporter IP address currently available?

@fanciulli
Copy link
Author

@cardigliano The exporter IP may collide with another exporter IP. Unfortunately locations may be built up using the same exact schema (e.g. a franchising store) and thus network addresses may collide.

@lucaderi
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants