Commit Graph
20712 Commits
Author SHA1 Message Date
Franco Fichtner 817f670cff interfaces: style 2026-09-10 13:31:47 +02:00
Franco Fichtner a41cc16182 openvpn: remove legacy carp hook 2026-09-10 13:12:35 +02:00
Franco Fichtner 6adbfd19be interfaces: fix wlan mode access for most spots
The model will allow us to access the default even if it
is not set yet.  Just one old spot remains.
2026-09-10 11:47:44 +02:00
Franco Fichtner aad415fa33 interfaces: bring back wireless status page 2026-09-10 10:55:06 +02:00
Franco Fichtner 7cd941d20c interfaces: bring WLAN and MPD5 loading/reset points closer together
Largely these fill the same need: we run a daemon on that interface
(or a daemon that will create the software interface).  Since WLAN
clones are created and reloaded earlier we are not bound to a random
place in the configure function and can eventually add a plugin hook
for this if it makes sense.

While here push the $linkup workaround down and add a comment on
why it is still needed.  It would be nicer not having it but the
situation is pretty tough if the historic situation did not change.
2026-09-09 21:44:48 +02:00
Franco Fichtner 593004be7e interfaces: interfaces_wlan_clone() is already plugged
This means we call it during device creation and reloading, which
means we can remove it from interafaces_wlan_configure() so it loses
another side effect.  Just needs the reconfigure script to run the
full configuration loop then.

