9670 Commits

Author SHA1 Message Date
Franco Fichtner
6fd1fd0d74 pkg: move rc to /etc/rc.opnsense; closes #2416
Move /usr/local/etc/rc to /etc/rc.opnsense in order to be able
to boot without /usr mounted.  Move the /boot files along with
it since they require the same type of /usr/local-escapting.

1. This needs further testing.  :)
2. Inspect rc script for commands depend on /usr tools

Our rc.shutdown stays where it is, if we can shutdown we should be
able to access it.  If not, it's not grabbed via /etc/rc.shutdown.
2018-10-27 22:12:04 +02:00
Franco Fichtner
e0dd995652 dhcp: small fixes found during review 2018-10-27 18:54:32 +02:00
Franco Fichtner
61e000bff4 dhcp: small cleanup, -1 was explained 2018-10-27 18:44:19 +02:00
Franco Fichtner
fd2cc9d4f8 dhcp: align is_radvd_enabled() and is_dhcpv6_server_enabled() 2018-10-27 18:36:52 +02:00
Fabian Franz
5b45dfa2ce core/monit: allow theme override for monit widget; closes #2852 2018-10-27 18:04:02 +02:00
Franco Fichtner
558ba5aa7f interfaces: annotate issue with static fe80::1:1 2018-10-27 18:00:54 +02:00
Ad Schellevis
bba9ef948f Monit, there's no description in service model, remove from query. for https://github.com/opnsense/core/issues/2851 2018-10-27 17:39:12 +02:00
Ad Schellevis
ee41c0fe25 Cron, remove non-existing field for https://github.com/opnsense/core/issues/2851 2018-10-27 17:36:16 +02:00
Ad Schellevis
d4b2f161e8 Firewall/outbound nat, Add destination networks, closes https://github.com/opnsense/core/issues/2837 2018-10-26 17:22:14 +02:00
Franco Fichtner
db4713c91c rc: 19.1 should do without these workarounds 2018-10-26 07:34:11 +02:00
Ad Schellevis
ad1e57711e Menu center selected item, legacy counterpart of 5d3a426409 2018-10-25 14:27:51 +02:00
Ad Schellevis
5d3a426409 MVC/Menu, when the menu doesn't fit our screen, the selected item can move outside visible range. As part of 2b94b6691a this feature was added before, but dropped when the rest of the fix was reverted. 2018-10-25 14:20:24 +02:00
Ad Schellevis
9be373ff75 Extend source address dropdown with specialnets, https://github.com/opnsense/core/issues/2837 2018-10-25 09:10:31 +02:00
Franco Fichtner
a53724edb6 system: try to force video mode in vt
It may help with installer in Hyper-V and enables font switching.
2018-10-24 22:23:51 +02:00
Ad Schellevis
303700ded0 DHCPv4/status, only map enabled interfaces, for https://github.com/opnsense/core/issues/2831 2018-10-24 18:25:17 +02:00
Franco Fichtner
f8802477c3 firewall: annotate fix for IPv6 :0 comment 2018-10-24 15:39:10 +02:00
Franco Fichtner
b4539821f6 interfaces: unused variable 2018-10-24 12:57:11 +02:00
Franco Fichtner
eada2bf5a1 interfaces: override link-local tracking router address if needed
PR: https://forum.opnsense.org/index.php?topic=10034.0
2018-10-24 09:23:13 +00:00
Thomas Bandixen
8c83f70f1f Correction for the "move to end" function 2018-10-23 13:36:38 +02:00
Thomas Bandixen
c5a38e78f4 Corrected the buttons order 2018-10-23 13:36:38 +02:00
Thomas Bandixen
37ed64761a Upper and lower case corrections 2018-10-23 13:36:38 +02:00
Frank Brendel
021a1787a0 monit: change status page look-and-feel 2018-10-23 12:47:37 +02:00
Franco Fichtner
e682d77bb0 firmware: we modify these too 2018-10-23 09:52:32 +02:00
Franco Fichtner
f1d08a9205 interfaces: annotate review issue by @adschellevis 2018-10-23 08:39:33 +02:00
Franco Fichtner
57374621c7 firewall: repair log widget #2747
The initial design of the options could have been better.  Too
much smarts for little benefit.  Break "All" interface option
while here, we shouldn't use a text that could be an interface.

Also, remove the table widget layout fix since we have text-wrap.

But ironically enough Firefox doesn't care about text-wrap so
we are back to overflowing the container on long words.

