Commit Graph

36338 Commits

Author SHA1 Message Date
Renato Botelho do Couto
f6323615ea Use full path since this pkg prefix is /usr
(cherry picked from commit 14d49fba46)
2019-11-12 10:02:15 -05:00
Renato Botelho do Couto
123c3cbf61 Fix #9612: Run fsck -z once during upgrade
(cherry picked from commit 7373049764)
2019-11-12 10:02:08 -05:00
bechaire
db95c2d855 Only redirects the user to the default page if no specific page page was set in the querystring
(cherry picked from commit 57b2f31714)
2019-11-12 10:01:44 -05:00
James Lavoy
c9451253d1 making sure my tabs align with upstream
(cherry picked from commit 7e114786e6)
2019-11-12 10:01:39 -05:00
James Lavoy
168d3972c4 adjust GEOM rebuild notifications to only notify the user when raid rebuild hits 25% increments
When a geom rebuild is occurring, this script by default notices that the device status has changed every time the rebuild hits a new percentage.
This results in a user getting 100 separate notifications (emails) every time a new percentage ticks.

This patch will change that behavior, so a user only gets notified at 0%, 25%, 50%, 75% and 100%. This should not effect any other notification behavior.

(cherry picked from commit 059538adbb)
2019-11-12 10:01:35 -05:00
jim-p
30ca068be4 Add search/filter to DHCP/DHCPv6 leases, ARP, and NDP. Implements #9791
(cherry picked from commit 9297ad6504)
2019-11-12 10:01:04 -05:00
s-fiebig
076a82d17b Removed escaping of CSS classes
(cherry picked from commit c8954c9f09)
2019-11-12 10:01:00 -05:00
s-fiebig
46c976a999 Initialize JSON data to avoid warning.
Avoid warning/error for not initialized JSON variable.

(cherry picked from commit 6f2192d446)
2019-11-12 10:00:56 -05:00
s-fiebig
66a1eb9326 Fix malformed JSON
Fix malformed JSON using json_encode().

(cherry picked from commit a9941bf65f)
2019-11-12 10:00:52 -05:00
jim-p
44a871084e Fix OpenVPN keepalive default values. Fixes #3473
(cherry picked from commit 99d7e8c10e)
2019-11-12 10:00:45 -05:00
jim-p
a9769a8cde Update privilege definitions 2019-11-05 08:32:59 -05:00
jim-p
71185882dc Reduce default GUI cert lifetime to 825 days. Issue #9825 2019-10-31 13:12:36 -04:00
jim-p
7f3bc6b19a Set autocomplete=new-password for auth forms around the GUI. Implements #9864
(cherry picked from commit 659a8a26d1)
2019-10-30 13:26:51 -04:00
jim-p
7df98f28fc Add root warning to HA node sync privilege.
(cherry picked from commit 03b8b94ed8)
2019-10-23 08:27:01 -04:00
jim-p
dc9393ba89 Initialize array to avoid a PHP error in upgrade_144_to_145(). Fixes #9840
(cherry picked from commit 8e0d33ec48)
2019-10-22 11:07:57 -04:00
Renato Botelho do Couto
88b88d2d76 Enable zabbix 4.4 build 2019-10-16 15:34:38 -03:00
Danilo G. Baio (dbaio)
ee74e2c373 Add Zabbix 4.4 config options
(cherry picked from commit 04677464cd)
2019-10-16 15:25:46 -03:00
Robert Resch
77e4d06826 Fixes #9362: proxied value must be a boolean
(cherry picked from commit 888635338d)
2019-10-01 15:28:08 -03:00
jim-p
ce5ea3c4bd Image upload validation improvements. Fixes #9804
* Make functions for validating images against a pre-defined list of
approved types
* Change the picture widget to use these functions
* Add validation for uploaded Captive Portal logo/background images

(cherry picked from commit 09d597434c)
2019-10-01 12:15:58 -04:00
jim-p
85e0f980e7 Create custom CSRF Error page. Implements #9799
* Use formatting consistent with other GUI pages
* Warns the user about potential dangers of submitting form data

