5111 Commits

Author SHA1 Message Date
Franco Fichtner
b3d1481797 gateways: pick up interface for manual route to far gateway; closes #880 2016-05-09 10:14:38 +02:00
Ad Schellevis
51531ca047 (legacy) interface subnet allow /31 https://github.com/opnsense/core/issues/934 2016-05-09 09:53:06 +02:00
Ad Schellevis
a8f5cf5087 (dashboard) remove some legacy files 2016-05-09 09:15:58 +02:00
Ad Schellevis
de1d8a1492 (dashboard, widget api) fix 82fd7db543 (commitcomment-17392735) 2016-05-09 08:42:45 +02:00
Franco Fichtner
ed5c0ddeff gateways: allow far gateway outside of interface subnet; closes #880 2016-05-08 19:43:12 +02:00
Franco Fichtner
d3ea781245 Merge pull request #931 from fabianfrz/translation
translation and some style
2016-05-08 18:53:32 +02:00
Fabian Franz
02910b5097 translation fixes by @fichtner 2016-05-08 18:46:09 +02:00
Franco Fichtner
06817d437b src: fix two typos 2016-05-08 17:24:15 +02:00
Franco Fichtner
62870e3886 system: do not unload cryptodev, it causes a panic when in use 2016-05-08 12:54:08 +02:00
Franco Fichtner
61192fce99 firewall: revive schedule option, we can kill by label
This makes a lot more sense, just embed the schedule into the label.
2016-05-08 12:47:55 +02:00
Fabian Franz
40ac776aac translation fix in OPNsense/CaptivePortal/vouchers.volt 2016-05-08 12:32:32 +02:00
Fabian Franz
d879cd9149 translation fix in interfaces_vlan_edit.php 2016-05-08 12:22:06 +02:00
Ad Schellevis
88a0b222ca (network insight) check if target table exists before fetching data 2016-05-08 09:49:29 +02:00
Franco Fichtner
0e916fb271 filter: this needs to go too 2016-05-07 18:43:10 +02:00
Franco Fichtner
5f14ec367a firewall: remove schedule expiry override
This is the default for pf(4), we don't need a kernel patch to
override this.
2016-05-07 18:38:10 +02:00
Franco Fichtner
726e4c05bc firewall: fix previous 2016-05-07 18:23:36 +02:00
Franco Fichtner
fffcede4e1 cron: migrate the time-based rules cron job to autocron
o Gets rid of cron save/flush in the filter reload path.
o Gets rid of cron job injection into config.
o Move configure_cron() to the rules edit where it can be
  flipped in case of schedule changes.

To be totally frank, a 15 minute hook to deploy a time
based system is hardly accurate.  But what worries me more
is that we still have this patch in the kernel, totally
unsure of what it actually does when we have a schedule-based
reload on top anyway:

0a19f81317
2016-05-07 18:13:26 +02:00
Fabian Franz
631de412f2 translation and some style 2016-05-07 18:05:00 +02:00
Franco Fichtner
7086992b22 filter: localise time_based_rules variable usage
Even though we take a hit for running through the filter rules
array again, it's the first step for sidestepping the need to
use the config to inject our cron job and flush the rules in
mid-reload...
2016-05-07 17:48:42 +02:00
Franco Fichtner
c43fcea649 firewall: remove command.txt magic; closes #525
o Synchronise the calls as there should be no drawback running
  in the background for a table flush.
