Cacti / plugin_flowview

FlowView Plugin for Cacti
GNU General Public License v2.0
18 stars 10 forks source link

The CIDR syntax filtering does not return correct results #132

Closed cheerfultime closed 1 week ago

cheerfultime commented 3 weeks ago

Hi,

AlmaLinux release 9.4 + cacti + flowview(3.4 latest develop from github on Jun 13)

1. "Source IP" or "Dest IP" in "Protocol Filters" works for IP, but still not for range(x.x.x.x/24). Is there anything I should pay attention to when entering "Source IP" or "Dest IP" range? When fill range in "Source IP" or "Dest IP", there is no error messages in cacti.log.

2. Destination IP When "Statistical Report" choose "Destination IP", the table has additional "Source DNS" and "Source IP" field. Are those specially added fields?

Source IP When "Statistical Report" choose "Source IP", "Dest DNS" and "Dest IP" will not be displayed.

Thanks!

TheWitness commented 3 weeks ago

I found the code to do this within MySQL, just need to code it. The code example is here:

https://stackoverflow.com/questions/595748/is-there-way-to-match-ip-with-ipcidr-straight-from-select-query

TheWitness commented 1 week ago

This is resolved now.