Commit Graph

36187 Commits

Author SHA1 Message Date
jim-p
5b5bb2483c Encode descr in the WOL widget. Fixes #9507
(cherry picked from commit 5789a02eab)
2019-05-08 16:44:42 -04:00
jim-p
41c9fac85c Encode output in status_filter_reload.php. Fixes #9499
(cherry picked from commit 1af9400d59)
2019-05-03 15:25:01 -04:00
jim-p
89c1390a6b Init array before use
(cherry picked from commit a8a0b1321d2a477772aac4d0034d819b61f2c9bf)
2019-05-03 09:29:25 -04:00
Renato Botelho
b8d7497859 Fix #9451: Enable build of zabbix 4.2 2019-04-26 15:18:12 -03:00
Danilo G. Baio (dbaio)
f5adb93927 Add Zabbix 4.2 config options
(cherry picked from commit 169754517a)
2019-04-26 14:42:54 -03:00
Renato Botelho
fa4a312497 Point 2.5.0 snaps repo to armv7 2019-03-26 15:34:06 -03:00
Renato Botelho
259a034cec Do now show scheduler icon when scheduler tag is empty
Spotted by: Oliveira MaisSecurity <oliveira@maissecurity.com.br>
2019-03-25 10:54:20 -03:00
jim-p
e788a9e2ab Create /var/crash after creating /var RAM disk. Fixes #9409
(cherry picked from commit b39d615394)
2019-03-18 12:44:51 -04:00
Renato Botelho
08acb53367 Make it possible to fix armv6 -> armv7 config files 2019-03-15 13:10:10 -03:00
Renato Botelho
9d91dd674b Prepare repo templates for 2.5.0 based on FreeBSD 12 2019-03-15 13:01:03 -03:00
Renato Botelho
64d2dd6199 Add missing obsoleted files 2019-03-13 16:34:29 -03:00
jim-p
b69eea46a5 Initialized entries variable before use. Fixes #9359
(cherry picked from commit 9146639e72)
2019-03-12 16:20:36 -04:00
jim-p
d67449c6a3 Use only sshguard table for blocking ssh/gui attacks. Issue #9223
(cherry picked from commit 555a9ab5c0)
2019-03-12 15:47:44 -04:00
jim-p
922a1ae3d9 Remove unnecessary expiretable cron jobs for ssh/gui lockout. Issue #9223
(cherry picked from commit 7a68df5efc)
2019-03-12 15:47:41 -04:00
jim-p
f1caf190d5 Remove unnecessary expiretable cron jobs for ssh/gui lockout. Issue #9223
(cherry picked from commit 397d9fff6d)
2019-03-12 14:42:29 -04:00
jim-p
428f6f021c Fix output buffering when downloading config backups. Fixes #9390
(cherry picked from commit 4015b03d4b)
2019-03-10 19:44:33 -04:00
Renato Botelho
4ee7905199 Update translation files 2019-02-25 11:56:16 -03:00
Renato Botelho
7f58d21b55 Regenerate pot 2019-02-25 11:56:13 -03:00
jim-p
a1032feb97 Update privileges
(cherry picked from commit 3b3e31c248)
2019-02-21 11:19:25 -05:00
Renato Botelho
ac3309d55a Merge pull request #4034 from kkr0kk/patch-2 2019-02-14 18:16:12 -02:00
Renato Botelho
a432c227c5 Revert "Don't use DISTFILES_CACHE"
This reverts commit 683a058169.
2019-02-13 12:47:16 -02:00
jim-p
978ebbf7c4 Fix OU Name DN entry when creating a user cert. Fixes #9317
(cherry picked from commit 354b1c750d)
2019-02-13 08:39:03 -05:00
jim-p
edf4b0fb19 Correct syntax error in diag_backup.php. Fixes #9316
(cherry picked from commit e0b32eb9e6)
2019-02-13 08:39:01 -05:00
Luiz Souza
be8a5a8a71 Force the <enableserial> on when restoring a backup on a device with serial only console.
Affects multiple devices.

Ticket #1547

