Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - magic31

#1
Hi Franco,

Quote from: franco on August 06, 2017, 12:00:15 AM
Hi guys,

Does this patch[1] help?

# opnsense-patch 051e44ca


just to let you know... that patch had no effect on the issue I was(and maybe still am) seeing.

Cheers,
  Willem
#2

Guess there are some different issues going on with the 17.7 release (meaning the IPS+IDS thing and the posts on DNS resolving).

I think I've made some progress. From https://forum.opnsense.org/index.php?topic=5615.0, I saw a suggestion to try to disable reply-to.

QuoteTry setting Firewall: Settings: Advanced: [ x ] disable reply-to. 

Also, I have disabled IPv6 altogether as I'm not using that in any of the subnets that OPNsense is connected to.

So far those two changes seems to have stabilized matters. Uptime of the firewall is currently 1:48 and still working as it should...

Will be keeping an eye on this ofc... and will let you know.

Thanks,
Willem
#3
One more thing (have not applied the patch yet)....


...never mind.  thought I had found something, but no.  Going to apply the patch now.
#4
Hi Franco,

Will try the patch and let you know.

Haven't had too much time to track the issue down... but from what I've been able to troubleshoot so far it looks as if OPNsense losses it's route to the gateway it should use to get to internet.

On the WAN side, this setup has two gateways... OPNsense is one (inbound) and the internet modem that's in that same subnet the second.

When DNS resolving fails, there are also connectivity issues to the outside world.
Traffic flow within LAN/WAN and two DMZ's that are defined seems fine.

Have not had the time to test and diagnose extensively... but maybe it could also be related to the gateway online check?  I've disabled that for now...

I'll let you guys know the outcome of that patch.

#5
Still puzzled why this is happening. For now I have put a very ugly workaround in place (snapshot reset+boot of the VM every 30 mins, which causes a 20 second hickup).

I'll be install a fresh 17.7 and rebuild config to see if the problem also appears there.

In the meantime, to further troubleshoot this... are there any specific logs that might give hints as to what's causing this on my machine? Can't see anything particular when looking through the logs in /var/log.

Open to tools, tips, suggestions :)

Thanks,
  Willem
#6
Yep... definitely IPS/IDS that was causing this here too. Disabled that for now as I could not quickly find a way to downgrade. I'll have a look at that later but wanted to confirm here first.


UPDATE: Ok sorry... I concluded that to soon.  IPS and IDS are disabled, firewall rebooted.... and after some time running, DNS resolving still stops, whilst service reports being up.

Restarting DNS(forwarder) does not resolve it... reboot is needed.

So there seems to be something else going on here...
#7
Hi Franco,

Thanks for you quick reply!

Yes, IDS+IPS are enabled.  I'll give that downgrade a try (and if that does not help see what happens when IDS+IPS are disabled altogether) and let you know.

Thanks,
  Willem
#8
Hi All,

First post here, so please be gentle :)

Have been running OPNsense for a year now. Very pleased with it and all of the developments going on to further improve and enhance.

An issue I'm running into is with DNS resolving. I'm primarily still using the Dnsmasq DNS service, but I've also tried running Unbound DNS instead, which has the same issue.

What happens is that all is fine and dandy when booting up. And all runs as should upto 30 to 60 minutes.
After that, DNS resolving stops working on all interfaces (I have three interfaces setup for WAN LAN and DMZ).

Strange thing is that I can still make a connection to the DNS port (nc from a client machine returns a successful connection), but trying to resolve an address results in a timeout.. even for locally defined/overridden records.

Running a resolve from the interfaces diag section in the OPNsense webadmin interface also then fails.

Restarting the DNS service does not fix it... restarting the box does.

Pinging from DMZ to LAN (from server/client devices) still works (I have allowed ICMP trafic in the rules to troubleshoot)... so network flow seems OK.

Have looked in different logs... but have not found any errors or messages there that are related.

Also, the management interface shows all services as running.



How can I best troubleshoot this?

Thanks,
Willem