vnxme
703faa82ff
interfaces.inc: Improve guess_interface_from_ip() ( #4523 )
2021-01-21 15:00:24 +01:00
Martin Wasley
8ded045899
Added toggle function and associated code for enable/disable RDNSS in dhcpv6 Moved Configuration to RADVD interface
...
PR: https://github.com/opnsense/core/issues/4537
2021-01-21 13:28:32 +01:00
Ad Schellevis
733089d1e3
API: add some logging when content-type looks suspicious
2021-01-21 11:06:13 +01:00
Franco Fichtner
5c110105c6
dpinger: empty() forgives a faulty look-ahead, save two checks this way
2021-01-21 11:01:22 +01:00
Ad Schellevis
5a5cc7897d
API: be less sensitive about Content-Type, to prevent empty payloads when variations like "application/json; charset=utf-8" are used.
2021-01-21 10:42:58 +01:00
Franco Fichtner
00e6895821
interfaces: a bit for #4622
...
Make sure address deletion works for IPv4 and IPv6 always.
2021-01-21 09:52:20 +01:00
Ad Schellevis
0ae7e396c9
Reporting / Traffic: prevent calling top when no interfaces are selected. taken from https://forum.opnsense.org/index.php?topic=20700.msg97999#msg97999
2021-01-20 19:24:14 +01:00
Franco Fichtner
672896fd61
interfaces: fix typo, visual clutter in overview and add deprecated tag
2021-01-20 17:23:40 +01:00
Franco Fichtner
96b34bb506
dpinger: address is an array, expand after check
...
PR: https://forum.opnsense.org/index.php?topic=21003.0
2021-01-20 15:32:36 +01:00
Franco Fichtner
69b6f7a0d5
pkg: fix plist
2021-01-19 12:24:20 +01:00
Franco Fichtner
171d5cda9f
interfaces: treat deprecated addresses as non-primary
2021-01-19 12:23:14 +01:00
Franco Fichtner
9ef6ff335f
dhcp: deprecate prefixes in radvd, new try on 2.19
2021-01-19 12:22:38 +01:00
Ad Schellevis
10dc80f54f
Firewall / NAT: support category filters : add color selection and display for https://github.com/opnsense/core/issues/4587
2021-01-19 11:48:41 +01:00
Ad Schellevis
e65c2baf38
add pick-a-color from https://github.com/lauren/pick-a-color for https://github.com/opnsense/core/issues/4587
2021-01-19 11:06:28 +01:00
Ad Schellevis
69d1332209
Firewall / NAT: support category filters ( https://github.com/opnsense/core/issues/4587 )
...
add badges with record count in category select
2021-01-18 20:11:58 +01:00
Franco Fichtner
d5b4e3e58a
pkg: fix plist
2021-01-18 19:56:11 +01:00
Ad Schellevis
349009df3a
Firewall / NAT: support category filters ( https://github.com/opnsense/core/issues/4587 )
...
add basic category grid, including menu registration and acl.
2021-01-18 18:43:32 +01:00
kulikov-a
1a646e087d
netbios options prettify ( #4612 )
2021-01-17 14:19:46 +01:00
Ad Schellevis
c797bfd220
Network insight: store hostname into it's own field on reverse lookup so we don't loose the original address. Pass the address to the detail view on click. closes https://github.com/opnsense/core/issues/4609
2021-01-16 15:19:44 +01:00
Franco Fichtner
d91e308001
firmware: allow to run audits from firmware upgrade console option #4500
...
Type "s" for security audit, or "h" for health audit.
We don't add it to the option prompt to not clutter the menu flow.
This is mostly for debug and development purposes.
2021-01-16 16:25:33 +01:00
Franco Fichtner
7d5b8bc24e
firmware: oops, to bring stderr into pipe move redirect here #4500
2021-01-16 13:37:56 +01:00
Franco Fichtner
62948343fe
console: ignore first backup, same as current
2021-01-16 13:14:35 +01:00
Franco Fichtner
6a65666a1c
firmware: support console-based audit output
2021-01-16 12:55:41 +01:00
Franco Fichtner
74efc777fc
firmware: only reroot on base upgrade #4500
2021-01-16 12:16:18 +01:00
Franco Fichtner
c5521fecac
firmware: do not allow plugin install if remote repo version differs #4500
...
We need the matching mirror version for the plugins to install so
simply block the update and let the user update first (instead of
only checking for updates and then installing later versions of
plugins).
This was a larger problem in past years but it is good practice to
require an up-to-date system anyway.
2021-01-16 10:14:46 +01:00
Franco Fichtner
c1f839ef9d
firmware: introduce non-core JSON metadata handling #4500
2021-01-16 09:47:04 +01:00
Ad Schellevis
dc164b39d3
Firewall: add model for categories. work in progress for https://github.com/opnsense/core/issues/4587
...
Add category option in all nat pages, condense layout while ther so the pages are more consistent with the firewall rules
Next steps:
- reformat category selection a bit so it's more clear results are filtered and maybe count the number of items per catagory for clarity.
- add category ui to manage the model
2021-01-15 18:00:52 +01:00
kulikov-a
bc215cbc91
download_blacklists.py: fix broken lines in large files ( #4606 )
2021-01-15 16:14:26 +01:00
Ad Schellevis
5d173f52cf
Firewall: add categories to nat/portforward page. for https://github.com/opnsense/core/issues/4587
2021-01-14 17:30:11 +01:00
Ad Schellevis
ca110dc008
MVC: base model, change LOG_LOCAL4 to LOG_LOCAL2, LOG_LOCAL4 ends up in portal auth, when using LOG_LOCAL2 it should end up by default in the systemlog.
2021-01-14 17:18:31 +01:00
Ad Schellevis
b00902e46c
Firewall: add model for categories. work in progress for https://github.com/opnsense/core/issues/4587
...
escape category option values.
2021-01-14 17:07:17 +01:00
Ad Schellevis
8cd475cbde
opnsense_ui.js whitespace
2021-01-14 17:04:25 +01:00
Franco Fichtner
6ed3e4fe8d
mvc: do not migrate unversioned empty model data
2021-01-14 16:24:26 +01:00
Ad Schellevis
f23c57f4b9
Tokenize2: fix escaping, since the components uses selectors to find values, we need $.escapeSelector() to escape these properly.
...
If this works without issues on our end, we might consider upstreaming later.
2021-01-14 16:18:52 +01:00
Franco Fichtner
3e680e86b7
system: first backup is same as current, remove from list
2021-01-14 15:39:12 +01:00
Franco Fichtner
70d026e9e2
dhcp: small code style update in leases page
2021-01-14 14:26:02 +01:00
Matt Holgate
7aed1205b5
Hopeful fix for #4423 - Incorrect parsing of DUID in dhcpd6.leases.
2021-01-14 14:13:03 +01:00
Ad Schellevis
bbe0f3afe4
MVC model parsing: it seems that 1e092de495 was a bit too optimistic, checking for empty(string()) only works when the content was pretty printed. When flushing the current config, data isn't formatted and there's not access spacing involved. The proper fix seems to be to always parse the array and if it didn't find any non empty nodes add a template node. closes https://github.com/opnsense/core/issues/4598
2021-01-14 12:08:51 +01:00
Franco Fichtner
166b199de6
firmware: deal with *.pkgsave, offload post install bits to rc.syshook
...
PR: https://github.com/opnsense/core/issues/4574
2021-01-14 09:20:33 +01:00
Franco Fichtner
2cca863119
captive portal: disable faulty TLS on HTTP since lighttpd 1.4.56
...
PR: https://github.com/opnsense/core/issues/4596
2021-01-14 08:41:28 +01:00
Ad Schellevis
bdc4430963
Firewall: add model for categories. work in progress for https://github.com/opnsense/core/issues/4587
...
bugfix some javascript, value need to contain the unescaped value (like it previously was when statically loaded).
2021-01-13 22:11:58 +01:00
Ad Schellevis
4035a2f955
upgrade Tokenize2 to v1.3.3
2021-01-13 19:25:33 +01:00
Ad Schellevis
fab8222aea
Firewall: add model for categories. work in progress for https://github.com/opnsense/core/issues/4587
...
remove spacing from tokenize options, Tokenize2 doesn't seem to trim values (breakng auto-complete in this case)
2021-01-13 19:05:46 +01:00
Franco Fichtner
638dc63d58
opendns: whitespace issue
2021-01-13 17:52:53 +01:00
Franco Fichtner
1cc9ee1ebb
pkg: fix plist
2021-01-13 17:42:02 +01:00
Franco Fichtner
3772ca0a0c
opendns: add standalone mode; closes #3857
2021-01-13 17:42:02 +01:00
Ad Schellevis
3b1c3eb3d3
Firewall: add model for categories. work in progress for https://github.com/opnsense/core/issues/4587
...
bugfix previous commit, split() should check for not null
2021-01-13 17:26:44 +01:00
Ad Schellevis
224dfb0a36
Firewall: add model for categories. work in progress for https://github.com/opnsense/core/issues/4587
...
refactor javascript code and move it into opnsense_legacy.js for reuse. while here add a standard controller we can use to query existing categories and allow usage from the components in scope of this change.
Keep current selection in the user session so selections are sticky among tab changes and edits. The previous "hack menu" was a bit impractical to expand to other components as well.
2021-01-13 17:06:39 +01:00
Franco Fichtner
4992c11a53
system: reconfigure routes on bootup, may help #3414
2021-01-13 09:18:34 +01:00
Ad Schellevis
416fc37ee9
Firewall: add model for categories. work in progress for https://github.com/opnsense/core/issues/4587
...
o replace type ahead with tokenizer (mutli select) while here, since the type ahead needed fixes which we rather don't copy to the other firewall sections
o we might want to change the model serializeToConfig() and reload and send it to a separate function in config.inc later to ease migration later. Part of it could be separated with a callback, but it's not super needed
o hook categories into model for firewall rules
2021-01-12 18:14:50 +01:00