Jérémy Dubois
b8496e754d
Release 22.06
2022-06-16 17:22:11 +02:00
Jérémy Dubois
d35d7491f1
Fixed various shellcheck violations and added a function to cleanup files at once instead of using multiple trap rm
2022-06-16 17:21:06 +02:00
Jérémy Dubois
8d460b039d
check_versions: renamed "IS_VERSIONS_CHECK" to "IS_CHECK_VERSIONS" to match function name logic, and do not run check in cron mode
2022-04-14 09:52:32 +02:00
Jérémy Dubois
1281891363
Added check_root_user: make sure that root user does not have a password
2022-04-13 15:57:10 +02:00
Jérémy Dubois
3fcab1eeb3
Many improvements and bump to version 22.03. See CHANGELOG
2022-03-10 16:46:31 +01:00
Jérémy Dubois
11d77659a0
Fixed check_tmoutprofile : syntax error on if/else/fi test
2021-10-07 15:01:48 +02:00
Jérémy Dubois
f1c63f827f
Fixed check_tmoutprofile and changed version numbering
2021-09-17 17:15:19 +02:00
Jérémy Dubois
e0202f28ff
Fix IS_PREEMPT remaining
2021-07-23 16:21:32 +02:00
Jérémy Dubois
8a735ca4ca
Renamed multiple CARP checks
...
Renamed check_advskew, check_preempt, check_advbase and their alert to add "carp" in them
2021-07-23 16:01:12 +02:00
Jérémy Dubois
af259252be
Add check_advskew and boot version
2021-07-16 14:52:49 +02:00
Jérémy Dubois
5bf2959aac
Update changelog and boost version number
2020-10-23 18:13:35 +02:00
Jérémy Dubois
e21628fea7
Fix check_noatime : do not take into account commented entry in fstab
2020-10-23 17:32:15 +02:00
Jérémy Dubois
04139f3d60
Add check_openvpncronlog and update CHANGELOG
...
A cron is needed to rotate logs, because a restart of OpenVPN would be needed
with the use of newsyslog to rotate logs
2020-10-22 18:16:52 +02:00
Jérémy Dubois
b6f4889ac5
Fix check_raidok : the same device could be displayed multiple times
2020-10-22 14:16:56 +02:00
Jérémy Dubois
b49a1fbea5
Fix check_uptodate : properly check that syspatch exists
2020-10-22 12:12:42 +02:00
Jérémy Dubois
682cd3afaa
Add check_noatime and fix check_softdep
...
Add check_noatime - Check that all ffs partitions are mounted with the noatime
option
Fix check_softdep - We now check the number of ffs partitions and we compare it
to the number of softdep options currently there
2020-10-15 10:19:31 +02:00
Jérémy Dubois
7cb6055af5
Fix check_cronpath
...
Do not check PATH=XXX but only XXX
because XXX can also be in quotes
(PATH="XXX" would not be matched)
2020-10-09 14:09:21 +02:00
Jérémy Dubois
4798873ace
Add check_backupuptodate - Check that /home/backup is not older than 2 days
2020-08-04 15:08:21 +02:00
Jérémy Dubois
8eb2c5f9bc
Update changelog
2020-07-27 17:01:15 +02:00
Jérémy Dubois
5bad0301d9
Add check_ntp() - Check the ntpd configuration
2020-07-27 16:59:54 +02:00
Jérémy Dubois
57d44cbf91
Removed check_postgresql - Deprecated since we now use an API
2020-07-23 11:00:34 +02:00
Jérémy Dubois
3d86996f5d
Fix check_defaultroute - We need to check if the /etc/mygate file exists before comparing it - version 6.7.3
2020-07-23 10:28:34 +02:00
Jérémy Dubois
04994ecebc
Add check_defaultroute function and update CHANGELOG file to 6.7.2
2020-07-22 14:27:27 +02:00
Tristan PILAT
c688b0d524
Bump to version 6.7.1
2020-07-15 11:31:38 +02:00
Tristan PILAT
b58ad51307
Fix check_sudomaint function - ADMIN group does not exist anymore, we now check that the wheel group has NOPASSWD for evomaintenance
2020-07-15 11:21:10 +02:00
Tristan PILAT
5eedf3ad4d
Fix check_customsyslog - We have to check whether EvoBSD is present in newsyslog.conf file
2020-07-15 11:19:30 +02:00
Tristan PILAT
239c5896df
We want evocheck advbase output to be uniq
2020-07-15 11:08:32 +02:00
Tristan PILAT
8d80e5bfc8
Update CHANGELOG to 6.6.2
2020-04-27 15:45:41 +02:00
Tristan PILAT
4fead89240
Add check_sync function - If a server is a Carp member we check whether the sync.sh script is present or not
2020-04-27 15:38:27 +02:00
Tristan PILAT
e0716d3197
Remove check_oldhomedir - This information is irrelevant since we always keep home directories of former sysadmins
2020-04-27 15:35:28 +02:00
Tristan PILAT
c436480014
Add check_pfenabled function
2020-04-27 15:30:42 +02:00
Tristan PILAT
a5a034e611
Add check_uptodate function
2020-04-27 15:30:00 +02:00
Tristan PILAT
1d47e0f8d8
Raname kerneluptodate function to uptodate
2020-04-27 15:28:59 +02:00
Tristan PILAT
82a9050e00
Now use a version-naming scheme based on OpenBSD's one
2020-04-27 15:27:31 +02:00
Tristan PILAT
0b6ad08b5b
Add RAID check
2020-04-22 17:53:26 +02:00
Tristan PILAT
b1868829aa
It might be useful to have /usr/share/scripts in the crontab PATH
2020-04-21 18:21:03 +02:00
Tristan PILAT
cf975ee14b
We have no use of Vagrant here
2020-04-21 18:19:33 +02:00
Tristan PILAT
f019e82255
Update main contributors of this branch
2020-04-21 18:18:39 +02:00
Tristan PILAT
c72a779f6c
Let's create a new changelog file for this version of evocheck
2020-04-21 18:17:51 +02:00
Tristan PILAT
68823b7c91
We can't run the OpenBSD version of evocheck in DroneCI
2020-04-21 18:16:53 +02:00
Tristan PILAT
6f5b5d78d8
Create the main function and add calls to all checks
2020-04-21 17:44:37 +02:00
Tristan PILAT
e69e08160d
We now use functions instead of if statements as in the linux version of the script
2020-04-21 17:41:32 +02:00
Tristan PILAT
425b08552a
Merge --version flag to --help. Both are now showing the help message
2020-04-21 17:37:07 +02:00
Tristan PILAT
fe76e40b35
Delete show_version since it is now included in show_help function
2020-04-21 17:34:19 +02:00
Tristan PILAT
9164fe2459
Amend show_help function for a more complete
2020-04-21 17:32:48 +02:00
Tristan PILAT
5ee0d20fe9
Add VERSION variable from linux version
2020-04-21 17:30:39 +02:00
Tristan PILAT
82af0db8b2
Delete default configuration values since they are now included in the main function
2020-04-21 16:59:58 +02:00
Tristan PILAT
ef2b234d49
Fix a mistake in the description
2020-04-21 16:59:08 +02:00
Tristan PILAT
53015152b3
We now use is_installed function to test whether a package is installed
2019-03-25 17:50:10 +01:00
Tristan PILAT
12ccfa914b
Fix is_installed function to work on OpenBSD
2019-03-25 17:49:22 +01:00