403 Commits

Author SHA1 Message Date
Franco Fichtner
797b0e64b8 src: migrate the version file to a new home
We now use /usr/local/opnsense/version/xxx as our version database.
Apart from the core package, opnsense-update(8) also puts its own
version information in there.  To stay somewhat consistent, the
version file should resemble the package name, even though that
looks strange in our case: /usr/local/opnsense/version/opnsense.
It's just that /usr/local/etc is too open and might clash with
other things in the future.
2015-03-02 09:08:44 +01:00
System Administrator
bd37d25d7e CP add extra rule for bug https://github.com/opnsense/core/issues/73 2015-03-02 04:51:03 +00:00
Franco Fichtner
f326c29757 rc: remove openssh base support
We don't have OpenSSH in base anymore so we can zap the fallback.
And since openssh-portable is a direct dependency of opnsense, we
can be pretty sure it'll be there.
2015-02-28 19:02:57 +01:00
Franco Fichtner
53b031e8cb certificates: lower the default lifetime to approximately 1 year
Discussed with: @deZillium (Twitter)
2015-02-28 08:14:49 +01:00
Franco Fichtner
78bdb9aef5 pkg: fix error on +PRE_DEINSTALL 2015-02-27 23:10:26 +01:00
Franco Fichtner
931efa6867 src: fix all the whitespaces! 2015-02-27 14:50:26 +01:00
Franco Fichtner
14b71e383c mvc: fix for nasty syntax error, whoops 2015-02-27 14:48:50 +01:00
Ad Schellevis
944798c437 Merge branch 'master' of gist.github.com:opnsense/core 2015-02-27 13:39:52 +00:00
Ad Schellevis
a6afaf2330 fixed typo in CP rule generation ( https://github.com/opnsense/core/issues/73 ) 2015-02-27 13:39:16 +00:00
Franco Fichtner
37a6e42e4f rc: better fix for bogons, checksums were missing #74 2015-02-27 14:39:10 +01:00
Ad Schellevis
66a9c2703d update rc.update_bogons (https://github.com/opnsense/core/issues/74) 2015-02-27 11:17:41 +00:00
Franco Fichtner
0f2443ee72 rc: there's always something else that breaks...
Just move to the actual rc script in the repo from our hook and
revert back to a simple mount inside that one.  Problem solved.
2015-02-26 15:49:15 +01:00
Franco Fichtner
f00447ed1e rc: fix unionfs stuck in read-only mode
Pondering whether this is a bug in the actual file system code...
2015-02-26 13:18:39 +01:00
Ad Schellevis
45f573e8b3 fix for https://github.com/opnsense/core/issues/69 2015-02-26 07:47:25 +00:00
Franco Fichtner
78eaeba0a4 make: the new auto-mount needs a full path 2015-02-25 22:01:37 +01:00
Ad Schellevis
4d177fb5c3 fix for https://github.com/opnsense/core/issues/41 2015-02-25 20:54:27 +00:00
Ad Schellevis
f39eae4237 fixed typo related to https://github.com/opnsense/core/issues/69 2015-02-25 19:53:04 +00:00
Franco Fichtner
02f96dacf8 pkg: pull in all files, contents and insert placeholders 2015-02-25 20:42:17 +01:00
Ad Schellevis
6229f0fa4f fix squid status reporting 2015-02-25 19:38:15 +00:00
Ad Schellevis
bf4987f550 force return status of squid status command to 0 ( <> 0 raises an exception ) 2015-02-25 19:31:52 +00:00
Ad Schellevis
8762e8bda9 some code for proxy feature, work in progress 2015-02-25 20:22:27 +01:00
Ad Schellevis
79e657ab64 add support for su into main shell menu system, needed for standard rc scripts 2015-02-25 18:54:07 +00:00
Jos Schellevis
bd3f5f3635 Set DNS Resolver Advanced defaults, fixes #62 2015-02-25 15:34:22 +00:00
Ad Schellevis
f7d4063ea4 remove reference to check_reload_status 2015-02-25 08:57:22 +01:00
Franco Fichtner
eaed16aeb3 pkg: move the automount to /etc/rc so that...
/usr/local/etc/rc is always the latest version.  Issue
popped up again since check_reload_status was replaced.
2015-02-25 08:12:12 +01:00
Franco Fichtner
3dd6db4a52 pkg: install via `install', and fix unknown version hiccup 2015-02-25 07:49:56 +01:00
Franco Fichtner
9833d24adf pkg: bring in package scripts to make their modification easier 2015-02-25 07:35:00 +01:00
Ad Schellevis
e6bc4237c5 add actual memory/disc/swap usage in dashboard, feature request https://github.com/opnsense/core/issues/66 2015-02-24 21:02:10 +00:00
Ad Schellevis
0c32626137 fix for https://github.com/opnsense/core/issues/65 2015-02-24 20:24:18 +00:00
Ad Schellevis
b6741f5ea3 add external links to menusystem 2015-02-24 19:22:18 +01:00
Ad Schellevis
19265d25e2 cleanup legacy code.
- remove the use for pfSctl, replaced with a new configd control script to be able to remove the check_reload_status port
- replace use of global $g['booting'] because some scripts use this outside the main loop which causes strange behavior ( for example dhcp client which starts a newwanip on connect ). replaced which check on file /var/run/booting which is set in rc script
2015-02-24 17:26:55 +00:00
Ad Schellevis
4ac7d4ec35 add replacement for pfSctl 2015-02-24 15:24:17 +01:00
Ad Schellevis
399914d7ad rename configd configuration file 2015-02-24 13:51:00 +01:00
Ad Schellevis
86058fb84c rename check_reload_status to configd, but keep legacy support for check_reload_status. 2015-02-24 12:09:54 +01:00
Ad Schellevis
32a052f216 refactoring configd (check_reload_status) 2015-02-24 11:54:37 +01:00
Jos Schellevis
a835078303 MVC Main Menu structure including legacy pages 2015-02-24 10:54:41 +01:00
Franco Fichtner
0a2b91bf9d make: only check the actual PHP directory for `style' 2015-02-23 21:37:30 +01:00
Ad Schellevis
77de1e2265 update backend service
- extra code injection prevention for script types
- add script_output type (return script results from stdout)
2015-02-23 20:53:24 +01:00
Ad Schellevis
cc590e0fa4 style fix 2015-02-23 17:38:16 +01:00
Ad Schellevis
735eb4c4c6 style fix menusystem 2015-02-23 17:04:26 +01:00
Ad Schellevis
c320911bfe add library path to phalcon scripting 2015-02-23 16:37:26 +01:00
Ad Schellevis
0949c6a7c8 style fix active menu item 2015-02-23 15:01:51 +01:00
Ad Schellevis
a205dc2d54 refactor mvc Core components ( split model and library code ) 2015-02-23 13:50:16 +01:00
Ad Schellevis
c2206b3a5a move src/opnsense/mvc/public to src/opnsense/www (mvc framework) 2015-02-23 12:33:56 +00:00
Ad Schellevis
61f44db096 typo in comment 2015-02-23 13:06:02 +01:00
Ad Schellevis
a2262eaf3d fix mvc sample (csrf protection was broken after a forward) 2015-02-23 12:18:59 +01:00
Franco Fichtner
f1bbc9199d pkg: add multi-repo safety belts
Via: https://forum.opnsense.org/index.php?topic=42.0
2015-02-23 06:34:01 +01:00
Franco Fichtner
0fa0ed31e0 openvpn: add fallback chain for openssl 2015-02-23 06:20:00 +01:00
Franco Fichtner
78dfd81e27 system: add fallback chain for openssl 2015-02-23 06:17:08 +01:00
Franco Fichtner
d247841ac4 certs: add fallback chain for openssl and lots of style 2015-02-23 05:53:19 +01:00