82 Commits

Author SHA1 Message Date
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
Ad Schellevis
c2933dc25f revert part of 9a22c04f1c 2015-12-03 12:40:17 +01:00
Ad Schellevis
9a22c04f1c (legacy) refactor system_advanced_admin.php, move some system calls to backend 2015-12-03 11:04:44 +01:00
Ad Schellevis
25850ae747 (legacy) refactor system_advanced_admin.php 2015-12-02 23:22:26 +01:00
Ad Schellevis
8d00b61013 (legacy) refactor system_advanced_admin.php, work in progress 2015-12-02 18:36:07 +01:00
Franco Fichtner
7f1c91f775 settings: fix old sshd reload trigger bug 2015-12-01 16:48:19 +01:00
Ad Schellevis
71f7dbc3d0 (legacy) kill max_procs / memory foo and set new defaults 2015-11-17 10:34:15 +00:00
Franco Fichtner
4f43181d25 firmware: reconfigure on reload; kill backend webgui call
Backend can't call tainted code that may run configd again.  This needs
to be cleaned up.  Ideally, the backend should only call python code.
2015-10-11 16:41:42 +02:00
Franco Fichtner
6948906adf menu: convert settings tabs to submenu; closes #402 2015-09-26 09:00:49 +02:00
Ad Schellevis
5b39c0a44d (legacy) add missing function calls 2015-08-31 19:46:52 +00:00
Ad Schellevis
a7ac26237f (legacy) remove unused parameter in get_std_save_message 2015-08-17 08:27:34 +00:00
Franco Fichtner
8137b5561f system: last crash report for today 2015-07-27 17:44:00 +02:00