8932 Commits

Author SHA1 Message Date
Franco Fichtner
185d8fab90 rc: do not leak banner.php script location 2018-06-10 20:00:23 +00:00
Franco Fichtner
177ca71909 system: move carp to rc.syshook
Cut out the middleman that is rc.carp and allow fully
plugabble calls to rc.syshook carp instead...

Make the "return" statements actual errors, and change
the level for the devd script to 101 to align with the
other custom hooks that we use.

CC: @adschellevis
2018-06-10 19:44:17 +00:00
Franco Fichtner
43966ce7b7 rc: pluggable backup via rc.syshook
To achieve this pass additional arguments and also parse
a subdirectory to find the appropriate scripts.  Eventually
it should make exclusive use of the directories.
2018-06-10 19:08:05 +00:00
Ad Schellevis
f9f896533c OpenVPN server, allow cloning of servers. 2018-06-10 11:33:49 +02:00
Franco Fichtner
86d9bbb267 rc: typo in previous 2018-06-07 11:56:09 +02:00
Franco Fichtner
0008970cdc rc: merge carp scripts 2018-06-07 09:54:23 +00:00
Franco Fichtner
4e7b97cc39 rc: small carp audit, we should merge both scripts and use $type in devd 2018-06-07 11:30:39 +02:00
Franco Fichtner
5a388966dc openvpn: audit creation process #2440 2018-06-07 08:38:01 +00:00
Franco Fichtner
47bb783c26 openvpn: small issue in style #2440 2018-06-06 20:25:39 +00:00
Franco Fichtner
4e1cddf3bb openvpn: why not delete the interface? #2450 2018-06-06 22:16:03 +02:00
Alexander Shursha
2896c69d0d Translate tunables. 2018-06-06 17:50:30 +02:00
Ad Schellevis
901d63cee6 groups, validation issue, spaces are not allowed here 2018-06-06 09:33:48 +02:00
Franco Fichtner
49021d93e7 openvpn: #2440
Only firewall pages left...
2018-06-05 19:49:59 +00:00
Franco Fichtner
02ca3bd6f3 openvpn: style #2440 2018-06-05 19:39:06 +00:00
Franco Fichtner
1d6b49090f www: missed some spots #2440
Remove static wol references, going away in 18.7 and
wol hasn't been in the default install for a while.
2018-06-05 19:36:36 +00:00
Franco Fichtner
83151f5632 dashboard: style for interface list #2440 2018-06-05 19:22:01 +00:00
Franco Fichtner
7693f344d4 unbound: style #2440 2018-06-05 19:16:08 +00:00
Franco Fichtner
161ea34ace dhcp: v6 style #2440 2018-06-05 19:01:53 +00:00
Franco Fichtner
e541a547e9 dhcp: v4 page style #2440 2018-06-05 18:56:49 +00:00
Franco Fichtner
4d8c96057e dnsmasq: style #2440 2018-06-05 18:49:19 +00:00
Franco Fichtner
93457293c9 services: start style update #2440 2018-06-05 17:40:51 +00:00
Franco Fichtner
390c0b3378 www: more style in various pages 2018-06-05 17:34:33 +00:00
Franco Fichtner
bb7b6a39eb firewall: alias restyle #2440 2018-06-05 17:21:50 +00:00
Franco Fichtner
d8ba407978 system: rework this again #2443 2018-06-05 14:37:07 +02:00
Franco Fichtner
38a6867085 system: fix for % usage in exec_safe/mwexecf #2443 2018-06-05 14:31:06 +02:00
Franco Fichtner
df5dddaf87 pkg: fix plist 2018-06-04 20:50:25 +00:00
Franco Fichtner
07ef03335a ipsec: style update #2440 2018-06-04 20:49:48 +00:00
Ad Schellevis
a14378c553 css add flags for https://github.com/opnsense/core/issues/1858 2018-06-04 22:19:38 +02:00
Ad Schellevis
a6a4a03724 IDS, typo in stylesheet 2018-06-04 21:40:19 +02:00
Franco Fichtner
c5ed71ad26 interfaces: style for #2440 2018-06-04 12:18:04 +00:00
Franco Fichtner
d621a6882d www: diag pages style #2440 2018-06-04 11:34:13 +00:00
Franco Fichtner
f33f527cf1 system: rework style in remaining pages #2440 2018-06-04 11:20:59 +00:00
Franco Fichtner
e9850d0860 system: configuration section style cleanup #2440 2018-06-03 19:12:04 +00:00
Franco Fichtner
fef90667ca system: authentication page consolidation for #2440 2018-06-03 19:04:36 +00:00
Franco Fichtner
cd7ebecdd3 system: restyle users and groups 2018-06-03 16:43:06 +00:00
Ad Schellevis
b36461e52c Firewall/Util, add isDomain() method using the same logic as in the legacy code base, needed for https://github.com/opnsense/core/issues/1858
We probably could also use filter_var here, but while shifting to new code it's probably better to align the logic to avoid searching for inconsistencies after migration.
2018-06-03 18:32:08 +02:00
Franco Fichtner
333b505094 system: admin priv colouring adjustments
Use "page-all" for showing admin capabilities as user / group
icon in red.  This allows to spot non-root users with full admin
capabilities and also which groups yield this power.  The scope
should only be used for read-only access / deletetion prevention.
2018-06-03 16:14:09 +00:00
Ad Schellevis
b44b48cc2d firewall/alias, wrong item referenced for outbound rules, closes https://github.com/opnsense/core/issues/1711 2018-06-03 18:08:12 +02:00
Franco Fichtner
35f8d6e4ca system: rework slightly, do not use SSH keys on "locked" users 2018-06-03 17:46:35 +02:00
Franco Fichtner
0c287f3ba8 system: regenerate DH parameters 2018-06-03 10:22:56 +02:00
Franco Fichtner
ded0fee3f4 system: mention need to unlock a locked root account
When all actions are privilege-separated we can probably strip
this part again.
2018-06-02 16:58:44 +02:00
Franco Fichtner
e741b9e450 system: unify selectpicker width 2018-06-02 12:38:10 +00:00
Franco Fichtner
0124f1024e system: weekly/monthly settings for DH parameters #2431
Also allow custom schedule.  Not sure if we should have a manual run
or delete.  Best way would be to use a file creation time magic between
our sample and maybe user file.
2018-06-02 12:18:27 +00:00
Franco Fichtner
2092954409 pkg: fix plist 2018-06-02 12:09:28 +00:00
Franco Fichtner
0181d1ddd9 system: userid 0 has trouble with %s, loosely refs #2246 2018-06-02 11:24:57 +00:00
Franco Fichtner
118bedc5df system: disable root, but do not lock it; closes #2246
Set password to unreachable "*" instead.  Our auth framework
already checks for disabled elsewhere.

While here inline two functions that are not used anywhere else.
2018-06-02 11:24:58 +00:00
Ad Schellevis
01409ac623 work in progress for https://github.com/opnsense/core/issues/1858 add AliasContentField type which should eventually combine the different validations for the supported alias types. 2018-06-01 22:14:59 +02:00
Ad Schellevis
a72ea4616d Firewall/Util, missing static in isPort() 2018-06-01 22:05:51 +02:00
Franco Fichtner
ac1e8f17af system: move autocron item to plugin spots, loosely #2431 2018-06-01 17:06:01 +00:00
Franco Fichtner
115f30e8ef system: second part of #2431 2018-06-01 15:22:27 +00:00