Commit Graph

35313 Commits

Author SHA1 Message Date
doktornotor
fb963e2c73 Add reason to write_config() call 2017-03-09 19:30:38 +01:00
doktornotor
437d76feb5 Add reason to write_config() call 2017-03-09 19:28:57 +01:00
doktornotor
9d43ef897a Add reason to write_config() call 2017-03-09 19:26:46 +01:00
doktornotor
3f53358087 Add reason to write_config() calls 2017-03-09 19:24:45 +01:00
doktornotor
176026afe8 Add reason to write_config() call 2017-03-09 16:47:52 +01:00
doktornotor
e5b8f4adcd Add reason to write_config() call 2017-03-09 16:44:52 +01:00
doktornotor
0baf52bbf0 Add reason to write_config() calls
Replace shell-style comments while here.
2017-03-09 15:20:18 +01:00
doktornotor
5a433494ae Add reason to write_config() call 2017-03-09 15:03:13 +01:00
doktornotor
9178eadc1e Add reason to write_config() calls 2017-03-09 14:59:06 +01:00
doktornotor
85d1b87e96 Add reason to write_config() call 2017-03-09 14:51:14 +01:00
Renato Botelho
2b359eda6d Revert "C2758 is VGA only too"
This reverts commit 3244266fd8.
2017-03-09 10:17:21 -03:00
Renato Botelho
3244266fd8 C2758 is VGA only too 2017-03-09 09:47:16 -03:00
doktornotor
5eab815752 Add missing includes to config.console.inc 2017-03-08 23:03:20 +01:00
doktornotor
19b3f5bcb3 Add a deprecation notice 2017-03-08 21:27:12 +01:00
doktornotor
4b67b75ce6 Add error handling to AJAX call 2017-03-08 21:07:58 +01:00
doktornotor
a97b8740aa Add error handling to AJAX call 2017-03-08 20:55:00 +01:00
doktornotor
7da4e89648 Add missing include 2017-03-08 20:10:00 +01:00
doktornotor
8d53c0b946 Add missing include 2017-03-08 20:09:12 +01:00
doktornotor
73acc25d3e Add missing include 2017-03-08 20:08:36 +01:00
doktornotor
922273bf3b Add missing include 2017-03-08 20:07:57 +01:00
doktornotor
e22b30808d Add missing include 2017-03-08 20:07:15 +01:00
doktornotor
096ae7659b Add missing include 2017-03-08 20:06:45 +01:00
doktornotor
394bb9d471 Add missing include 2017-03-08 20:06:02 +01:00
doktornotor
43e076711c Add missing include 2017-03-08 20:05:21 +01:00
doktornotor
15c74b5bfb Add missing include 2017-03-08 20:04:44 +01:00
doktornotor
0661622a63 Add missing include 2017-03-08 20:04:15 +01:00
doktornotor
fdd8fafc2d Add missing include 2017-03-08 20:03:43 +01:00
doktornotor
e2f8257d66 Add missing include 2017-03-08 20:02:58 +01:00
doktornotor
f5e4ee0358 Add missing include 2017-03-08 20:02:32 +01:00
doktornotor
b4097bcaa8 Add missing include 2017-03-08 20:01:25 +01:00
doktornotor
b51cb63fd5 Add missing include 2017-03-08 20:00:43 +01:00
doktornotor
afb7b75e62 Add missing include 2017-03-08 19:59:27 +01:00
doktornotor
059e1bd2e9 Add missing include 2017-03-08 19:57:07 +01:00
doktornotor
e1ac4a8417 Remove duplicate pfSenseHeader() function
Sort includes while here.
2017-03-08 19:53:39 +01:00
doktornotor
c35d12948f Relocate pfSenseHeader() function to pfsense-utils.inc 2017-03-08 19:46:51 +01:00
doktornotor
bbd36e2d66 Relocate pfSenseHeader() function to pfsense-utils.inc
Sort includes while here.
2017-03-08 19:40:25 +01:00
Renato Botelho
209e95d652 Merge pull request #3626 from phil-davis/trigger-initial-wizard-7364 2017-03-08 14:39:15 -03:00
Renato Botelho
b25977ab97 Merge pull request #3577 from phil-davis/patch-10 2017-03-08 13:54:39 -03:00
Renato Botelho
c730077835 Setup XG-154x console to VGA only 2017-03-08 13:40:55 -03:00
doktornotor
a49317dcab Add AJAX to interfaces widget
Do some whitespace fixes while here.
2017-03-08 16:06:39 +01:00
jim-p
8414184612 Remove whirlpool from the list of CA/Cert digest algorithms as it does not work properly. OpenSSL claims it's not valid ("unknown signature algorithm"). Fixes #7370
While I'm here, stop needlessly repeating the algo list, it's a global in certs.inc, so use that single copy of the list.
2017-03-08 10:03:19 -05:00
jim-p
5ce9bcf5ed Fix display of openssl errors when working with CA or certificate entries. Found this while looking into ticket #7370 2017-03-08 09:57:19 -05:00
marjohn56
718cbc2d39 New dhcp6c features REASONS and signals
This PR takes advantage of modifications and additions to dhcp6c.

