7238 Commits

Author SHA1 Message Date
Ad Schellevis
df3e42b2d8 vlan, rename interface on create 2017-06-09 11:26:38 +02:00
Ad Schellevis
cf3dbedfa9 interfaces.lib.inc, legacy_interface_create, add optional name parameter 2017-06-09 11:25:54 +02:00
Ad Schellevis
c2a45931dd fix errors in interface_vlan_configure(), leading to :
OPNsense opnsense: /interfaces_vlan_edit.php: The command `/sbin/ifconfig 'em2_vlan1' vlandev 'em2' vlan '1' vlanpcp '0'' failed to execute
OPNsense opnsense: /interfaces_vlan_edit.php: The command '/usr/sbin/ngctl name 'vlan1': 'em2_vlan2'' returned exit code '71', the output was 'ngctl: send msg: No such file or directory'

interface_bring_down() doesn't use a real interface name as call argument, mwexecf('/usr/sbin/ngctl name %s: %s', array($tmpvlanif, $vlanif)) isn't used by my knowledge.
2017-06-09 10:57:29 +02:00
Ad Schellevis
dcbbcf8987 netflow, when Destinations are provided, skip config. 2017-06-09 09:35:30 +02:00
Franco Fichtner
5f1f9caebe wizard: similar cleanups for system wizard 2017-06-09 08:23:36 +02:00
Franco Fichtner
965b6eba53 wizard: improve previous 2017-06-09 08:21:29 +02:00
Franco Fichtner
8a0e3bc702 wizard: remove html from description strings 2017-06-09 08:10:51 +02:00
Franco Fichtner
440e6b5bff yslog remote dns for #1491 2017-06-08 15:48:34 +02:00
Franco Fichtner
7e8c095776 dnsmasq: use canned --bogus-priv for no_private_reverse #1573 2017-06-07 17:08:04 +02:00
Franco Fichtner
6669109023 dns: fix previous #1491 2017-06-07 16:53:36 +02:00
Franco Fichtner
62bb0ae8cc dns: rework log files, split ACLs #1491 2017-06-07 16:49:21 +02:00
Franco Fichtner
a7825a608e menu: fix spurious search hit for "workAround" 2017-06-07 16:31:43 +02:00
Davide `rainbow` Gerhard
51b6f4dfc0 add local-zone typetransparent for ptr zone; closes #1673 2017-06-07 16:09:25 +02:00
Franco Fichtner
9398670ad2 unbound: use resolver w/ dnssec as default for 17.7 2017-06-07 16:04:47 +02:00
Ad Schellevis
d5ceec2a4d firewall_rules, keep category selection when changing tabs. closes https://github.com/opnsense/core/issues/1592 2017-06-06 21:02:05 +02:00
Ad Schellevis
e660269e00 guiconfig.inc, add class to top_tab so we can find them easier, for https://github.com/opnsense/core/issues/1592 2017-06-06 20:59:30 +02:00
Ad Schellevis
09d2dea78c filter, keep reply-to selection the same as it was 2017-05-31 18:35:41 +02:00
Ad Schellevis
b296b95614 rework reply-to tag, disablereplyto at wrong location + missing in bogons 2017-05-31 18:34:30 +02:00
Ad Schellevis
9f31b9d523 filter.inc, ignore scrub rule if none of the interfaces is found. 2017-05-31 18:19:21 +02:00
Franco Fichtner
9b957e31d6 gateways: several changes
* Plug gateway fixup "feature" into filter_configure_sync(), the
  only point where it should matter as everything else is GUI
  trigger-happy disruption.

* Discourage the use of the "feature" by moving it into the firewall
  advanced settings, adding a deprecated note.

* Use the new system_default_route() call to avoid code drift.
2017-05-31 09:33:21 +02:00
Franco Fichtner
67c9c5d62b gateways: rework fixup logic some more
As a side-note, IPv6 gateway switching is really discouraged,
especially with auto-address configuration techniques...

Discussed with: @adschellevis
2017-05-31 09:03:36 +02:00
Franco Fichtner
95dd6ca9e1 system: avoid far gateway usage in IPv6 #1665 2017-05-31 09:02:49 +02:00
Franco Fichtner
59e2e5270c system: fix typos in previous #1665 2017-05-31 08:43:33 +02:00
Franco Fichtner
ed3fb99710 system: add system_default_route() #1665 2017-05-31 08:30:22 +02:00
Franco Fichtner
a21ca5429b system: configure all host routes through system_host_route() 2017-05-31 08:07:07 +02:00
Franco Fichtner
611d9722d4 system: add system_host_route(), later we also want system_default_route() 2017-05-31 07:47:09 +02:00
Franco Fichtner
2a2bca919b system: mute resetting routes, they can error if not there 2017-05-31 07:23:56 +02:00
Ad Schellevis
b27abd7d74 filter, add "reply-to" to plugin model, disabled by default for bootstrapped rules. needs gateway/gatewayv6 registered in filter.inc before it can actually function. 2017-05-30 21:50:57 +02:00
Ad Schellevis
e3d6b13981 filter plugin, work in progress. add systemDefaults to plugin and add disablereplyto tag in there, so we can set this tag globally without having to link the config in the filter parsing logic.
This shouldn't hurt our current deployment, it's needed to add "reply-to" parsing in the rule class.
2017-05-30 21:21:05 +02:00
Ad Schellevis
a206e8f6de missed the pfctl counters in www/widgets/api/plugins/interfaces.inc, for https://github.com/opnsense/core/issues/1662 2017-05-29 10:37:16 +02:00
Ad Schellevis
89a81f3ea6 regression, missing ipv4 address in get_interfaces_info(), for https://github.com/opnsense/core/issues/1662 2017-05-29 10:32:14 +02:00
Franco Fichtner
9bb3dd61a6 interfaces: proper tunnel status for GIF #1662 2017-05-29 09:57:05 +02:00
Ad Schellevis
932a086ea7 vmstat, better handling of irq counters, for https://github.com/opnsense/core/issues/1662 2017-05-29 09:45:49 +02:00
Ad Schellevis
f15eb3b203 get_interfaces_info() only overwrite status code when reported status in 'active','running' for https://github.com/opnsense/core/issues/1662 2017-05-29 08:55:40 +02:00
Franco Fichtner
f7cf3c90ed src: whitespace sweep 2017-05-29 08:35:50 +02:00
Franco Fichtner
a7134a01d3 rc: spacing in previous 2017-05-29 08:16:20 +02:00
Franco Fichtner
335b591dae rc: advertise live mode just above the login prompt 2017-05-29 08:04:14 +02:00
Franco Fichtner
be35490de1 pkg: fix plist 2017-05-28 19:36:17 +02:00
Ad Schellevis
3b3ebbbec2 another blob of madness in status_interfaces.php, for https://github.com/opnsense/core/issues/1662 2017-05-28 14:30:21 +02:00
Ad Schellevis
17a9a26398 interfaces, refactor and rename get_interface_info() to remove most of the performance bottlenecks. for https://github.com/opnsense/core/issues/1662 2017-05-28 13:45:44 +02:00
Ad Schellevis
de5ff59ff3 interfaces.lib.inc, extend ifconfig parsing in legacy_interfaces_details(), for https://github.com/opnsense/core/issues/1662 2017-05-28 12:12:21 +02:00
Franco Fichtner
d86dcd438d pkg: fix plist 2017-05-28 12:03:26 +02:00
Ad Schellevis
6d2fa2b145 add missing file, https://github.com/opnsense/core/issues/1662 2017-05-28 11:46:39 +02:00
Ad Schellevis
6401d20ec8 step one, cleaning up get_interface_info(), move pfctl calls to configd. for https://github.com/opnsense/core/issues/1662 2017-05-27 18:13:47 +02:00
Ad Schellevis
b6e4e56e0c more performance issues, for https://github.com/opnsense/core/issues/1662 2017-05-27 17:14:40 +02:00
Ad Schellevis
761ccab29c is_interface_mismatch() add tinc interfaces to skip list 2017-05-27 16:31:46 +02:00
Ad Schellevis
24c62ed5b3 call overhead in interfaces_assign.php for https://github.com/opnsense/core/issues/1662 2017-05-27 16:28:11 +02:00
Ad Schellevis
c14db1a39c lower call overhead in get_interface_list(), for https://github.com/opnsense/core/issues/1662 2017-05-27 16:26:52 +02:00
Ad Schellevis
9bba2092ee Replace get_configured_ip_addresses() and get_configured_ipv6_addresses() with a more pragmatic approach, both are used to detect if an address is already configured, which gets quite sloppy when having a large number of interface
s configured.

This change probes all configured interfaces at once, and returns the full list, stripping quite some magic in the process.

Because the indexing is changed, we need to change the consumers as well here.
2017-05-26 19:49:05 +02:00
Franco Fichtner
bb80ad0296 dyndns: add URL with good info, small typo 2017-05-26 08:08:41 +02:00