Commit Graph

36555 Commits

Author SHA1 Message Date
jim-p
21bee0287c Add IPsec DH/PFS groups 25/26/27. Implements #9757 2019-09-13 11:02:44 -04:00
jim-p
49967ae74a Add dedicated auth log. Implements #9754 2019-09-12 16:33:15 -04:00
jim-p
882af7b4de Fix blank/empty lines in some auth syslog messages 2019-09-12 16:19:03 -04:00
jim-p
87fb98b9ae Ensure log cat programs do not emit error messages. 2019-09-12 12:10:56 -04:00
jim-p
52f686a97f Add wizard select_source & use for OpenVPN DH. Fixes #9748 2019-09-12 10:36:51 -04:00
Renato Botelho do Couto
17d967af8d Merge pull request #4082 from ableischwitz/master 2019-09-12 10:59:42 -03:00
Renato Botelho do Couto
20be1970cd Merge pull request #3999 from vpiserchia/master 2019-09-12 10:56:51 -03:00
Renato Botelho do Couto
39ce86a7e9 Merge pull request #4042 from plumbeo/fix-reconfig 2019-09-12 10:21:06 -03:00
Renato Botelho do Couto
e72c15bab0 Merge pull request #3985 from luckman212/system-general-sr-fix1 2019-09-12 09:10:44 -03:00
Renato Botelho do Couto
f7335af377 Deduplicate code in openvpn.inc 2019-09-11 16:28:28 -03:00
Renato Botelho do Couto
1d13560cb3 Remove unnecessary variable 2019-09-11 16:08:09 -03:00
Renato Botelho do Couto
331876469b Merge pull request #4072 from jwsi/openvpn-gwgroup 2019-09-11 16:04:45 -03:00
Renato Botelho do Couto
1dcaf2d816 Remove deprecated comments since username tag got CDATA 2019-09-11 10:59:58 -03:00
Renato Botelho do Couto
c244b2be98 Revert "Fix #6195: Allow to change NAT Outbound mode"
This reverts commit bdaa5235d4.
2019-09-11 10:59:05 -03:00
Renato Botelho do Couto
ce76d1e41b Ticket #6195: Use CDATA on username tag
After discuss with JimP we agreed it would be a better approach than
bdaa5235d4 if we add username tag to the list of tags that use CDATA
2019-09-11 10:57:27 -03:00
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
James Webb
15f8062b42
Improve efficiency of resync checks.
GW Group changes are checked iff the interface is not the empty string or the interface in question is not the same as the OpenVPN interface.
2019-09-03 19:19:28 +01:00
Renato Botelho
73a4e1f2d9
Merge branch 'master' into system-general-sr-fix1 2019-09-03 10:52:23 -03: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