14145 Commits

Author SHA1 Message Date
Ad Schellevis
f1ea003082 config: disable periodic backups by default, slows down shutdown and boot a lot for no apparent reason. closes https://github.com/opnsense/core/issues/5790 2022-07-11 23:17:34 +02:00
Ad Schellevis
01e310512a VPN: IPsec: Status Overview - minor style/layout changes 2022-07-11 22:58:16 +02:00
Franco Fichtner
57652ed9ba system: improve exit_on_bootup()
We should catch $fp == null for whatever reason it
happens.  Make sure the file exists and open for
read-only.  Close pointer afterwards to avoid other
wonkiness.
2022-07-12 08:31:49 +02:00
Franco Fichtner
d586a9d317 ipsec: style and plist 2022-07-12 08:08:23 +02:00
Ad Schellevis
9420459d05 IPsec - minor cleanups 2022-07-11 21:05:09 +02:00
Ad Schellevis
09deaa81cd VPN: IPsec: Status Overview - refactor to MVC master/detail form. 2022-07-11 21:04:04 +02:00
Franco Fichtner
a1b63db4b0 system: Italian is now a release language 2022-07-11 14:14:26 +02:00
Franco Fichtner
78ddb916d8 dhcp: for consistency 2022-07-11 12:08:06 +02:00
Adam Dawidowski
aa86b9d43d interfaces: fix "Allow service binding" for multiple aliases per interface
When using multiple aliases per interface, disabling binding on one could
potentially disable binding for other aliases on the same interface, depending
on the order of the VIPs in the config. The 'alias' setting was evaluated
regardless of whether the subnet matched, so if a previous VIP for a matching
interface had matched on subnet, the current VIP's 'bind' setting would be
applied to the interface address even though the current VIP's subnet didn't
match.
2022-07-11 08:44:36 +02:00
Franco Fichtner
b8c6c18202 importer: zfs barfs on stdout when zfs pool uses unsupported features 2022-07-08 15:04:46 +02:00
Franco Fichtner
3d7a9ac1ea system: make sure the repercussion of using "0" is very clear 2022-07-08 09:55:12 +02:00
Franco Fichtner
ef57b57ee5 pkg: sort 2022-07-08 08:37:00 +02:00
Ad Schellevis
bdc72304d3 VPN / IPsec - automatic rule link mismatch 2022-07-07 19:36:00 +02:00
Ad Schellevis
ae62e15d07 fix plist 2022-07-07 18:51:21 +02:00
Ad Schellevis
3726f67882 VPN: IPsec: Security Association Database - refactor to MVC and extend functionality.
o provide option to delete entries
o show Ikeid and Reqid including optional phase[1|2] description when provided
o extend fields with data provided from setkey -D
2022-07-07 18:47:29 +02:00
Franco Fichtner
99e4cd28b6 firmware: remove stale pyc files
PR: https://forum.opnsense.org/index.php?topic=29247.0
2022-07-07 14:08:07 +02:00
Franco Fichtner
595cad8c99 ipsec: style sweep 2022-07-07 12:11:55 +02:00
Ad Schellevis
245a4b8ca0 VPN / IPsec - fix cleanup regression in https://github.com/opnsense/core/issues/4460
As we stopped using "required" in our spd entries we need other means to remove previously manually added ones.
This commit collects all policies that are likely inserted manually and removes the ones that are being used in active phase 2 entries (reqid) configured with manual entries.

Combined with the new diagnostics page a user should be able to manually remove entries we couldn't automatically cleanup due to the risk of removing unrelated manual entries.

