11312 Commits

Author SHA1 Message Date
Franco Fichtner
8a73ea0af2 interfaces: part two (actual fix) (actual fix) 2019-09-16 15:56:43 +02:00
Franco Fichtner
01cdf46908 interfaces: packet capture switcheroo
PR: https://forum.opnsense.org/index.php?topic=13897.0
2019-09-16 15:44:18 +02:00
Franco Fichtner
ffd506037a src: minor style updates in diff vs. stable/19.7 2019-09-14 07:41:52 +02:00
Franco Fichtner
e637e76ec6 plist: fix 2019-09-13 14:20:44 +02:00
Ad Schellevis
6b542e91d0 Merge branch 'ppmathis-feature/ipsec-pubkey-auth' 2019-09-13 14:18:35 +02:00
Ad Schellevis
013e802abf IPSec public key authentication, fix background on /ui/ipsec/key-pairs 2019-09-13 14:17:33 +02:00
Ad Schellevis
0038128f9a Merge branch 'feature/ipsec-pubkey-auth' of https://github.com/ppmathis/opnsense-core into ppmathis-feature/ipsec-pubkey-auth 2019-09-13 13:28:54 +02:00
Ad Schellevis
2a72b99a9d Captive portal, regression in merging b54f3d2cc4
ref https://forum.opnsense.org/index.php?topic=14186
2019-09-12 20:37:59 +02:00
Thomas Jensen
42e2dcd20e Update opnsense.xml (#3699) 2019-09-07 09:34:00 +02:00
Ad Schellevis
9c8833134a Revert "jQuery, upgrade to 3.4.1, keep 3.2.1 on disk for older third party plugins and disable jquery-migrations while herre."
-- seems to be for later, dashboard dies with "Uncaught TypeError: e.indexOf is not a function .... "

This reverts commit 244b70b77193f9c4d5f2912ca3c3cccf65f49d55.
2019-09-06 14:23:09 +02:00
Ad Schellevis
244b70b771 jQuery, upgrade to 3.4.1, keep 3.2.1 on disk for older third party plugins and disable jquery-migrations while herre. 2019-09-06 14:20:56 +02:00
Franco Fichtner
c668ae42ca src: style sweep 2019-09-06 09:26:09 +02:00
Ad Schellevis
3ef14d17e3 Alias, when geoip alias name is the same as it's country, it won't fetch contents, since the name matches an existing alias. 2019-09-05 12:49:40 +02:00
Franco Fichtner
813bb55533 src: whitespace sweep 2019-09-05 09:51:20 +02:00
Franco Fichtner
1282ac33c5 menu: hide helper entry 2019-09-05 09:00:53 +02:00
Ad Schellevis
4b55adf484
Update bug_report.md 2019-09-03 08:46:54 +02:00
Ad Schellevis
3a5862c7ae
Update bug_report.md 2019-09-03 08:43:17 +02:00
Pascal Mathis
8227a0cbca
ipsec: Move menu and ACL entries into MVC code
This commit moves all menu and ACL entries from the legacy code of the
IPsec subsystem into the new MVC codebase. Additionally, a small bug in
the current master of OPNsense has been fixed, where the ACL
"page-status-systemlogs-ppp" has been mistakenly labeled as "IPsec VPN"
instead of "PPP".

Signed-off-by: Pascal Mathis <mail@pascalmathis.com>
2019-09-01 16:59:09 +02:00
Ad Schellevis
74c2ac9a20 syslog, fix legacy remote logging. closes https://github.com/opnsense/core/issues/3682 2019-09-01 11:02:00 +02:00
Pascal Mathis
5d9183aa13
ipsec: Add support for public key authentication
The current IPsec plugin implementation does not support public key
authentication, which allows for a more secure mutual authentication
than PSK while still not introducing the complexity of X509
certificates.  The authentication can easily be set up by generating a
bare RSA keypair chain on both machines, followed by exchanging the
public keys between the two peers.

This commit introduces public key authentication functionality by adding
a new authentication method to phase 1 configuration called "Mutual
Public Key" and adding a menu entry "Key Pairs", which allows adding
public keys + optional private keys. It was successfully tested against
a Linux virtual machine running Strongswan 5 and the entered RSA keys
are automatically verified for correctness.

Useful commands for generating a bare RSA keypair:
$ ipsec pki --gen --type rsa --outform pem --size 4096 > private.pem
$ ipsec pki --pub --outform pem --in private.pem > public.pem

Signed-off-by: Pascal Mathis <mail@pascalmathis.com>
2019-08-31 23:31:49 +02:00
Ad Schellevis
ae5692b477 filter/alias, missing refresh on geoip type closes https://github.com/opnsense/core/pull/3685 2019-08-31 14:51:44 +02:00
Ad Schellevis
2982424232 interfaces, only trigger newwanip event for affected interfaces 2019-08-30 15:09:06 +02:00
Ad Schellevis
2d73c2cba5 plugins_configure, log actions 2019-08-30 14:58:05 +02:00
Ad Schellevis
bd988894a5 ditch links ref eff129c820 (commitcomment-34882067) 2019-08-29 15:24:39 +02:00
Ad Schellevis
eff129c820 diag_dns.php it seems like a good time to delete non functional links here, since private.dnsstuff.com isn't active. closes https://github.com/opnsense/core/pull/3677 2019-08-29 09:54:06 +02:00
Franco Fichtner
79732b440e system: this is the right fix for #3676 ;) 2019-08-29 08:17:22 +02:00
Franco Fichtner
060f9edad7 system: fix translation order of tunables description; closes #3676 2019-08-29 08:08:56 +02:00
Franco Fichtner
fe11354c82 pkg: last minute build breakage ;) 2019-08-26 23:00:29 +02:00
Ad Schellevis
28cc0dc5f4 CARP, kill vague advskew legacy hook when starting in maintenance mode (virtualip_carp_maintenancemode), closes https://github.com/opnsense/core/issues/3671 2019-08-26 21:37:22 +02:00
Ad Schellevis
55ae9124c0 Firewall: partially revert https://github.com/opnsense/core/issues/3591 2019-08-23 18:00:26 +02:00
Northguy
ed785a6612 Cosmetic changes to Tunables section (#3665)
Moved to apply notice, as this is the place where it is logical to be notified you might need to reboot after applying a tuneable
2019-08-23 12:46:10 +02:00
Franco Fichtner
83b4b71cb7 opendns: small tweaks 2019-08-23 11:35:11 +02:00
Franco Fichtner
f84d990cfc pkg: fix plist 2019-08-22 16:21:46 +02:00
Ad Schellevis
a3a07327cb OpenDNS missing its own configure hooks (hidden in dyndns), move to core 2019-08-22 15:20:56 +02:00
gisforgirard
6bac85d66a Update head.inc (#3403)
more consistent html
2019-08-21 11:33:43 +02:00
Frank Brendel
8be6a03d94 monit: fix migration (#3661) 2019-08-21 11:17:18 +02:00
Ad Schellevis
5400903e0e IDS: minor ui improvement, change message not displayed after toggle or save 2019-08-21 11:10:03 +02:00
Ad Schellevis
3481c16af5 configctl: support using as event handler.
Syslog-NG has a convenient program output, which can be used to execute commands on receiving specific data on syslog. This commit adds functionality to configctl which should allow it to be used as a handler for this feature.

Something like the following should execute carp service events, with a latency of 0.5 seconds to prevent flooding the system.

destination ... {
  program("/usr/local/sbin/configctl -e -t 0.5 interface update carp service_status");
}
2019-08-20 18:22:05 +02:00
Ad Schellevis
36f3180937 configd: configd_ctl.py use argparse() to handle parameters 2019-08-20 16:28:53 +02:00
Ad Schellevis
1cf72c2fdf API auth, log api key when auth failed. 2019-08-19 10:54:28 +02:00
Frank Brendel
8afb87cc04 netflow: set active/inactive timeout (#3651) 2019-08-19 09:05:44 +02:00
Franco Fichtner
8b03486ade pkg: fix plist 2019-08-19 08:43:45 +02:00
Ad Schellevis
d3323a82f8
CARP: optionally promote/demote on service status (#3656)
CARP: optionally promote/demote on service status event handler.

This adds /usr/local/etc/rc.carp_service_status.d/ to register service check scripts, which on failure exit are considered blocking for normal service operation.

A service should emit the following on status change, which in response might lead to change of carp status:

configctl interface update carp service_status

The included early script assures an initial demotion value before interface setup.

ref  https://github.com/opnsense/core/issues/3636
2019-08-18 19:54:05 +02:00
opnsenseuser
090f94c04e Sidebar - bug fix; closes 3653
third party bug fix and source code improved
2019-08-18 06:21:13 +02:00
h-town
6c4b880705 Set absolute path to root.hints
root.hints file is located at /var/unbound not /

Current users may not be leveraging root.hints with unbound deployments.
2019-08-18 05:44:44 +02:00
Franco Fichtner
612cdd5118 src: style sweep 2019-08-18 04:56:48 +02:00
Ad Schellevis
d8ef93932b netflow: netflow aggregator, skip illegal flow records. https://forum.opnsense.org/index.php?topic=13711 2019-08-17 19:09:11 +02:00
Ad Schellevis
6ddff9e021 interfaces/vlan, don't show vlan interfaces in edit form, remove get_interface_list() usage and filter the relevant types here. closes https://github.com/opnsense/core/issues/3648 2019-08-16 12:13:35 +02:00
Ad Schellevis
4531ceea4d Flowd aggregator: python 3 exception doesn't have a "message" property, cast error to string and check for "malformed"
ref : https://forum.opnsense.org/index.php?topic=13711.0
2019-08-16 12:12:51 +02:00
Frank Brendel
41c31ee94b monit: add parent devices to interface list (#3643) 2019-08-13 10:01:37 +02:00