8426 Commits

Author SHA1 Message Date
Franco Fichtner
fdf4eccfaa system: cosmetic tweaks for #2083 2018-03-12 20:51:04 +00:00
Franco Fichtner
68cfe2aaf8 system: render tunables in loader.conf; closes #2083 2018-03-12 20:31:12 +00:00
Franco Fichtner
ef451142db interfaces: always allow /127, /128 and /32 static IPs; closes #2213 2018-03-12 21:07:17 +01:00
Franco Fichtner
86aa45633a voucher: tweak simple character set; closes #2257 2018-03-12 18:47:27 +01:00
Ad Schellevis
6b677051d4 bridging, hide already assigned interfaces, closes https://github.com/opnsense/core/issues/2256 2018-03-12 18:45:47 +01:00
Ad Schellevis
7401b27bad mvc / Monit, ditch work-around, closes https://github.com/opnsense/core/issues/2255 2018-03-12 18:23:51 +01:00
Ad Schellevis
117eb47666 MVC, keep track of model that created a field so our model relationfield can reuse the same object for choosing it's options, for https://github.com/opnsense/core/issues/2255 2018-03-12 18:22:21 +01:00
Franco Fichtner
33b3dabab3 interfaces: kill is_jumbo_capable()
Introduced in 2005 to separate good VLAN-capable driver from
the bad ones.  We wonder how relevant this is nowadays.

Breaks at least Xen where the driver fails to pass the host's
VLAN capabilities.

Discussed with: @adschellevis
2018-03-12 17:21:21 +01:00
Franco Fichtner
d823cc7193 firewall: switch back to old NAT auto-outbound behaviour
Use the first address only, ignoring all VIPs.

Discussed with: @adschellevis

PR: https://forum.opnsense.org/index.php?topic=7438.0
2018-03-12 14:36:11 +01:00
Franco Fichtner
9cce0a02fe pkg: this makes more sense, need to push to FreeBSD ports 2018-03-12 11:40:31 +01:00
Franco Fichtner
9e054ed704 interface: init variable directly 2018-03-12 07:50:27 +00:00
marjohn56
a28b048597 interface: dhcp6c creation breakout 2018-03-12 07:42:27 +00:00
Franco Fichtner
9efc0bf123 interfaces: do not break line 2018-03-12 07:30:37 +00:00
Franco Fichtner
95807fac47 interfaces: emit prefix-interface for trackers in advanced DHCPv6
While here, clean up the config write a little bit.
2018-03-12 07:24:46 +00:00
Franco Fichtner
b38317b34f interfaces: more log output streamlining 2018-03-12 06:59:01 +00:00
Ad Schellevis
dc74006c9a implement password policies for local accounts. for https://github.com/opnsense/core/issues/2252
This change consists of two components:

1) enforcing the user to change his or her password every x days, when pwd_changed_at is not set or longer ago then specified only access to the password page is prohibited
2) enforce minimal length or complexity settings depending on selected choices
2018-03-11 18:24:23 +01:00
marjohn56
8fb70ac4b1 interfaces: baby steps for #2234
Improve logging, minor cleanups.
2018-03-11 15:13:43 +00:00
Franco Fichtner
60b3db278f interfaces: revert useless commits
This reverts commit e6dc3265fe76d00aaf250cc7bf5515c1e3d922d4.
This reverts commit e211d1ab2702be8df65e8d1cce1e4589ccd37f5a.
2018-03-11 14:36:16 +00:00
Franco Fichtner
1a22b8822a service: almost entirely migrate monit model 1.0.0 et al. 2018-03-11 11:08:14 +00:00
Franco Fichtner
79500101c6 services: import monit service
Some things to work on:
* post-install should be a migration
* move to system?
* remove old notifications
2018-03-11 11:07:51 +00:00
Franco Fichtner
7cc7a26e60 mvc: small cleanups 2018-03-11 11:07:21 +00:00
Franco Fichtner
b3e2fa36a3 system: logging tweaks
* Allow clearing configd log in clear all
* Neither configd nor lighttpd remote exists