It's still the same issue: too little space for displaying what
you want to display.  I'm not going to work on this anymore.
2018-10-23 07:58:27 +02:00
Franco Fichtner
4d16653fc5 firmware: ask only once via expansion
We only want to know if there is anything at all and "" + "" is still "".
2018-10-23 06:14:37 +02:00
Franco Fichtner
d79950def9 interfaces: cleanups 2018-10-23 05:48:25 +02:00
Franco Fichtner
352428ba5c system: zap unused argument in get_configured_ip_aliases_list() 2018-10-22 20:10:09 +02:00
Franco Fichtner
e01d6c7f86 firmware: unify temp file handling in health audit 2018-10-22 16:22:30 +02:00
Franco Fichtner
e23a63699b firmware: finish mtree for base/kernel 2018-10-22 13:53:50 +02:00
Franco Fichtner
702f9af71f openvpn: yes, this script is useful
But maybe it should be optional rather than mandatory /
with convoluted logic to figure out what to do.
2018-10-22 11:27:07 +02:00
Franco Fichtner
be0cdeb690 rc: improvements in FreeBSD startup scripting; closes #2569
* Use rcorder to correctly order the startup sequence, which
  will avoid further workarounds in plugins.
* Defer the execution of /etc/rc.d/ipfw due to bug #2569,
  while also removing the previous non-functional workaround.
2018-10-22 08:48:36 +00:00
Franco Fichtner
389b9d4839 firmware: use named arguments in check script 2018-10-22 09:06:03 +02:00
Franco Fichtner
d6405e9472 interfaces: simplify for #2822 2018-10-21 17:37:24 +02:00
Franco Fichtner
fc3ec19877 interfaces: try not to leak the wrong DNS servers to clients #2822 2018-10-21 17:25:50 +02:00
Franco Fichtner
020454f32e system: syslog-ng version changes 2018-10-19 09:56:36 +00:00
Franco Fichtner
8f6c2bc881 src: whitespace and style sweep 2018-10-19 07:03:39 +00:00
zvs44
c73c4c5f96 Added a connect action in order to allow a user through the portal without actual authentication (#2823) 2018-10-19 08:58:14 +02:00
Ad Schellevis
1ddbb3bdbb Auth/LDAP, always add user DN to getLastAuthProperties() and optionally extend with properties available for the user, which might help ease debugging 2018-10-18 08:18:51 +02:00
Ad Schellevis
91fac36390 don't move lines before coffee.... 2018-10-18 08:12:57 +02:00
Ad Schellevis
7a675d9b85 Revert "final tweak on config.xml issue"
This reverts commit 53c92f52f28e476ebb4a9594dc4f3b861a56dc1b.
2018-10-18 08:10:36 +02:00
Ad Schellevis
53c92f52f2 final tweak on config.xml issue 2018-10-18 08:04:05 +02:00
Ad Schellevis
e5b4f4ea78 rework previous 2018-10-17 22:56:49 +02:00
Ad Schellevis
236ce426a2 Config.php, fix https://github.com/opnsense/core/commit/2d360a391b
when isArraySequential() input is empty or a single item using key "0", return true to mimic the privious behaviour
2018-10-17 22:48:59 +02:00
Franco Fichtner
2d5d392bc2 unbound: set up a full chroot including local log socket #2791 2018-10-17 17:23:45 +00:00
Ad Schellevis
e720c570d9 on link down, don't try to remove carp addresses, for https://github.com/opnsense/core/issues/2780 2018-10-17 18:53:39 +02:00
Franco Fichtner
e99ae7ad17 ipsec: bring back service widget lost via 504c947bb7e9 in 2016
PR: https://github.com/opnsense/docs/pull/54
2018-10-16 22:08:58 +02:00
Ad Schellevis
4012d98de2 OpenVPN export, work in progress for https://github.com/opnsense/core/issues/2787
* add ui logic for certificate selection
* add local_port
* extend model, which should be used to remember the previous selection and conveniently adds form validation features
* add validatePresetsAction() and storePresetsAction() which can be used to store and validate presets, used in downloadAction() action to persist choices
* gather needed data to generate client config in downloadAction(), todo: add certificate content
2018-10-16 20:44:34 +02:00
Franco Fichtner
bbbdef2b51 pkg: new stuff! 2018-10-15 18:29:12 +02:00
Ad Schellevis
ba645c25a6 OpenVPN export, work in progress for https://github.com/opnsense/core/issues/2787
* Add factory class to request export template types
* Add some test code to show/hide options depending on supported functions
* Use our normal form type to construct the UI
* Use stored ip/hostname when available or determine target based on ip address, the previous hostname resolution type will be replaced.
* List configured templates using /api/openvpn/export/templates/
2018-10-15 18:22:13 +02:00