9283 Commits

Author SHA1 Message Date
Ad Schellevis
b3082fcf68 IDS/rule downloader, improve logging 2018-12-10 09:16:52 +01:00
Michael Steenbeek
3e836c6087 Add gateway alerts to Monit, for #2919 (#3025) 2018-12-09 20:08:54 +01:00
Ad Schellevis
d8f23d5210 Firwall/Nat, when using "Reflection for port forwards" we should only add nat rules for interfaces with configured addresses.
Although this looks a bit duplicate at first, when the nat interface itself (e.g. openvpn) is missing a network, we should add a rdr, but skip the nat rule.

closes https://github.com/opnsense/core/issues/3023
2018-12-09 19:52:23 +01:00
Franco Fichtner
6b848aba4a interfaces: do not offset DUID by two bytes for now
It's not clear what this actually does.  is_duid() fails.
2018-12-09 07:08:18 +01:00
Franco Fichtner
1051b38584 system: pass IP down 2018-12-09 06:23:51 +01:00
Franco Fichtner
83f66de6ed system: protect mac call 2018-12-09 06:20:36 +01:00
Franco Fichtner
216e05c2ee configd: test output changed, better make this explicit 2018-12-09 05:18:41 +01:00
Franco Fichtner
2ca9db1c03 firewall: log widget should do rdr too 2018-12-09 05:16:12 +01:00
Franco Fichtner
9984dc96de dhcp: correct function use 2018-12-09 04:45:53 +01:00
Franco Fichtner
061d3bb789 firwall: cleanup 2018-12-09 04:29:22 +01:00
Franco Fichtner
5e8c967176 interfaces: small simplifcation on 6to4 code 2018-12-09 04:18:19 +01:00
Northguy
b7bbb836fd Updated help text for verbosity level
Added help text for verbosity from https://nlnetlabs.nl/documentation/unbound/unbound.conf/
2018-12-08 19:16:56 +01:00
Franco Fichtner
0023784905 ipsec: avoid if return, else return 2018-12-08 16:20:46 +01:00
Franco Fichtner
933f935624 inc: kill unused IPv6 defines 2018-12-08 16:15:45 +01:00
Ad Schellevis
2652360299 phalcon-3.4.2 compatibility, since scope seems to be fixed now, a missing default triggers a Notice.... 2018-12-08 14:34:20 +01:00
Franco Fichtner
3d8fd0088a unbound: restart if already down for #2894 2018-12-08 11:07:35 +01:00
Michael Steenbeek
159400a714 Implement #2482: Tokenise Trafficshaper source and destination fields (#3022) 2018-12-07 21:18:50 +01:00
Franco Fichtner
f72797d269 unbound: cleanup 2018-12-07 17:36:04 +01:00
Ad Schellevis
15876d6163 Routes/mvc, missing isset() in validations, closes https://github.com/opnsense/core/issues/3024 2018-12-07 15:27:22 +01:00
Franco Fichtner
0dbc3cc51e system: remove unused get_dns_servers() #3020 2018-12-07 12:30:51 +00:00
Franco Fichtner
5cf8b4f2e2 unbound: probable fix for #3020 2018-12-07 12:29:58 +00:00
Franco Fichtner
a22c63a67c interfaces: actually, use get_nameservers() for *all* interfaces
It has the added benefit of grabbing the correct servers provided
for all upstream interfaces.

