7224 Commits

Author SHA1 Message Date
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
Franco Fichtner
12810d9440 dynamic dns: add oray and 3322, cluster response parsing from same service backend 2017-05-26 08:02:22 +02:00
Franco Fichtner
93d68f77d7 rc: not as bad as first thought, rc.recover runs without backend 2017-05-25 12:23:36 +02:00
Franco Fichtner
c998907e40 mvc: feedback from @adschellevis, and fully skip elements without groupKey 2017-05-24 20:45:42 +02:00
Franco Fichtner
ed66e8728d rc: properly create php template on first boot
rc.recover doesn't work like that then, need to move to /bin/sh.

PR: https://forum.opnsense.org/index.php?topic=5213.0
2017-05-24 20:28:46 +02:00
Franco Fichtner
fe571ac442 mvc: group relation to something other than uuid if needed 2017-05-24 18:42:47 +02:00
Ad Schellevis
091b075476 mvc, model. Validation issue when storing a value for the first time.
If a field isn't required and the user sets it with a faulty value, it would pass because it didn't know it wasn't set before user input.
There where two issues, first one, not knowing it was in init state (solved with internalFieldLoaded), next all field types should have used actionPostLoadingEvent to customize loading behaviour.
2017-05-23 18:17:40 +02:00
Michael
f039e9211d Added help for setting up a backup machine 2017-05-22 12:05:04 +02:00
Franco Fichtner
e79d58d033 rc: yeah, that is true, but not helpful :) 2017-05-22 10:34:09 +02:00
Franco Fichtner
edefc9511f rc: softcode console restore option on -devel for now 2017-05-22 10:31:15 +02:00
Franco Fichtner
fb489a3388 rc: delete this script, rather rewrite it from scratch
There are UX issues with this anyway and the missing license
worries me too.
2017-05-22 10:27:14 +02:00
Franco Fichtner
d640192e30 rc: root console tidy-up
Adjust tabs to spaces, copyright headers and add missing one from
restore script as per:

https://github.com/pfsense/pfsense/commit/7d7ce752
2017-05-21 11:21:46 +02:00
Franco Fichtner
d63d59af90 inc: reformat the headers 2017-05-21 11:02:59 +02:00
Franco Fichtner
a039ad4db4 ipsec: fix widget count after 5.5.2 update 2017-05-19 16:19:24 +02:00
Franco Fichtner
0e9b8f1668 system: improve ssh key newline write; closes #1648 2017-05-18 20:35:59 +02:00