5478 Commits

Author SHA1 Message Date
Ad Schellevis
933ef0c318 crash report, PHP Warning: array_unique() expects parameter 1 to be array, null given in /usr/local/etc/inc/services.inc on line 1575 2016-06-23 15:08:52 +02:00
Ad Schellevis
e922594242 send upload exceptions to syslog for google drive 2016-06-23 14:43:26 +02:00
Ad Schellevis
3f4d694fe3 captive portal, increase timeout, sometimes 2 seconds may not be enough.
fix for:
PHP Warning:  SQLite3Stmt::execute(): Unable to execute statement: database is locked in /usr/local/opnsense/scripts/OPNsense/CaptivePortal/process_accounting_messages.php on line 68
2016-06-23 14:30:34 +02:00
Ad Schellevis
6d7c1cb7db send exception to syslog for Google drive download 2016-06-23 14:24:54 +02:00
Franco Fichtner
e287db604d services: flush domain key only once but keep zone key assignment #1023 2016-06-23 11:41:12 +02:00
Franco Fichtner
845b96d41f system: tighten serial handling around /etc/ttys 2016-06-22 18:25:12 +02:00
Franco Fichtner
0273d26510 rc: on second thought, always run twice
mount(8) will mount an unclean root fs, so if we get into a
mount issue after having run fsck twice first time in the loop
the next iteration will fix the system, but may not mark it clean.

Avoid that by always invoking fsck twice, for better or worse.
2016-06-22 16:30:56 +02:00
Franco Fichtner
80dc8457bc rc: always force an fsck after unclean shutdown 2016-06-22 16:12:17 +02:00
Ad Schellevis
0e38a48778 fix spurious config write, closes https://github.com/opnsense/core/issues/1029 2016-06-21 20:37:00 +02:00
Franco Fichtner
51ad932cc1 src: remove a few spurious ini_set() calls 2016-06-21 20:15:55 +02:00
Franco Fichtner
1de9a183f1 mvc: apply larger memory limit here too; closes #1032 2016-06-21 19:17:22 +02:00
Franco Fichtner
f441eae5b4 xmlrpc: prevent undefined errors on remote service restart
Further proof that all of the system should use the plugin system,
as the dependencies are going to be unmanageable in the long run.
As soon as there is a new base service with its own include file
its definition will be missing.
2016-06-21 14:52:43 +02:00
Franco Fichtner
a4bb9cd515 services: dhcpd6 is its own service; closes #1027 2016-06-21 08:19:55 +02:00
Franco Fichtner
4dde1f08f2 dhcpd: deduplicate domain keys; closes #1023 2016-06-21 07:59:59 +02:00
Franco Fichtner
ae6b495e3a services: more dynamic dns for dhcp #1023 2016-06-20 19:00:32 +02:00
Ad Schellevis
8d906af689 fix return type in download_file() 2016-06-20 17:18:09 +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
Ad Schellevis
51c3f922f1 (legacy) move xml2array() to upgrade_config.inc, included by config.lib.inc. 2016-06-20 16:23:47 +02:00
Ad Schellevis
8d0e40e28e (legacy) move restore_config_section to diag_backup.php, only used there... 2016-06-20 15:00:57 +02:00
Ad Schellevis
65aa038255 (legacy) move is_private_ip() to util.inc 2016-06-20 14:33:30 +02:00
Ad Schellevis
1a7199cc1a code style rc.bootup 2016-06-20 12:30:38 +02:00
Ad Schellevis
5fa09cd4d8 typo in ddns static mapping, https://github.com/opnsense/core/issues/1023 2016-06-20 10:50:29 +02:00
Ad Schellevis
f482f138e4 Merge pull request #1011 from fabianfrz/otp
create qrcode in the browser instead of an external service
2016-06-20 09:41:26 +02:00
Franco Fichtner
43f61b0756 services: update dyndns edit style 2016-06-20 07:24:15 +02:00
Franco Fichtner
638e3d8ff8 led: remove unmaintained support 2016-06-18 15:27:19 +02:00
Franco Fichtner
fb8c8b44a6 trust: change export button labels; closes #1021
While there zap a note that is obvious, because there is no button
and a text label saying what facility uses the cert...
2016-06-18 15:12:39 +02:00
Franco Fichtner
398ae5bbff system: migrate setup_serial_port() and friends 2016-06-18 15:06:00 +02:00
Franco Fichtner
951a4cebc1 interfaces: call stack on get_carp_interface_status() is also tricky 2016-06-18 14:55:12 +02:00
Franco Fichtner
382a3d3b68 unbound: move get_dns_servers() 2016-06-18 14:49:19 +02:00
Franco Fichtner
0b486cd14f util: move is_fqdn()
The call stack is pretty loose on is_fqdn() as it is called by
system_routing_configure() which gets called in an uncontrollable
fashion in interface.inc.
2016-06-18 14:43:58 +02:00
Franco Fichtner
7bcc88ce29 system: there is no dnscache 2016-06-18 14:34:30 +02:00
Franco Fichtner
a9c0cd37e8 interfaces: function belongs here 2016-06-18 12:54:20 +02:00
Franco Fichtner
91f984a052 filter: migrate alias handling 2016-06-18 12:48:31 +02:00
Franco Fichtner
2108673851 inc: shift more functions to their rightful place 2016-06-18 12:08:10 +02:00
Franco Fichtner
21803172ce interface: new home for old mac table load
This needs to be ported to the python backend table, because
this code requires nmap to be installed...
2016-06-18 11:53:15 +02:00
Franco Fichtner
33853a10fe filter: migrate functions here too 2016-06-18 11:50:17 +02:00
Franco Fichtner
d5bff2810b system: kernel modules belong to system 2016-06-18 11:47:08 +02:00
Franco Fichtner
6e43845723 rc: dynamically load netgraph modules we used to have in the kernel 2016-06-18 11:38:04 +02:00
Franco Fichtner
fc59129ef9 dashboard: don't let progress br text float above footer 2016-06-15 22:48:50 +02:00
Franco Fichtner
125808e29d gateways: change the approach for gateway generation
Instead of injecting dynamic gateways after reading the config, we will
inject them before instead.  This gives us the opportinuity to check
for matches and remove disabled gateways, finally addressing #933 in a
sane way.
2016-06-15 21:28:58 +02:00
Franco Fichtner
414303817d services: untangle dhcpv6 server and router advertisements a bit 2016-06-15 17:46:57 +02:00
Franco Fichtner
163ff00103 logs: extra care for log search
Suggested by: @fabianfrz
2016-06-15 09:11:29 +02:00
Franco Fichtner
5937d16c37 services: show radvd service control on respective page 2016-06-15 08:59:53 +02:00
Franco Fichtner
ea31c80969 www: more php print issues 2016-06-15 06:32:40 +02:00
Franco Fichtner
a45f5fab0d system: add two more languages in development: Italian and Swedish 2016-06-15 07:25:11 +02:00
Franco Fichtner
d74415374d logs: action doesn't do anything here
Suggested by: @fabianfrz
2016-06-15 07:10:24 +02:00
Franco Fichtner
6f1b900c70 plugins: syslog plugging for openvpn/ipsec 2016-06-13 20:13:51 +02:00
Franco Fichtner
d0c8782edc logs: update search input style 2016-06-13 13:16:19 +02:00
Franco Fichtner
ef63bc6830 logs: always load services.inc, loading plugins.inc in template too 2016-06-13 08:35:56 +02:00