Commit Graph

36306 Commits

Author SHA1 Message Date
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
Paul Sadauskas
88a413916d Fix handing of DNSimple API response
It seems DNSimple started using HTTP/2, which broke the regex the dnsimple updater was using to check for success. I changed it to use the CURLINFO_HTTP_CODE instead.

I noticed several other providers are using the regex status match instead of HTTP_CODE, but I didn't touch those. I haven't written any PHP in 20 years, and I don't use those providers to test them. This change works for me for DNSimple now.

The HTTP/2 response the API was sending back (missing the "OK" the regex was looking for):

```
HTTP/2 200 \r\n
server: nginx
...
```

Fixes Ticket #9580

(cherry picked from commit 6c7d0571d5)
2019-09-18 11:37:29 -04:00
John Forte
9f36302efa Was failing the check if clicking test notifications twice in a row. So it was saving the asterisks and overwriting the current password.
(cherry picked from commit 6176862f98)
2019-09-18 11:37:25 -04:00
Renato Botelho do Couto
535b07f72c Do not use constructor with the same name of class, it's going to be deprecated
(cherry picked from commit d43154fee7)
2019-09-18 11:36:58 -04:00
Renato Botelho do Couto
0ffbf1e74e Fix PHP warning
(cherry picked from commit b94eb4b905)
2019-09-18 11:36:55 -04:00
kristoffer-ekenstam
15d4aede7d Fixed #8014
Fixed wildcard variable not being set correctly.
Updated CURLOPT_URL according to provider's documentation.
Added support for MX records.

(cherry picked from commit cedc818460)
2019-09-18 11:36:51 -04:00
Administrator
7112400ef8 Add more color choices for login screen
(cherry picked from commit 1fe82d1dc9)
2019-09-18 11:36:48 -04:00
Steve Beaver
5725f53c82 Make factory test case insensitive
(cherry picked from commit 552a41fbd3)
2019-09-18 11:36:44 -04:00
Steve Beaver
e553d3d03f Revise update check to provide a more consistent version string, and to provide it in JSON format
(cherry picked from commit 8191650200)
2019-09-18 11:36:41 -04:00
jim-p
8c50180097 IPsec ID type parsing changes. Fixes #9243
* Move code to function to avoid unnecessary duplication of code
* Clean up the logic to avoid further redundancies
* Set keyid type to be quoted and to have its type prefixed

(cherry picked from commit 3a73fc74ca)
2019-09-18 11:36:37 -04:00
jim-p
a00fcaa628 Fix CA/Cert search description. Issue #9412
(cherry picked from commit f30da999bc)
2019-09-18 11:36:34 -04:00
jim-p
886a03a483 Fix bonus closing tag. Issue #9412
(cherry picked from commit dd4fb72cfa)
2019-09-18 11:36:31 -04:00
jim-p
ebfbb3620f Add sorting and search to CA/Certs. Implements #9412
(cherry picked from commit 1497305875)
2019-09-18 11:36:26 -04:00
PiBa-NL
df40c93b75 Routing, actually show the "(default)" mark on the default route as it is present on the OS
Most obvious problem was when manually switching from WANGW1 to WANGW2 it showed both as (default) after saving the setting and before applying it. Also after applying it would require another page refresh to show the updated situation. Also add a little information box that shows what (Default) means for the user.

(cherry picked from commit 3cd21b4e4c)
2019-09-18 11:36:23 -04:00
Augustin-FL
ef2e3b5d2b Also trim if() statement
(cherry picked from commit d6601c8f00)
2019-09-18 11:36:16 -04:00
heper
a9a90af672 add trim() to $_POST['auth_user'] & $_POST['auth_user2']
(cherry picked from commit 28a5469e25)
2019-09-18 11:36:12 -04:00
gitdevmod
1ef5b31bad Bug #9218
(cherry picked from commit adc6ddbdbb)
2019-09-18 11:35:45 -04:00
jim-p
399e1385aa Only apply group size restriction to local groups. Implements #3792
(cherry picked from commit 8d4f79cd5f)
2019-09-18 11:35:42 -04:00
Steve Beaver
3184695e4a Fixed #9693
Allow ACB to be suppressed by including magic string in the backup description
Transmit max number of manual backups in the ACB

(cherry picked from commit 6f6299a3a6)
2019-09-18 11:35:38 -04:00
Steve Beaver
de209dea97 Fixed #9687
Remove all referenes to legact/Gold ABC system

(cherry picked from commit f01c09914d)
2019-09-18 11:35:35 -04:00
jim-p
7ba8d65458 Instead of restarting pkgs, add an IPsec reload hook they can use instead. Fixes #9668
(cherry picked from commit a264f87047)
2019-09-18 11:35:30 -04:00
jim-p
64c18f53ff Restart packages at the end of rc.newipsecdns. Fixes #9668
Not an ideal solution but it does ensure that FRR routes function after
an IPsec event.

(cherry picked from commit 15701e03e3)
2019-09-18 11:34:31 -04:00
Steve Beaver
aa08527dc9 Fixed #9586 by detecting if option list includes /0 or not
(cherry picked from commit 7ec80e763f)
2019-09-18 11:34:26 -04:00
Tom Embt
2c29eaf921 Allow Dynamic DNS wildcards for Cloudflare #9361
(cherry picked from commit acfc36435c)
2019-09-18 11:33:39 -04:00
Matthew Fine
65916f88e1 Update dyndns.class
(cherry picked from commit 0c43f8256e)
2019-09-18 11:33:34 -04:00
Matthew Fine
a7a19a8b5f Update services.inc
(cherry picked from commit 443a8b1bec)
2019-09-18 11:33:31 -04:00
Matthew Fine
8c6b6ea296 Update services_dyndns_edit.php
(cherry picked from commit 8b3e2e26f3)
2019-09-18 11:33:26 -04:00
Tom Embt
98375c6341 Azure DDNS whitespace only
(cherry picked from commit ed5b58a752)
2019-09-18 11:33:09 -04:00
Tom Embt
d94886a883 Linode Dynamic DNS syntax fixes
(cherry picked from commit bd0a29ea21)
2019-09-18 11:32:42 -04:00
Tom Embt
e77f993f44 Add Dynamic DNS support for Linode #9268
(cherry picked from commit b923a8251c)
2019-09-18 11:32:34 -04:00
Tyler Szabo
2fb3b9bd39 Fix AzureV6 DynDNS client
`AAAARecords` in the Azure DNS API is case sensitive

Documentation: https://docs.microsoft.com/en-us/rest/api/dns/recordsets/createorupdate
(cherry picked from commit 1ca156ea08)
2019-09-18 11:27:59 -04:00
Steve Beaver
5beb11e61e Fixed #8907
Support field size option in select control

(cherry picked from commit 7f486e5af6)
2019-09-18 11:05:11 -04:00
jim-p
7529f168c0 Add GUI option for IPsec tunnel closeaction. Fixes #9767
(cherry picked from commit 85c85e89ec)
2019-09-17 11:52:16 -04:00