14234 Commits

Author SHA1 Message Date
Franco Fichtner
1fa0cb3e2d firmware: time for 23.1 development :) 2022-07-26 11:38:44 +02:00
Franco Fichtner
d0a0bdcdbc interfaces: cosmetics for lagg listing 2022-07-25 14:41:55 +02:00
Franco Fichtner
f8da0f2400 unbound: another undefined var 2022-07-25 13:29:58 +02:00
Franco Fichtner
e9298024c1 interfaces: DHCP router to ifctl #5862 2022-07-25 12:03:23 +02:00
Franco Fichtner
b5c0a08a12 interfaces: support :slaac here for now #5862
We could use ifctl but might be better to funnel through configd.
2022-07-25 11:51:50 +02:00
Franco Fichtner
6fe0cdd4b6 interfaces: replace router write with ifctl use #5862 2022-07-25 11:44:03 +02:00
Franco Fichtner
a13849b3db Revert "reporting: legacy log no longer exists"
This reverts commit 48e5f9f2ab8e51dcfe9bbccbf1a5f67d05bafd48.
Keep support for reading text files in this location.

PR: https://github.com/opnsense/core/issues/5892
2022-07-25 11:34:03 +02:00
Franco Fichtner
386b4679b4 openvpn: switch to ifctl use for #5862 2022-07-25 10:43:18 +02:00
Franco Fichtner
2e2e59c1d8 interfaces: move to :slaac suffix use, fixing in ifctl #5862
This breaks the new feature in the interim since the router file
read is not yet supposed to read :slaac counterpart since the router
file is still read manually.  Refactor to follow.
2022-07-25 09:57:41 +02:00
Franco Fichtner
3c18be1086 interfaces: fix two warnings 2022-07-25 09:31:35 +02:00
Franco Fichtner
8db197ebe8 unbound: fix two undefined variable warnings 2022-07-25 09:31:11 +02:00
Franco Fichtner
a02b07a908 interfaces: add iwlwiwi to wireless devices
PR: https://forum.opnsense.org/index.php?topic=29435.0
2022-07-22 14:20:22 +02:00
Franco Fichtner
7135201700 firewall: call closelog() for symmetry
openlog() is already called elsewhere and some components changing
the log facility do the closelog() dance as well.
2022-07-22 13:40:10 +02:00
Franco Fichtner
90db8f4d0f interfaces: widen and improve ifctl use
We do want to eventually lean on exclusive ifctl use in order to
be able to improve logic in ifctl or make adjustments really easy in
the future without missing a spot (e.g. adding scope to link-local
routers).
2022-07-22 10:54:55 +02:00
Maurice Walker
d582435b4b interfaces: add support for SLAAC WAN interfaces w/o DHCPv6 #5862; closes #5883
New script to be invoked by rtsold when Router Advertisements with
RDNSS / DNSSL information are received. Uses ifctl to create the
/tmp/$if_routerv6 file and creates the /tmp/$if_defaultgwv6 file
directly. Fixes the issue that these files don't get created when
the M and O flags in RAs are not set. Also, passes RDNSS / DNSSL
info from RAs to ifctl.
2022-07-22 09:20:12 +02:00
Franco Fichtner
a7ec2175b1 system: move dpinger notification to right spot 2022-07-22 08:52:05 +02:00
Franco Fichtner
9d12fcac3f src: whitespace sweep 2022-07-22 08:51:33 +02:00
Franco Fichtner
52d91d0417 make: remove WANTS/WANT magic
The packages use is too explicit so simply check for installed
debug plugin and hope for the best.
2022-07-22 08:42:09 +02:00
Franco Fichtner
0aa48bc3d7 pkg: fix plist 2022-07-21 21:02:42 +02:00
Stephan
a7858bddb2 Firewall: add missing firewall.conf syslog definition 2022-07-21 17:09:48 +02:00
Stephan de Wit
30f499e89e
Firewall: add general firewall log for alias and filter syslog messages (#5894) 2022-07-21 16:11:32 +02:00
Franco Fichtner
e9c57fd59b dhcp: note about staticarp behaviour 2022-07-21 13:52:30 +02:00
Ad Schellevis
7fe76b2239 Firewall: Diagnostics: Sessions - ignore age/expire when not provided / empty 2022-07-20 15:57:41 +02:00
Franco Fichtner
483048b9e6 dhcp: upgrade the prefix watcher to production level #5876
Just make a MD5 sum of the file and change polling to 20 seconds.
Call backend on first run as well without waiting.  Interval could
be lower still, but as said earlier it doesn't matter much all
things considered.
2022-07-20 14:24:26 +02:00
Franco Fichtner
643328486b dhcp: tabs are okay 2022-07-20 13:19:56 +02:00
Franco Fichtner
53b8b7f2b2 mvc: typing issue with phpunit9 2022-07-20 13:09:19 +02:00
Franco Fichtner
216e489564 src: another one 2022-07-20 12:22:01 +02:00
Franco Fichtner
d44f9722e9 src: fix php deprecated warnings 2022-07-20 12:19:07 +02:00
Franco Fichtner
856574bbef dhcp: use a simple periodic update for now; closes #5876
Gets rid of package dependency which for dhcpleases6 simply
listens on the DHCPD lease file and runs the prefix.php command
unconditionally.

For now emulate this by issuing the command every 60 seconds
which can be adjusted later if someone complains, but seeing
how many bugs this script has had vs. how many people noticed
it (basically none) I doult this will have much impact overall.
2022-07-20 11:37:18 +02:00
Franco Fichtner
5ce587cee8 dhcp: we seem to keep repairing this script... #5876
'prefix' was never a key so this got never executed for whatever reason.
It remains broken in other projects and the question is if this script
really has any useful value.
2022-07-20 11:15:07 +02:00
Ad Schellevis
868c9531cd system: remove last bits of clog (circular logging) support, closes https://github.com/opnsense/core/issues/5892 2022-07-19 20:13:00 +02:00
Franco Fichtner
e58d7de7d4 system: improve wording as debug no longer exists #5889 2022-07-19 18:49:25 +02:00
Franco Fichtner
7c42dfa319 system: two dashboard warnings fixed 2022-07-19 17:16:51 +02:00
Franco Fichtner
a256697cbf system: remove debug mode, disable display errors on runtime for development mode #5889 2022-07-19 16:47:00 +02:00
Franco Fichtner
0d77a46b1f ipsec: fix two warnings 2022-07-19 16:45:22 +02:00
Franco Fichtner
9bbde324b1 dhcp: clean up IPv6 page and improve UX #5847
Elements rearranged slightly and fitting help text displayed
while the other one is hidden for range configuration.
2022-07-19 12:50:03 +02:00
Franco Fichtner
5fa042b687 dhcp: more work on #5847
Make sure to use a proper example from ISC dhcpd itself.
Here now we truncate the prefix and add the suffix, making
sure the suffix is correct.  If the upper 64 bits are empty
we likely have the wrong format and we shift it up as
e.g. "::2" is not a prefix range value, but "::2:0:0:0:0" is.

Note that this is in contrast to static IPv6 where this has
to be configured correctly in the first place.
2022-07-19 12:24:56 +02:00
Franco Fichtner
8d4b63d306 system: Net_IPv6::compress() should not compress "::" to "" 2022-07-19 11:26:31 +02:00
Franco Fichtner
b66ff4bc5b interfaces: fix expire dhcp6c regex further
According to the manual "forever" is actually the correct keyword.
Also the double-pipe was senseless matching an empty expression
and there was a dash missing between month and day.
2022-07-19 08:14:28 +02:00
Franco Fichtner
9173e30921 firewall: gettext() first, then sprintf() 2022-07-19 08:04:01 +02:00
Ad Schellevis
4e9baba4d0 System: Routes: Configuration - disable flag not removing static route. closes https://github.com/opnsense/core/issues/5887
looks like a regression in 52d3e7c676, after which delete doesn't seem to execute a valid route command.
2022-07-18 20:25:56 +02:00
Josh Soref
efb4eb3f8f firewall: fix "statistics" spelling in function and file name 2022-07-18 17:03:54 +02:00
Franco Fichtner
b9a6661f99 webgui: not required 2022-07-18 16:36:15 +02:00
Franco Fichtner
60ba357d06 monit: revert this change, best done with a migration 2022-07-18 16:19:54 +02:00
Josh Soref
ed7c72ad30 system: fix "enforcement" spelling 2022-07-18 15:56:41 +02:00
Josh Soref
39246309c2 firmware: fix "scrubbing" spelling 2022-07-18 15:55:45 +02:00
Josh Soref
3b7453ca2b system: fix spelling in key name 2022-07-18 15:54:44 +02:00
Josh Soref
6c73ae94bd mvc: fix spelling in test name 2022-07-18 15:53:38 +02:00
Josh Soref
a3c7a9acb8 interfaces: adjust free-form input value 2022-07-18 15:51:57 +02:00
Josh Soref
a131dae653 firmware: fix button class 2022-07-18 15:49:14 +02:00