Commit Graph

56 Commits

Author SHA1 Message Date
Samson-W 8856f64d16 Add check_audit_is_immutable_mode method in lib/utils.sh and apply the method for 8.1.4 2019-05-18 04:36:55 +08:00
Samson-W 9d886d7bf9 1, Add check rounds of pam_unix for 9.2.13 base stig-Ubuntu_16-04_LTS.
2,Fix a bug: when the configured values have different lengths, the reassignment is incorrect.
2019-05-16 17:40:40 +08:00
Samson-W c4b9847694 Fix a bug for 9.2.15 and delete the debug method in lib/utils.sh 2019-05-16 14:45:12 +08:00
Samson-W 97d921c2c6 1. Add method for if ipv6 is disabled.
2. Modify ipv6 iptables rules check with check_ipv6_is_enable.
2019-04-17 03:48:49 +08:00
Samson-W 5867efd5d6 Add audit and apply methods for ipv6 firewall rules. 2019-04-16 18:09:05 +08:00
Samson-W f23c662b7c Fix bug for 8.2.4: when create file if dir is not, create file is fail. 2019-04-16 03:57:53 +08:00
Samson-W 568d82253b Add method for check machine architecture and modify 8.1.4 2019-04-14 08:09:04 -04:00
Samson-W 822159dce1 Modify for lib and 8.1.2 2019-04-14 05:56:05 -04:00
Samson-W b2fd0dd674 1.Add audit and apply methods for 7.7.7: Ensure outbound and established connections are configured.
2.Fix some bug for lib and 7.7.6
2019-04-12 00:27:50 -04:00
Samson-W 7d0de8fdfe Add a method for check debian version is buster/10. 2019-04-11 14:57:14 -04:00
Samson-W d31530f2a6 Add methods for check outbound and input is set to accept. 2019-04-11 14:50:30 -04:00
Samson-W 86ca90d417 Fix some bugs for 7.7.5 2019-04-09 16:31:57 +08:00
samson 5caa36d5af Modify is_service_enabled method for debian 9, and apply to 2.25. 2019-04-01 04:15:09 +08:00
samson a4e0754891 Modify command use method: apt-get update 2019-03-30 18:49:19 +08:00
samson 6b14bed3c9 Delete debug line of check_param_pair_by_pam function 2018-12-30 03:09:26 +08:00
samson 2a881a5fbe Modify audit and apply methods for 2.1 2018-12-06 04:30:55 +08:00
samson 2772e8a55f Fix some bugs for mount options check of removable device 2018-12-06 02:41:44 +08:00
samson 64ab792e6c Fix bug for 10.1.9 and modify apt_update_if_needed function. 2018-12-05 15:10:06 +08:00
samson ff5447d2fb Modify for sysctl config persistent. 2018-12-03 02:43:43 +08:00
samson e6f204b7f0 Modify function for dpkg verity 2018-12-03 00:47:10 +08:00
samson 5f9346486d Fix some bugs. 2018-12-02 21:11:10 +08:00
samson 9c7ae21bee Fix some bug and add CIS_Debian_Linux_8_Benchmark to docs dir. 2018-12-01 04:36:21 +08:00
Samson-W 217c3cd020 Modify functions for firewall 2018-11-27 02:05:23 +08:00
Samson-W 0aa16f3e6d Modify for firewall 2018-11-26 12:45:43 -05:00
Samson-W 60be85163b Add audit and apply firewall(iptables) rules for 7.7.1 7.7.2 2018-11-26 09:52:46 -05:00
Samson-W 45a1d8ab0b Fix bug for 5.9 2018-11-21 16:22:29 -05:00
Samson-W 068e40b68a Fix bug for 4.5 2018-11-21 15:07:57 -05:00
Samson-W f5f0aab2b1 Fix bug of add_option_to_fstab function. 2018-11-21 04:32:59 -05:00
samson 62ceb5f36d Modify basic function add_option_to_fstab 2018-11-21 16:23:04 +08:00
Samson-W b5cff8047a Fix some bug 2018-11-21 02:45:33 -05:00
Samson-W 444f32cc04 Remove add_option_to_fstab_by_type method 2018-11-15 03:40:10 +08:00
Samson-W f44528cddb Add Notice and example description for add_option_to_fstab method. 2018-11-15 02:47:55 +08:00
Samson-W fcdf429202 Fix BUG:sed's back-references method may appear differently every time. 2018-11-15 02:38:29 +08:00
Samson-W 7bfbc817ed Add audit and apply methods for 2.27 2018-11-11 23:53:47 +08:00
Samson-W e0265d7517 Rename function name for human and modify associated file. 2018-11-06 04:31:36 +08:00
Samson-W 82b51590fc Fix bug: the problem of errors that occur when there is a substring and a parent string containing it. 2018-11-07 16:02:44 +08:00
Samson-W b44ad4fa8b Rename function name for human. 2018-11-07 12:25:57 +08:00
Samson-W daaf9d8a24 Modify apply method for 9.2.11 2018-11-02 23:56:44 +08:00
Samson-W 72931d8844 Add audit and apply methods for 9.3.20 9.3.21 9.2.15, modify 9.2.13 for compatible. 2018-10-27 04:12:56 +08:00
Samson-W da51ac2cda Fix issues #1 An error occurred when executing the su command after applying 10.1.9 2018-10-16 08:21:51 +08:00
Samson-W efd22bfbc6 Modify the compatibility of check_password_by_pam function. 2018-10-16 07:53:08 +08:00
Samson-W bc76a18fbc Add 9.2.14 to check nullok option of auth pam_unix 2018-09-13 03:45:11 +08:00
Samson-W 8976282fd1 Add check_password_option_by_pam function and 9.2.13_enable_password_sha512.sh 2018-09-11 04:59:15 +08:00
Samson-W 416415d78e Modify 9.2.12_limit_password_reuse to support audit and apply for don't conf and value is error 2018-09-11 04:18:07 +08:00
Samson-W 4772f4f4cc Rename 9.2.2 to 9.2.11, 9.2.3 to 9.2..12. Add 9.2.2_enable_minlen_cracklib.sh. 2018-09-10 04:18:51 +08:00
Samson-W a28c55758c Add reset_option_to_password_check method to reset option value when option value is not correct. 2018-09-10 03:12:27 +08:00
Samson-W a7e5614b75 Add add_option_to_password_check method to set no seted option to pampassword config 2018-09-09 23:13:16 +08:00
Samson-W 3d7bcb9d99 Modify check_password_by_pam function. 2018-09-08 22:27:47 +08:00
Samson-W 8c1a0e3f6d Modify check_password_by_pam function. 2018-09-08 21:51:07 +08:00
Samson-W 7c7e4ed1c2 Add password check methods by PAM. 2018-09-08 15:04:54 +08:00