Franco Fichtner
6f6f8397e7
util: this is unused
2018-09-11 19:27:16 +02:00
Franco Fichtner
66430a8a02
services: cleanup after PR
2018-09-11 14:28:28 +00:00
marjohn56
195a0f6f42
dhcpd6 PD Auto tracking additons
...
Does not use dhcp6c mods. uses existing functions to deterrmine the PD length.
2018-09-11 15:31:12 +02:00
Franco Fichtner
6b805ffbe3
services: cleanups
...
* In override mode turn radvd off until enabled, same as DHCPv6
* Guard radvd against is_radvd_enabled(), same as DHCPv6
* Avoid extra hoops of using global $config where possible
2018-09-11 14:59:19 +02:00
Franco Fichtner
5eb0dd5f11
interfaces: fix edge cases in make_ipv6_64_address()
...
empty("00") != empty("0") so ::1000:0 would produce a suffix of ::1000
while ::1000:00 would correctly generate ::1000:00
2018-09-11 09:58:31 +00:00
Franco Fichtner
9d4552b5e7
interfaces: fix a typo
2018-09-10 19:22:08 +02:00
Franco Fichtner
3972bedbdf
system: fix previous, access before define
2018-09-10 19:09:08 +02:00
Franco Fichtner
cab8b1cf41
interfaces: stats widget show/hide
2018-09-10 19:01:38 +02:00
Franco Fichtner
3b1e9d3ad7
system: gateways widgets hide/show tweaks
2018-09-10 18:44:57 +02:00
Franco Fichtner
3192f8f5cc
interfaces: some progress on IPv6 address for trackers #1993
2018-09-10 08:51:45 +02:00
Franco Fichtner
70e0fea6ca
interfaces: revert the prefix snooping for now
2018-09-09 10:23:51 +02:00
Franco Fichtner
6ee54c2c38
interfaces: reverse selection so that "0" is the default
...
It's the default in the factory reset, too.
2018-09-08 20:16:52 +02:00
Franco Fichtner
0c7e9cba15
interfaces: selection weirdness for "none" value
2018-09-08 15:09:00 +00:00
Franco Fichtner
a241040662
interfaces: do not give all trackers the same IPv6 in 6rd / 6to4
...
PR: https://github.com/opnsense/core/issues/2663
2018-09-08 16:43:23 +02:00
Franco Fichtner
2cb88d030e
interfaces: snoop prefix from wan for 6rd /64, slaac and dhcpv6 pd len "none"
...
PR: https://github.com/opnsense/core/issues/2663
2018-09-08 16:13:30 +02:00
Franco Fichtner
45a6e35c3d
interfaces: radvd stuff for diagnostics
2018-09-08 15:06:58 +02:00
Franco Fichtner
d8e41511da
interfaces: allow IPv4 address override in 6RD; closes #2662
2018-09-08 12:19:16 +00:00
Franco Fichtner
78662d76ba
interfaces: lower MTU via tracked interface MTU; closes #2643
2018-09-08 11:24:24 +00:00
Franco Fichtner
f811f9723f
rc: explicity tell to unload
...
Otherwise we try to unload when it's there. Logic was
correct but -b assumtion was incorrect as we do not touch
drivers there or require any pool listing.
2018-09-08 12:06:54 +02:00
Franco Fichtner
51d324013e
importer: loop until successful or otherwise aborted
...
DO_DEV aborts directly after the attempt. DO_BOOT takes priority.
2018-09-08 11:58:23 +02:00
Franco Fichtner
7745e25236
rc: actually parse -z option
2018-09-08 11:00:40 +02:00
Franco Fichtner
32596c4485
rc: work on importer to simplify and list ZFS pools as stand-alone
2018-09-08 10:04:43 +02:00
Franco Fichtner
6734e5a50d
dashboard: list widget idea for @marjohn56
2018-09-08 09:42:11 +02:00
Franco Fichtner
f05a42102d
system: show last diff by default
...
The hours spent clicking this after page open just to debug have
been many so let's take the lazy route and always display a diff
which is already somewhat indicated by the selectors of the list
below.
2018-09-08 09:25:42 +02:00
Franco Fichtner
ff4432ad38
interfaces: real fix for #2698
...
We create state files for the "real" interfaces in IPv4,
so we need to apply the same logic to IPv6. 6RD and
6TO4 do not seem to do this yet so bring them over.
2018-09-08 08:36:33 +02:00
Franco Fichtner
c3ad08b477
system: reformat copyright header
2018-09-08 08:36:33 +02:00
Ad Schellevis
e42c3d2565
Firewall/alias add content field to grid, see https://github.com/opnsense/core/issues/1858#issuecomment-419412332
2018-09-07 19:32:01 +02:00
Franco Fichtner
04259b48f8
interfaces: also move zt and ue
2018-09-07 17:48:50 +02:00
Franco Fichtner
865c3d6a37
interfaces: more magic for wireguard plugin
2018-09-07 17:37:21 +02:00
Franco Fichtner
b26ae32f18
interfaces: avoid mismatching openconnect nodes; closes #2694
...
Suggested by: @mimugmail
2018-09-07 17:33:08 +02:00
Franco Fichtner
06cfa0b5d3
dashboard: sprinkle word breaks
2018-09-07 16:32:48 +02:00
marjohn56
8dd761c41f
Wrap the IP address
2018-09-07 16:31:25 +02:00
Michael
c92e71116e
IDS, add whitelists ( #2697 )
2018-09-07 14:29:45 +02:00
Ad Schellevis
186836af29
dashboard, widgets and selectpicker. our default selectpicker has a timing issue on the dashboard which makes it behaviour a bit wobbly, hook ours in after page load. see https://github.com/opnsense/core/pull/2649
2018-09-06 22:18:36 +02:00
Ad Schellevis
e8505ba364
style fix, see https://github.com/opnsense/core/issues/2693
2018-09-06 22:03:05 +02:00
Ad Schellevis
f61538fda8
Firewall alias/model, wrong spelling in xpath, closes https://github.com/opnsense/core/issues/2693
2018-09-06 21:25:43 +02:00
Franco Fichtner
5007150616
interfaces: fix false advertising
...
It's nice that WAN decided to get a global IPv6 regardless
of what dhcp6prefixonly says, but most of the system should
carry on regardless and ignore that address as much as it
can. It makes troubleshooting easier and less surprising.
2018-09-05 16:32:41 +00:00
marjohn56
98a82ad726
dashboard: added selector to gatways widget
...
PR: https://github.com/opnsense/core/pull/2649
2018-09-05 16:19:58 +00:00
marjohn56
f0e9bbe796
dashboard: add ability for user to hide interfaces in list and stats widgets
...
PR: https://github.com/opnsense/core/pull/2649
2018-09-05 11:51:36 +00:00
Franco Fichtner
d20c0fbcce
dhcpv6: enabled if auto track (pd doesn't matter)
2018-09-05 00:20:26 +02:00
Franco Fichtner
96bebb13a3
dhcpv6: do not overwrite config in override for #2633
...
This provides a manual override track interface to be
enabled or disabled in dhcpv6 as we do not meddle with
the enable flag anymore. It's not super-useful but it
makes sense to follow the enabled flag in this case.
Suggested by: @marjohn56
2018-09-05 00:10:13 +02:00
Franco Fichtner
13fb116b52
dhcpv6: cleanups
2018-09-05 00:09:35 +02:00
Ad Schellevis
73e63bca64
another take at https://github.com/opnsense/ui_devtools/issues/3
2018-09-04 20:58:00 +02:00
Fabian Franz BSc
a7bc218801
core: fix configd asList helper ( #2687 )
2018-09-04 18:51:10 +02:00
Franco Fichtner
2b323f6dcd
system: small ACL name oddity
2018-09-04 07:01:13 +02:00
Franco Fichtner
c61ece51fe
interfaces: address stripping works, avoid destroy... #2661
...
... as it can cause reconfigure loops, at least with a faulty config.
2018-09-03 23:39:07 +02:00
Franco Fichtner
91ecc980bd
interfaces: display of prefix ID is wrong here; closes #2622
...
We still have the validation on save which is correct. While
here improve the help text.
2018-09-03 23:09:15 +02:00
Franco Fichtner
92fc44c365
interfaces: audit find_interface_ipv6() and callers
2018-09-03 22:44:52 +02:00
Ad Schellevis
18dcbcbd72
skip reading when firmware-product doesn't exist, avoids issues when running stand-alone for https://github.com/opnsense/ui_devtools/issues/3
2018-09-03 21:21:15 +02:00
Franco Fichtner
b6b3a5ad1d
interfaces: rework interface_bring_down() et al to do the right things
...
This function looks innocent enough but has potential to mess with the
wrong interfaces or do operations all over or just general code drift
that doesn't seem so nice nowadays.
Tested on static LAN with WAN track and dhcp4/6 over there. Also
survices a reboot which is good enough for a first commit. More testing
to come.
Also destroys 6rd/6to4 tunnel devices now although the scrubbing of
the interface should work after this rework. Just trying to stay
consistent with the configure functions which destroy the interface
on each configure run.
Copyright in file since 2015 when work started to remove the PHP module.
A multitude of improvemets followed ever after.
Related PR: https://github.com/opnsense/core/issues/2661
2018-09-03 17:10:53 +00:00