)]}'
{"doc/source/developer-notes/V-38501.rst":[{"author":{"_account_id":14288,"name":"Matthew Thode","display_name":"prometheanfire","email":"mthode@mthode.org","username":"prometheanfire"},"change_message_id":"5b0bf50dd551fce0f4008916b2988d46df9eee7e","unresolved":false,"context_lines":[{"line_number":1,"context_line":"**Exception**"},{"line_number":2,"context_line":""},{"line_number":3,"context_line":"Adjusting PAM configurations is very risky since it affects how all users"},{"line_number":4,"context_line":"authenticate. In addition, ``pam_faillock.so`` isn\u0027t available in Ubuntu."}],"source_content_type":"text/x-rst","patch_set":2,"id":"7a2fa921_1e3391ac","line":1,"updated":"2015-10-08 15:22:35.000000000","message":"possible way to do this with just iptables (example is for v4)\n\n    -A INPUT -p tcp -m tcp --dport 22 -m conntrack --ctstate NEW -m recent --set --name SSH --mask 255.255.255.255 --rsource -j ACCEPT\n    -A INPUT -p tcp -m tcp --dport 22 -m recent --update --seconds 600 --hitcount 11 --rttl --name SSH --mask 255.255.255.255 --rsource -j LOG --log-prefix SSH_brute_force\n    -A INPUT -p tcp -m tcp --dport 22 -m recent --update --seconds 600 --hitcount 11 --rttl --name SSH --mask 255.255.255.255 --rsource -j DROP","commit_id":"faabe0b45f68ddf5ae3fde9b74dc7e96badc61c0"},{"author":{"_account_id":538,"name":"Major Hayden","email":"major@mhtx.net","username":"rackerhacker"},"change_message_id":"34b17709c20014e0b067fcfa70255b345c2aff79","unresolved":false,"context_lines":[{"line_number":1,"context_line":"**Exception**"},{"line_number":2,"context_line":""},{"line_number":3,"context_line":"Adjusting PAM configurations is very risky since it affects how all users"},{"line_number":4,"context_line":"authenticate. In addition, ``pam_faillock.so`` isn\u0027t available in Ubuntu."}],"source_content_type":"text/x-rst","patch_set":2,"id":"7a2fa921_f9efcf84","line":1,"in_reply_to":"7a2fa921_1e3391ac","updated":"2015-10-08 15:39:03.000000000","message":"Would you suggest adding that as documentation or attempting to do that via Ansible tasks?  I\u0027d imagine we\u0027d need the iptables-persistent package to make it work (and that comes with its problems).","commit_id":"faabe0b45f68ddf5ae3fde9b74dc7e96badc61c0"},{"author":{"_account_id":538,"name":"Major Hayden","email":"major@mhtx.net","username":"rackerhacker"},"change_message_id":"a033f8df81a39f8ec9bbe1c6a110f343324ee08e","unresolved":false,"context_lines":[{"line_number":1,"context_line":"**Exception**"},{"line_number":2,"context_line":""},{"line_number":3,"context_line":"Adjusting PAM configurations is very risky since it affects how all users"},{"line_number":4,"context_line":"authenticate. In addition, ``pam_faillock.so`` isn\u0027t available in Ubuntu."}],"source_content_type":"text/x-rst","patch_set":2,"id":"7a2fa921_1f3e2b8c","line":1,"in_reply_to":"7a2fa921_a4afea28","updated":"2015-10-08 16:00:46.000000000","message":"Sounds good. I\u0027ll work on that.","commit_id":"faabe0b45f68ddf5ae3fde9b74dc7e96badc61c0"},{"author":{"_account_id":14288,"name":"Matthew Thode","display_name":"prometheanfire","email":"mthode@mthode.org","username":"prometheanfire"},"change_message_id":"5955b0d99c9fa4390e66137c5c5aa19fc3cfc703","unresolved":false,"context_lines":[{"line_number":1,"context_line":"**Exception**"},{"line_number":2,"context_line":""},{"line_number":3,"context_line":"Adjusting PAM configurations is very risky since it affects how all users"},{"line_number":4,"context_line":"authenticate. In addition, ``pam_faillock.so`` isn\u0027t available in Ubuntu."}],"source_content_type":"text/x-rst","patch_set":2,"id":"7a2fa921_a4afea28","line":1,"in_reply_to":"7a2fa921_f9efcf84","updated":"2015-10-08 15:53:24.000000000","message":"I think having doing this in doc is fine, but I\u0027d rather do an actual solution, like install fail2ban.","commit_id":"faabe0b45f68ddf5ae3fde9b74dc7e96badc61c0"},{"author":{"_account_id":11861,"name":"Travis McPeak","email":"tmcpeak@us.ibm.com","username":"travis-mcpeak"},"change_message_id":"f6a3e2d739a52f1635a8c47c74e377c2929da659","unresolved":false,"context_lines":[{"line_number":4,"context_line":"authenticate. In addition, ``pam_faillock.so`` isn\u0027t available in Ubuntu."},{"line_number":5,"context_line":""},{"line_number":6,"context_line":"The Ansible tasks will install `fail2ban`_ and configure it to ban IP"},{"line_number":7,"context_line":"addresses with multiple failed logins for 15 minutes. To opt out of installing"},{"line_number":8,"context_line":"fail2ban or adjust the time that an IP address is banned, adjust the following"},{"line_number":9,"context_line":"two Ansible variables:"},{"line_number":10,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"7a2fa921_d853ca15","line":7,"updated":"2015-10-09 08:37:52.000000000","message":"is it worth mentioning how many failed logins?","commit_id":"a59a96c6a64769e7fe3de91e63dedc9ceb866b82"},{"author":{"_account_id":15313,"name":"Toby Oxborrow","email":"tobyox@cisco.com","username":"toby.oxborrow"},"change_message_id":"7a2a2d8f656e9cc0daaf2931b518ed43290c8981","unresolved":false,"context_lines":[{"line_number":13,"context_line":"    install_fail2ban: yes"},{"line_number":14,"context_line":"    fail2ban_bantime: 900"},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"This will ban IP addresses that try to access the server over the network."},{"line_number":17,"context_line":"As for console access, deployers are urged to maintain strict physical access"},{"line_number":18,"context_line":"security as well as limit access to out-of-band access methods, like IPMI."},{"line_number":19,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"7a2fa921_a8bf9f5f","line":16,"updated":"2015-10-09 08:05:08.000000000","message":"This wording almost makes it sound like it will ban *any* IP address that tries to login, successful or not.\n\nIs this sentence necessary? As it is described more clearly at the top of the file.","commit_id":"a59a96c6a64769e7fe3de91e63dedc9ceb866b82"},{"author":{"_account_id":7307,"name":"Matt Thompson","email":"mattt@defunct.ca","username":"mattt416"},"change_message_id":"7d04f98399ee4cc4f59cd61820c0e41587be4e71","unresolved":false,"context_lines":[{"line_number":23,"context_line":"listen on the network, such as ssh. It has no control over physical consoles."},{"line_number":24,"context_line":"Deployers are strongly urged to use stong physical security policies to"},{"line_number":25,"context_line":"prevent unauthorized users from accessing server consoles. In addition,"},{"line_number":26,"context_line":"depoyers must secure out-of-band access methods, like IPMI, as they can be"},{"line_number":27,"context_line":"vectors for physical console access as well."},{"line_number":28,"context_line":""},{"line_number":29,"context_line":".. _fail2ban: https://en.wikipedia.org/wiki/Fail2ban"}],"source_content_type":"text/x-rst","patch_set":11,"id":"5a2ca52d_6e755c96","line":26,"updated":"2015-10-15 13:37:19.000000000","message":"s/depoyers/deployers/","commit_id":"64c0772b0c8175cc0f27ab9446576b08a16df7a1"},{"author":{"_account_id":538,"name":"Major Hayden","email":"major@mhtx.net","username":"rackerhacker"},"change_message_id":"b80891ba5225ad36fa2cc17d99ec53971ae343cc","unresolved":false,"context_lines":[{"line_number":23,"context_line":"listen on the network, such as ssh. It has no control over physical consoles."},{"line_number":24,"context_line":"Deployers are strongly urged to use stong physical security policies to"},{"line_number":25,"context_line":"prevent unauthorized users from accessing server consoles. In addition,"},{"line_number":26,"context_line":"depoyers must secure out-of-band access methods, like IPMI, as they can be"},{"line_number":27,"context_line":"vectors for physical console access as well."},{"line_number":28,"context_line":""},{"line_number":29,"context_line":".. _fail2ban: https://en.wikipedia.org/wiki/Fail2ban"}],"source_content_type":"text/x-rst","patch_set":11,"id":"5a2ca52d_2eac449f","line":26,"in_reply_to":"5a2ca52d_6e755c96","updated":"2015-10-15 13:41:34.000000000","message":"Done","commit_id":"64c0772b0c8175cc0f27ab9446576b08a16df7a1"}],"tasks/auth.yml":[{"author":{"_account_id":7307,"name":"Matt Thompson","email":"mattt@defunct.ca","username":"mattt416"},"change_message_id":"7d04f98399ee4cc4f59cd61820c0e41587be4e71","unresolved":false,"context_lines":[{"line_number":159,"context_line":"- name: V-38501 - The system must disable accounts after excessive login failures (install fail2ban)"},{"line_number":160,"context_line":"  apt:"},{"line_number":161,"context_line":"    name: fail2ban"},{"line_number":162,"context_line":"    state: latest"},{"line_number":163,"context_line":"  when: install_fail2ban | bool"},{"line_number":164,"context_line":"  tags:"},{"line_number":165,"context_line":"    - auth"}],"source_content_type":"text/x-yaml","patch_set":11,"id":"5a2ca52d_8e9f98b3","line":162,"updated":"2015-10-15 13:37:19.000000000","message":"s/latest/present/","commit_id":"64c0772b0c8175cc0f27ab9446576b08a16df7a1"},{"author":{"_account_id":538,"name":"Major Hayden","email":"major@mhtx.net","username":"rackerhacker"},"change_message_id":"b80891ba5225ad36fa2cc17d99ec53971ae343cc","unresolved":false,"context_lines":[{"line_number":159,"context_line":"- name: V-38501 - The system must disable accounts after excessive login failures (install fail2ban)"},{"line_number":160,"context_line":"  apt:"},{"line_number":161,"context_line":"    name: fail2ban"},{"line_number":162,"context_line":"    state: latest"},{"line_number":163,"context_line":"  when: install_fail2ban | bool"},{"line_number":164,"context_line":"  tags:"},{"line_number":165,"context_line":"    - auth"}],"source_content_type":"text/x-yaml","patch_set":11,"id":"5a2ca52d_4eaf4094","line":162,"in_reply_to":"5a2ca52d_8e9f98b3","updated":"2015-10-15 13:41:34.000000000","message":"Done","commit_id":"64c0772b0c8175cc0f27ab9446576b08a16df7a1"}]}
