Franco Fichtner
f5b298ec6c
interfaces: move sysctls to system requirements related to #5630
...
Tie them to the IPv6 allow setting which is used by more things
than just the filter, so also move the IPv6 allow to the general
settings for consistency.
There is not much point to tie these sysctls to their former
condition of something set in SLAAC or DHCPv6 connectivity mode
because "ifdisabled" is used and because prior you couldn't turn
it off without a reboot after having tried the IPv6 connetivity.
To make thus super effective refuse to configure IPv6 on interfaces
in these instances by forcing the individual IPv6 interface modes
to 'none'.
2024-05-30 09:54:50 +02:00
Franco Fichtner
35dc38c2fb
interfaces: optional prefix tracking for WAN #5630
...
While here restructure and reword some of the options. Also
add a possibility to disable the SLAAC address which complements
this nicely and has been known to be problematic for some users.
2024-05-30 09:40:26 +02:00
Franco Fichtner
149aed014a
system: disable dynamic loading of PHP modules
2024-05-30 09:40:26 +02:00
Stephan de Wit
9b55214aaa
dashboard: inherit text color in cpu chart as well
2024-05-30 08:50:05 +02:00
Franco Fichtner
e4401b420f
mvc: for consistency
2024-05-29 09:17:49 +02:00
Stephan de Wit
877d38ad24
dashboard: invalid destructuring operation
2024-05-29 09:00:03 +02:00
Franco Fichtner
80bba99c74
system: replace single-script backend call with a plugin configure hook
...
Been pondering about this during reviews for a while now.
2024-05-29 07:57:34 +02:00
Franco Fichtner
7b002db5c2
system: tiny cleanup in previous
2024-05-29 07:52:42 +02:00
Ad Schellevis
3d254aea55
Services: Unbound DNS: Query Forwarding - allow rfc2181 compatible names, closes https://github.com/opnsense/core/issues/7492
2024-05-28 20:43:30 +02:00
Ad Schellevis
41b8edc102
System: High Availability: Settings - remove duplicate sync items (have been added to xmlrpc in earlier versions).
2024-05-28 19:54:02 +02:00
Ad Schellevis
d99760b9cc
Firewall: Diagnostics: Sessions - backwards compatible changes for pf_print_state output.
2024-05-28 18:13:32 +02:00
Franco Fichtner
a9bdd34603
mvc: style sweep
2024-05-28 15:58:50 +02:00
Ad Schellevis
9929d4e9a1
Firewall: Diagnostics: Sessions - fix minor cosmetic issue, rule label empty rendered as "null"
2024-05-28 15:36:27 +02:00
Ad Schellevis
1a282d1184
mvc:Dispatcher - add missing getActionName for backwards compatibility with Phalcon. closes https://github.com/opnsense/core/issues/7490
2024-05-28 15:09:37 +02:00
Franco Fichtner
2bf308f328
Revert "dhcrelay: allow cron job reconfigure; closes #7482 "
...
This reverts commit bd87ac92ac97ded2db0f4392de06d57d54a4bfe1.
Back this out since dhcrelay binaries have been fixed.
2024-05-28 07:27:38 +02:00
Franco Fichtner
a45daec4ab
dhcpd: take into account that multple ia-pd can be delegated #7484
2024-05-27 20:18:20 +02:00
Franco Fichtner
3d05730983
pkg: fix plist
2024-05-27 18:30:34 +02:00
Stephan de Wit
b74baecf13
dashboard: inherit text color from the Chart defaults for the inline gauge plugin ( https://github.com/opnsense/core/issues/7488 )
2024-05-27 16:12:58 +02:00
Stephan de Wit
eac8af8e7f
dashboard: add CARP Status widget
2024-05-27 16:00:39 +02:00
Stephan de Wit
e4635872fc
dashboard: allow themes to set chart.js default colors
2024-05-27 15:00:38 +02:00
Stephan de Wit
8a5789840c
dashboard: work around gridstack serialization inconsistency and cleanup the BaseWidget slightly ( https://github.com/opnsense/core/issues/7480 )
2024-05-27 14:28:56 +02:00
Skyler Mäntysaari
0eb3e61c67
Allow root domain as literal dot for DHCPv4 and DHCPv6 ( #7449 )
2024-05-27 12:00:44 +02:00
Franco Fichtner
137762d196
src: style sweep
2024-05-26 09:33:09 +02:00
Ad Schellevis
c5da070931
VPN: OpenVPN: Instances - add optional DCO support and make sure our standard tun selection stays unchanged for FreeBSD 14.1, closes https://github.com/opnsense/core/issues/7474
...
This commit explicitly disables DCO when tun/tap are being chosen (--disable-dco) and offers DCO as a seperate interface type choice (tun,tap,ovpn).
We need some glue to make sure people can switch between tun/ovpn types in ovpn_service_control.php to drop the interface when the interface type changes.
Finally, to make it easier for people to find the DCO option, remove the "advanced" tag from the type field and extend the help text.
2024-05-25 15:12:36 +02:00
Ad Schellevis
a683004fba
System: Gateways: Configuration - regression in Gateway MVC conversion forcing far gateways where none should exist. closes https://github.com/opnsense/core/issues/7483
...
This might be the cause of some weird VPN issues earlier as well, because a host route will prevent the actual address being configured later in some cases.
While here, also fix a minor php warning (item doesn't exist).
2024-05-25 09:51:32 +02:00
Stephan de Wit
0bb13de0fe
dashboard: use grid breakpoints to enable responsive behavior for different device types ( https://github.com/opnsense/core/issues/7480 )
2024-05-24 12:57:00 +02:00
Franco Fichtner
bd87ac92ac
dhcrelay: allow cron job reconfigure; closes #7482
2024-05-24 10:36:33 +02:00
Stephan de Wit
3b5c4f19ec
filterlog: start output of the stream action with N lines
2024-05-23 17:00:59 +02:00
Franco Fichtner
8e7662a60a
src: style sweep
2024-05-23 16:50:51 +02:00
Stephan de Wit
ac70aaeeba
dashboard: update grid on widget add, fix small issue in disk widget
2024-05-23 16:35:36 +02:00
Monviech
8c68186d75
dashboard: UX on save action ( #7461 )
...
* opnsense_widget_manager.js - Add page reload on successful save
* Make sweep
* Modify Save button to include a spinner and lock, a small delay enhances feedback on click. The button is unlocked and the spinner is hidden upon success or failure. On success, the button is hidden.
* dashboard: invert delay logic and adjust styling slightly
---------
Co-authored-by: Stephan de Wit <stephan.de.wit@deciso.com>
2024-05-23 16:29:16 +02:00
Franco Fichtner
3dafd3d5c5
system: work around PHP 8.2.18 regression
...
This runs the risk of looping when only zero is being returned,
but if that happens the system is in bad shape anyway.
See: https://github.com/php/php-src/commit/0ba5229a
2024-05-23 15:15:45 +02:00
Stephan de Wit
a471d1c035
dashboard: small regression on table widget, align interface styling state
2024-05-23 13:55:10 +02:00
Franco Fichtner
f1661f29ab
src: style sweep
2024-05-23 10:55:16 +02:00
Stephan de Wit
f8b416d434
dashboard: swap usage gauge
2024-05-23 10:47:25 +02:00
Stephan de Wit
ff3bb2f731
dashboard: refactor gauges into base class, add mbuf gauge as well
2024-05-23 09:34:13 +02:00
Ad Schellevis
f643d964c3
Services: Captive Portal: Sessions - add some practical fields
2024-05-22 18:32:10 +02:00
Ad Schellevis
8ba454ab04
Services: Captive Portal - code cleanup in session handling and presentation.
2024-05-22 17:52:52 +02:00
Ad Schellevis
00e3d6d384
Services: Captive Portal: Administration - add "Allow inbound" option to select interfaces which may enter the zone, closes https://github.com/opnsense/core/pull/7161
...
This may be practical if services in the zone should be accesible from outside the zone or when services need to pass a network which uses a captive portal (users which should be authenticated are in the same network as services need to traverse to reach the internet).
2024-05-22 13:21:53 +02:00
Franco Fichtner
a86d6e03c0
dhcrelay: make naming more consistent since 3rd level menu opened up
2024-05-22 12:04:19 +02:00
Franco Fichtner
d290c7d0ee
src: copyright style and omissions fixed
2024-05-22 12:02:38 +02:00
Franco Fichtner
c9423dbf5f
src: style sweep
2024-05-22 11:50:00 +02:00
Stephan de Wit
8213afd810
dashboard: add firewall states widget
2024-05-22 11:38:23 +02:00
Franco Fichtner
b457af53e5
ui: minor whitespace nit
2024-05-22 07:42:46 +02:00
Ad Schellevis
72120a6e09
mvc: backwards compatibility for Phalcon ( https://github.com/opnsense/core/issues/6389 ), add missing getClientAddress
2024-05-21 18:03:41 +02:00
Ad Schellevis
d5566b815c
mvc: backwards compatibility for Phalcon ( https://github.com/opnsense/core/issues/6389 ), getPost without arguments returned $_POST previsouly. (same likely the case for get())
2024-05-21 14:09:51 +02:00
Ad Schellevis
136e8178d2
Services: DHCRelay - add logging into its own space
2024-05-21 10:02:45 +02:00
Ad Schellevis
4e16134898
VPN: WireGuard: Peer generator - when we are not able to generate an address for the client and none has been provided, make sure we signal the error at the correct field. The new clients address is(are) the address(es) being allowed and optionally routed by this peer. closes https://github.com/opnsense/core/issues/7470
2024-05-21 09:32:52 +02:00
Ad Schellevis
b1b5971b79
VPN: WireGuard: Peer generator - forgot to add hostname validation as valid option, closes https://github.com/opnsense/core/issues/7472
2024-05-20 17:37:16 +02:00
Ad Schellevis
611ee6a4a2
mvc: model silence spurious validation message when explitly asked to ignore validations. ( https://github.com/opnsense/core/issues/7470 )
2024-05-20 17:17:35 +02:00