OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Profile of JohnnyBeee »
  • Show Posts »
  • Messages
  • Profile Info
    • Summary
    • Show Stats
    • Show Posts...
      • Messages
      • Topics
      • Attachments

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.

  • Messages
  • Topics
  • Attachments

Messages - JohnnyBeee

Pages: [1] 2 3 ... 5
1
24.7 Production Series / Re: DNSCrypt-Proxy logs no longer show after upgrade to 24.7
« on: September 26, 2024, 12:12:31 am »
Ok, thanks.

That seems to have solved it   :D

Thanks everyone for your help.

2
24.7 Production Series / Re: DNSCrypt-Proxy logs no longer show after upgrade to 24.7
« on: September 25, 2024, 11:39:40 pm »
Quote from: franco on September 24, 2024, 09:52:40 pm
There was a recent submission which probably fits here...

https://github.com/opnsense/core/commit/2a1ccae9

# opnsense-patch 2a1ccae9


Cheers,
Franco

Thanks.
I don't understand what the solution is though  :-[

3
24.7 Production Series / Re: DNSCrypt-Proxy logs no longer show after upgrade to 24.7
« on: September 23, 2024, 10:20:32 pm »
Ok, so this issue arises when people install dnscrypt-proxy from scratch and there is no solution?
How does one submit this bug to the developer?

