Commit Graph
1401 Commits
Author SHA1 Message Date
dev-sec CI e69f5891d9 update changelog 2020-07-22 12:45:52 +00:00
schurzi 395fd030ce improve testing in kitchen and travis (#313)
* improve local testing

don't use privileged mode, since this grants too much permissions.
Fixes several problems with PAM in test images.
REorder options in kitchen configuration to simplify it.

Signed-off-by: Martin Schurz <[email protected]>

* check all controls in travis

Signed-off-by: Martin Schurz <[email protected]>

* set env vars in travis correctly

according to documentation: https://docs.travis-ci.com/user/environment-variables/

Signed-off-by: Martin Schurz <[email protected]>

* add arch linux to local tests

Signed-off-by: Martin Schurz <[email protected]>

* shorten travis config

Signed-off-by: Martin Schurz <[email protected]>

* use correct init command for containers

Signed-off-by: Martin Schurz <[email protected]>

* try privileged again

Signed-off-by: Martin Schurz <[email protected]>

* arch seems to like privilege

Signed-off-by: Martin Schurz <[email protected]>
2020-07-22 14:42:45 +02:00
dev-sec CI 994ea81e64 update changelog 2020-07-21 20:38:28 +00:00
alegrey91andSebastian Gumprich a8e349913d Mount proc filesystem using hidepid option (#283)
* Added task to mount proc fs using hidepid option

Signed-off-by: alessio <[email protected]>
Signed-off-by: alegrey91 <[email protected]>
Signed-off-by: alessio <[email protected]>

* Removed mount shell command due to ci problem

Signed-off-by: alegrey91 <[email protected]>
Signed-off-by: alessio <[email protected]>

* Added task to create mount point before to add fstab entry

Signed-off-by: alegrey91 <[email protected]>
Signed-off-by: alessio <[email protected]>

* Added check to ensure fstab exist

Signed-off-by: alegrey91 <[email protected]>
Signed-off-by: alessio <[email protected]>

* Modified task title

Signed-off-by: alegrey91 <[email protected]>
Signed-off-by: alessio <[email protected]>

* Fixed typo

Signed-off-by: alegrey91 <[email protected]>
Signed-off-by: alessio <[email protected]>

* Fixed typo

Signed-off-by: alegrey91 <[email protected]>
Signed-off-by: alessio <[email protected]>

* Fixed wrong indented lines

Signed-off-by: alegrey91 <[email protected]>
Signed-off-by: alessio <[email protected]>

* Removed useless tasks and improved variables use

Signed-off-by: alessio <[email protected]>

* removed ansible test tag

Signed-off-by: alessio <[email protected]>

* removed trailing whitespace

Signed-off-by: alessio <[email protected]>

* updated documentation

Signed-off-by: alessio <[email protected]>

* fixed typo

Signed-off-by: alessio <[email protected]>

* Update README.md

* Update vars/main.yml

Co-authored-by: Sebastian Gumprich <[email protected]>
6.1.0
2020-07-21 22:35:50 +02:00
dev-sec CI 0016239486 update changelog 2020-07-21 20:18:43 +00:00
Arnold 0cbfc29f23 adding specific documentation for IPv6 support (#312)
* adding specific things for IPv6 support

Signed-off-by: Arnold <[email protected]>
2020-07-21 22:15:42 +02:00
dev-sec CI 7ea747af03 update changelog 2020-07-20 09:55:20 +00:00
Sebastian Gumprich 3b75e49c0e fix typo 2020-07-20 11:52:22 +02:00
Sebastian Gumprich 8806f9f06a fix typo 2020-07-18 10:27:21 +02:00
be0e7f7809 add support for CentOS8 (#309)
* add testing for CentOS8

Adds testing environments for CentOS8 to local Kitchen and remote Travis
tests. Currently only local Kitchen Docker tests are verified.

Signed-off-by: Martin Schurz <[email protected]>

* disable system wide CRYPTO_POLICY on RHEL8+

by default sshd will not use the crypto settings from sshd_config. To
make the settings effective we need to disable the system wide
CRYPTO_POLICY.

see: https://access.redhat.com/solutions/4410591

Signed-off-by: Martin Schurz <[email protected]>

* Set volume variable for travis tests to use cgroups mount where needed

Signed-off-by: Sebastian Gumprich <[email protected]>

Co-authored-by: Sebastian Gumprich <[email protected]>
Co-authored-by: Sebastian Gumprich <[email protected]>
2020-07-18 10:20:09 +02:00
dev-sec CI 6626617a4a update changelog 2020-07-13 16:55:06 +00:00
Sebastian Gumprich b4b306484b Merge pull request #307 from nununo/master
README: New section on server port and idempotency
2020-07-13 18:52:38 +02:00
Nuno Godinho 4a11070e2c README: New section on server port and idempotency
Add section called "Changing the default port and idempotency" and reference to role ssh-hardening-fallback, a wrapper around this role which implements a fallback to port 22 when the configured port is unreachable.

Signed-off-by: Nuno Godinho <[email protected]>
2020-07-13 16:26:01 +01:00
dev-sec CI 1b6623b899 update changelog 2020-07-12 07:18:59 +00:00
dev-sec CI 476f2ec8e2 update changelog 2020-07-12 07:18:50 +00:00
Sebastian Gumprich cb407267c0 remove mention of gitter 2020-07-12 09:16:53 +02:00
Sebastian Gumprich 4494ddd132 remove mention of gitter 2020-07-12 09:16:33 +02:00
Sebastian Gumprich 990f95807f remove mention of gitter 2020-07-12 09:16:22 +02:00
Sebastian Gumprich 8e7ce74953 remove mention of gitter 2020-07-12 09:16:04 +02:00
dev-sec CI 10888d72ab update changelog 2020-07-09 11:55:15 +00:00
Sebastian Gumprich 147a26c27a Merge pull request #305 from dev-sec/order_crypto
add blocks to crypto.yml checks
2020-07-09 13:52:21 +02:00
Sebastian Gumprich fda42b7022 Merge branch 'master' into order_crypto 2020-07-09 13:40:39 +02:00
Sebastian Gumprich 4c248a4901 remove obsolete include_task 2020-07-09 13:33:19 +02:00
Martin Schurz 18be974509 remove crypto.yml
move include tasks to hardening.yml and remove intermediate crypto.yml

Signed-off-by: Martin Schurz <[email protected]>
2020-07-09 12:56:39 +02:00
Martin Schurz 5e47ffae35 split crypto.yml in several playbooks
preserve the version ordering of defaults and group all tasks according
to base configuration variable (cipthers, hostkeys, kex and macs)

Signed-off-by: Martin Schurz <[email protected]>
2020-07-09 11:46:23 +02:00
dev-sec CI d87f6c6212 update changelog 2020-07-09 06:22:57 +00:00
Sebastian Gumprich 41aef7eb80 Merge pull request #304 from dev-sec/fix_typo
fix typo in hardening.yml
2020-07-09 08:20:03 +02:00
Martin Schurz 83263cf8ce add blocks to crypto.yml checks
moved the check for user supplied settings to block head and reversed
order of assignments to compensate for the missing check on the set
variable

Signed-off-by: Martin Schurz <[email protected]>
2020-07-09 00:30:45 +02:00
Martin Schurz 9d56e9c6dd fix typo in hardening.yml
Signed-off-by: Martin Schurz <[email protected]>
2020-07-08 22:42:32 +02:00
dev-sec CI 00f5f46c3a update changelog 2020-07-06 07:46:43 +00:00
Sebastian Gumprich 22580d853f Merge pull request #301 from dev-sec/fix_fedora_tests
fix package install in tests
2020-07-06 09:44:10 +02:00
Sebastian Gumprich 44424474b8 fix package install in tests
Signed-off-by: Sebastian Gumprich <[email protected]>
2020-07-06 09:27:15 +02:00
dev-sec CI 64b86d48a8 update changelog 2020-07-06 06:38:57 +00:00
Sebastian Gumprich 5b96f66835 Merge pull request #300 from divialth/feature/customize_sshd_x11forward
allow customization of X11Forwarding
2020-07-06 08:36:07 +02:00
dev-sec CI 8d8277b3bd update changelog 2020-07-05 17:03:53 +00:00
Sebastian Gumprich 4d34d24c32 install procps in debian so sysctl.conf exists (#282)
Signed-off-by: Sebastian Gumprich <[email protected]>
2020-07-05 19:01:21 +02:00
divialth b5780c9d95 add x11forward options
Signed-off-by: divialth <[email protected]>
2020-07-03 14:51:57 +02:00
dev-sec CI 9a3d089fcb update changelog 2020-06-25 11:47:04 +00:00
Sebastian Gumprich d06c87386f Merge pull request #298 from dev-sec/rndmh3ro-patch-2
add centos 8 to meta
2020-06-25 13:44:17 +02:00
Sebastian Gumprich 573f2483f5 add centos 8 to meta 2020-06-25 13:43:43 +02:00
dev-sec CI 4f1a04b3a5 update changelog 2020-06-22 18:33:06 +00:00
schurzi beb77e4c96 Merge pull request #295 from aisbergg/feat-match-local-port
Add option to create 'LocalPort' match blocks
2020-06-22 20:30:15 +02:00
Andre Lehmann fb8ac0a42b Add option to create 'LocalPort' match block
Signed-off-by: Andre Lehmann <[email protected]>
2020-06-22 18:05:38 +02:00
dev-sec CI f560d51447 update changelog 2020-06-20 07:10:04 +00:00
Sebastian Gumprich 3f962b540f Merge pull request #290 from aisbergg/harmonize-style
Harmonize style
2020-06-20 09:07:04 +02:00
Sebastian Gumprich ce41b9f89a Merge branch 'master' into harmonize-style 2020-06-20 08:56:47 +02:00
Andre Lehmann c141f12d1e Swap conditions
Signed-off-by: Andre Lehmann <[email protected]>
2020-06-18 21:23:32 +02:00
dev-sec CI 508c666d58 update changelog 2020-06-18 18:59:00 +00:00
Sebastian Gumprich b27c679a51 Merge pull request #291 from djesionek/master
Add archlinux support
2020-06-18 20:55:56 +02:00
Damian JesionekandSebastian Gumprich 6c8165b3c8 Update .travis.yml according suggestion
Co-authored-by: Sebastian Gumprich <[email protected]>
Signed-off-by: Damian Jesionek <[email protected]>
2020-06-18 20:21:41 +02:00