Firstly, a fix has been made to dhcp6c where the pid was being deleted
before all processes had completed; this could leave dhcp6c sending
release signals but any check for the process using the pid would return
false; thus if the server was not responding or the WAN was down then
dhcp6c could sit there for tens of seconds even though it appeared to
have exited.

The env var REASON has been updated to provide information as to why the
script has been called. These can be one of the following:

REASON=INFO
REASON=REPLY
REASON=RENEW
REASON=RELEASE
REASON=REBIND
REASON=EXIT
REASON=OTHER

The OTHER is a final catch and should never happen.

The scripts take advantage of these vars, for example a renew no longer
calls rc.newwanipv6.

The use of SIGUSR1 and SIGUSR2 to terminate dhcp6c results in different
exits. SIGUSR1 will force an exit without sending a release to the
server, this is used in the case of a WAN down event to prevent dhcp6c
from hanging on a release signal. SIGUSR2 is used to send a relase
signal overiding the no-release flag ( if set ), no code or GUI
additions have been added to make use of this signal in this PR. The
existing SIGTERM will cause dhcp6c to exit normally obeying the
no-release flag if set.

NOTE - The code for SIGUSR2 is in place in this file but as yet it is not
included in dhcp6c. In the event of SIGUSR2 being called, it will fall
through to a standard SIGTERM exit.

Debugging messages have been added to the scripts
dhcp6c_{$interface}dhcp6withoutra_script.sh and
dhcp6c{$interface}_script.sh. These debug messages only appear if the
debug setting for dhcp6c has been set in the config, they also appear in
the dhcp log rather than the main system log.

This PR is dependant on PR#5 at hrs-allbsd:freebsd or
pfsense/FreeBSD-ports #299

These changes are in response to Redmine 5993, 6944, 7145 and 7185.

Updated to match new upstream dhcp6c

changed REASON=REPLY to REASON=REQUEST.

K&R Corrections
2017-03-08 08:42:00 +00:00
Phil Davis
75a1149e01
Fix #7364 Console assigned VLAN disappears after reboot 2017-03-08 13:57:01 +05:45
jim-p
8724b1add2 Some small improvements to help with ticket #7256
They don't fix the problem but avoid some pitfalls that could contribute to it.
2017-03-07 13:43:47 -05:00
Renato Botelho
a095b039a2 Merge pull request #3574 from phil-davis/wrap-host-domain-names 2017-03-07 15:01:57 -03:00
Renato Botelho
3aa941d0c2 Merge pull request #3606 from PiBa-NL/igmp_apply-20170303 2017-03-07 15:01:21 -03:00
Renato Botelho
96d243a543 Merge pull request #3603 from NOYB/RAM_Disk_Settings_GUI 2017-03-07 14:59:24 -03:00
Steve Beaver
294f14f789 Set new blog URL (https://www.netgate.com/blog/) as default for RSS widget 2017-03-07 11:49:21 -05:00
lukehamburg
ad401906a9 Test fix for hanging check_reload_status
After killing php-fpm (console opt 16) check_reload_status would sometimes hang, consuming 100% of 1 cpu core. I found a reference https://redmine.pfsense.org/issues/3884#note-4 saying that check_reload_status depends on php-fpm. This patch wraps the restart of php-fpm with a stop/start of check_reload_status. In my limited testing, this has eliminated the hangs, which were pretty easily reproducible before.
2017-03-07 09:50:32 -05:00