These things will have to wait till syslog-ng is properly integrated.
2018-03-11 10:40:56 +01:00
Franco Fichtner
dd71f72b45 src: style fix 2018-03-11 00:13:02 +01:00
Franco Fichtner
eb7644e953 pkg: fix plist 2018-03-10 16:46:46 +01:00
Ad Schellevis
9eeb057d30 configd deserves it's own space for logging, closes https://github.com/opnsense/core/issues/2067 2018-03-10 16:03:48 +01:00
Ad Schellevis
6901b5af8f webgui, set correct syslog facility 2018-03-10 15:52:48 +01:00
Ad Schellevis
535a27498b webgui, only set accesslog.use-syslog when accesslog is enabled 2018-03-10 15:21:34 +01:00
Franco Fichtner
003a1142b9 system: another tweak 2018-03-10 11:36:30 +01:00
Franco Fichtner
69befc0d05 system: change menu item name for previous 2018-03-10 11:34:21 +01:00
Franco Fichtner
69b12e2690 pkg: fix plist 2018-03-10 11:30:20 +01:00
Ad Schellevis
11363e4799 webui, add option to enable access log and fix lighttpd.log in the process. closes https://github.com/opnsense/core/issues/2248 2018-03-09 21:39:45 +01:00
Franco Fichtner
ac0a632812 src: style sweep 2018-03-09 11:58:19 +00:00
Franco Fichtner
93028ca39c make: small tweak to previous 2018-03-09 11:58:09 +00:00
Franco Fichtner
aeeb446779 pkg: php flavours are coming... break upgrade for now 2018-03-09 07:52:55 +01:00
Ad Schellevis
8f1f62138b openvpn, switch openvpn_get_server_status() to status version 3 which uses tabs in stead of comma's, for https://github.com/opnsense/core/issues/2245 2018-03-07 19:04:58 +01:00
Ad Schellevis
ec819ca59c mvc, move view_fetch_themed_filename() to index, so a stub can overwrite it's behaviour (when developing locally) 2018-03-06 21:16:02 +01:00
Ad Schellevis
67e95c4f52 MVC/Theme, force theme setting if base theme directory (/usr/local/opnsense/www/themes) doesn't exist, which might be the case for local test/development (we can't know for sure the predefined theme doesn't exist, but if we can't probe if we might as well trust the settings) 2018-03-06 18:29:16 +01:00
Ad Schellevis
c58c2fdc8d MVC/Menu, oops, left some debugging output 2018-03-06 16:39:52 +01:00
Franco Fichtner
5c3c18d660 rc: style in previous 2018-03-06 16:29:02 +01:00
Ad Schellevis
267a086dcf interface/link-up event, change unassigned to a valid (unassigned) ip address in src/etc/rc.linkup, to avoid configuring when one of the proto's isn't configured. brings back some of fdc754e426 2018-03-06 15:10:56 +01:00
Ad Schellevis
d1de8da1a9 MVC, add support for multiple model locations to collect menu items 2018-03-06 14:36:52 +01:00
Ad Schellevis
966106a140 mvc, missed a spot 2018-03-06 14:08:39 +01:00
Ad Schellevis
9cbb08d765 mvc, oops, object of type Phalcon\Config can't be converted to string... so we'll have to check if the routing is an object or array to support both configurations 2018-03-06 14:04:20 +01:00
Ad Schellevis
582b201100 IDS, only resize alert dialod using css class "suricata-alert" 2018-03-06 11:00:10 +01:00
Ad Schellevis
b2aa021eb6 JS, add cssClass to stdDialogInform so we can better target our new forms 2018-03-06 10:59:33 +01:00
Ad Schellevis
9efc29f2dc ldap, cleanse local username on import, closes https://github.com/opnsense/core/issues/2242 2018-03-06 10:11:50 +01:00
Ad Schellevis
cc6c5ded1f mvc, support multiple controller directories in routing 2018-03-05 22:12:55 +01:00
Ad Schellevis
370aec1055 lighttpd, redirect 404 page to /ui/404 to uniform behaviour 2018-03-05 21:30:09 +01:00
Ad Schellevis
3879f1b5c0 MVC/404 error page, go back to previous page from history instead of index. 2018-03-05 21:28:48 +01:00
Ad Schellevis
a6ef326bc2 MVC, use relative path for firmware-product so we can move around our core package without breakage (needed for https://github.com/opnsense/ui_devtools) 2018-03-05 19:18:38 +01:00