110 Commits

Author SHA1 Message Date
Franco Fichtner
3d7a9ac1ea system: make sure the repercussion of using "0" is very clear 2022-07-08 09:55:12 +02:00
Franco Fichtner
7eadf5f447 openvpn: hardcode the RFC 7919 DH parameter #4722
This allows us to remove all DH handling remnants.  If people
want to use a separate content they will have to let us know,
but it seems unlikely.  The only impact seems to be a security
bump from 2k to 4k default.
2022-06-29 20:04:07 +02:00
Franco Fichtner
228e74cd5f system: allow to adjust default of 50% RAM usage for MFS options; closes #5727
Add a maximum for /tmp MFS as well and make it adjustable while we still
know what we are doing.  ;)
2022-06-09 11:44:01 +02:00
Franco Fichtner
dc33b3ab4e system: narrow /var MFS down to /var/log and cap to 50% of physical memory #5727
Here we remove all persistently stored data from /root/var as configured
by the *_var_mfs rc variable.  The cap should be able to be adjusted in
the GUI but will follow in a separate commit.

Eventually this also helps us with #5475.
2022-06-09 10:36:54 +02:00
Franco Fichtner
dd4512aa3e system: support qat and multiple selection #5559 2022-02-22 09:14:22 +01:00
Franco Fichtner
db686a857b system: aesni is now a kernel-builtin #5559
Remove modules that are no longer available.
2022-02-22 08:47:09 +01:00
Franco Fichtner
6c96038ced system: remove /dev/crypto GUI support #4896 2021-04-06 07:08:58 +02:00
Franco Fichtner
4bac359e09 system: html_safe() for module outputs
PR: https://forum.opnsense.org/index.php?topic=16955.0
2020-04-26 09:48:42 +02:00
Franco Fichtner
ba0c82dd54 dhcpd: naming convention, plugins_configure() use 2019-04-29 07:49:26 +02:00
Ad Schellevis
e4285e97fb Revert "System->Settings->Miscellaneous : add "Reset usb on boot" option"
This reverts commit 6dd8bbe14b1068d462654be46102a6f7f239c3c1.
2019-02-27 12:21:14 +01:00
Ad Schellevis
6dd8bbe14b System->Settings->Miscellaneous : add "Reset usb on boot" option
While testing 4g modems, it seems that initial device detection isn't flawless leading to USB_ERR_IOERROR failures and non functional modems.
Most likely cause of these issues seems to be that some devices need a bit of time between powering the bus and performing registration.

This option adds an early boot script, which optionally performs a usbconfig reset on boot.
2019-02-25 16:49:25 +01:00
Ad Schellevis
4a8e737ced fix some gettext() + html_safe, discussed c4c7f8d732 2019-02-03 20:04:08 +01:00
Franco Fichtner
1e3fc6dcc7 system: files merged, copyright retained 2018-12-16 19:56:50 +01:00
Michael Steenbeek
0d7001ae68 Remove legacy SMTP notices (for #2919) (#3031)
* Remove remaining calls to notify_via_smtp()
* Remove SMTP notices code
* Remove SMTP notifications config from System/Settings/Notifications
* Move system beep settings to System/Settings/Miscellaneous, remove System/Settings/Notifications
2018-12-16 19:34:20 +01:00
Franco Fichtner
1bfc8ef5df system: typos in css 2018-11-23 10:30:39 +01:00
Franco Fichtner
2d0075de05 system: 4/4; closes #2876 2018-11-17 15:09:43 +01:00
Franco Fichtner
7b2b072449 system: upper half for #2876 2018-11-17 14:46:27 +01:00
Franco Fichtner
1e5f236722 www: reformat headers with recent changes
We want an unified format for all pages eventually... :)
2018-11-16 07:55:46 +01:00
Franco Fichtner
fea6ef31f8 system: remove old use_mfs_tmpvar workaround
Leave [^_] in place as there used to be use_mfs_var_size
and use_mfs_tmp_size before we migrated to tmpfs.
2018-11-04 13:27:12 +01:00
Franco Fichtner
18422bd9fc system: tweak previous 2018-06-19 06:06:01 +00:00
Franco Fichtner
79bf33a1ca system: better dhparam support including RFC 7919 2018-06-19 07:51:29 +02:00
Franco Fichtner
00429edb99 system: use non-sample DH files if users request it 2018-06-12 18:19:51 +02:00
Franco Fichtner
0124f1024e system: weekly/monthly settings for DH parameters #2431
Also allow custom schedule.  Not sure if we should have a manual run
or delete.  Best way would be to use a file creation time magic between
our sample and maybe user file.
2018-06-02 12:18:27 +00:00
Franco Fichtner
9567a1d8d8 firewall: move monitoring daemon preference for #2396 2018-05-07 08:38:48 +00:00
marjohn56
0df1c0dfef system: add dpinger monitoring option implementation #2326
stddev bits missing from status page / widget for clarity and
further discussion.  Other cleanups by @fichtner included.
2018-05-07 10:17:08 +02:00
Franco Fichtner
e9c3be35d6 www: visual cleanups, unused class/style zapping #2290 2018-03-25 13:10:27 +00:00
Franco Fichtner
b074216e93 www: style updates, less strong/bold markup #2290 2018-03-25 10:08:53 +00:00
NOYB
9d96bdcbc7 Help For - Data For Attribute
Use original element (<div>/<small>) with "data-for" attribute.