(cherry picked from commit da7384c4a4)
2019-09-27 14:38:59 -04:00
jim-p
a8449a680a Fix oinkmastercode tag in status.php. Fixes #9736
(cherry picked from commit 9adb7806cf)
2019-09-27 10:25:35 -04:00
Renato Botelho do Couto
2db1578dfd Fix #9674: Do not set duplicate-cn in p2p_shared_key mode 2019-09-26 10:00:57 -03:00
Renato Botelho do Couto
743d7fc4ac Ticket #9674: Do not check password when using shared key 2019-09-26 10:00:57 -03:00
Renato Botelho do Couto
db49986463 Clarify that error message is about proxy password 2019-09-26 10:00:57 -03:00
Renato Botelho do Couto
0b48a22cf1 Fix #9719: Fix descriptive name field behavior 2019-09-26 09:37:12 -03:00
Renato Botelho do Couto
92a9c71dae Fix #9488: Disable serial console on memstick images 2019-09-25 09:57:27 -03:00
jim-p
1f2be937dd Redact BandwidthD postgres db password. Fixes #9784
(cherry picked from commit ca3129138b9866f5c82ff80d59eeed3f746367a1)
2019-09-23 16:34:04 -04:00
Renato Botelho do Couto
bf8aa1142c Initialize array properly
(cherry picked from commit d4393366bc)
2019-09-19 12:57:45 -04:00
Renato Botelho do Couto
9b32254c6a Redirect to status_captiveportal.php
(cherry picked from commit 15e8ee8621)
2019-09-19 12:57:39 -04:00
Renato Botelho do Couto
875b28f110 Fix #9722: Change voucher shortcut to point to voucher status page
(cherry picked from commit 4baf532b5b)
2019-09-19 12:57:01 -04:00
Renato Botelho do Couto
93da47e61b Fix #9756: Fix NCP multiple selection
(cherry picked from commit b059598541)
2019-09-19 08:25:28 -04:00
jim-p
f14ab2c616 Setup shortcuts for packages. Fixes #9770
(cherry picked from commit 37213abe96e83884b4a8ffbbbb7cc759cd2799ec)
2019-09-18 16:23:26 -04:00
Tom Embt
bf03bee205 Allow Dynamic DNS wildcards for Route53 #9053
(cherry picked from commit 0b230bb295)
2019-09-18 11:42:25 -04:00
Renato Botelho do Couto
9133e01dc0 Fix #9285: Move ping-check option from global to per-subnet
(cherry picked from commit 5197e3e3a3)
2019-09-18 11:39:07 -04:00
jim-p
13980a4f8b Add IPsec DH/PFS groups 25/26/27. Implements #9757
(cherry picked from commit 21bee0287c)
2019-09-18 11:38:40 -04:00
jim-p
a033a446a4 Add wizard select_source & use for OpenVPN DH. Fixes #9748
(cherry picked from commit 52f686a97f)
2019-09-18 11:38:35 -04:00
Andreas Bleischwitz
a4bcbc3e9a Add additional DHCPv6 prefix delegation size options to dropdown list on interface settings.
- implements #9590

(cherry picked from commit 51dc008bfe)
2019-09-18 11:38:31 -04:00
Vito Piserchia
789b545bee openvpn: cleaning default case handling in switch statements
(cherry picked from commit f93ec3853f)
2019-09-18 11:38:28 -04:00
Vito Piserchia
83011d13e1 change after review
(cherry picked from commit f08369ec24)
2019-09-18 11:38:21 -04:00
Vito Piserchia
83929ceabd Update text
(cherry picked from commit cef01bcb95)
2019-09-18 11:38:13 -04:00
Vito Piserchia
45d6f55146 Added tlsauth keydir options to openvpn client and server
(cherry picked from commit 8698f918d1)
2019-09-18 11:38:09 -04:00
Renato Botelho do Couto
6c203c2f47 Deduplicate code in openvpn.inc
(cherry picked from commit f7335af377)
2019-09-18 11:38:06 -04:00
Renato Botelho do Couto
22ee846cdf Remove unnecessary variable
(cherry picked from commit 1d13560cb3)
2019-09-18 11:38:02 -04:00
James Webb
1bcb05e4f8 Improve efficiency of resync checks.
GW Group changes are checked iff the interface is not the empty string or the interface in question is not the same as the OpenVPN interface.

(cherry picked from commit 15f8062b42)
2019-09-18 11:37:59 -04:00
James Webb
f5e2f7dc37 Add ability for OpenVPN instances to resync on IP changes and on boot.
OpenVPN instances resync if interface IP change occurs.
At boot, the interface is the empty string, so resync is mandatory to generate OpenVPN files in /var/etc/openvpn.

(cherry picked from commit 7071aab3b2)
2019-09-18 11:37:54 -04:00
James Webb
2b909be9b5 Add else clause for cases when OpenVPN interface file does not exist.
- Prevents potential race condition at startup resulting in failure to start OpenVPN instances.
- In cases where interface file is not present the openvpn_resync function handles a restart correctly.

(cherry picked from commit 614ca41e09)
2019-09-18 11:37:51 -04:00
James Webb
c3b023f5d0 Update openvpn.inc to allow OpenVPN instances to resync when running on a gateway group.
Implementation now checks if OpenVPN client/server running on gateway group should resync when IP changes occur or if cables are unplugged/replugged.

(cherry picked from commit c46d0b12d6)
2019-09-18 11:37:47 -04:00
Renato Botelho do Couto
86040ba200 Remove deprecated comments since username tag got CDATA
(cherry picked from commit 1dcaf2d816)
2019-09-18 11:37:43 -04:00
Renato Botelho do Couto
994f803f26 Ticket #6195: Use CDATA on username tag
After discuss with JimP we agreed it would be a better approach than
bdaa5235d4 if we add username tag to the list of tags that use CDATA

(cherry picked from commit ce76d1e41b)
2019-09-18 11:37:40 -04:00
jim-p
b0f317fdb0 Fix interface/config alignment on interfaces_ppps_edit.php. Fixes #9741
(cherry picked from commit d81f270454)
2019-09-18 11:37:33 -04:00