Franco Fichtner
89dbf25c35
openpn: break in default case
2021-02-18 20:14:39 +01:00
Franco Fichtner
4c9aa8492b
firmware: remove frontend magic and implement validation #4500
2021-02-18 15:35:02 +01:00
Ad Schellevis
5c7d3251ac
Interfaces / Overview: handle disabled interfaces. closes https://github.com/opnsense/core/issues/4719
2021-02-18 14:21:45 +01:00
Franco Fichtner
508a5fee04
firmware: settings validation messages to GUI #4500
2021-02-18 13:29:39 +01:00
Franco Fichtner
8c2ea1f344
firmware: for core that works, for crypto it does not
...
Since the fetch blocks some time and is not completely reliable
it doesn't really matter if we have it or not.
While here remove a bit of cruft.
2021-02-18 10:24:04 +01:00
Franco Fichtner
b2472f3c5e
system: visibility for problematic LUA scripts #4717
2021-02-18 09:47:28 +01:00
Franco Fichtner
c05c0411cb
firmware: small refactor for neatness
2021-02-18 09:02:52 +01:00
Ad Schellevis
ee002053da
VPN / IPsec: calculatation error in 8b62109a61 , start at 31,127 to make sure both points can actually reach eachother. for https://github.com/opnsense/core/issues/4700
2021-02-17 19:46:37 +01:00
kulikov-a
819131b866
fw_log.volt: show with 'or' and empty filter ( #4716 )
2021-02-18 08:38:57 +01:00
Franco Fichtner
56f237a8d4
openvpn: better translations leaving command line args out of it
2021-02-18 08:28:15 +01:00
Franco Fichtner
23883ea879
system: fix syntax error
2021-02-18 08:09:32 +01:00
Christian Brueffer
a9185cc4dd
Make StartTLS work when retrieving LDAP authentication containers. ( #4713 )
...
Make StartTLS work when retrieving LDAP authentication containers.
The code did not set the LDAP connection properties as configured.
2021-02-17 17:47:20 +01:00
Ad Schellevis
8b62109a61
VPN / IPSec: calculate netmask for provided tunnel addresses when using VTI.
...
For IPv4 this should be backwards compatible with the previous code, since the netmask isn't really used to determine if the other end is reachable (it seems so at least), for ipv6 some consumers a valid netmask
seems to be required in order to function properly (frr). Since ipv6 doesn't seem to support setting a netmask in combination with a destination address and the other end apparantly doesn't really care, we just set an address with a mask in case it's an ipv6 tunnel.
for https://github.com/opnsense/core/issues/4700
2021-02-17 17:33:41 +01:00
Franco Fichtner
386e122339
firmware: fix action label
2021-02-17 15:42:47 +01:00
Franco Fichtner
2caeb508fc
firmware: flush line for new package
2021-02-17 15:14:32 +01:00
Franco Fichtner
1e4aac005a
firmware: use cannonical -p and -t update
...
opnsense-update can now handle it correctly and we save another
invoke from here.
2021-02-17 15:03:23 +01:00
Franco Fichtner
e321ab47a6
firmware: no, not going to fix this mess #4500
2021-02-17 14:02:04 +01:00
Franco Fichtner
8a6642c862
firmware: lock pkg when not upgrading it
...
It can be snatched from any mirror if given which is very
bad when FreeBSD repo is enabled. A simple pkg-install
will pull in pkg and break the system.
2021-02-17 13:52:10 +01:00
Franco Fichtner
a55afaac12
firmware: add crypto package to health check #4500
2021-02-17 13:33:20 +01:00
Franco Fichtner
31ca550304
firmware: correct timestamp to reflect date(1) output
2021-02-17 09:47:01 +01:00
Franco Fichtner
74ab171e1d
firmware: put back this one fa-cog that got greedy-replaced
2021-02-16 16:58:34 +01:00
Franco Fichtner
05b26a0f5b
firmware: important indent fix
2021-02-16 16:56:46 +01:00
Franco Fichtner
2520f59669
firmwware: slight code updates for check #4500
2021-02-16 16:11:49 +01:00
Franco Fichtner
58b96bc114
firmware: third and last batch #4500
2021-02-16 15:59:37 +01:00
Franco Fichtner
d44a148899
firmware: second batch in check script #4500
2021-02-16 15:52:58 +01:00
Franco Fichtner
9a08ea91e9
firmware: settle on 4 spaces for indent, first batch, minor removals #4500
2021-02-16 15:44:04 +01:00
Franco Fichtner
0f1484b3a2
firmware: strict install policy using php version_compare() #4500
...
We have to see how this holds up in practice. Reinstall was considered
as well for further protection but that might be even trickier depending
on what locking and version tricks the user did to their install to
retain a particular (working) state.
2021-02-16 15:08:26 +01:00
Franco Fichtner
e4392fb854
firmware: pin critical updates to our repo #4500
...
While testing pkg was snatched from FreeBSD mirror, which isn't
advisable (nevermind that FreeBSD mirror was enabled in the first
place).
Do the same for the release type shift to avoid pivoting towards
third party repos for any reason whatsoever.
2021-02-16 15:03:56 +01:00
Franco Fichtner
3f22ca2db4
firmware: simplify frontend #4500
2021-02-16 14:36:48 +01:00
Franco Fichtner
8a3b807f21
firmware: note in update log about the purpose #4500
...
The issue is that some users assume there is manual need for
file changes as prompted by FreeBSD package manager and its
ports, but that is generally not the case when using OPNsense.
For core functionality and plugins the GUI takes care of all
these manual maintenence steps.
2021-02-16 13:56:32 +01:00
Franco Fichtner
f1e72574b6
src: style sweep
2021-02-16 10:36:44 +01:00
Franco Fichtner
9a01e5399d
firmware: UX and display tweaks
2021-02-16 10:31:04 +01:00
Franco Fichtner
31cefec61b
firmware: when config.xml looks like a factory reset register plugins/release #4500
...
This way the build can do all sorts of funny things and we will end up
with a consistent config.xml after boot. For people restoring other
config.xml that is not the case but in this scenario the user is likely
aware of what he or she is doing.
2021-02-16 10:05:27 +01:00
Franco Fichtner
ecad74072c
firmware: fix a typo and improve wording #4500
2021-02-16 00:51:16 +01:00
Franco Fichtner
4cf0720b66
firmware: merge updates and release type result parsing #4500
...
With this we get as much visibility as pkg can offer us. Merge
some code in the process as the release type shift is nothing
special anymore.
2021-02-16 00:40:20 +01:00
Franco Fichtner
01da8a72f0
firmware: remove a bit of side effects from JS #4500
2021-02-15 23:33:57 +01:00
Franco Fichtner
e283a5942d
firmware: UX and JS changes #4500
2021-02-15 19:52:15 +01:00
Ad Schellevis
73ffa7b1ab
Usermanager: export api keys reload issue on Safari. closes https://github.com/opnsense/core/issues/4706
...
This probably doesn't win a beauty contest, but it seems like reloading the page instantly causes issues on Safari these days.
2021-02-15 18:40:30 +01:00
Franco Fichtner
91d6fa9dab
firmware: upgrade sets into updatelist #4500
...
While here the API now tells the page what it should do.
We always consume updates first and then tell the user
it is all well or that an upgrade is available.
Errors are shown as well although when the API has a
fatal issue we don't want to try to force a reaction
and instead just log to console.
The major upgrade needs another fold to be made even
quicker than before but for today that is enough.
2021-02-15 16:43:14 +01:00
Franco Fichtner
a22981977a
firmware: remove "Messages" , show modal instead
...
Reshuffle the tab order a little. Makes the updates appear
a bit less jumpy.
2021-02-15 14:44:28 +01:00
Franco Fichtner
069fc742bf
firmware: delay this a bit more, status call takes some time #4500
2021-02-15 13:56:13 +01:00
Franco Fichtner
8d7ce38678
firmware: add upgrade sets to status if found and required #4500
2021-02-15 13:51:54 +01:00
Franco Fichtner
4db74fe31e
firmware: switch column for updates view #4500
2021-02-15 13:28:42 +01:00
Franco Fichtner
2ecd584c9a
firmware: firmware-* files private to check.sh #4500
...
Remove unused JS while here.
2021-02-15 13:07:00 +01:00
Franco Fichtner
52594df3e3
firmware: simplify upgrade procedure #4500
2021-02-15 12:05:16 +01:00
Franco Fichtner
14416172b1
firmware: switch to new update procedure #4500
2021-02-15 11:33:44 +01:00
Franco Fichtner
9fb0b8d677
firmware: remove compat code from plugin register script #4500
...
We always assume metadata is present otherwise we end up
with undefined behaviour.
2021-02-15 09:15:45 +01:00
Ad Schellevis
a58f21dc10
IPSec: fix minor validation issue, Phase2 Local/Remote network check does't apply on VTI interfaces.
2021-02-12 22:18:43 +01:00
Franco Fichtner
dd7aa5311f
firmware: vim used to be more clever
2021-02-14 14:40:45 +01:00
Franco Fichtner
fd2bc705ac
firmware: small design improvement and release type shift warning #4500
2021-02-14 14:31:22 +01:00