After some testing, it appears it is working as it should. All of the blocks were specific to the App Controls. It gives the option to whitelist the host, but that is whitelisting the host address for the Web Controls rather than App Controls. I know it is possible to drill down into the categories and unblock entire sub-categories, but it would be nice to have more control as we do with whitelists.There was mention of a new release (1.5) on the horizon. Will there be a way to whitelist for App Filtering, or will hosts listed in Web Filtering take precedence over App Control?Loving the premium features of this plugin, and looking forward to further development and features.
As you can see i´m not seeing the names even though i´ve sent some queries for those machine names a few times minutes before and they are seen in the Sensei DNS tab, so, as far as i understand, those names should be cached and shown in the reports.
Quote from: Mitheor on May 03, 2020, 11:41:45 amAs you can see i´m not seeing the names even though i´ve sent some queries for those machine names a few times minutes before and they are seen in the Sensei DNS tab, so, as far as i understand, those names should be cached and shown in the reports.Hi @Mitheor, For Sensei to be able to do proper DNS enrichment, it needs to be able to witness all dns transactions. If it does not work as it should it's generally:https://help.sunnyvalley.io/hc/en-us/articles/360025100613-FAQ. See the section: "I do not see dns hostnames for some IP addresses"One other thing which might play a role here is if you use a DNS cache in your local network which reside on some other host other than the firewall (on which Sensei is running), this will also cause some mappings going out of sight for Sensei - since those cached dns traffic will NOT be traversing through the firewall. For those scenarios, (like Pihole) we suggest to disable caching on them and use firewall's dns cache as the forwarder. If none of these is the case for you, just shoot a report via "Report Bug" menu located on the upper right hand corner of the UI.
I don’t think it’s the case because I can see those dns queries for these hosts en the Sensei DNS session browser 🤷🏻♂️
I'd like to chime in with the same question and an additional question (plus a small cosmetic bug report at the end).Question oneTo give you specifics in the hope that it helps give you/me a better understanding of what is going wrong (or more likely what I'm missing), my setup is as follows:OPNSense running on an i5 NUC with 8GB RAM.1 LAN subnet of 192.168.100.0/24 which is attached to the physical LAN in OPNSense.1 DMZ subnet (192.168.50.0/24), which is a virtual interface (VLAN) hanging off the LAN interface of OPNSense.1 Proxy server on the DMZ.1 Guest network (192.168.150.0/24), which is a virtual interface (VLAN) also hanging off the LAN interface of OPNSense.1 WAN interface using PPoE to a DSL modem.A Windows domain of around 10 Windows servers and multiple Linux servers with 2 Windows DNS servers sitting at 192.168.100.14 & 192.168.100.15.A Pihole running on the same subnet (192.168.100.18).Both Windows DNS servers have the Pihole set as their forwarder.DHCP is handled by the same Windows servers that handle DNS queries.OPNSense is set up as a DHCP relay for both the Guest and LAN subnets.Windows DHCP is set up to always update DNS so I can see all of the hosts, regardless of type, are being registered in DNS. DNS query route goes: Client --> Windows DNS --> Pihole --> Internet.I've installed Sensei today and also added the DNS servers (192.168.100.14 & 192.168.100.15), under: Sensei/Configuration/Reporting & Data with the expectation that Sensei would check DNS for the hostnames of the IPs that are hitting the LAN interface. This doesn't appear to be happening and I'm not clear on why that is.Further testing shows that if I use the FW to do DNS then I see the hostnames.Is the only solution to this setup, to set the DNS in my DHCP scopes as the firewall then set the forwarder on the firewall DNS to be my Windows DNS servers (to keep the domain working), then the forwarder on the Windows DNS servers to be my Pihole docker container? That seems an overly excessive amount of DNS queries but it's the only way I'm seeing this working. This would be a pretty standard setup in most orgs in the sense that the first DNS host they query will always be the Windows DNS servers on the domain.If this is the solution, then I don't understand why the option to allow the reverse lookup of IPs is present in Sensei.Question 2I am looking at the reports for "Top Remote Hosts" and I am seeing entries in there as FQDNs that are my internal hosts on the 192.168.100.0/24 subnet. Definitely not remote hosts. Interestingly, as Sensei is reporting the FQDN, it has to be getting that from my Windows DNS servers (I'm running split DNS so my domain is resolved internally), so it is able to query my DNS servers and retreive local addresses. Surely it should know that if the resolved address sits on a range that it knows it hosts on the LAN interface, it isn't remote. I'd almost accept it if the address was on my DMZ but even then, the DMZ (in my specific case here), is a virtual interface of the LAN so again, easy to spot that it's not Remote.Or maybe I'm misunderstanding your meaning of "remote". Last question/bug reportGo to Sensei/Configuration/Reporting & DataClick the small orange "i" next to: "Perform health check for indices:" and you'll see that the help section for "Connection Security" and the section for "Reporting Criteria" in the block below opens up with the explanation for setting the Reporting Criteria for the email reports. The same thing happens if you click the orange "i" for "You can erase reporting data:"Sorry for the overly long post, thanks for making it this far! I look forward to any insight you can offer to the above questions.Thanks.
EDIT: I'm doing forward and reverse lookups on the firewall for all addresses on my local network and it appears that the graphs are indeed populating with host names where IP addresses were earlier. So now the question is how often should that run?
https://www.sunnyvalley.io/post/sensei-for-opnsense-1-5-released/