93 Commits

Author SHA1 Message Date
Franco Fichtner
d79c1acf57 system: fix crash report
If configd doesn't respond the JSON is not available, which we really
need a wrapper for doing this fallback all the time and maybe even
with error reporting inside that returned array.
2017-04-30 15:08:26 +02:00
Franco Fichtner
399b9090a4 dns: make DNS services fully pluggable #1491 2017-03-21 08:53:23 +01:00
Franco Fichtner
0f7c882cab openssh: work for #1480 2017-03-18 13:14:54 +01:00
Franco Fichtner
c3687a0c46 system: yes, but, no, but, yes, but... 2017-01-23 18:18:12 +01:00
Franco Fichtner
8d7757f269 system: move up and flip button default 2017-01-23 18:14:39 +01:00
Franco Fichtner
ed2ded1c04 system: make vt/sc configurable; closes #1343 2017-01-23 18:06:34 +01:00
Franco Fichtner
c687c9bb36 system: fix crash report in previous 2016-12-28 13:39:16 +01:00
Franco Fichtner
deda19dc61 system: tweak wording on previous 2016-12-28 13:32:09 +01:00
Ad Schellevis
99dac4ab7e (webconfigurator) optionally limit ciphers. closes https://github.com/opnsense/core/issues/1301 2016-12-27 17:23:01 +01:00
Franco Fichtner
041681bae2 system: extend sudo usage for no password mode 2016-12-21 00:17:50 +01:00
Franco Fichtner
ddca91c131 firewall: fix previous again 2016-12-20 15:17:40 +01:00
Franco Fichtner
d70e4b2652 firewall: glitch in previous 2016-12-20 15:06:46 +01:00
Franco Fichtner
7097b1d016 firewall: consolidate anti-lockout behaviour; closes #1304
Assume LAN unless we only have one interface and that is WAN.
If LAN is not there, no problem: the text will either show
WAN if it works or show LAN and do nothing.

We could argue that 1 interface that is not WAN or LAN is
possible and should receive anti-lockout too, but this would
change the previous behaviour too much and is not generally
possible from the GUI or console.
2016-12-20 14:23:51 +01:00
Franco Fichtner
d3376f7f10 src: webConfigurator -> web GUI 2016-12-19 07:16:08 +01:00
Franco Fichtner
85e6220415 system: deprecate 'enableserial' and refactor a bit
We don't need the flag anymore, it must be set through primary or
secondary console explicitly.
2016-11-26 13:09:32 +01:00
Franco Fichtner
a5fc46bd97 dnsmasq: refactor services_dhcpleases_configure() for #1266 2016-11-22 20:10:54 +01:00
Franco Fichtner
79da7c9a13 dnsmasq: pluginification 2016-11-19 08:52:34 +01:00
Franco Fichtner
3fcf1b3c36 unbound: pluginify 2016-11-18 18:27:36 +01:00
Franco Fichtner
715b636793 unbound: clean up includes and function usage
o consolidate "unbound_" prefix for unbound.inc for pluginification
o services.inc includes unbound.inc rightfully, a bit like a
  plugin would do in the future, but this also means we can
  zap all requires from top pages, which are entirely spurious.
o get_dns_servers() moves to system.inc because it is used by
  status_interfaces.php