(cherry picked from commit c91af4ac6a)
2019-02-13 08:38:58 -05:00
jim-p
b473b576ef Fix limiter selection validation.
(cherry picked from commit d0e9c31070)
2019-02-12 10:32:35 -05:00
jim-p
9524668774 Test $sform before use, fixes #9313
(cherry picked from commit 069585172e)
2019-02-12 10:24:15 -05:00
Renato Botelho
51b58d8132 Ticket #9308: Sort country codes 2019-02-07 14:24:31 -02:00
Renato Botelho
70cee41e6e Fix #9308: Obsolete now unused /etc/ca_countries 2019-02-07 13:37:40 -02:00
Renato Botelho
54d88644ae Ticket #9308: Replace use of /etc/ca_countries by get_cert_country_codes() 2019-02-07 13:37:39 -02:00
Renato Botelho
a56762ba30 Ticket #9308: Implement get_cert_country_codes() to get the list of country codes to be used by CAs and Certs 2019-02-07 13:37:38 -02:00
Renato Botelho
988640d363 Make get_countr_code() parameter default to 'ALL' 2019-02-07 13:37:36 -02:00
jim-p
5c4fef46ab Add validation and encoding to various firewall advanced values. Issue #9294
(cherry picked from commit 62baf07779)
2019-01-29 14:23:05 -05:00
jim-p
9712ce4ef2 Encode shaper queue name before printing. Issue #9294
Validation is already present and prevents bad values from being
entered.

(cherry picked from commit 1072b9333c)
2019-01-29 14:23:05 -05:00
jim-p
7e9de4b150 Input validation and encoding of IGMP proxy addresses. Issue #9294
(cherry picked from commit 261916e5d3)
2019-01-29 14:23:05 -05:00
jim-p
ca0234c39a Validate NTP GPS type, encode output. Issue #9294
(cherry picked from commit 938988609c)
2019-01-29 14:23:05 -05:00
jim-p
f39d333279 Encode traceroute error message. Issue #9294
(cherry picked from commit 57ccd08bf7)
2019-01-29 14:23:04 -05:00
jim-p
587c2d5576 Validate submitted interfaces. Issue #9294
(cherry picked from commit 5cc7d21dc0)
2019-01-29 14:23:04 -05:00
jim-p
10b06be56c Fix input validation of webguiproto. Issue #9294
(cherry picked from commit 56888f24ca)
2019-01-29 14:23:04 -05:00
jim-p
140655f739 status.php optimizations. Implements #9290
* Rewrites the command output so it is first written to files, then read through line-by-line to PHP. Should be much more efficient and consume less memory, making the previously "too large" commands viable.
* Increase verboseness of ifconfig output, add supported media
* Add "Listen Queues" output
* Wording fixes
* Script can now be run from the console to create and save an archive only: "php /usr/local/www/status.php"
* New parameter: archiveonly
  When present, output is suppressed. Creates tgz which can be downloaded
* New parameter: nocleanup
  When present, the individual status output .txt files are not removed from
  /tmp/status_output/ before exiting.

(cherry picked from commit 6c17da07bf)
2019-01-25 11:04:30 -05:00
Renato Botelho
683a058169 Don't use DISTFILES_CACHE 2019-01-23 17:13:18 -02:00
Renato Botelho
97bca1898c Remove unnecessary ports from dependency list 2019-01-23 15:57:16 -02:00
jim-p
5e0fda8fce Fix desc of OpenVPN sync to show that it also syncs certs. Fixes #9283
(cherry picked from commit 9f3b87d898)
2019-01-22 10:15:16 -05:00
jim-p
3bb3fd45ec Fix handling of special swap cases. Fixes #9281
(cherry picked from commit 14d470377e)
2019-01-22 09:49:05 -05:00
jim-p
0b07930db7 Packet capture page fixes. Fixes #9239
* Add "None" output level
* Detect large files and refuse to print them in the GUI textarea
* Ensure output buffering is off before doing readfile to avoid PHP
consuming memory while downloading a large capture.

(cherry picked from commit 36192f4a45)
2019-01-21 14:22:19 -05:00
jim-p
5c8aaa20a7 Init array for 6o4 tunneling Fixes #9264
(cherry picked from commit 5345b25405)
2019-01-21 11:49:31 -05:00
jim-p
2cc24f9536 Allow a trailing dot in a hostname on diag_dns.php. Fixes #9276
(cherry picked from commit e56c473d7c)
2019-01-21 11:39:08 -05:00
jim-p
f6775a831f Remove links to DNSStuf tools. Fixes #9275
(cherry picked from commit 08c49b4d74)
2019-01-21 11:39:08 -05:00
kkr0kk
58d009bc41
Update gwlb.inc 2019-01-12 14:42:47 +01:00
kkr0kk
67dd34a099
Update gwlb.inc
Correct BUG 9004 -> set the default gateway when system start and a gateway_group is default IPV4 gateway
2019-01-11 17:41:33 +01:00
jim-p
4ec6eee873 Fix saving IPv6 over IPv4 tunneling NAT setting. Fixes #9264
(cherry picked from commit 3fcf5ad712)
2019-01-10 09:00:23 -05:00