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 - hazuki

#1
General Discussion / Re: Monit repeat execution
February 02, 2025, 01:18:07 PM
Thanks Maurice! My bad I didn't mention the firmware version, and indeed it is 15.1.
The patch works like a charm and now everything works as expected.

Hazuki
#2
General Discussion / Monit repeat execution
February 02, 2025, 08:48:28 AM
Hi

I want to set up monit to repeat execute a script when ping keeps failing. According to https://stackoverflow.com/questions/56011030/monit-only-executing-once, monit should be good for my purpose if "repeat" is defined in the syntax. However, with web GUI, my best attempt is to set the syntax to:

If failed count 5 size 64 with timeout 5 s via address <router IP> then exec '<some script>' (as seen in httpd). I don't see anywhere in Web GUI I can put "repeat" in to the syntax. How can I complete the syntax to

If failed count 5 size 64 with timeout 5 s via address <router IP> then exec '<some script>' repeat every cycle
Thanks in advance,
Hazuki
#3
Not sure if just my geolocation (China) matters, the mirror https://dns-root.de/ seems down. Anyone can verify this ?

Thanks in advance
#4
Thanks for explaining the purpose of experiment track! :)
No wonder I can see the reported OPNsense version is 24.7 yet kernel is still 13.2.
#5
Is it just me after upgrade from release type : development and 24.1, the kernel is still in 13.2?

FreeBSD OPNSENSE 13.2-RELEASE-p11 FreeBSD 13.2-RELEASE-p11 stable/24.1-n255023-99a14409566 SMP amd64

I am expecting the development 'channel' shall enable the kernel be upgraded to 14.1. May be I was wrong?

I was once tried 14.1-STABLE kernel in 24.1, and opnsense-update -k told me nothing to do

Thanks in advance,
Hazuki
#6
General Discussion / Re: Move to 14.1?
May 13, 2024, 11:08:06 AM
I am not sure if I am looking into the right place. In https://github.com/opnsense/src/blob/volatile/24.7/sys/conf/newvers.sh , looks like 24.7 will be in FreeBSD 14.1.

TYPE="FreeBSD"
REVISION="14.1"
BRANCH="BETA1"


If this is true, I really looking forward to test the BETA 24.7 as the performance gain in wireguard is really astonishing.
#7
General Discussion / Re: Move to 14.1?
May 13, 2024, 12:31:40 AM
One may test FreeBSD 14 kernel in OPNSense after selecting the snapshot

opnsense-update -zkr 14-STABLE -a FreeBSD:14:amd64

Test FreeBSD 14 kernel at your own risk!

This FreeBSD 14.1 kernel indeed boost up wireguard speed.
More information are in https://forum.opnsense.org/index.php?topic=40413.msg198242#msg198242

EDIT 1: add missing -b switch in code. Solely updating kernel without base file will lead to messed-up routing in my setup.
EDIT 2: add warning regarding failed ISC DHCPv4
EDIT 3: add warning regarding failed pkg command
EDIT 4: I was told by franco that updating kernel only (not base file) should be good to test. Updating base file will break more things. I have removed -b switch and later found out duplicated entry (same port) in port forward led my firewall messed-up while using 14.1 kernel in 24.1 base file. (pfctl: DIOCADDRULENV: File exists). All warnings removed