Franco Fichtner
7b2b072449
system: upper half for #2876
2018-11-17 14:46:27 +01:00
Franco Fichtner
3831ea06a0
ui: remove markup from user indicator; closes #2844
2018-11-17 14:25:03 +01:00
Franco Fichtner
c84409cc11
pkg: fix plist
2018-11-17 09:35:29 +01:00
Northguy
4f6a3d108a
Fix small typo
...
Unbund -> Unbound
2018-11-17 09:32:30 +01:00
Ad Schellevis
b6797d4e71
session/login, don't close session to avoid duplicate cookies being send. closes https://github.com/opnsense/core/issues/2900
2018-11-17 01:19:18 +01:00
Ad Schellevis
ca5f295987
Monit, add carp_status_change service to standard services list. for https://github.com/opnsense/core/issues/2919
...
Work in progress, we should add something similar for gateway switches.
2018-11-17 00:50:58 +01:00
Ad Schellevis
0df243422b
another take on Config->isArraySequential(), for https://github.com/opnsense/core/issues/2911
...
Should be more like the original approach now, performance seems to equal the previous take.
2018-11-16 22:38:10 +01:00
Franco Fichtner
1e5f236722
www: reformat headers with recent changes
...
We want an unified format for all pages eventually... :)
2018-11-16 07:55:46 +01:00
Franco Fichtner
8d3ee65455
ipsec: remove comment, checking subnet is sane; reformat
2018-11-16 07:50:50 +01:00
Franco Fichtner
895605846a
system: remove service control from gateway edit pages for clarity
...
We can only start / stop all, not selective gateways during edit
or even gateway groups.
2018-11-16 07:47:53 +01:00
Franco Fichtner
3d3619bc62
mvc: reformat header
2018-11-16 07:45:15 +01:00
Franco Fichtner
1fd06cf50b
pkg: fix plist
2018-11-16 07:21:22 +01:00
Ad Schellevis
862d6a86d6
Monit: add carp status script for https://github.com/opnsense/core/issues/2919
...
Communicates the general carp status:
- if any of the interfaces is in backup mode, the result will be backup (exit 1)
- if all carp enabled interfaces are master, return master (exit 0)
- all other scenario's return list of found statuses and exit -1
2018-11-16 04:00:41 +01:00
Ad Schellevis
f7f814498a
interfaces.lib.inc, add carp info to legacy_interfaces_details(), eases https://github.com/opnsense/core/issues/2919
2018-11-16 03:49:43 +01:00
Fabian Franz BSc
14323dd7c8
www/nginx: adjust some core scripts to make it compatible with exteral JS ( #2845 )
2018-11-15 17:55:45 -08:00
Franco Fichtner
806635f01e
system: similar fix for SCP
2018-11-15 09:31:45 +01:00
Franco Fichtner
5294e17eb5
system: validation messages for constraints go into the check
2018-11-15 09:27:47 +01:00
Franco Fichtner
c05a567500
system: "communication failure" is confusing
2018-11-15 09:13:46 +01:00
Franco Fichtner
8ca654f89c
system: disable help click when disabled in backup fields
2018-11-15 09:06:37 +01:00
Ad Schellevis
f161674426
PortField disable wellknown ports by default, add switch. closes https://github.com/opnsense/core/issues/2916
2018-11-15 00:19:28 +01:00
Ad Schellevis
9349cffb24
PortField, mixed types seem to invalidate the validator.... for https://github.com/opnsense/core/issues/2916
2018-11-14 23:59:21 +01:00
Ad Schellevis
1c683e68ca
simplify https://github.com/opnsense/core/pull/2917 a bit
2018-11-14 22:50:44 +01:00
Michael Steenbeek
f7abc6269d
Add JetBrains project files to gitignore
2018-11-13 18:30:22 +01:00
Frank Brendel
d7f25351b2
monit: add quotes and timeout to custom program path
2018-11-13 15:42:55 +01:00
Franco Fichtner
9634dc64fc
shell: make banner foreach a little more straight-forward
2018-11-13 11:19:45 +01:00
Franco Fichtner
2601f23b74
Revert "firewall: CGN seems to be valid... for discussion"
...
This reverts commit fba9b8ab2ee1d42edb36e2706c4c50abbc14e811.
Handling CGN as private is the lesser of two evils. We could
always make the help text more clear.
2018-11-13 10:55:00 +01:00
Franco Fichtner
58c2161b75
openvpn: remove get_interface_subnet() usage
2018-11-13 10:42:59 +01:00
Franco Fichtner
bc773aa2a8
dhcp: convert last offender of get_interface_subnet()
2018-11-13 10:04:57 +01:00
Franco Fichtner
098ffc4f96
dhcp: change IPv4 relay to find_interface_network()
2018-11-13 09:48:37 +01:00
Franco Fichtner
af5f90c6de
dhcp: remove get_interface_subnet() usage
2018-11-13 09:42:29 +01:00
Frank Brendel
2ecf5cb038
monit: add SSL options to mail server connection ( #2906 )
2018-11-13 09:27:22 +01:00
Franco Fichtner
2fcb815416
interfaces: delete unused
2018-11-12 17:50:35 +01:00
Franco Fichtner
4f721fc0f2
dhcp: more conversion
2018-11-12 17:49:46 +01:00
Franco Fichtner
d4bd722337
ipsec: bottom part of rework
2018-11-12 17:32:12 +01:00
Franco Fichtner
c43bdb4b34
firewall: VIPs the new way
2018-11-12 17:23:11 +01:00
Franco Fichtner
4be746a5cc
system: convert gateways to new functions
2018-11-12 16:53:00 +01:00
Franco Fichtner
821029264c
ipsec: find_interface_network*() use
...
It's unclear if this validation is still required. Make it
more IPv6-safe by flip-flopping over the tunnel mode.
2018-11-12 16:32:13 +01:00
Franco Fichtner
e0cea5ebc2
dhcp: IPv6 relay uses find_interface_networkv6()
2018-11-12 16:10:44 +01:00
Franco Fichtner
d839c8c894
dhcp: try to break IPv6 by replacing get_interface_subnetv6()
2018-11-12 15:48:06 +01:00
Franco Fichtner
ed859675c5
interfaces: flatten get_interface_ip*() code
2018-11-12 15:15:24 +01:00
Franco Fichtner
62b4c633ed
reporting: switch traffic graph top view to new function
2018-11-12 14:59:02 +01:00
Franco Fichtner
01846ab2bb
shell: use new network functions in banner
2018-11-12 14:58:23 +01:00
Franco Fichtner
6172beb8f4
src: useless globals
2018-11-12 14:44:44 +01:00
Franco Fichtner
df05b3e158
interfaces: add find_interface_network*()
...
* New functions to avoid doing the same things over and over
and also to avoid calling stuff twice.
* Flip logic for less indent in related functions.
2018-11-12 14:15:32 +01:00
Franco Fichtner
dcd9c93c88
interfaces: trust find_interface_ip*() output if it's not null
...
Higher layers already do this and the parsing is robust enough
unless the system is totally out of whack (ifconfig returning
nonsense).
2018-11-12 14:15:32 +01:00
Franco Fichtner
b9e8a4e6df
interfaces: find_interfaces_ip*() uses $realif
2018-11-12 14:15:32 +01:00
Franco Fichtner
d9dbb7c0b1
interfaces: time to remove training wheels
...
* Kill $exists and does_interface_exist() checks
* Kill trim() usage
2018-11-12 14:15:32 +01:00
Michael Steenbeek
77d628fc4e
Clean up array usage in interfaces.php
2018-11-12 13:30:51 +01:00
Michael Steenbeek
a907e9101f
Fix old-style constructor in PEAR.inc
...
Since PHP5, __construct() is preferred. As of PHP7, the old PHP4 style constructor is deprecated.
There are also a dozen occurrences in contrib, but I assume those are supposed to be fixed upstream.
2018-11-12 13:09:44 +01:00
Franco Fichtner
07da679525
interfaces: repair link-local read, use it directly
2018-11-12 12:16:56 +01:00