o Locallise the after-filter hook to the two functions using it.
o Restrict the functionality to flush tables only.
o Remove some dead code along the way.
2016-05-07 17:35:18 +02:00
Ad Schellevis
82fd7db543 (dashboard, widgets) cleanup system_information.widget.php 2016-05-07 10:04:49 +02:00
Ad Schellevis
df53c50692 Merge pull request #930 from fabianfrz/translation
translation and coding style status_interfaces.php
2016-05-07 08:57:45 +02:00
Fabian Franz
587720a577 remove space in services_wol.php 2016-05-06 22:14:13 +02:00
Fabian Franz
6bfb694241 translation and coding style status_interfaces.php 2016-05-06 22:07:07 +02:00
Franco Fichtner
809625fd9e pkg: sync dependencies between extensions.ini and pkg deps 2016-05-06 09:27:25 +02:00
Franco Fichtner
dd66ab3cba rc: likely bug in pkg(8)
PR: https://github.com/freebsd/pkg/issues/1424
2016-05-06 09:12:57 +02:00
Franco Fichtner
cfd506adf4 rc: corrections for mfs handling 2016-05-06 08:25:51 +02:00
Franco Fichtner
f7f86de77b rc: code review on previous 2016-05-06 07:18:49 +02:00
Ad Schellevis
2734f2a0ae (dashboard, widgets) work in progress system_information.widget.php 2016-05-05 22:15:52 +02:00
Ad Schellevis
23619829de (dashboard, widgets) work in progress sys info widget backend 2016-05-05 18:06:38 +02:00
Franco Fichtner
b472a1283f rc: consistent naming makes sense; fix previous 2016-05-05 15:25:29 +02:00
Franco Fichtner
612e039b78 rc: persistent firmware cache dirs on MFS; closes #924
This adds the following directories to avoid problems with
smaller embedded systems that do not have enough RAM:

	/var/cache/opnsense-update
	/var/cache/pkg

This is particularly bad for Nano systems with enough RAM
as it may grind the flash storage, but since this is a
"luxury" problem with Nano the scope is limited to that.
It's either being able to upgrade the firmware for all or
not at all.

FWIW, firmware upgrades will have to move to persistent
storage as soon as we hit FreeBSD 11 for the simple fact
that we'll have to do partial upgrade stages for the ABI
jumps of the kernel / base system anyway and cannot expect
to fetch more packages after reboot.

Proper garbage collection exists in both tools that shall
avoid overloading the persistant storage.
2016-05-05 15:17:34 +02:00
Ad Schellevis
a40388b484 (dashboard, widgets) work in progress restructure system_information.widget.php (not finished yet) 2016-05-05 12:40:40 +02:00
Franco Fichtner
2aca9405df console: fix a crash report 2016-05-05 12:29:21 +02:00
Ad Schellevis
b7eb3c8b66 (reporting -> settings) wrong form target, closes https://github.com/opnsense/core/issues/925 2016-05-04 21:15:55 +02:00
Franco Fichtner
e5ec6a4f28 Merge pull request #924 from fabianfrz/translation2
translation and style fixes
2016-05-04 16:58:50 +02:00
Fabian Franz
619b089c1b translation and style fixes 2016-05-04 15:19:44 +02:00
Ad Schellevis
8a6fde9c36 & 2016-05-04 13:46:44 +02:00
Ad Schellevis
f286da8ea0 (dashboard) widget heading text alignment 2016-05-04 13:02:56 +02:00
Ad Schellevis
53c1001b5a (hasync) add dns resolver to sync, service restart not included, probably needs a seperate page at some point. closes https://github.com/opnsense/core/issues/923 2016-05-04 11:47:28 +02:00
Franco Fichtner
32c280519d csrf: time to make this mandatory 2016-05-04 11:37:45 +02:00
Ad Schellevis
18ad5dac74 (dashboard) html issue 2016-05-04 11:34:27 +02:00
Ad Schellevis
8a6f8559ce (dashboard, widgets) refactor wake_on_lan.widget.php 2016-05-04 11:30:41 +02:00
Ad Schellevis
686378d97b (dashboard, widgets) small style cleanups for legacy traffic graph 2016-05-04 11:11:17 +02:00
Ad Schellevis
e860003585 remove unused ipsec.js 2016-05-03 20:17:39 +02:00
Ad Schellevis
90a31b13da (dashboard, widgets) replace thermal_sensors.widget.php 2016-05-03 20:12:49 +02:00
Franco Fichtner
53f6dace75 www: remove old cache disable, only used twice and uneeded 2016-05-03 17:18:13 +02:00
Ad Schellevis
6097278e98 gettext() 2016-05-03 17:17:13 +02:00
Franco Fichtner
d218b225cc csrf: tighten csrf code paths a little
o restructure session open/close for better visibility
o remove potentially insecure "try again" button
o remove override for switching csrf off (defer)
2016-05-03 17:02:00 +02:00
Franco Fichtner
bef4c80115 system: zap unneeded nocsrf assignment 2016-05-03 17:00:17 +02:00