The old jquery "for" attribute selectors can be removed once conversion to "data-for" attribute is complete (including plugins).

The old jquery selectors to remove once conversion is complete.
  opnsense_ui.js & head.inc
  $("*[for='" + $(this).attr('id') + "']")....
  $('[for*="help_for"]')....
2018-03-17 16:12:55 +01:00
NOYB
4a7bcae7af HTML Compliance - Attribute "for" on Element <div>
Error: Attribute "for" not allowed on element "div" at this point.
Attributes for element "div": http://www.w3.org/html/wg/drafts/html/master/single-page.html#the-div-element

HTML attribute reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes
The "Output" element: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/output

Attributes for element "output": http://www.w3.org/html/wg/drafts/html/master/single-page.html#the-output-element
2018-01-06 10:52:17 +01:00
NOYB
b2f4cfa7c1 HTML Compliance - Attribute "type" on Element <i>
Error: Attribute "type" not allowed on element <i> at this point.
2018-01-05 08:36:26 +01:00
NOYB
76aab5cb52 HTML Compliance - Obsolete table attributes
width, align, valign, cellpadding, cellspacing, border, summary

Error: The width attribute on the table element is obsolete. Use CSS instead.
Error: The align attribute on the table element is obsolete. Use CSS instead.
Error: The valign attribute on the table element is obsolete. Use CSS instead.
Error: The cellpadding attribute on the table element is obsolete. Use CSS instead.
Error: The cellspacing attribute on the table element is obsolete. Use CSS instead.
Error: The border attribute on the table element is obsolete. Use CSS instead.
Error: The summary attribute on the table element is obsolete. Consider describing the structure of the table in a caption element or in a figure element containing the table; or, simplify the structure of the table so that no description is needed.
2018-01-04 18:26:02 +01:00
Franco Fichtner
c5d4002541 src: add Scott's e-mail everywhere 2017-08-05 20:57:29 +02:00
Franco Fichtner
d87c6ff556 Scripts: add a license generator for GitHub 2017-08-05 20:21:35 +02:00
Franco Fichtner
77401d6add system: add optional swap file for SSD; closes #1554 2017-07-11 15:31:37 +02:00
Franco Fichtner
9b694b705d start to hide IPsec and OpenVPN for pluginification 2017-03-11 17:51:54 +01:00
Franco Fichtner
156f8d445f system: add captive portal session backup #1437 2017-03-02 20:14:31 +01:00
Franco Fichtner
c1bd019603 rc: unwind nested calls and $verbose for system_resolvconf_generate() 2016-12-09 09:48:07 +01:00
Franco Fichtner
afa861d0cd rc: more $verbose conversion 2016-12-07 22:46:52 +01:00
Tikimotel
28b058c895 Update system_advanced_misc.php (#1288)
This adds the "normal" power state to the powerd - system_advanced_misc options.
If the powerd utillity can not determine the system power options (ac or battery) it will use the "normal" setting rendering the "ac" and "battery" settings useless for these systems.
2016-12-02 19:48:26 +01:00
Franco Fichtner
393fadcec0 system: stray unicode whitespace (damn you, apple!) 2016-12-02 08:31:41 +01:00
Franco Fichtner
3d802a0a78 system: missed two GUI strings for previous 2016-12-02 08:28:59 +01:00
Franco Fichtner
e413994c4a system: finally split up use_mfs_tmpvar for good
This is an inplace config migration.  The mount still behaves
the same way and a config save from the page migrates the
options.  We're not in a rush here, but the reason is that
we should have clean options and the new 17.1 images for nano
will depend on the new style.
2016-12-02 08:18:23 +01:00
Franco Fichtner
6b0b2569cd system: make sure vital kernel modules are loaded and refactor
This partially reverts commit 8ecaf5f9102e329f6163ddc16f84647040d53485.
2016-11-28 09:21:17 +01:00
Franco Fichtner
ec679740a5 system: move system_cron_configure() to new home 2016-11-20 11:22:49 +01:00
Franco Fichtner
b508d4d9f7 services: rename again for consistency 2016-11-20 11:16:10 +01:00
Franco Fichtner
f16199ffe9 cron: prepend system_, but move to system.inc later 2016-11-14 23:09:22 +01:00
Franco Fichtner
8ab6fb4c5e relayd: extensive pluginification
Not perfect yet, some spots still taint the backend with
requiring relayd.inc which should only be included by the
plugin's own files directly.
2016-11-07 22:03:50 +01:00
Franco Fichtner
224b5d8247 www: util.inc is provided by guiconfig.inc for #1065 2016-07-22 07:12:21 +02:00
Fabian Franz
5c48a7696d translation fixes + moved a curly bracket 2016-07-07 08:08:13 +02:00
Franco Fichtner
3ba65be59b system: allow /tmp to optionally function as a tmpfs; closes #1036 2016-07-02 10:07:04 +02:00