Commit Graph

36513 Commits

Author SHA1 Message Date
jim-p
c63ae216e6 Fix rotation count check. Issue #9711
While here, fixup default static newsyslog entries. Issue #8350
2019-09-06 10:30:22 -04:00
jim-p
aa2cac1836 Incorporate filter_log.inc into syslog.inc. Issue #8350
Now all log-related functions are together.
2019-09-06 10:13:59 -04:00
jim-p
55beed7ef4 Relocate newsyslog cron install task. Fixes #9730 2019-09-06 09:54:10 -04:00
jim-p
24b1410ab4 Don't add .log to filename twice. Issue #8350 2019-09-06 09:36:16 -04:00
jim-p
6ab24f7c86 Finish utx lastlog display. Issue #9714 2019-09-06 08:43:42 -04:00
jim-p
ee4390ff72 Code refactoring/simplification. Issue #9714 2019-09-06 08:42:34 -04:00
jim-p
9eeb617857 Fix package log header. Issue #9714 2019-09-06 08:41:51 -04:00
jim-p
db948c4294 Additional logs & optimizations. Issue #9714
* Add log tabs for nginx, userlog, and some other previously hidden logs
* Start working on output of utx log via list/libxo (work in progress)
* Consolodate function that retrieves log messages to avoid duplicated
code
* Fix some code in filter_log.inc
* Moved some entries under Authentication log tab
* Renamed 'vpn' tab to PPPoE/L2TP Server
2019-09-05 17:04:05 -04:00
jim-p
60a7d1e120 status.php: Sanitize zabbix TLS psk info. Fixes #9729 2019-09-05 13:53:04 -04:00
jim-p
12cf8e3fd0 status.php: Restrict thoth tests to arm64. Fixes NG 2569 2019-09-05 13:51:27 -04:00
jim-p
8bc944bbcb status.php: Sanitize influx_pass and cert_key. Fixes #9727 Fixes #9728 2019-09-05 12:31:50 -04:00
jim-p
5457213f60 Rename status_pkglogs.php to status_logs_packages.php. Issue #9714 2019-09-05 11:37:56 -04:00
jim-p
4cce0ada48 Standardize pkg log display. Issue #9714
* Add common log code as needed
* Define options to fine-tune package log display
* Add filtering
2019-09-05 11:25:37 -04:00
jim-p
280a2ca2a5 Move Package Logs in with rest of logs. Issue #9714
Standardize log tab behavior
2019-09-04 16:33:44 -04:00
jim-p
6b061c1a13 Add a method for packages to set log owner on rotation. Issue #9712 2019-09-04 16:08:46 -04:00
jim-p
3a26e7152c Move log-related functions to their own file. Issue #8350
Also add a simple shell program that will dump all log entries for a given
log + all rotated/compressed logs in order.
2019-09-04 11:21:17 -04:00
jim-p
a40c9cf2f5 Log rotation settings. Issue #9711 and Issue #9712
* Add rotation count GUI option and per-log option
* Add settings for packages to override more fields not supported in the
GUI
2019-09-03 16:34:17 -04:00
jim-p
7d918dab03 Fix log size text in common log settings. Issue #9711 2019-09-03 15:26:05 -04:00
jim-p
8a86d7beff Move log rotation options to their own section. Issue #9711
While here, fix log size description to fit new behavior.
2019-09-03 15:16:05 -04:00
Renato Botelho do Couto
f8c4bfc52a IPSec: Just destroy interface if it exists and it's not booting
Based on PR: https://github.com/pfsense/pfsense/pull/4076
2019-09-03 15:43:16 -03:00
jim-p
03cdd6ad04 Add log compression type option. Issue #9711 2019-09-03 14:39:48 -04:00
Renato Botelho do Couto
5ae31b9e97 Merge pull request #4070 from paul/patch-1 2019-09-03 10:37:10 -03:00
Renato Botelho do Couto
e187842d88 Merge pull request #4079 from johnforte/master 2019-09-03 10:24:57 -03:00
Renato Botelho do Couto
d43154fee7 Do not use constructor with the same name of class, it's going to be deprecated 2019-09-03 10:20:28 -03:00
Renato Botelho do Couto
b94eb4b905 Fix PHP warning 2019-09-03 10:18:52 -03:00
Renato Botelho do Couto
cf019954e2 Merge pull request #4083 from kristoffer-ekenstam/master 2019-09-03 10:10:39 -03:00
Renato Botelho do Couto
e3de4f13c0 Merge pull request #4084 from Godwottery/master 2019-09-03 10:08:49 -03:00
Renato Botelho do Couto
b4df3414a2 Merge pull request #4074 from NanoCaiordo/dhcp_show_all 2019-09-03 09:57:06 -03:00
Renato Botelho do Couto
9547088681 Revert "Add a control file to be used as trigger to sync files to S3"
This reverts commit 8129d78071.
2019-09-02 15:46:10 -03:00
Renato Botelho do Couto
5c0d30fb08 Do not send unneeded files to S3 and also delete old files from it 2019-09-02 15:14:49 -03:00
jim-p
a71b23dbc6 Include system.inc in prefixes.php. Fixes #9715 2019-09-01 19:16:10 -04:00
jim-p
f9e8c833dc Change logging to plain text, deprecate clog. Issue #8350 2019-08-30 14:12:18 -04:00
Renato Botelho do Couto
c9f1792a5f Silence S3 sync 2019-08-30 11:10:11 -03:00
Renato Botelho do Couto
31c074005c Rework the way we send files to AWS S3 2019-08-30 11:02:57 -03:00
jim-p
c3667958a9 Do not list OpenVPN interfaces as usable by DHCP relay. Fixes #8443 2019-08-29 16:23:47 -04:00
jim-p
f301aa5947 Recognize more Netgate hardware automatically. Fixes #8051 2019-08-29 16:10:20 -04:00
jim-p
40318232b4 Fix some model detection instances. Issue #8051 2019-08-29 16:05:30 -04:00
Renato Botelho
457573e29e Add support to run a command after final rsync 2019-08-29 11:16:46 -03:00
jim-p
afeb18ff0e Add 127.0.0.0/8 to Unbound private-address list. Fixes #9708 2019-08-28 16:30:05 -04:00
jim-p
8ef6844a34 Make NTP minpoll and maxpoll user-configurable. Implements #6787 2019-08-28 16:19:44 -04:00
Steve Beaver
552a41fbd3 Make factory test case insensitive 2019-08-28 14:19:14 -04:00
Steve Beaver
8191650200 Revise update check to provide a more consistent version string, and to provide it in JSON format 2019-08-28 14:04:47 -04:00
jim-p
3a73fc74ca IPsec ID type parsing changes. Fixes #9243
* Move code to function to avoid unnecessary duplication of code
* Clean up the logic to avoid further redundancies
* Set keyid type to be quoted and to have its type prefixed
2019-08-28 13:57:10 -04:00
jim-p
4b84c39dbe Use batch mode for top so it displays process list w/o terminal. Fixes #9522
While here, set a high number of processes to display and also remove
the use of 'cut' which limited column length. With current display
method it's unnecessary.
2019-08-27 16:28:57 -04:00
jim-p
7729c5a163 Revert LDAP_OPT_X_TLS changes since they do not work. Issue #9417 2019-08-27 14:46:13 -04:00
jim-p
9d4ace0bf5 Add 'encryption_password' to the $cdata_fields array. Fixes #7186 2019-08-27 14:08:40 -04:00
jim-p
24c4275d78 Add auth server name change input validation. Fixes #9692 2019-08-27 13:53:18 -04:00
jim-p
9c4f5b95ee Allow NAT-T to be set with IKEv2. Fixes #9695 2019-08-27 13:48:36 -04:00
jim-p
df5862939e Add kernel memory usage to status.php. Implements #9705 2019-08-27 13:44:48 -04:00
jim-p
603764cbb0 Redact ACB encryption PW. Fixes #9694 2019-08-27 13:27:59 -04:00