Franco Fichtner
b20f6fa400
inc: partial PSR12 style sweep
2019-12-09 06:36:17 +01:00
Franco Fichtner
266df11e4c
pkg: fix plist
2019-12-09 06:20:49 +01:00
Ad Schellevis
c8d0a07bdf
System -> Routes -> Status: support for manually removing static route entries.
...
A bit triggered by looking at these system_host_route() usages b2560c6eb4/src/www/vpn_ipsec.php (L97-L98)
If for some reason we do want to drop a route which was created elsewhere, we can do this from the gui.
Although the drop likely won't remove all entries in the table, the relevant ones should be removeable.
2019-12-06 18:49:43 +01:00
Ad Schellevis
09f74fe1ce
IDS: point Emerging threats open rules to suricata 5 and add a migration for the rules that moved. Includes a small patch to the rule management scripts, so we can support deprecated sets (which should be removed).
2019-12-06 15:47:18 +01:00
Franco Fichtner
a7b528be2b
dpinger: wrong scope for $settings
2019-12-06 13:37:17 +01:00
Ad Schellevis
548b881228
diag_confbak.php missing html_safe()
2019-12-06 09:59:06 +01:00
Ad Schellevis
d2956a3b6a
remove unused current directory include
2019-12-06 09:31:06 +01:00
Franco Fichtner
2e8e0adb81
plugins: PSR12 style updates
2019-12-05 21:37:24 +01:00
Franco Fichtner
6f3cdeb4fa
mvc: simplify table string, style fix
2019-12-05 21:35:54 +01:00
Ad Schellevis
388159d5e8
log: add download (visible) items to new view. closes https://github.com/opnsense/core/issues/3645
2019-12-05 18:54:12 +01:00
Ad Schellevis
ee542d2822
add support for additional loopbacks ( https://github.com/opnsense/core/issues/3832 ) ( #3840 )
...
Add *Interfaces: Other Types: Loopback*.
- while here, also add the device name in interfaces.php and support setting an initial description on new interfaces (copy device description if available)
- check usages of lo0 and change to lo if not specific for our default loopback
2019-12-05 13:19:43 +01:00
Ad Schellevis
4aea00c89c
log: ditch nentries in settings, diag_logs_template.inc will be removed when moving to 20.1 closes https://github.com/opnsense/core/issues/3831
2019-12-03 20:52:27 +01:00
Maurice
45b0d6834c
Improve help texts
2019-12-03 13:05:59 +01:00
Maurice
d951885f13
Fix stateless DHCPv6 mode
...
Always add dhcp6.domain-search and dhcp6.name-servers to dhcpdv6.conf, even if no range6 is specified.
2019-12-03 13:03:37 +01:00
Ad Schellevis
fd979aa2c2
Dhcpdv6/radv. both services_dhcpv6.php and services_router_advertisements.php share the same config section, leading to empty values after safe. for https://github.com/opnsense/core/issues/3834
2019-12-01 15:34:44 +01:00
Franco Fichtner
dc3ef63c52
mvc: PSR12 for better or worse ;)
2019-11-30 10:04:17 +01:00
Ad Schellevis
f50ecdb773
legacy menu, add some missing html_safe()
2019-11-29 16:26:20 +01:00
Ad Schellevis
f0ec88e655
VxLan: remove unused toggle endpoint
2019-11-29 13:20:16 +01:00
Ad Schellevis
54af82695f
log: fix some typos for https://github.com/opnsense/core/issues/3831
2019-11-28 22:22:53 +01:00
Franco Fichtner
a6c9f4acc8
vxlan: last one, hopefully
2019-11-28 18:47:32 +01:00
Ad Schellevis
94384a53b8
VxLan. move model into //OPNsense/Interfaces/vxlans, so we can actually add more types in there....
2019-11-28 18:44:36 +01:00
Ad Schellevis
eed35c92b7
log: parse timestamps %Y/%m/%d %H:%M:%S for https://github.com/opnsense/core/issues/3831
2019-11-28 18:00:49 +01:00
Ad Schellevis
2ccb852673
log: set rowcount https://github.com/opnsense/core/issues/3831
2019-11-28 17:56:01 +01:00
Ad Schellevis
03511f1aa8
log: forgot to store selections https://github.com/opnsense/core/issues/3831
2019-11-28 17:51:28 +01:00
Franco Fichtner
53c04abaf5
pkg: fix plist
2019-11-28 17:37:32 +01:00
Ad Schellevis
c56fff792d
log: move core modules to new mvc module. for https://github.com/opnsense/core/issues/3831
2019-11-28 17:29:10 +01:00
Ad Schellevis
cbd3beeb7d
log: complete new log module for https://github.com/opnsense/core/issues/3831
...
- add module (core is standard log directory)
- add clear endpoint (/api/diagnostics/log/{module}/{file}/clear
- parse various date formats into iso dates for the frontend
2019-11-28 16:13:28 +01:00
Ad Schellevis
8cf9c4fe08
fix previous, related to https://github.com/opnsense/core/issues/3831
2019-11-28 16:10:42 +01:00
Ad Schellevis
0844a5a27b
log, minor bug in reverse log reader, when reading clog files, the beginning of the file isn't detected. found while working on https://github.com/opnsense/core/issues/3831
2019-11-28 15:56:57 +01:00
Franco Fichtner
7a1dc9fc10
pkg: fix plist
2019-11-28 09:23:19 +01:00
Ad Schellevis
b7662a109e
Logging, functional concept for https://github.com/opnsense/core/issues/3831 (work in progress, not finished)
2019-11-26 22:01:39 +01:00
Ad Schellevis
5c6d780f8c
logging, throw an exception when logfile doesn't look like a clog file, makes it easier to auto-detect clog/plain logs
2019-11-26 21:44:46 +01:00
Ad Schellevis
8df5374a9f
Firewall/aliases, log when hostname couldn't be resolved. closes https://github.com/opnsense/core/issues/3737
2019-11-24 15:49:46 +01:00
Maurice
3902d3b66e
Fix range check for advanced radvd options
...
Didn't allow max value.
2019-11-24 08:59:44 +01:00
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