11445 Commits

Author SHA1 Message Date
Ad Schellevis
11daec2aab oops, test file 2019-11-20 14:11:21 +01:00
Ad Schellevis
16eca2b900 IDSi / rule download, unescape filename , closes https://github.com/opnsense/plugins/issues/1585 2019-11-20 08:57:50 +01:00
Ad Schellevis
02caac79b6
Support ECC Certificate Creation (#3823)
Support ECC Certificate Creation (https://github.com/opnsense/core/pull/3649)
2019-11-20 08:41:26 +01:00
Maurice
502e6c709c DHCPv6, fix for domain-search option
The "domain-search" option in dhcpdv6.conf must be prefixed with "dhcp6". This fixes one of the issues from #2336 which are still open.
2019-11-20 07:52:49 +01:00
Ad Schellevis
10a3012520 IDS: rule downloader, catch UnicodeDecodeError and log. 2019-11-19 08:54:00 +01:00
Ad Schellevis
5f32b0788a System health: minor cleanups, show dialog when RRD is disabled. closes https://github.com/opnsense/core/issues/3141 2019-11-15 18:02:05 +01:00
Ad Schellevis
1bdef70624 MVC: route to default page when controller or acion not found, closes https://github.com/opnsense/core/issues/2435 2019-11-15 17:12:43 +01:00
Ad Schellevis
715319b1c0 Unbound: exit wrapper when process not running. closes https://github.com/opnsense/core/pull/3553 2019-11-14 12:10:29 +01:00
Ad Schellevis
aa1a3886cd Dnsmasq: unable to configure on empty config data 2019-11-14 11:44:32 +01:00
Alexander Shursha
375f9318a6 Translate diag_pf_info (#3491) 2019-11-14 11:18:51 +01:00
Franco Fichtner
548932a71a system: honour defaults for non-config sysctls as well #3806 2019-11-14 09:38:13 +01:00
Franco Fichtner
4a4d72afd8 system: bootstrap a default value and always apply #3806
So that users are not seeing issues because they haven't done a
config reset yet.  It also allows us to bump the default again
if needed.
2019-11-14 09:24:23 +01:00
Ad Schellevis
8917f1c06f sysctl: maxdgram --> 8192. closes https://github.com/opnsense/core/issues/3806 2019-11-14 08:57:05 +01:00
Franco Fichtner
b1702d0c0a firmware: duplicates stay in the config #1663
When we install "os-debug" it will deinstall "os-debug-devel" so
we should update our logic.
2019-11-12 08:59:52 +01:00
Ad Schellevis
fba3861477 IDS/syslog, missed a spot for https://github.com/opnsense/core/issues/3806 2019-11-12 08:30:37 +01:00
Franco Fichtner
7fe5fe52dc rc: whitespace noise 2019-11-12 07:05:23 +01:00
René Losert
16efb9aa34 use freebsd built in growfs script (#3810) 2019-11-12 07:01:54 +01:00
Franco Fichtner
ee73840e9c dpinger: back to where it was in April 2019
PR: #3693
2019-11-11 23:01:57 +01:00
Ad Schellevis
188c517a26 IDS: eve syslog, lower payload-buffer-size to prevent syslog size limit. for https://github.com/opnsense/core/issues/3806 2019-11-11 21:55:51 +01:00
stilez
0c35ffbb8d Add "type" field to self-doc. SPlit from PR#3812 (#3813) 2019-11-11 21:36:37 +01:00
Franco Fichtner
f0b348bca6 rc: since 11.2 fsck_ffs will actually return ERERUN error 2019-11-11 07:30:23 +01:00
Franco Fichtner
850760471e pkg: fix plist 2019-11-09 17:54:57 +01:00
Ad Schellevis
a219bf134f Traffic shaper: safeguard deletes, using https://github.com/opnsense/core/issues/1897 2019-11-08 18:51:25 +01:00
Ad Schellevis
d19ad59201 MVC: on ApiMutableModelControllerBase add opt-in parameter $internalModelUseSafeDelete to check for referential integrity before delete, throwing a UserException when the uuid is found inside a tag which logically originates from a model. (has a uuid attribute and a version attribute in one of its parents)
closes https://github.com/opnsense/core/issues/1897
2019-11-08 18:27:12 +01:00
Ad Schellevis
e1883f34ac MVC: refactor JsonKeyValueStoreField type, skip unit test since it depends on configd. for https://github.com/opnsense/core/issues/3252 2019-11-08 16:04:00 +01:00
Ad Schellevis
5324f35ceb MVC: refactor InterfaceField and add unit tests for https://github.com/opnsense/core/issues/3252 2019-11-08 15:29:13 +01:00
Ad Schellevis
10be0e4585 MVC: refactor CountryField and add unit test for https://github.com/opnsense/core/issues/3252 2019-11-08 14:32:19 +01:00
Ad Schellevis
50da9e3190 MVC: fix a validation bug while working on https://github.com/opnsense/core/issues/3252
InclusionIn() validation only works when using string, php seems to convert keys automatically, in which case the following input:

$data = ["101" => "abc", "102" => "cde"];

would lead to these keys:

array_keys($data) ==> [101, 102]

when validating if 101,100 is a valid item in the list InclusionIn() seems to think so....
2019-11-08 12:33:36 +01:00
Ad Schellevis
75a94d86f5 MVC: missed default validation message for https://github.com/opnsense/core/issues/3252 2019-11-08 12:18:55 +01:00
Ad Schellevis
9f579672b9 MVC: refactor AuthGroupField and add unit test for https://github.com/opnsense/core/issues/3252 2019-11-08 11:57:21 +01:00
Ad Schellevis
172f1aa1e9 MVC: cleanup debug info for https://github.com/opnsense/core/issues/3252 2019-11-08 11:56:25 +01:00
Ad Schellevis
def2513344 MVC: refactor AuthenticationServerField for https://github.com/opnsense/core/issues/3252 (unittest already in place) 2019-11-08 11:24:12 +01:00
Ad Schellevis
fdd95b6640 MVC: cleanup imports for https://github.com/opnsense/core/issues/3252 2019-11-08 11:23:16 +01:00
Ad Schellevis
f0e6e1e89f MVC: refactor ConfigdActionsField, skip unit test since we don't want to mock configd at the moment. for https://github.com/opnsense/core/issues/3252 2019-11-08 11:16:52 +01:00
Ad Schellevis
f5b5d0def7 MVC: refactor CertificateField and add unit test for https://github.com/opnsense/core/issues/3252 2019-11-08 11:07:02 +01:00
Ad Schellevis
72800ba34c MVC: refactor OptionField and add unit test for https://github.com/opnsense/core/issues/3252 2019-11-08 10:34:41 +01:00
Ad Schellevis
b2d84c812f MVC: add BaseListField type for https://github.com/opnsense/core/issues/3252 2019-11-08 10:33:00 +01:00
Ad Schellevis
d547bc48bc fix forceReload() closes https://github.com/opnsense/core/issues/3801 2019-11-08 10:06:38 +01:00
Ad Schellevis
01b74e60b1 Monit: disable unit test, since it can't be executed without an environment. Either fix in some future release or remove. 2019-11-08 09:54:07 +01:00
Ad Schellevis
e39474de90
Update CONTRIBUTING.md
add explicit timeout period
2019-11-07 17:08:41 +01:00
Ad Schellevis
196d462383 filter-list_counters skip empty lines, for https://github.com/opnsense/core/issues/3798 2019-11-07 09:26:45 +01:00
Ad Schellevis
8a83b3bb12 filter live log, ignore tag keyword in pfctl output. closes https://github.com/opnsense/core/issues/3796 2019-11-05 21:28:57 +01:00
Franco Fichtner
4c4da7dfed openvpn: move to shared device plugin spot
We already create interfaces on demand in interface_configure()
so it's ok to create remaining interfaces where IPsec and VXLAN
is done as well.
2019-11-04 08:31:29 +01:00
Franco Fichtner
11106c4990 vxlan: the idea was to have pluggable device code :)
While here change the expected device name from "vxlan.X" to "vxlanX",
since "." denotes the newer FreeBSD VLAN ID syntax on top of parent
devices (e.g. "igb0.12") and all devices should follow the regex of
"^[a-z]+[0-9]+".
2019-11-03 12:28:56 +01:00
Ad Schellevis
5db422e0cc VXLAN model version and proper description 2019-11-02 16:01:50 +01:00
Ad Schellevis
6628ae2e40
VXLAN support (#3787)
* VXLAN: hook vxlan_configure_interface to newwanip event, move interface (address) configuration responisibilty there as well. This might be a better spot for other device setups as well.
2019-11-01 21:25:27 +01:00
Franco Fichtner
c20b0083ef firmware: add /etc/remote to whitelist, NTP GPS uses it 2019-11-01 20:13:49 +01:00
Franco Fichtner
b97789b2d9 plugins: extend reach to "configurable" reject spots 2019-11-01 15:31:49 +01:00
Franco Fichtner
f2d6a44b4c plugins: add plugins_devices() facility for device plugging 2019-11-01 11:13:48 +01:00
Ad Schellevis
2afb3777b8 MVC: NetworkField type, add "NetMaskAllowed" option to validate on single addresses 2019-10-31 16:30:14 +01:00