12399 Commits

Author SHA1 Message Date
Ad Schellevis
51690194e0 typo as mentioned by @8181 (https://github.com/opnsense/core/issues/4587#issuecomment-766754167) 2021-01-25 13:49:26 +01:00
Manuel Faux
a75878b5e5
Filter: Categories: Fixed spelling issues (#4634)
Uppercase of first letter in names.
2021-01-25 12:42:49 +01:00
Franco Fichtner
d08e886768 Revert "mvc: do not migrate unversioned empty model data"
This partially reverts commit 6ed3e4fe8d4c15e3ec902baaed852a9237ff36ca.
2021-01-25 10:37:46 +01:00
bleetsheep
8a607e7552
Format packet count with toLocaleString (#4600)
This adjusts to the user's preference: in an English browser, 1234567890 will be shown as 1,234,567,890. JavaScript is already required for widgets to work, adding these toLocaleString calls is not an issue in that regard, and the function is supported in all browsers as far as I can see https://caniuse.com/mdn-javascript_builtins_number_tolocalestring
2021-01-24 20:16:05 +01:00
Franco Fichtner
cde8b431c2 src: style and whitespace updates 2021-01-24 20:03:06 +01:00
Franco Fichtner
866ec6df74 interfaces: stf interface name comes from config, not system
PR: https://forum.opnsense.org/index.php?topic=20260.0
2021-01-24 19:56:09 +01:00
kulikov-a
58a966bcd6
Diagnostics->pfTables: display zeros, sort columns (#4579) 2021-01-24 19:43:48 +01:00
Ad Schellevis
7330d12282 Firewall / Categories: initial migration. closes https://github.com/opnsense/core/issues/4587
feature sponsored by Modirum (https://www.modirum.com/)
2021-01-24 16:50:01 +01:00
Franco Fichtner
58f0a7ec08 pkg: better fix, /usr/sbin/pkg is used always :/ 2021-01-24 16:25:47 +01:00
Ad Schellevis
c455ebbe6e Reporting / Traffic: cleanup deselected interface rows. from @kulikov-a https://github.com/opnsense/core/pull/4625 2021-01-23 19:59:47 +01:00
Franco Fichtner
4d31db164f pkg: fix previous 2021-01-24 10:50:05 +01:00
Franco Fichtner
50a8fdf825 pkg: ignore non-bootstrap situation 2021-01-24 10:46:02 +01:00
Franco Fichtner
f4e2728b81 interfaces: pick proper route for stf tunnels
PR: https://forum.opnsense.org/index.php?topic=20260.0
2021-01-23 22:59:26 +01:00
Ad Schellevis
f1f0c3f079 Services: Unbound DNS: allow /0, closes https://github.com/opnsense/core/issues/4627 2021-01-22 18:55:08 +01:00
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