9454 Commits

Author SHA1 Message Date
Franco Fichtner
7b0d16ec54 src: why not get rid of get_possible_listen_ips()
Kill what we can already.  Only one plugin uses it (obsolete SNMP).
2018-09-16 15:14:04 +02:00
Franco Fichtner
18c3d97ef2 unbound: always bind to loopback
get_possible_listen_ips() should go away and Dnsmasq already
does the right thing so let Unbound follow.

While here get rid of writing empty values into the config
and even offering them on the GUI...
2018-09-16 15:14:04 +02:00
Franco Fichtner
03ba75f5c0 git: ignore wpad.dat 2018-09-16 14:27:53 +02:00
Franco Fichtner
494bebcde1 www: relevant function moved elsewhere 2018-09-16 14:19:49 +02:00
Franco Fichtner
47baf6b122 make: replace all the things! 2018-09-16 13:09:57 +02:00
Franco Fichtner
866ff2ba92 src: allow login/error page to use cache_safe()
Now that we don't have version leakage we can extend the use
to the login page without risk (except that people know it's
at least the version that feature was introduced in).
2018-09-16 12:25:38 +02:00
Franco Fichtner
4178038bed src: cache_safe() uses part of MD5 of modified time
Suggested by: @fabianfrz
2018-09-16 12:14:16 +02:00
Franco Fichtner
b0d67d702a src: typo in cache_safe additions 2018-09-16 11:57:39 +02:00
Franco Fichtner
574bd308be src: remove trailing dot workaround by removing trailing dots 2018-09-16 11:44:13 +02:00
Franco Fichtner
27b3ba0441 src: additional cache_safe() usage 2018-09-16 11:36:29 +02:00
Franco Fichtner
82d57c022c shell: mark iteration variable unused 2018-09-15 10:33:09 +02:00
Franco Fichtner
d54f50a6f4 dhcp: kill lease actions if interface is not there 2018-09-14 08:18:59 +02:00
Andy Binder
fdf27ddd30 Update status_openvpn.php
Change order of Client-Instance-Table-Headers to match P2P-Table-Header order
2018-09-13 09:33:36 +02:00
Franco Fichtner
c1c27c3f61 ipsec: reverse ordering #1852 2018-09-13 07:05:44 +00:00
Franco Fichtner
36cde519cd ipsec: multiple phase 1 dh groups #1852 2018-09-12 19:09:02 +02:00
Franco Fichtner
844aa19112 ipsec: make hash selection selectpicker in both phases #1852 2018-09-12 15:35:19 +00:00
Franco Fichtner
037a92f2ca ipsec: multiple hash algos in phase 1 #1852 2018-09-12 15:11:34 +00:00
Michael
3e4d4b2b7c Update vpn_ipsec_phase1.php 2018-09-12 15:57:29 +02:00
Franco Fichtner
1418e7a8da src: more $config access avoidance 2018-09-12 09:00:00 +02:00
Franco Fichtner
21d3ff051f system: iterate over gateways without $config access
Positive side-effect is we don't have to sanity-check access
anymore.
2018-09-12 08:59:26 +02:00
Franco Fichtner
baa43590d7 src: remove get_configured_interface_with_descr()'s $withdisabled 2018-09-11 22:16:31 +02:00
Franco Fichtner
a35b40a4a7 src: remove unused $only_opt 2018-09-11 21:52:34 +02:00
Franco Fichtner
8c00114edc src: removal of get_configured_interface_list() 2/2 2018-09-11 21:30:53 +02:00
Franco Fichtner
7c853d62a9 src: get rid of get_configured_interface_list() 1/2 2018-09-11 21:14:53 +02:00
Franco Fichtner
6d5444f95b src: unused/spurious $config spots 2018-09-11 20:37:30 +02:00
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