4
24.7 Production Series / Re: DNSCrypt-Proxy logs no longer show after upgrade to 24.7
« on: September 21, 2024, 10:12:40 pm »
I have managed to change the symlink named dnscryptproxy to have it point to /usr/log/dnscrypt-proxy and then the error in the backend log is gone but the log GUI says "nothing listed".
When I restart dnscrypt-proxy the symlink is replaced and points to /usr/log/dnscryptproxy/dns-proxy again - and I am back to square one  :-[

5
24.7 Production Series / Re: DNSCrypt-Proxy logs no longer show after upgrade to 24.7
« on: September 21, 2024, 06:53:30 pm »
In /var/log I found a symlink file that points to the wrong folder (/usr/log/dnscryptproxy/dns-proxy, instead of /usr/log/dns-proxy - see attachment.

I coudn't find a way to delete/recreate/modify this symlink.

Any ideas about this?

6
24.7 Production Series / Re: DNSCrypt-Proxy logs no longer show after upgrade to 24.7
« on: September 21, 2024, 05:38:15 pm »
Interesting. I don't have problems with general logs either, just with System, Firmware, Log File
And I get a very similar entry in System -> Log Files -> Backend  for this:

[160262b2-cb25-4ff4-8b55-ccc16ab6c450] Script action failed with Command '/usr/local/opnsense/scripts/syslog/queryLog.py --limit '20' --offset '0' --filter '' --module 'core' --filename 'pkg' --severity 'Emergency,Alert,Critical,Error,Warning' --valid_from '1726846215.194'' returned non-zero exit status 1. at Traceback (most recent call last): File "/usr/local/opnsense/service/modules/actions/script_output.py", line 76, in execute subprocess.check_call(script_command, env=self.config_environment, shell=True, File "/usr/local/lib/python3.11/subprocess.py", line 413, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '/usr/local/opnsense/scripts/syslog/queryLog.py --limit '20' --offset '0' --filter '' --module 'core' --filename 'pkg' --severity 'Emergency,Alert,Critical,Error,Warning' --valid_from '1726846215.194'' returned non-zero exit status 1.

I have no idea what to make of this though  :(

7
24.7 Production Series / Re: DNSCrypt-Proxy logs no longer show after upgrade to 24.7
« on: September 21, 2024, 02:10:11 pm »
Thanks @Comma0280 and @_tribal_

Do you also experience the issue with the firmware log? (System, Firmware, Log File)

8
24.7 Production Series / Re: DNSCrypt-crypt logs no longer show after upgrade to 24.7
« on: September 18, 2024, 06:19:16 am »
Serious? Nobody has even the slightest idea?

9
24.7 Production Series / DNSCrypt-Proxy logs no longer show after upgrade to 24.7
« on: September 16, 2024, 04:46:36 pm »
OPNsense 24.7.4_1-amd64
FreeBSD 14.1-RELEASE-p4
OpenSSL 3.0.15
os-dnscrypt-proxy (misconfigured)   1.15_1

Problem:
Since some time after one of the upgrades from 24.1 to 24.7 (not sure at what pont exactly) the DNSCrypt-Proxy logs no longer show. The GUI just shows "Loading..."

> Logs are created and properly updated in /var/log/dnscrypt-proxy
but no longer show in the Opnsense GUI (Services, dnscrypt-proxy, Log/General, Log/Queries or Log/NX).

>>> System, Firmware, Log File also no longer shows any log entries !!!!
> System, Log Files, xxx shows logs as expected.

I'd be grateful for any suggestion helping me to solve this and see the logs again.

10
23.7 Legacy Series / Re: Suricata/Intrusion Detection stops soon after start
« on: September 04, 2023, 03:31:21 am »
This seems solved now.

I went through the system log and happened on this error:
Notice   kernel   518.293049 [2226] netmap_buf_size_validate error: using NS_MOREFRAG on igb0 requires netmap buf size >= 4096
I opened a thread for this: https://forum.opnsense.org/index.php?topic=35745.msg173952#msg173952

Once I had set netmap buf size to 4096 and restarted the WAN interface, Intrusion detection/Suricata started normally again.

11
23.7 Legacy Series / Re: netmap buf size >= 4096 required?
« on: September 04, 2023, 03:23:39 am »
Thanks for the detailed instructions.

No Zenarmor on this firewall.

I followed your instructions and now the message is gone.
But still no idea what caused it.


12
23.7 Legacy Series / Re: Suricata/Intrusion Detection stops soon after start
« on: September 04, 2023, 03:22:03 am »
Quote from: ddt3 on September 02, 2023, 02:26:31 pm
I have posted a similar problem :
Intrusion Detection stops after 1 minute

Assumed my issue was related to "changing to VLAN"  but maybe it is related to what you are reporting?

Thanks, but your issue is not related.

13
23.7 Legacy Series / netmap buf size >= 4096 required?
« on: September 02, 2023, 04:06:35 am »
In the system log I see the following message:
Notice   kernel   518.293049 [2226] netmap_buf_size_validate error: using NS_MOREFRAG on igb0 requires netmap buf size >= 4096

Could anybody enlighten me as to what that means?
How, if required, would I set the netmap buf size to >= 4096?

Thanks for any help.

14
23.7 Legacy Series / Suricata/Intrusion Detection stops soon after start
« on: September 02, 2023, 01:38:36 am »
OPNsense 23.7.3-amd64
FreeBSD 13.2-RELEASE-p2
OpenSSL 1.1.1v 1 Aug 2023


Hi guys.

I don't know since when, possibly since a recent firmware upgrade, Suricata stops all the time, after displaying quite a few warnings, with this error:
[100549] <Error> -- [ERRCODE: SC_ERR_FATAL(171)] - opening devname netmap:igb0-0/R@conf:host-rings=2 failed: Invalid argument

Note: I tried attaching Suricata to igb1 and the problem is the same.
There is no interface igb0-0. The WAN interface is igb0 and I have not changed anything since it worked last (possibly just a firmware upgrade).

Suricata worked perfectly before! - Until Aug 6 at least
Health Audit is fine.

Any ideas what could be wrong and how to fix this?

Thanks for any help.

15
22.7 Legacy Series / Re: "Lookup hostnames" no longer works in Firewall: Log Files: Live View
« on: November 16, 2022, 11:37:04 am »
The issue is back...
No luck with any new or previous workarounds.

So any new ideas are most welcome.

Pages: [1] 2 3 ... 5
OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2