PR: https://github.com/opnsense/core/issues/3020
2018-12-07 12:18:17 +00:00
Franco Fichtner
c65f2f5879 interfaces: remove questionable / limited use of get_dns_servers()
PR: https://github.com/opnsense/core/issues/3020
2018-12-07 12:35:06 +01:00
Ad Schellevis
c5acb417ab configure_interface_hardware(), typo in [r|t]xcsum_ipv6, closes https://github.com/opnsense/core/issues/3021 2018-12-06 20:25:03 +01:00
Ad Schellevis
afeb422d69 interfaces_assign, show link status in select, closes https://github.com/opnsense/core/issues/3019 2018-12-06 14:30:06 +01:00
Ad Schellevis
c3213d4d91 filter/icmpv6, IPv6 FW Rule from WAN IP to ff02 missing, for https://github.com/opnsense/core/issues/3015 2018-12-06 12:45:28 +01:00
Ad Schellevis
0a0c80c006 MVC, sortable ModelRelationField including unittest, ref https://github.com/opnsense/plugins/issues/582 2018-12-06 12:37:26 +01:00
Ad Schellevis
ea639d6c8c cleanup previous 2018-12-06 09:44:55 +01:00
Ad Schellevis
4cf79c9263 MVC, add unittest for ModelRelationFieldTest 2018-12-06 09:16:14 +01:00
Ad Schellevis
55853d21c2 MVC, ModelRelationField, prevent get_class(null) when using the fieldtype not bound to a model.
When unit testing the field type, it's not bound to a model, which leaves parent "null".
2018-12-06 09:13:09 +01:00
Franco Fichtner
d15605dc5b firewall: third try #3015 2018-12-05 15:55:44 +00:00
Franco Fichtner
5865994648 firewall: only true for static setups #3015 2018-12-05 16:49:53 +01:00
Franco Fichtner
89bd032069 firewall: this is weird, automatic reply-to and route-to...
... should honour if a gateway was actually provided.  It worked
or at least was supposed to work in this way before repairing
get_interface_gateway*().

PR: https://github.com/opnsense/core/issues/3015
2018-12-05 16:40:58 +01:00
Michael Steenbeek
aed23a9ecb Clean up ipsec_convert_to_modp() 2018-12-05 16:14:22 +01:00
Franco Fichtner
dc8f8daf4f system: make this explicit... 2018-12-05 08:29:53 +01:00
Franco Fichtner
536543be11 ipsec: already changed vs. stable/18.7, might as well do this 2018-12-05 08:25:42 +01:00
Franco Fichtner
ebaf3c61c0 system: reformat 2018-12-05 08:20:09 +01:00
Michael Steenbeek
00b6db04fb Fix: name attribute cannot be set on tr tags 2018-12-05 08:15:14 +01:00
Michael Steenbeek
28aa54f03f Fix br tags 2018-12-05 08:15:14 +01:00
Franco Fichtner
b6518ba0d5 dhcp: spacing 2018-12-05 08:00:03 +01:00
Ad Schellevis
61d4b3fefd minor irregularities in event.preventDefault() usage 2018-12-04 16:28:10 +01:00
Franco Fichtner
2938c99628 unbound: unbreak #3012 2018-12-04 16:14:13 +01:00
Ad Schellevis
e17dc86235 User import, fix ldap import closes https://github.com/opnsense/core/issues/3012 2018-12-04 16:06:49 +01:00
Michael Steenbeek
3c3e27ae85 Fix sorting of SIZE and RES columns in system activity (#3009) 2018-12-04 11:53:51 +01:00
Michael Steenbeek
6db6598c00 Fix more incorrect HTML tags (#3007) 2018-12-04 10:13:22 +01:00
Michael Steenbeek
2a149a054c Replace PEAR_ERROR with return null and delete PEAR.inc (#3006) 2018-12-04 09:53:09 +01:00
Ad Schellevis
fca195a3ab widget/thermal: minor style/text fix 2018-12-04 09:41:04 +01:00
Ad Schellevis
aad0efbd19 Merge branch 'feature/2915' of https://github.com/MichaelDeciso/core into MichaelDeciso-feature/2915 2018-12-04 09:28:12 +01:00
Ad Schellevis
70ddc990b6 typo in comment 2018-12-04 09:10:29 +01:00
Franco Fichtner
f0cbe9ac99 firmware: error on missing file
Unlikely published in 18.7.x, and even there .mtree will exist
with 18.7.9 update at the very latest.
2018-12-04 07:18:29 +01:00