9420 Commits

Author SHA1 Message Date
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
Franco Fichtner
d24ef0f940 src: whitespace sweep 2018-09-03 08:37:29 +02:00
Franco Fichtner
2935f5689a importer: tweak previous, first pass
/dev/zfs/pool does not exist so we can do a "zfs/pool" input
in alignment with gmirror and graid inputs.  Move the probing
after zfs load to be able to unload again also.
2018-09-02 17:16:11 +02:00
Alexey Prokopchuk
1ca7c0081d Added probe and list for ZFS pools in opnsense-importer 2018-09-02 16:44:40 +02:00
Alexey Prokopchuk
e07927fbe2 Added probe for ZFS pool on partition 2018-09-02 16:44:40 +02:00
Franco Fichtner
a1a153946a interfaces: tweak previous, only set mtu when valid 2018-09-02 14:44:28 +02:00
Giulio Cervera
15acbad935 interfaces: get pfsync0 mtu from real interface
in some situation, like OpenStack, mtu is less then default (1500) and
it cause replication issue
we have noticed on a low used firewall with 2/3k State table size more
then 100k State table size on the backup server

copy mtu from real interface fix this issue
2018-09-02 14:36:38 +02:00
Franco Fichtner
25f9c31238 ui: static pages cache-safe stuff; closes #2367 2018-09-02 14:33:57 +02:00
Franco Fichtner
19871e054f ui: cache_safe() for MVC #2367 2018-09-02 13:48:52 +02:00
Franco Fichtner
08569103ce ui: funnel hash through firmware-product file #2367
Part one makes it possible to inject branding info from the Makefile
which is not fully complete yet but can always be finished.  The new
hash value can thus be used as a unqiue identifier for page resources
that may be subject to caching.  By using the git hash it allows us
to have this effect on test commits as well as earch working version
as we don't want to track the changes for each file but still get a
good amount of caching.
2018-09-02 09:43:52 +02:00