While here unify the function syntax to interfaces_wlan_*().
2026-09-09 21:23:56 +02:00
Franco Fichtner 7fb3708e9e interfaces: whitespace 2026-09-09 21:08:55 +02:00
Franco Fichtner dedee81902 interfaces: rename WLAN getConfig() for clarity 2026-09-09 21:01:50 +02:00
Franco Fichtner 7c8391fa63 interfaces: related renaming in interface_wlan_configure() 2026-09-09 20:47:23 +02:00
Franco Fichtner e65b15173d openvpn: legacy CARP hook abort on empty interface
This can be moved to the plugin.  Before we do that, however,
rename the file to make this more obvious since it was missed
up until now.
2026-09-09 20:46:36 +02:00
Franco Fichtner 9892d2852e interfaces: return an empty string which cannot be an interface in convert_real_interface_to_friendly_interface_name()
Recent PHP warns on using a null index to an array anyway.  This
folds nicely into config_read_array() use.
2026-09-09 20:43:20 +02:00
Franco Fichtner 6a9a65e448 interfaces: merge hostapd/wpasupplicant stop into interface_wlan_reset() 2026-09-09 17:22:20 +02:00
Franco Fichtner 7aa4c5f020 mvc: can't help it 2026-09-08 18:13:46 +02:00
Franco Fichtner 650291905a firewall: render readable timestamp in audit metadata; closes #10852 2026-09-08 13:43:58 +02:00
Franco Fichtner f43c21adf7 unbound: fix advanced disable in DoT 2026-09-08 12:19:26 +02:00
Konstantinos Spartalis 19ad6f0a6b widget: disk: fix loading issues (#10849) 2026-09-07 08:55:11 +02:00
Konstantinos Spartalis d6cab822c6 suricata: rulesets: description fix (#10848) 2026-09-06 19:07:15 +02:00
Franco Fichtner 1f34fdeb68 interfaces: loopback experiement
To make interfaces_configure() side effect free
we need to gather all information in the new
interfaces_dependencies() so we can debug and
simplify bootup.

We don't expose the device to the pluggable
device code, but in principle make it pluggable
as interfaces_dependencies() is a good point to
anchor it now.
2026-09-06 10:14:42 +02:00
Franco Fichtner f9b24b852b interfaces: split out interfaces_dependencies() and make it digestible via pluginctl -Q 2026-09-04 16:18:04 +02:00
Monviech b33d23ee9a Firewall: Rules: Remove redundant label in the advanced mode icon, if its enabled its obvious already 2026-09-04 14:56:56 +02:00
Monviech a425d7a6f1 Firewall: use text-warning and yellow as the color for match rules 2026-09-04 14:06:25 +02:00
Monviech b866365f14 Firewall: Migration Assistant: Remove trailing slash in redirection links 2026-09-04 10:20:36 +02:00
Monviech 403df00be4 Firewall: NAT: Source NAT: interface does not need a default 2026-09-04 09:54:02 +02:00
Monviech 0bdcfd843b Firewall: NAT: Source NAT: Fix port normalization in the Migration Assistance rule export 2026-09-04 09:52:56 +02:00
Franco Fichtner 2316c28614 src: whitespace 2026-09-04 09:51:32 +02:00
Monviech 325ec4a606 Firewall: migrate normalization to MVC rules and establish new settings menu (#10826)
Add two automatic migrations for the legacy normalization configuration.
The first converts supported scrub entries into non-quick match rules at
the start of the ruleset, and discards rules that only reference defunct interfaces.
The second copies the global scrub controls into model-owned firewall settings.

Introduce the new tabbed Firewall Settings page with filter scrubbing
options and generate modern reassembly, random ID, and interface MSS
rules from these settings. Remove the legacy normalization pages and
rendering code while retaining their configuration for optional cleanup via ConfigMaintenance.

Move the volatile SNAT mode into the shared settings model without
changing its current GUI. This establishes the settings structure for
additional tabs and allows the remaining legacy advanced firewall
settings to move there eventually.
2026-09-04 08:22:26 +02:00
Franco Fichtner 9e18f5c17c Revert "interfaces: anchor accept_rtadv in interface_dhcpv6_configure() #10828"
This partially reverts commit 8d939116c4.
2026-09-03 15:37:31 +02:00
Franco Fichtner 8d939116c4 interfaces: anchor accept_rtadv in interface_dhcpv6_configure() #10828
This avoids duplication and always executes it at the right point
in time when the DHCPv6 client mode is activated.

Suggested by: @laozhoubuluo
2026-09-03 15:07:09 +02:00
Franco Fichtner f1924c86c0 interfaces: ppp-ipv6.php may be executed before later stages of interface_configure() #10828 2026-09-03 14:52:58 +02:00
Stephan de Wit 02e6a0681e ui: prevent modal dragging from search bar 2026-09-03 14:02:56 +02:00
Franco Fichtner d5f3ea33ee interfaces: reverse the queue build order to fix the last regression #10810
interfaces_configure() would re-classify VLAN as "software" after
making in pluggable, but the actual intention of the queues build
was that trackers, bridges and dhcp6c interfaces were started up
last.  This wasn't given in the loop since the more specific checks
were at the end instead of at the front.  It also reduces the
complexity in the processing.
2026-09-03 11:57:03 +02:00
Franco Fichtner 7c15a0ba09 interfaces: require queue build strategy
Does not fix the VLAN ordering issue yet.
2026-09-03 11:57:03 +02:00
Stephan de Wit 87cb2d055d bootgrid: ensure a minimum amount of rows to render
This is a continuation of https://github.com/opnsense/core/pull/10408
2026-09-03 11:49:34 +02:00
Konstantinos Spartalis b9a65b152e ux: fix widget bottom gap (#10837) 2026-09-03 11:01:44 +02:00
Stephan de WitandAd Schellevis e5e5c86114 ui: implement dialog search field (#10825)
Co-authored-by: Ad Schellevis <[email protected]>
2026-09-03 10:11:00 +02:00
Franco Fichtner e83d8e89ee interfaces: a few config_read_array() replacements 2026-09-03 09:34:39 +02:00
Franco Fichtner 25d3d4ccf4 interfaces: bring back passing plugins_devices() from interfaces_configure() 2026-09-03 09:34:37 +02:00
Franco Fichtner 8aa3615adc firmware: adjust the incompatible pkg test
"FreeBSD" is now "FreeBSD-ports" and since we know we want
"OPNsense" we can make pin it this way much better.

One downside is the "unknown-repository" when installing
from ports but it's easy enough to circumvent this check
for testing.
2026-09-03 08:24:52 +02:00
Franco Fichtner 1160c72ba2 system: fush volt template cache in shared action 2026-09-02 16:00:25 +02:00
Stephan de Wit 57e6be8c6d ui: attach selectors piped through replaceInputWithSelector to body
This prevents dropdowns from overflowing inside a modal
2026-09-02 15:49:40 +02:00
Konstantinos Spartalis 3286bb3c5b acl: add missing and fix some issues 2026-09-02 15:21:20 +02:00
Bjoern Jakobsen 6264c38120 System: High Availability: Settings - Add pfsync version 1500, implements #10829
Signed-off-by: Bjoern Jakobsen <[email protected]>
2026-09-02 09:51:50 +02:00
Franco Fichtner 8888678675 src: style sweep 2026-09-01 17:43:20 +02:00
Franco Fichtner 17ca47489f firewall: bogons private net exclusion moves to bogons.txz preprocessing; closes #9048
The set is now modified to split out the private ranges from the
larger bogons block so we can remove this exclusion from the
alias to "make inversion better again".  ;)
2026-09-01 17:30:45 +02:00
Greelan e5a9444979 Services: Dnsmasq DNS & DHCP: include expire and lease type in leases search fields (#10824) 2026-09-01 15:14:27 +02:00
Greelan c2451766b1 Services: Kea DHCPv4/6: fix leases sorting (#10823) 2026-09-01 15:13:09 +02:00
Monviech b9b4c9ddda Firewall: Rules: Add match keyword and normalization options (#10812)
Firewall: Rules: Add match action and normalization options

Add `match` as a regular MVC firewall rule action and support `scrub (...)` options on both `pass` and `match` rules.

Switch global normalization to modern PF syntax by emitting `set reassembly` and generating random-ID and interface MSS handling as match rules. Legacy scrub rules and configuration paths remain unchanged, with no migration or compatibility handling introduced.

Normalize unsupported combinations when changing away from `pass` via js handler.

Add `match` support to the firewall live log and widget, expose the normalization controls in the rule dialog as advanced options, and include the related UI and formatter adjustments.
2026-09-01 13:19:55 +02:00
Stephan de Wit b6a7002909 ipsec: add some hybrid post-quantum variants as additional key exchanges (#10798) 2026-09-01 09:03:49 +02:00
Franco Fichtner f2815fabed system: minor touches on widget styles 2026-08-31 17:20:28 +02:00
Konstantinos Spartalis 73e154151b widget: Services: more structured layout (#10817)
* widget: Services: structured layout

* Update Services.js
2026-08-31 17:06:34 +02:00