-
Notifications
You must be signed in to change notification settings - Fork 664
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
SRC port and DST port number are switched sometimes in ntopng #8899
Comments
Can you please show the TCP flags per direction (cli->srv and src->cli) of the abnormal flows. Please also report the nprobe configuration for -T |
Here is the configuraion for -T: And, I will also show the TCP flags per direction once I get it from my client. |
Please show the TCP flags per direction (cli->srv and src->cli) of the abnormal flows. Paste a picture showing one of those flows with wrong direction, to understand the problem. |
@ioesoft Any news? |
This issue occurs very intermittently, so it is almost impossible to monitor it continuously until the issue arises. As you know, in ntopng, flows are deleted quickly (within 2 minutes), so unless we are lucky enough to capture it when the issue occurs, it is very difficult to capture the event. The best approach is to retrieve data from ELK, as ntopng sends all flows to ELK for storage, and we can query the data stored in ELK. The result is the screen capture I sent in previous comment above. For now, we are waiting for a response from the client regarding the TCP flags for both directions. So, I was wondering if we could find a solution by analyzing the source code for any potential causes. The customer is planning to purchase 30-40 new nprobes and renew around 200 existing nprobe AMS licenses by the next month. However, due to this issue, the customer has concerns about the stability and data integrity of the NTOP product and has expressed dissatisfaction. Again, is there any way to find a solution by analyzing the source code for any potential causes? |
very likely the problem is created by TLS but I need to see evidence of the problem in order to find the root cause. I think the DB has enough info to troubleshoot this problem without supervising the web GUI. Please check if you can export some data that might help with troubleshooting. |
Thanks. I will check with the client if they can provide the database information and let you know. However, if you look at the snapshot above I provided earlier, you can also see that swap were happened not only on port 443 but also on port 80. |
sure but i need to check flags, timing, bytes etc so please provide the requested data |
Environment:
What happened:
In ntopng, when checking the flow, there are occasional cases where the source port and target port are swapped. For example, in the case of port 443, which should typically be considered the target port, there are flows that are sometimes displayed as the source port. I previously reported this bug, and Matteo mentioned that it was fixed in version 6.0, but the issue still persists in the latest version.
Regarding the issue mentioned above,
1) Could it be a problem with nprobe, or is it a problem with ntopng?
How did you reproduce it?
FYI, here is my configuration of ntop products:
nProbe(export over ZMQ) --> ntopng(export over Syslog) --> Elastic Search
In my environment, nprobe sends flows data to ntopng via ZMQ. The data volume is very high, and due to limited bandwidth between nprobe and ntopng, a large number of ZMQ drops are occurring.
2) Could these ZMQ drops be the cause of the issue mentioned above?
Debug Information:
The text was updated successfully, but these errors were encountered: