Commit Graph
2205 Commits
Author SHA1 Message Date
Christoph Hartmann d8783be67c Merge pull request #39 from fitz123/bugfix
bugfix. Now option true for PrintLastLog is available again
2015-09-28 13:16:06 +02:00
fitz123 893b39181e bugfix. Now option true for PrintLastLog is available again 2015-09-28 06:24:13 +07:00
Sebastian Gumprich cd0c69e5ff Merge pull request #44 from fitz123/bug_fix
Fix nologin shell path, passwdqc options
2015-09-24 17:27:31 +02:00
fitz123 b013986f61 Fix passwdqc default options 2015-09-24 02:51:56 +07:00
fitz123 afa3be1e6a Fix nologin shell path for Oracle and RedHat 2015-09-24 02:16:51 +07:00
fitz123 c5307b36f0 Fix nologin shell path 2015-09-24 00:56:09 +07:00
Christoph Hartmann 52d62abe4c Merge pull request #38 from hardening-io/improve_travis_tests
Add more travis-tests
2015-09-22 20:01:26 +02:00
Christoph Hartmann 9a3af69485 Merge pull request #35 from hardening-io/pam_selinux
Support for selinux and pam. fix #23
2015-09-22 19:58:58 +02:00
Christoph Hartmann 514a136463 Merge pull request #42 from hardening-io/travis_incl_task
improved travis-tests to cover more cases
2015-09-22 19:50:57 +02:00
Sebastian Gumprich cf756ada2c improved travis-tests to cover more cases
This change adds more tests in travis to check for different variable
uses.
2015-09-22 18:31:48 +02:00
Sebastian Gumprich 78bc611eb4 Add more travis-tests
This change adds more tests in travis to check for
different variable uses.
2015-09-22 18:19:02 +02:00
Christoph Hartmann 91ecc19bc0 Merge pull request #39 from hardening-io/su_mode
Add mode to su-binary task. Fix #38
1.0.0
2015-09-01 23:21:31 +02:00
Christoph Hartmann 1046ede67a Merge pull request #37 from hardening-io/fix_hmac_ssh_client
Change variable for hmac from server to client
2015-09-01 08:25:59 +02:00
Sebastian Gumprich d3e01b75d6 Change variable for hmac from server to client
in the openssh client configuration a server variable was used.
2015-08-31 21:10:00 +02:00
Christoph Hartmann b069a12800 Merge pull request #36 from hardening-io/update_kitchen-ansible
Update kitchen-ansible, remove separate debian install
2015-08-31 07:33:51 +02:00
Christoph Hartmann b05517c1f1 Merge pull request #40 from hardening-io/update_kitchen-ansible
Update kitchen-ansible, remove separate debian install
2015-08-31 07:31:34 +02:00
Christoph Hartmann fd81dbf559 Merge pull request #4 from hardening-io/update_kitchen-ansible
Update kitchen-ansible, remove separate debian install
2015-08-31 07:31:00 +02:00
Sebastian Gumprich ae40dc6d33 Use correct package for python mysql module 2015-08-30 20:01:02 +02:00
Sebastian Gumprich 6b87da3063 Add myslq-python install to travis 2015-08-30 19:58:15 +02:00
Sebastian Gumprich 2c9b868889 Exclude tags in travis file 2015-08-30 19:55:30 +02:00
Sebastian Gumprich c540ba2fe5 Use correct ansible-playbook in travis file 2015-08-30 19:53:19 +02:00
Sebastian Gumprich 46ec321fd4 Update kitchen-ansible, remove separate debian install
Due to the new kitchen-ansible version it is now
possible to install ansible on all major OS's via a
ansible omnibus script which is provided by
kitchen ansible. There's no more need to separate
the debian tests.
2015-08-30 19:48:46 +02:00
Sebastian Gumprich aa5dc8f8cc Update kitchen-ansible, remove separate debian install
Due to the new kitchen-ansible version it is now
possible to install ansible on all major OS's via a
ansible omnibus script which is provided by
kitchen ansible. There's no more need to separate
the debian tests.
2015-08-30 18:57:24 +02:00
Sebastian Gumprich be279bdb6b Update README
Remove the debian-part in testing.
2015-08-30 18:54:27 +02:00
Sebastian Gumprich 7b5fa53f3a Update kitchen-ansible, remove separate debian install
Due to the new kitchen-ansible version it is now
possible to install ansible on all major OS's via a
ansible omnibus script which is provided by
kitchen ansible. There's no more need to separate
the debian tests.

Also removed whitespace.
2015-08-29 14:13:17 +02:00
Sebastian Gumprich c54d37b29a Merge pull request #3 from hardening-io/update-common
update common kitchen.yml platforms (ansible), kitchen_debian.yml platforms (ansible)
2015-08-28 18:37:50 +02:00
Sebastian Gumprich b6f22299d4 Merge pull request #32 from hardening-io/update-common
update common kitchen.yml platforms (ansible), kitchen_debian.yml platforms (ansible)
2015-08-28 18:37:31 +02:00
Sebastian Gumprich c49708d5a2 Merge pull request #37 from hardening-io/update-common
update common kitchen.yml platforms (ansible), kitchen_debian.yml platforms (ansible)
2015-08-28 18:36:08 +02:00
Sebastian Gumprich adc8462838 Revamp conditionals again 2015-08-17 15:31:45 +00:00
Sebastian Gumprich 7b934e415c Add another conditional 2015-08-17 17:16:17 +00:00
Sebastian Gumprich b17bd65870 Add more conditionals 2015-08-17 17:08:16 +00:00
Sebastian Gumprich 9560f33329 Change last task again 2015-08-17 17:04:47 +00:00
Sebastian Gumprich be38ac75f4 Add selinux-check 2015-08-16 20:37:33 +00:00
Sebastian Gumprich 1ff939db76 Use correct variable and change travis-test 2015-08-14 17:44:12 +00:00
Sebastian Gumprich a1a439d38e Add mode to su-binary task. Fix #38 2015-08-13 21:02:57 +00:00
Sebastian Gumprich c4482cb12e Support for selinux and pam. fix #23
This change add the following:

- it checks wether selinux is in "Enforcing" mode
- when selinux is enforcing, it copies a new selinux-policy to the host
- this policy allows sshd to read the shadow-file directly, which is forbidden by selinux otherwise
- the policy is then compiled, a package is created and the policy is installed
- when selinux is enforcing, pam is used and the policy is not disabled, it gets removed,
  because its considered a security risk. see here: http://danwalsh.livejournal.com/12333.html
2015-08-10 21:45:15 +00:00
Christoph Hartmann 90c72503bb fetch new repo data before we install anything 2015-08-09 17:43:09 -07:00
Christoph Hartmann f23b88f237 set system ruby path 2015-08-09 17:38:50 -07:00
Christoph Hartmann 5a63cafe09 update common kitchen.yml platforms (ansible), kitchen_debian.yml platforms (ansible)
updating common files with changes that are configured in the profiles: kitchen.yml platforms (ansible), kitchen_debian.yml platforms (ansible)
2015-08-09 17:38:50 -07:00
Christoph Hartmann fb1f395db5 update common kitchen.yml platforms (ansible), kitchen_debian.yml platforms (ansible)
updating common files with changes that are configured in the profiles: kitchen.yml platforms (ansible), kitchen_debian.yml platforms (ansible)
2015-08-09 17:38:50 -07:00
Christoph Hartmann 7e14a43694 Merge pull request #34 from hardening-io/separate_ssh_ports
Separate ssh client and server ports. Fix #33
2015-08-09 16:19:09 -07:00
Sebastian Gumprich ef8c4ada2f Separate ssh client and server ports. Fix #33
This PR separates the ssh_ports variable into two separate
variables for the ssh-client and ssh-server.
2015-08-09 11:16:34 +00:00
Christoph Hartmann 5d9f852ce3 update common kitchen.yml platforms (ansible), kitchen_debian.yml platforms (ansible)
updating common files with changes that are configured in the profiles: kitchen.yml platforms (ansible), kitchen_debian.yml platforms (ansible)
2015-08-07 01:10:35 -07:00
Christoph Hartmann e68e325943 update common kitchen.yml platforms (ansible), kitchen_debian.yml platforms (ansible)
updating common files with changes that are configured in the profiles: kitchen.yml platforms (ansible), kitchen_debian.yml platforms (ansible)
2015-08-07 01:10:26 -07:00
Christoph Hartmann 936f6c287a Merge branch 'master' of github.com:hardening-io/ansible-ssh-hardening into update-common 2015-08-06 23:45:24 -07:00
Christoph Hartmann 3f485a8164 update common kitchen.yml platforms (ansible), kitchen_debian.yml platforms (ansible)
updating common files with changes that are configured in the profiles: kitchen.yml platforms (ansible), kitchen_debian.yml platforms (ansible)
2015-08-06 23:45:17 -07:00
Christoph Hartmann 3862773e3d Merge pull request #2 from hardening-io/separate_vars
Separate system-vars from editable vars.
2015-08-06 23:44:47 -07:00
Christoph Hartmann 950210348f Merge pull request #31 from hardening-io/max_auth_tries
Make MaxAuthTries configurable
2015-08-06 23:39:14 -07:00
Christoph Hartmann 4dcf55311a Merge pull request #30 from hardening-io/if_constructs
Change oneliner if-statements to be more readable
2015-08-06 23:38:42 -07:00
Christoph Hartmann 914edb2aec Merge pull request #36 from hardening-io/if_constructs
Change oneliner if-statements to be more readable
2015-08-06 23:37:24 -07:00