summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Alexander Popov [Fri, 20 Jul 2018 17:27:30 +0000 (20:27 +0300)]
Count errors in the end
Alexander Popov [Fri, 20 Jul 2018 16:55:36 +0000 (19:55 +0300)]
Rename 'opt_list' as well
anthraxx [Mon, 9 Jul 2018 00:49:16 +0000 (02:49 +0200)]
rename Opt to better matching OptCheck
Alexander Popov [Fri, 20 Jul 2018 16:36:52 +0000 (19:36 +0300)]
Don't return the result from Opt.check(), we don't use it
anthraxx [Mon, 9 Jul 2018 00:30:42 +0000 (02:30 +0200)]
store option check result as class member
Conflicts resolved by @a13xp0p0v:
Alexander Popov [Fri, 20 Jul 2018 16:09:08 +0000 (19:09 +0300)]
Please forgive me, I fear lambdas :\
Also print the value of the unknown option
Alexander Popov [Fri, 20 Jul 2018 16:06:18 +0000 (19:06 +0300)]
Debug mode output should be printed before the final results
Alexander Popov [Fri, 20 Jul 2018 16:04:54 +0000 (19:04 +0300)]
Fix the output: ERROR, not BUG
Alexander Popov [Fri, 20 Jul 2018 16:03:11 +0000 (19:03 +0300)]
Rename check_state() according the new meaning
Alexander Popov [Fri, 20 Jul 2018 16:00:20 +0000 (19:00 +0300)]
Fix the check against multiple options in config file
Alexander Popov [Fri, 20 Jul 2018 15:55:43 +0000 (18:55 +0300)]
Use None as state of the options which are not found
That will change the check result
FAIL: "not found"
onto initial
FAIL: not found
Alexander Popov [Fri, 20 Jul 2018 15:57:16 +0000 (18:57 +0300)]
Drop assertions which are now useless
anthraxx [Wed, 20 Jun 2018 21:27:40 +0000 (23:27 +0200)]
improve architecture in preparation for new features
This improves the opt storage using a kconfig key based dict to
avoid looping through all opts to get a certain entry by allowing
key based lookups.
Alexander Popov [Fri, 13 Jul 2018 23:11:41 +0000 (02:11 +0300)]
ArgumentParser: drop unneeded default=False for args with action='store_true'
Alexander Popov [Fri, 13 Jul 2018 23:10:23 +0000 (02:10 +0300)]
ArgumentParser: Improve description
anthraxx [Mon, 9 Jul 2018 00:25:23 +0000 (02:25 +0200)]
argparse: using python module instead of manual getopt
Alexander Popov [Thu, 5 Jul 2018 11:44:04 +0000 (14:44 +0300)]
Consider 'not found' as an equivalent of 'is not set'
Alexander Popov [Thu, 5 Jul 2018 10:54:40 +0000 (13:54 +0300)]
Add rules for options disabled by grsecurity
Carefully extracted from their last public patch
Alexander Popov [Wed, 4 Jul 2018 18:08:21 +0000 (21:08 +0300)]
Move some features to 'cut_attack_surface' category
STRICT_DEVMEM and IO_STRICT_DEVMEM, SECCOMP and SECCOMP_FILTER
are not self protection features. They cut attack surface.
I'm also not sure about SYN_COOKIES. Mark it with a comment.
Alexander Popov [Wed, 4 Jul 2018 09:29:39 +0000 (12:29 +0300)]
More decisions on kernel options
Alexander Popov [Tue, 3 Jul 2018 20:31:48 +0000 (23:31 +0300)]
Add Oracle Unbreakable Enterprise Kernel 5 (UEK-5) config
Alexander Popov [Fri, 22 Jun 2018 12:34:23 +0000 (15:34 +0300)]
Drop CONFIG_DEBUG_KERNEL from kspp-recommendations.config
It is needed only for kernels prior to v4.11 (Kees has updated the wiki)
Alexander Popov [Wed, 20 Jun 2018 21:07:52 +0000 (00:07 +0300)]
Disable buggy IP_SCTP to cut attack surface
Alexander Popov [Wed, 20 Jun 2018 21:09:12 +0000 (00:09 +0300)]
Disable only CONFIG_USER_NS, not whole CONFIG_NAMESPACES
Thanks to @Bernhard40 for the correction
Signed-off-by: Alexander Popov <alex.popov@linux.com>
Alexander Popov [Wed, 20 Jun 2018 14:09:42 +0000 (17:09 +0300)]
Add kconfig-hardened-check.py
This script helps me to check the Linux kernel Kconfig option list
against my hardening preferences for x86_64.
Nobody likes checking configs manually. Let the computers do their job!
Signed-off-by: Alexander Popov <alex.popov@linux.com>