o RIP read_hosts()
2016-11-14 11:28:01 +01:00
Franco Fichtner
408ebbef48 dnsmasq: same as previous with bits for #1256 2016-11-13 17:03:26 +01:00
Franco Fichtner
20b3939520 unbound: straighten out the dhcp reload mess, loosely refs #1256
This was done in early 16.7, seems to work fine so finish the
transition, dnsmasq is next...
2016-11-13 17:03:25 +01:00
Franco Fichtner
2d450939a0 system: consolidate previous
* system_console_configure() is really system_login_configure()+
* make a template for sudoers config setting
* move auth template generation to single spot
2016-10-26 07:17:58 +02:00
Ad Schellevis
f88eabc00b (pam) switch to pam, with the option to disable our pam helper and switch back to unix mode... for https://github.com/opnsense/core/issues/998 2016-10-25 20:36:55 +02:00
Franco Fichtner
686f6a9226 system: tweak previous
Prodded by: @fabianfrz
2016-08-19 10:30:31 +02:00
Franco Fichtner
273692e574 system: add sudo configure option to permit admins access; closes #990
This is especially useful for "sudo su" in manually created admins
to gain access to the console menu without compromising the root
password.
2016-08-19 08:07:59 +02:00
Franco Fichtner
e10bea7d91 system: allow selection of secondary console; closes #1091 2016-08-02 23:36:39 +02:00
Franco Fichtner
835ad1b754 services: refactor lease handling and dns along with it 2016-07-24 16:12:32 +00:00
Franco Fichtner
224b5d8247 www: util.inc is provided by guiconfig.inc for #1065 2016-07-22 07:12:21 +02:00
Ad Schellevis
e047524e2e js cleanup system_advanced_admin.php for https://github.com/opnsense/core/issues/1005 2016-06-27 12:49:55 +02:00
Franco Fichtner
845b96d41f system: tighten serial handling around /etc/ttys 2016-06-22 18:25:12 +02:00
Ad Schellevis
4e3b66c257 zapp pfsense-utils.inc 2016-06-20 16:59:19 +02:00
Ad Schellevis
31cbcff27b (legacy) move calculate_ipv6_delegation_length() to util.inc and change dependencies 2016-06-20 16:47:20 +02:00
Franco Fichtner
f6b554f87e www: consistent use of <?=, some escapes while at it; closes #986 2016-06-11 07:45:49 +02:00
Franco Fichtner
a44b468809 Merge pull request #955 from fabianfrz/translation
whitespace cleanup
2016-05-25 21:19:28 +02:00
Fabian Franz
8028daeee4 whitespace cleanup 2016-05-21 12:33:56 +02:00
Ad Schellevis
52c7a87c08 (uit) set class on input form system_advanced_admin.php 2016-05-20 15:09:44 +02:00
Franco Fichtner
955b73fdd7 src: strip gettext() from log messages
It only makes debugging harder as our translations are being
completed one after the other.  Also has the positive side-
effect of freeing a few hard-to-do translations in the process.
2016-05-16 00:28:22 +02:00
Ad Schellevis
7ab0b3463f (legacy) www: strip action attribute from forms where not needed, closes https://github.com/opnsense/core/issues/929 2016-05-12 19:45:28 +02:00
Ad Schellevis
d97a10789c fix for 619b089c1b (diff-09f3249b844b641d5564ae047d77e704) 2016-05-12 11:35:39 +02:00
Fabian Franz
619b089c1b translation and style fixes 2016-05-04 15:19:44 +02:00
Franco Fichtner
9989097dd8 src: second part of restyle done 2016-04-01 16:05:35 +02:00
Ad Schellevis
67b827a84f html correction 2016-03-04 12:07:12 +01:00
Ad Schellevis
9fdca30079 (legacy) fix "enableserial" marker in default config system_advanced_admin.php 2016-02-23 10:20:39 +01:00
Fabian Franz
f91112ed7e translation fixes 2016-01-25 10:46:03 +01:00
Franco Fichtner
29dc0b5e4d rc: improve the php config write
o Don't clobber manually installed extensions
o Remove the XDebug enable in favour of an autoload if available
o No longer install XDebug by default

Adds long overdue copyrights, been handling this file since 2014.
2016-01-22 08:30:43 +01:00
Franco Fichtner
d41b5a7456 src: reindent copyright block to four spaces 2015-12-29 20:22:41 +01:00
Fabian Franz
8565d988de fix in system_advanced_admin.php 2015-12-24 13:37:11 +01:00
Ad Schellevis
b244646a4e (legacy) change browser HTTP_REFERER enforcement label to fit line, closes https://github.com/opnsense/core/issues/554 2015-12-22 19:35:17 +01:00
Franco Fichtner
86d50f8793 www: remove the need for manual $pgtitle #461 2015-12-08 19:45:59 +01:00
Franco Fichtner
a858b479ed system: fix faulty revert; rc.sshd is clever on it's own 2015-12-03 17:39:13 +01:00