11452 Commits

Author SHA1 Message Date
Ad Schellevis
bbb4d907ae CARP: typo in validation. related to https://github.com/opnsense/core/issues/3732 2019-11-23 10:07:44 +01:00
Ad Schellevis
5c954133b8 IPSec: service hook should use pluginctl to flush config to disk, for https://github.com/opnsense/core/issues/3827 2019-11-22 15:32:59 +01:00
Maurice
d683929fc6 DHCPv6, replace domain name option with domain search list option (#3824)
* DHCPv6, fix Domain Search List bugs

Remove "domain-name" option (which doesn't exist in DHCPv6) from dhcpdv6.conf. For the global option (system domain) and static mappings, replace with "dhcp6.domain-search" option (already exists as an interface option).

* Remove domain name option

The domain name option doesn't exist in DHCPv6.

* Replace domain name with domain search list option

The domain name option doesn't exist in DHCPv6.

* fix dhcp6.domain-search option for static mappings
2019-11-22 10:23:16 +01:00
Ad Schellevis
38b613614b opt-out on "Allow DNS server list to be overridden by DHCP/PPP on WAN" for selected interfaces. for https://github.com/opnsense/core/issues/3701 2019-11-21 18:08:06 +01:00
Ad Schellevis
64fd58da15 Gateways: "Mark Gateway as Down" also means exclude from default gateway selection, dicussed with @mimugmail for https://github.com/opnsense/core/issues/3597 2019-11-21 16:24:29 +01:00
Ad Schellevis
fde54d978e OpenVPN export. Firefox doesn't like "nowrap" causing https://github.com/opnsense/core/issues/3825 2019-11-21 14:19:07 +01:00
Ad Schellevis
36372b939b interfaces: move description into top block and rename titles like suggested by @fichtner closes https://github.com/opnsense/core/pull/3808 2019-11-21 13:43:40 +01:00
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