Also cleanup the logging a bit as the previous messaged where added for temporary use.
2022-07-07 11:44:08 +02:00
Ad Schellevis
023d8e4a35 VPN: IPsec: Security Policy Database - refactor to MVC and extend functionality.
missed a spot in the previous commit, make sure we're not omitting host entries as they skip a subnet definition
2022-07-07 11:40:58 +02:00
Franco Fichtner
057fe2e7d2 pkg: fix plist 2022-07-06 20:28:27 +02:00
Ad Schellevis
9711185e37 MVC / ApiControllerBase - bugfix search and sort issues for searchRecordsetBase()
o Since $records can contain all sorts of data, we need to make sure we're not trying to cast arrays to string as it would raise an error
o When applying, we need to do so before searching and splicing to avoid only sorting the visible items
2022-07-06 17:50:16 +02:00
Ad Schellevis
434a0a80e8 VPN: IPsec: Security Policy Database - refactor to MVC and extend functionality.
o add a remove button hooking spddelete to remove entries when not cleanedup correctly for some reason to ease maintenance
o add reqid to IPsec phase 2 tunnel view for clarity so we can easily inspect if traffic is trying to pass the right policy
o show Ikeid and Reqid including optional phase[1|2] description when provided
o extend fields with data provided from setkey -DP, but keep them  deselected in the default view (e.g. Upperspec, Mode, Type, ..)
2022-07-06 17:36:07 +02:00
Ad Schellevis
9b7073d3b0 MVC / ApiControllerBase - RowCount should return the number of returned items in searchRecordsetBase. 2022-07-06 14:46:23 +02:00
Franco Fichtner
4398ab843a system: phalcon 5 is now the default 2022-07-06 14:05:47 +02:00
Franco Fichtner
312faa175d firmware: prep for 22.7.r1 with 22.1.10 2022-07-06 08:53:27 +02:00
Franco Fichtner
5f3395ebd0 firmware: make it easier to test for others 2022-07-05 12:03:44 +02:00
Ad Schellevis
becf4e9342 VPN: IPsec: Status Overview - cleanup, remove vici library in favour of port package 2022-07-05 11:11:53 +02:00
Ad Schellevis
058aedc61e System / Log - hard limit results to 9999 entries for grid output. closes https://github.com/opnsense/core/pull/5842 2022-07-05 10:30:06 +02:00
Ad Schellevis
b651b05e49 VPN: OpenVPN: Client Specific Overrides - Align help text to logic underneath. for https://github.com/opnsense/core/issues/5852 2022-07-04 20:13:46 +02:00
Franco Fichtner
51b5142abc firmware: add python version to crash report header 2022-07-05 09:04:31 +02:00
Franco Fichtner
b6167bfd90 system: move add_user script out of shell scripts
Shell scripts are for opnsense-shell.
2022-07-05 08:54:45 +02:00
Franco Fichtner
dd677931fa system: fix firmware command shortcut 2022-07-05 08:37:05 +02:00
Franco Fichtner
1d769e6e6c interfaces: copy+paste issues 2022-07-04 11:05:25 +02:00
Franco Fichtner
d26caff34a system: go extra mile on console port reassignment 2022-07-04 10:22:40 +02:00
agh1467
ae4e8ae4e3
MVC: SimpleActionButton, add catch undefined TypeError (#5848)
* Add condition for data existing before others
  catches Uncaught TypeError: data.status is undefined
2022-07-04 08:32:57 +02:00
Ad Schellevis
816f20f0e5 MVC - Exclude migrations for memory models. closes https://github.com/opnsense/core/issues/5843 2022-07-02 20:26:03 +02:00
Nicola
5cffdd7ef9
MVC - IntegerFieldType: fix IntegerValidator returning false for negative numbers (#5837) 2022-07-03 19:31:59 +02:00
agh1467
6a69e524e0
configd - except configparser read (#5836) 2022-07-03 19:27:31 +02:00
Johan Rylander
98fe7a3881
Update OpenDNS ipv6 servers (#5846)
ref https://support.opendns.com/hc/en-us/articles/227986667-Does-OpenDNS-Support-IPv6-
2022-07-02 09:06:50 +02:00
Franco Fichtner
82d78ebe2b pkg: fix plist 2022-07-01 14:03:25 +02:00
Franco Fichtner
20811d613e firmware: prep for incoming 2022-07-01 12:42:48 +02:00
Franco Fichtner
57402c17ce firmware: add new key for 22.7 2022-07-01 12:40:05 +02:00
Franco Fichtner
16042fe283 firmware: missing echo in previous 2022-07-01 10:40:51 +02:00
Franco Fichtner
b79153342c firmware: make sure to use the right approach #5537 2022-07-01 09:52:09 +02:00
Franco Fichtner
7d81b8ff16 firmare: first make sure we can grab an update version for #5537
Displaying changelogs requires a different menu flow but for now focus
on providing a changelog opportunistically before performing the update,
but intentionally after starting it to keep previous flow for now.
2022-07-01 09:50:15 +02:00
Franco Fichtner
0b465d4404 system: fix typo 2022-07-01 08:21:24 +02:00
Franco Fichtner
e6518fcd14 interfaces: simplify as others like gif and gre do #4622 2022-06-30 16:46:11 +02:00
Franco Fichtner
b77d6ba74c dhcp: remove ifconfig invoke #4622
Seems to originate from pppoe server code which is long gone.
2022-06-30 16:46:05 +02:00
Franco Fichtner
f588e8d0c4 system: get rid of manual ifconfig invoke #4622
Likely tries to do what unassigning an interface should do.  Use
the actual function required.
2022-06-30 16:26:19 +02:00
Franco Fichtner
bd3b261f9c system: make set_single_sysctl() snappier et al; closes #5467
While set_single_sysctl() is still somewhat problematic as it
trashes things set by tunables GUI the amount of overlap is
minimal and to some degree unavoidable like the CARP handling
this manually according to user requirements set through related
configuration options.
2022-06-30 13:39:17 +02:00