Renato Botelho do Couto
bdaa5235d4
Fix #6195 : Allow to change NAT Outbound mode
...
make_config_revision_entry() second parameter expects a username to
override current logged in user in special cases. It's used when a tool
(e.g. wizard) is used to configure some functionality.
As it was already noted in easyrule.inc, this parameter cannot have
international characters since the tag where it's stored in config.xml
doesn't use CDATA.
Remove gettext() calls and add a comment on each place
make_config_revision_entry() is called with username parameter
2019-09-11 10:31:55 -03:00
jim-p
d81f270454
Fix interface/config alignment on interfaces_ppps_edit.php. Fixes #9741
2019-09-10 11:51:33 -04:00
jim-p
9b738be927
Note in the system log when bootup is complete.
2019-09-10 09:52:44 -04:00
jim-p
a7a863a81c
Specify portal auth and DHCP logs by selector not by facility. Fixes #1375
2019-09-09 15:40:13 -04:00
jim-p
1521f0b26a
Filter/manage cleanup for new logs. Issue #9714
...
* Disable 'manage' for utx & userlog
* Fix filter form labels for utx to match column headers
2019-09-09 14:54:57 -04:00
jim-p
f9d9d054a6
Log setting/size review. Fixes #9734
...
* Move default GUI line limit and log size defaults to $g rather than
hardcoding.
* Set default GUI line limit to 500 (up from 50)
* Set max GUI line limit to 200000 (up from 2000)
* Set default log size to 512000 (500 KiB, previous clog default was 511488)
* Set filter summary default to 10000 (up from 5000)
* Standardized input type and placeholders for GUI line limit and log
size between global and per-log settings.
2019-09-09 14:24:29 -04:00
Steve Beaver
972de4c78f
Revise regex and redirect on failure
2019-09-09 12:50:10 -04:00
jim-p
17640476a5
status.php: Sanitize snort/suricata oink and etpro codes.
2019-09-09 11:40:41 -04:00
Steve Beaver
42839d824d
Fixed #9731
...
by validating widget key with regex
2019-09-06 12:59:14 -04:00
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