├── LICENSE ├── MyWebsiteIsDown.md ├── MyWebsiteIsDown_RU.md ├── Mywebsiteisdown.docx ├── Mywebsiteisdown.pdf ├── Mywebsiteisdown.txt └── README.md /LICENSE: -------------------------------------------------------------------------------- 1 | This work is licensed under a Creative Commons Attribution-NonCommercial 3.0 Unported (CC BY-NC 3.0) License (http://creativecommons.org/licenses/by-nc/3.0/) 2 | 3 | The toolkit may be used and shared for educational, non-commercial, not-for-profit purposes, with attribution to Internews. Users are free to modify and distribute content under conditions listed in the license. 4 | 5 | The toolkit is intended as reference and the authors take no responsibility for the safety and security of persons using them in a personal or professional capacity. 6 | -------------------------------------------------------------------------------- /MyWebsiteIsDown.md: -------------------------------------------------------------------------------- 1 | # What to do when your website goes down 2 | 3 | A threat that many independent journalists, news sites, and bloggers face is having their voices muted because their website is down. In many cases, this may be an innocent if frustrating problem, but on occasion, it may be due to a "denial of service" attack. 4 | 5 | This document will walk you through some very basic steps to diagnose potential problems. If your site is under a denial of service attack, some immediate options for next steps are suggested. 6 | 7 | * [First Steps](#first-steps-diagnosing-other-potential-problems) 8 | * [Next Steps](#next-steps) 9 | * [Responding to a Denial of Service Attack](#responding-to-a-denial-of-service-attack) 10 | * [Before you choose a service](#before-you-choose) 11 | * [DDoS Mitigation Services](#mitigation-services) 12 | 13 | *All technical terms are further defined in the [glossary](#glossary) at the end of this guide.* 14 | 15 | ## Don't wait - prepare now! 16 | 17 | **Even if you have not experienced a denial of service attack, this guide offers steps to prepare for one -- hopefully preventing any downtime at all**. Go straight to the [Responding to a Denial of Service Attack](#responding-to-a-denial-of-service-attack) to investigate common solutions you can implement now, before being attacked. 18 | 19 | If you are currently researching how to build your website to be resistant to attacks that might take it offline, you should first read through this guide by the Electronic Frontier Foundation: [https://www.eff.org/keeping-your-site-alive](https://www.eff.org/keeping-your-site-alive) . 20 | 21 | AccessNow provides a much more in-depth guide with many more resources and mitigation techniques in English, Farsi, Arabic, and Russian. Visit [https://www.accessnow.org/policy/docs](https://www.accessnow.org/policy/docs) and click on DoS on the right side, or download a copy from [https://s3.amazonaws.com/access.3cdn.net/3fd9faf32feb878cf7_krm6iy7bo.pdf](https://s3.amazonaws.com/access.3cdn.net/3fd9faf32feb878cf7_krm6iy7bo.pdf) . 22 | 23 | # First Steps: Diagnosing other potential problems 24 | 25 | Sites most often go down due to programming errors or technical problems at the company that hosts the site. Sometimes, other things like legal challenges can cause a host to turn a site off as well. Let’s first try to check for these common problems. When possible, the best first step is to contact a trusted person who can help with your website (your webmaster, the people who helped you set up your site, your internal staff if you have them, and the company that hosts your site). 26 | 27 | After investigating these common challenges below, **Contact your webmaster and the site host!** The problem you face may not be reported on their status page yet, may be a temporary problem, or they may not yet be aware of the problem. A good relationship with your service providers goes a long way - be clear and polite, and share the results of your investigation using these questions to help them quickly troubleshoot the problem. 28 | 29 | ## Checklist 30 | 31 | 1. **Are you seeing error messages?** This could be a ***software problem***, and you should reflect on an recent changes you or your team may have made, and contact your webmaster. Sending your webmaster a screenshot, the link of the page you are having problems with, and any error messages you see will help them figure out what might be the cause of the problem. You might also copy the error messages into a search to see if they are easily fixed. 32 | 2. **Are you seeing a message from your web hosting provider?** You could have been taken offline for legal, copyright, billing, or other reasons. This is a ***policy problem***, and the resources provided by the EFF, while focused on US copyright laws, are a good place to learn more: [https://www.eff.org/issues/bloggers/legal/liability/IP](https://www.eff.org/issues/bloggers/legal/liability/IP). 33 | 3. **Is your site not loading at all?** Your hosting company may be having problems, in which case you may be facing a ***hosting problem***. Can you visit the website of your hosting company? Note that this is **not** the admin section of your own site, but the company or organization you work with to host your site. Look or search for a "status" blog (e.g. status.dreamhost.com), and also search on twitter.com for other users discussing downtime at the host - a simple search like “(company name) down” can often reveal if many others are having the same problem. 34 | 4. **Is your web host working, but your is unavailable?** Check [http://www.isup.me/](http://www.isup.me/) - your site might be up, but you can’t see it. This is a ***network problem***. Your own Internet connection could be having problems or be blocking your access to your site. 35 | 5. **Can you visit other sites with content like your site?** Try visiting websites related to yours or covering similar issues. Also try using Tor ([https://www.torproject.org/projects/gettor.html](https://www.torproject.org/projects/gettor.html)) or Psiphon ([https://psiphon.ca/products.php](https://psiphon.ca/products.php)) to access your site. If this helps, you have a ***blocking problem*** -- you are still online for other parts of the world, but are being censored in your own country. 36 | 6. **Is your site loading intermittently, or unusually slowly?** Your site may be overwhelmed by the number and speed of requests for pages it is receiving -- this is a ***performance problem***. This could be "good" in that your site has become more popular and it simply needs some improvements to respond to more readers - check your site analytics for a long-term pattern in growth. Contact your webmaster or hosting provider for guidance. Many popular blogging and CMS platforms (Joomla, Wordpress, Drupal...) have plugins to help cache your website locally and integrate CDNs, which can dramatically improve site performance and resilience. Many of the solutions below can also help performance problems as well. 37 | 38 | ### Tips 39 | 40 | * **Backups** In addition to the services and suggestions below, it’s always good to make sure you have backups (that you store somewhere other than the same place your website is!) - many hosts and website platforms have this included; but it’s best to also have additional, offline copies. 41 | * **Keep up to date** If you are using a Content Management System (CMS) such as WordPress or Drupal, check to make sure that your website technology is updated to the latest software, especially if there have been security updates. 42 | * **Monitoring** There are many services that can constantly check on your site and email or text you if it goes down. [This Mashable article](http://mashable.com/2010/04/09/free-uptime-monitoring/) lists 10 popular ones. Be aware that the email or phone number you use for monitoring will be clearly associated with managing the website. 43 | 44 | # Next Steps 45 | 46 | If the above diagnoses do not help (or you are experiencing a severe ***performance problem***, your site may be the victim of a **"denial of service" attack**, where a malicious user (or many of them), try to view the website over and over again, quickly (using automated tools), and in doing so crowd out legitimate readers. Sometimes it’s one “attacker” trying to do this to your site, which usually doesn’t cause much of a problem -- unless you pay for bandwidth. More common is the “Distributed” denial of service (DDoS), where an attacker who controls thousands of machines targets a site with all of them. 47 | 48 | *Imagine hundreds of people in line at a food stall who, when they get to the front of the line, slowly decide not to order anything, but then immediately get back in line. There may be legitimate customers in line, but it’s going to take them hours to get their food, and the vendor may give up!* 49 | 50 | This [video from Google's Project Shield](https://www.youtube.com/watch?v=wmTvv8ISwPA) provides a great description of these attacks. 51 | 52 | # Responding to a Denial of Service Attack 53 | 54 | **Don’t wait until you have been attacked!** All of the services listed below will work quickly to help you recover during or after an attack, but you can get protected now, before any attack happens! This can reduce costs by lowering your bandwidth usage, and keep you online during an attack. Once you’ve been hit, it can take up to three days for the Internet to "find" you at your new, protected address - so in almost every case, it’s much better to **be prepared and get started now**. The first step is to work with the company you bought your domain from, and change the “Time to Live” or TTL to 1 hour. This can help you redirect your site once it comes under attack much faster (the default is 72 hours, or three days). 55 | 56 | There are many services that can help you with denial of service attacks; and they fall (very broadly) into two categories - **hosted** and **proxied** services. 57 | 58 | ## Hosted Services 59 | 60 | Hosted services require you to move your website completely to their servers - you’re changing hosting providers. Many of them can help you through this. The benefits of this include the hosted solution often providing many other protection features in addition to DDoS mitigation; the downside can be cost (depending on what you currently pay) and control - you need to be able to trust your domain host, as they have a lot of control over your website. Hosted services may also use a mixture of the same technology as *proxied services* below. 61 | 62 | ### Pros: 63 | 64 | * Provides one central service for most, if not all, your website needs 65 | * Often includes many secondary services and consulting, and even limited legal defense in some cases 66 | * Full support teams often on staff to help 67 | 68 | ### Cons: 69 | 70 | * You must host your website with the service 71 | * You must trust the service to manage your site and defend your rights 72 | * These services often are much more expensive (but you don’t have to pay other hosting / DNS services anymore!) 73 | 74 | ## Proxied Services 75 | 76 | Proxied services let you continue hosting your site wherever it is, and just change how others on the Internet find and access it - this is generally much easier to set up. These services have servers around the world which essentially get out in front of your website and absorb or ignore malicious traffic. They "mirror" and serve constantly-updated copies of your site. These services are very easy to set up, and you maintain complete control of your website and hosting setup. 77 | 78 | ### Pros: 79 | 80 | * Lower cost (often with a free level) 81 | * Quick and easy to set up 82 | * You don’t have to change your existing website host 83 | * You can change or quit the service at any time 84 | 85 | ### Cons: 86 | 87 | * Fewer support options 88 | * Focused primarily on just mitigating DDoS attacks - does not necessarily include help with malware or spammers. 89 | * SSL (encrypted) traffic will be briefly decrypted and re-encrypted by the proxy server to pass it from their proxy to your server. 90 | 91 | ## Custom Options 92 | 93 | It’s important to note that there are many ways to combine these approaches. Many websites use what is called a Content Delivery Network (CDN), which takes some of the burden (serving images and other static content) off of a website and speeds it up greatly. Dynamic sites (such as those powered by content management systems like Joomla, Wordpress and Drupal), can sometimes be "converted" into static sites that can be fully hosted (mirrored) using CDNs. 94 | 95 | Content Delivery Networks can help reduce bandwidth costs and load during DDoS attacks, which, if your host is powerful enough for the rest, can get you through. There are hundreds of CDN services, including Akamai and Amazon CloudFront. MaxCDN has a free level of service, but generally, cost scales with bandwidth, meaning that these may become a financial drain during a DDoS attack. These often require a bit of technical expertise to get working, and you should work with your webmaster. 96 | 97 | Another option to investigate is to "mirror" your content across multiple different sites. This is especially valuable if your content is being targeted for blocking or removal. 98 | 99 | ## Before you choose 100 | 101 | Finally, for any service, you must be comfortable with the provider - that means trust, but also understanding their business model: Is it fee-for-service? If there’s a free version, does it receive less support than a paid alternative? Is it funded by governments? It is best to cover as much detail up front as possible to avoid surprises down the road. 102 | 103 | ### For all services: 104 | 105 | * How is the company/organization structured and sustained? What types of vetting or reporting are the required to do, if any? 106 | * Consider what country/countries they have a legal presence in and would be required to comply with law enforcement and other legal requests 107 | * What logs are created, and for how long are they available? 108 | * Are there restrictions that impact you on what content the service will host/proxy? 109 | * Are there restrictions on the countries where they can provide service? 110 | * Do they accept a form of payment you can use? Can you afford their service? 111 | * Secure communications -- you should be able to log in securely and communicate with the service provider privately. 112 | * Is there an option for two-factor authentication, to improve the security of administrator access? This or related secure access policies can help reduce the threat of other forms of attacks against your website. 113 | * What type of ongoing support will you have access to? Is there an additional cost for support, and/or will you receive sufficient support if you are using a "free" tier? 114 | * Can you "test-drive" your website before you move over via a staging site? 115 | 116 | ### For hosted services 117 | 118 | * Do they offer full support on moving your site over? 119 | * Are the services equal or better options than your current host, at least for tools/services you use? Top things to check are: 120 | * Management dashboards like cPanel 121 | * Email accounts (how many, quotas, access via SMTP, IMAP) 122 | * Databases (how many, types, access) 123 | * Remote access via SFTP/SSH 124 | * Support for the programming language (PHP, Perl, Ruby, cgi-bin access...) or CMS (Drupal, Joomla, Wordpress…) your site uses 125 | 126 | ### For proxied services: 127 | 128 | * If you use SSL (also known as HTTPS or secure web traffic), ask how they manage SSL. In some configurations, it may be easiest to share your private SSL key. If you do so, you need to have a high level of trust in the service provider, as they can "impersonate" your site (indeed, this is what you are asking them to do by providing a proxy!) 129 | * Ask about how administration / editorial logins and pages are managed 130 | * Talk about any interactive parts of your website (users who log in, comment, admin/editorial needs, complex interactive pages/javascript/animations) -- different proxy services manage these differently; you will need to test these before switching completely. 131 | 132 | # Mitigation Services 133 | 134 | All of the services listed below provide protection against DDoS attacks. This is not a complete listing of services - there are many, many more. These services all represent good starting points, as they have been used by other members in the independent media / human rights / free speech communities. 135 | 136 | ## Hosted Services 137 | 138 | This by no means is an exhaustive list. It focuses on services which can be initiated quickly and have strong track-records on protecting free speech online. Please note that prices for hosted services are not directly comparable to those of proxy services. Hosted services will take the place of any existing cost for website hosting. 139 | 140 | ### VirtualRoad.org 141 | 142 | * **Cost:** Pricing starts at €100/month for simple sites. Other tiers for more complex hosting needs or higher resource demands are available. 143 | * **Restrictions:** None, though the service is focused on content management systems which use PHP (Joomla, Drupal, Wordpress, and similar) 144 | * **About the organization and its business model:** VirtualRoad.org is part of Media Frontiers, a social purpose enterprise registered in Denmark as an ApS / limited liability company, established by the press freedom NGO, International Media Support (IMS). IMS is funded largely by the governments of Denmark, Sweden, and Norway. This organizational structure is meant to build long-term sustainable services for the community. 145 | * **Additional Services:** VirtualRoad.org offers full-range protection encompassing a wide variety of services, from transferring your site to their systems, domain registration, optimization, security audits, protection from hacking and phishing, security reports detailing attempted attacks, and even support in responding to legal requests. See [https://virtualroad.org/get-protected/packages](https://virtualroad.org/get-protected/packages) for more details. 146 | * **Technical needs:** You will need to have full access to your website’s backend or backups, as well as to edit your nameservers. If you need technical assistance with any of the onboarding or hosting, VirtualRoad.org will support you through the process. 147 | * **Get Started Now:** Visit [https://virtualroad.org/contact](https://virtualroad.org/contact) or email [info@virtualroad.org](mailto:info@virtualroad.org) 148 | 149 | ### The Positive Internet Company 150 | 151 | * **Cost:** Pricing starts at $495/month for fully managed servers. Shared hosting may be available for only £125/year. 152 | * **Restrictions:** None 153 | * **About the organization and its business model:** The Positive Internet Company is a for-profit company with offices in the UK and the US. 154 | * **Additional Services:** Services are fully managed, including firewalls, databases, and backups. More information available here: [http://www.positive-internet.com/services/vip-hosting](http://www.positive-internet.com/services/vip-hosting) 155 | * **Technical needs:** You will need to have full access to your website’s backend or backups, as well as to edit your nameservers. The Positive Internet Company provides technical assistance with onboarding and hosting. 156 | * **Get Started Now:** Visit [http://www.positive-internet.com/contact-us](http://www.positive-internet.com/contact-us) or email good@positive-internet.com 157 | 158 | ### More Secure Hosting Organizations: 159 | 160 | * **Greenhost:** [https://greenhost.nl/order/](https://greenhost.nl/order/) Greenhost is a Dutch [social enterprise](http://social-enterprise.nl/social-enterprises/greenhost/) founded to provide sustainable, environmentally friendly website hosting services. Greenhost is committed to an open and free internet, and the protection of its users. 161 | * **Ecological and Dissident Hosting:** [https://ecodissident.net/hosting](https://ecodissident.net/hosting) EcoDissident focuses on providing strong protection for free speech; you may want to pair hosting here with a proxied service, below). EcoDissident is a service of [Webarchitects](http://www.webarchitects.coop/), a sustainable coöperative social enterprise. 162 | * **Gandi.net** [https://www.gandi.net/](https://www.gandi.net/) . Gandi is a French company, with offices in Baltimore (USA) and Vancouver (Canada), and supports many popular community tools and projects. 163 | * **Many others!** There are many other organizations who are aligned with promoting Internet freedom and can help you recover from a DDoS in various ways. If you are or know of a service which should be listed here, please contribute. 164 | 165 | ## Proxied Services 166 | 167 | Again, this is by no means an exhaustive list; there are thousands of commercial services which offer variants of proxy and CDN tools which can help defend against DDoS attacks. This list focuses on services which can be initiated quickly and have strong track-records on protecting free speech online. 168 | 169 | ### Deflect 170 | 171 | * **Cost:** Free 172 | * **Restrictions:** NGOs, human rights, independent media 173 | * **About the organization and its business model:** Deflect is an open source project of eQualit.ie, a not-for-profit technology collective based in Montreal, Canada with deep roots in the human rights technology community. Deflect is funded by NGOs and governments, including the US government, to provide Deflect services to protect the freedom of speech. Deflect does not disclose the websites they protect nor need approval to provide service. Deflect maintains servers with like-minded hosting companies around the world. 174 | * **Additional Services:** The Deflect team will support you getting on to their services. They have some grant funding available to pay for additional SSL Certificates and other related protection/recovery costs. Sites protected by Deflect can opt to add additional layers of security to their core site. 175 | * **Technical needs:** You will need the ability to change your nameservers. 176 | * **Get Started Now:** [https://wiki.deflect.ca/signup/](https://wiki.deflect.ca/signup/). See also [https://wiki.deflect.ca/wiki/Join_Deflect](https://wiki.deflect.ca/wiki/Join_Deflect) 177 | 178 | ### CloudFlare 179 | 180 | * **Cost:** Free for basic protection, $20/month to include SSL support, and up to $200/month for more advanced needs. Paid customers receive preferential support and uptime guarantees. 181 | * **Restrictions:** Subject to US export controls, see also [https://blog.cloudflare.com/thoughts-on-abuse](https://blog.cloudflare.com/thoughts-on-abuse) 182 | * **About the organization and its business model:** Cloudflare is a privately-held Delware-incorporated US for-profit company based in San Francisco. They maintain servers around the world ([https://www.cloudflare.com/network-map](https://www.cloudflare.com/network-map)) and comply with legal requests. 183 | It should be noted that part of CloudFlare’s defenses against DDoS attacks occasionally degrade access from the Tor network. This happens if someone is using Tor to abuse a service, and is **not** a policy decision to block Tor. See also [this blog post](http://blog.cloudflare.com/cloudflare-and-free-speech) for further policies from CloudFlare regarding free speech. 184 | Cloudflare is required to comply with US legal requests and National Security Letters. 185 | * **Technical needs:** You will need the ability to change your nameservers. 186 | * **Get Started Now:** Create an account here: [https://www.cloudflare.com/sign-up](https://www.cloudflare.com/sign-up) 187 | 188 | ### Google’s Project Shield / PageSpeed 189 | 190 | * **Cost:** PageSpeed is free during trial period; Project Shield is "currently offered free of charge to trusted testers." For both, there will be a 30-day notice before it changes to a fee-based model. 191 | * **Restrictions:** You must be approved, generally a 2-hour process, but may be restricted for some organizations or countries. Project Shield is currently invite only, and is "accepting applications from websites serving news, human rights or elections-related content." 192 | * **About the organization and its business model:** Google is an international, public, for-profit company based in Mountain View, California, USA. 193 | As with most Google products, this ties the Google account you use to your website. This service falls under Google’s overall privacy policy and terms of service. 194 | Google is required to comply with US legal requests and National Security Letters. 195 | * **Technical needs:** You will need the ability to fine-tune your DNS records. PageSpeed rewrites and optimizes some parts of your website, which can alter functionality; you should be ready to test for this. 196 | * **Get Started Now with Pagespeed:** Begin the sign-up process here: [https://developers.google.com/speed/pagespeed/service](https://developers.google.com/speed/pagespeed/service) 197 | * **Get Started Now with Project Shield:** Request access here: [http://projectshield.withgoogle.com/about/](http://projectshield.withgoogle.com/about/) . Note that Project Shield is currently invite only and providing access on a rolling basis. After you sign up, you will "be notified via email if your site is selected to become a 'trusted tester'." 198 | 199 | ### More Proxy Services 200 | 201 | There are many other organizations who offer tools to help protect sites from DDoS attacks. If you are or know of a service which focuses on protecting free speech against DDoS and should be listed here, please contribute. 202 | 203 | ## Related Services: Domain Name Registration 204 | 205 | DDoS attacks also impact many other services around your website - the service that directs visitors to the right webserver (DNS servers or name servers) may also be attacked or impacted. While the services you engage below will support you in chosing/moving DNS providers, here is a short list of well-regarded services. EasyDNS and Hover.com are based in Canada, 1984.is, Iceland. 206 | 207 | * EasyDNS [https://web.easydns.com/](https://web.easydns.com/) 208 | * 1984.is [https://www.1984.is/](https://www.1984.is/) 209 | * Hover.com [https://www.hover.com/](https://www.hover.com/) 210 | 211 | # Glossary 212 | 213 | * **CDN / Content Delivery Network:** A worldwide collection of computers you can program your website to use to serve content quickly. Consider the case where your website is hosted in Iceland, but you have visitors from Thailand. If you use a CDN, at least parts of your site can be delivered to the visitor from a computer that is much closer to them, than having to come all the way from Iceland. This also has the effect of spreading the load out among other computers, which can reduce the severity of a DDoS Attack 214 | * **DDoS / Distributed Denial of Service Attack:** a "denial of service" attack is where a malicious user (or many of them), try to view the website over and over again, quickly (using automated tools), and in doing so crowd out legitimate readers. Sometimes it’s one “attacker” trying to do this to your site, which usually doesn’t cause much of a problem -- unless you pay for bandwidth. More common is the “Distributed” denial of service (DDoS), where an attacker who controls thousands of machines targets a site with all of them. 215 | * **DNS Record:** The DNS record is like the master Contact List of Phone Book of the Internet. All website servers are identified by a series of numbers and/or coded letters (the IP Address) - Google.com is 74.125.228.69, for example. By changing this record, you can give out a different IP Address for a website - which could be a new hosting provider’s address or a proxy for your original website. 216 | * **Domain Name:** The human-readable name of your website - google.com, for example. 217 | * **Nameserver:** When a browser wants to find a website, it will first contact a name server, which will tell connect the domain name (google.com) to it’s Internet address / IP Address (74.125.228.69) via it’s DNS Record (above). By changing the DNS record at a name server, you can "point" the browser to a different server. 218 | * **SSL:** Also referred to as HTTPS, a secure way (from the browser to the website) to interact with a website. See also [Wikipedia](https://en.wikipedia.org/wiki/Secure_Sockets_Layer#Description) 219 | * **Website host:** The server where your website and its files/databases are stored. 220 | 221 | 222 | [![githalytics.com alpha](https://cruel-carlota.pagodabox.com/dc4c191166ab89785c89e222c02e5572 "githalytics.com")](http://githalytics.com/OpenInternet/MyWebsiteIsDown) 223 | -------------------------------------------------------------------------------- /MyWebsiteIsDown_RU.md: -------------------------------------------------------------------------------- 1 | # Что делать, если ваш сайт подвергся атаке 2 | 3 | Многие независимые журналисты, новостные сайты и блогеры сталкиваются с угрозой быть неуслышанными из-за того, что их сайты недоступны. Во многих случаях причиной могут служить простые и даже глупые ошибки, но в некоторых случаях это атака типа "отказ в обслуживании" (от англ. DoS, или Denial of Service). 4 | 5 | Этот документ поможет вам сделать первые шаги в диагностике потенциальных проблем. Если ваш сайт подвергается атаке типа "отказ в обслуживании" (DoS), мы предлагаем некоторые неотложные меры. 6 | 7 | * [Первые шаги](#%D0%9F%D0%B5%D1%80%D0%B2%D1%8B%D0%B5-%D1%88%D0%B0%D0%B3%D0%B8-%D0%94%D0%B8%D0%B0%D0%B3%D0%BD%D0%BE%D1%81%D1%82%D0%B8%D0%BA%D0%B0-%D0%B4%D1%80%D1%83%D0%B3%D0%B8%D1%85-%D0%BF%D0%BE%D1%82%D0%B5%D0%BD%D1%86%D0%B8%D0%B0%D0%BB%D1%8C%D0%BD%D1%8B%D1%85-%D0%BF%D1%80%D0%BE%D0%B1%D0%BB%D0%B5%D0%BC) 8 | * [Дальнейшие шаги](#%D0%94%D0%B0%D0%BB%D1%8C%D0%BD%D0%B5%D0%B9%D1%88%D0%B8%D0%B5-%D1%88%D0%B0%D0%B3%D0%B8) 9 | * [Как реагировать на DoS-атаку](#%D0%9A%D0%B0%D0%BA-%D1%80%D0%B5%D0%B0%D0%B3%D0%B8%D1%80%D0%BE%D0%B2%D0%B0%D1%82%D1%8C-%D0%BD%D0%B0-dos-%D0%B0%D1%82%D0%B0%D0%BA%D1%83) 10 | * [Перед тем, как выбрать сервис](#%D0%9F%D0%B5%D1%80%D0%B5%D0%B4-%D1%82%D0%B5%D0%BC-%D0%BA%D0%B0%D0%BA-%D0%B2%D1%8B%D0%B1%D1%80%D0%B0%D1%82%D1%8C-%D1%81%D0%B5%D1%80%D0%B2%D0%B8%D1%81) 11 | * [Сервисы защиты от DDoS-атак](#%D0%A1%D0%B5%D1%80%D0%B2%D0%B8%D1%81%D1%8B-%D0%B7%D0%B0%D1%89%D0%B8%D1%82%D1%8B-%D0%BE%D1%82-ddos-%D0%B0%D1%82%D0%B0%D0%BA) 12 | 13 | *Все технические термины представлены в [глоссарии](#%D0%93%D0%BB%D0%BE%D1%81%D1%81%D0%B0%D1%80%D0%B8%D0%B9) в конце этого руководства.* 14 | 15 | ## Не ждите - подготовьтесь сейчас! 16 | 17 | **Даже если ваш сайт не подвергался атаке типа "отказ в обслуживании", это руководство предлагает шаги, необходимые для подготовки, которая, мы надеемся, позволит полностью избежать отключения сайта**. Перейдите сразу к пункту [Как реагировать на DoS-атаку](#responding-to-a-denial-of-service-attack), чтобы узнать о самых распространенных решениях, которые вы сразу можете использовать, во избежание атаки. 18 | 19 | Если в настоящее время вы ищите информацию о том, как сделать ваш сайт устойчивым к атакам, которые могут привести к его отключению от Интернета, вам стоит для начала прочитать руководство, разработанное Фондом электронных рубежей (EFF или Electronic Frontier Foundation): [https://www.eff.org/keeping-your-site-alive](https://www.eff.org/keeping-your-site-alive). 20 | 21 | Организация AccessNow предоставляет более углубленное руководство, содержащее множество ресурсов и описывающее большее количество способов защиты на английском, фарси, арабском и русском языках. Посетите [https://www.accessnow.org/policy/docs](https://www.accessnow.org/policy/docs) и кликните надпись "DoS" с правой стороны экрана или скачайте копию руководства здесь: [https://s3.amazonaws.com/access.3cdn.net/3fd9faf32feb878cf7_krm6iy7bo.pdf](https://s3.amazonaws.com/access.3cdn.net/3fd9faf32feb878cf7_krm6iy7bo.pdf). 22 | 23 | # Первые шаги: Диагностика других потенциальных проблем 24 | 25 | Как правило, проблемы в работе сайтов возникают по причине программных ошибок или технических проблем компании, которая обеспечивает хостинг сайта. Иногда другие сложности, например, причины юридического характера, могут привести к тому, что хостер отключает доступ к сайту. По возможности необходимо для начала связаться с доверенными лицами, которые могут помочь вам решить проблему с сайтом (ваш веб-мастер, люди, которые разрабатывали ваш сайт, ответственный персонал вашей компании, если имеется, а также компания, предоставляющая для вас услуги хостинга). 26 | 27 | После того, как вы изучите наиболее частые проблемы, перечисляемые ниже, **свяжитесь с вашим системным администратором и хостинговой компанией!** Возможно, проблема, с которой вы столкнулись, еще не указана на их веб-сайте, возможно, она носит временный характер, или провайдер еще не знает о её существовании. Хорошие отношения с вашими провайдерами требуют усилий: будьте вежливыми и чётко выражайте свои мысли, передайте специалистам результаты своего исследования, используя представленные ниже вопросы, чтобы помочь им быстро решить вашу проблему. 28 | 29 | ## Список вопросов 30 | 31 | 1. **Видите ли вы сообщения об ошибках?** Возможно, это ***проблема программного обеспечения***, и для её решения нужно обратить внимание на недавние изменения, которые внесли вы или ваша команда, и связаться с вашим системным администратором. Если вы отправите ему скриншот, ссылку на страницу, на которой возникают проблемы, и сообщения об ошибках, которые вы видите, вы существенно облегчите его задачу по выявлению причины проблемы. Вы можете также скопировать сообщения об ошибках в поисковую систему и проверить, насколько легко их можно устранить. 32 | 2. **Видите ли вы сообщение от вашей хостинговой компании?** Сайт могли отключить на юридических основаниях, из-за задержки оплаты услуг, нарушения авторских прав или по другим причинам. Это ***проблема правил***, и ресурсы, предоставленные EFF, хоть и фокусируются на авторских правах в США, позволяют узнать больше: [https://www.eff.org/issues/bloggers/legal/liability/IP](https://www.eff.org/issues/bloggers/legal/liability/IP). 33 | 3. **Ваш сайт не загружается?** Возможно, ваша хостинговая компания столкнулся с проблемами, то есть у вас ***проблема хостинга***. Можете ли вы загрузить веб-сайт вашего провайдера? Обратите внимание мы имеем в виду **не** секцию администратора на вашем собственном сайте, а сайт компании или организации, услугами которой вы пользуетесь для обеспечения хостинга вашего сайта. Посетите или постарайтесь найти блог "статуса" (например, status.dreamhost.com), а также поищите на twitter.com обсуждения других пользователей, столкнувшихся с проблемой отключения хостинга вашего провайдера. Простой поисковый запрос, например, “(название компании) отключение” позволит определить, многие ли пользователи столкнулись с такой же проблемой. 34 | 4. **Ваш хостинг работает, но ваш сайт недоступен?** Зайдите на сайт [http://www.isup.me/](http://www.isup.me/) и проверьте, - возможно, ваш сайт доступен, но у вас нет к нему доступа. Это ***проблема сети***. Возможно, проблема связана с вашим интернет-соединением или доступ к вашему сайту заблокирован. 35 | 5. **Можете ли вы открыть другие сайты, содержащие контент, аналогичный размещенному на вашем сайте?** Попробуйте зайти на похожие сайты или сайты со схожей тематикой. Также попробуйте воспользоваться Tor ([https://www.torproject.org/projects/gettor.html](https://www.torproject.org/projects/gettor.html)) или Psiphon ([https://psiphon.ca/products.php](https://psiphon.ca/products.php)) для получения доступа к вашему сайту. Если это решение поможет, у вас ***проблема блокирования*** -- ваш сайт всё ещё доступен в других частях мира, но заблокирован в вашей стране. 36 | 6. **Ваш сайт загружается с прерываниями или подозрительно медленно?** Возможно, ваш сайт перегружен числом и скоростью получаемых запросов на загрузку страниц -- это ***проблема производительности***. Она может быть вызвана "хорошими" изменениями, то есть ваш сайт стал более популярным и просто требует улучшения, чтобы обслуживать большее число читателей - проверьте аналитику вашего сайта, чтобы ознакомиться с долгосрочными характеристиками роста. Свяжитесь с веб-мастером или хостинговой компанией для получения инструкций. Многие популярные CMS платформы (Joomla, Wordpress, Drupal...) имеют плагины, позволяющие кэшировать ваш веб-сайт локально и интегрировать сети доставки контента (от англ. CDN, или Content Delivery Network), которые могут существенно улучшить производительность и устойчивость сайта. Многие решения, представленные ниже, также могут помочь в решении проблем производительности. 37 | 38 | ### Советы 39 | 40 | * **Резервные копии** В дополнение к услугам и предложениям, представленным ниже, нужно всегда делать резервные копии (сохранять их нужно не в том же месте, где расположен ваш веб-сайт!) - многие хостинговые и веб-сайт платформы включают эту функцию по умолчанию; но лучше всего в дополнение иметь копии, сохраненные на локальном жестком диске. 41 | * **Установка обновлений** Если вы пользуетесь Системой управления содержимым (от англ. CMS, или Content Management System), такой как WordPress или Drupal, убедитесь что программное обеспечение вашего сайта обновлено до последней версии, особенно это касается обновлений, влияющих на безопасность. 42 | * **Мониторинг** Есть множество сервисов, которые могут постоянно проверять доступность вашего сайта и сообщать вам по эл. почте или смс, если сайт недоступен. [Эта статья с Mashable](http://mashable.com/2010/04/09/free-uptime-monitoring/) содержит список 10 наиболее популярных сервисов мониторинга. Имейте в виду, что используемый вами для мониторинга адрес эл. почты или номер телефона будут напрямую связаны с администрацией веб-сайта. 43 | 44 | # Дальнейшие шаги 45 | 46 | Если предложенные методы диагностики не помогли (или вы столкнулись с серьезной ***проблемой произвидительсности***), возможно, ваш сайт стал жертвой **атаки типа "отказ в обслуживании"**, при которой злоумышленник (или многие из них) пытается просматривать веб-сайт снова и снова, быстро отправляя запросы (используя автоматизированные инструменты) и, таким образом, вытесняет настоящих читателей. Иногда один “атакующий” пытается замедлить ваш сайт, что как правило не является большой проблемой -- только если вы не платите за трафик. Наиболее часто встречается "распределенная" атака типа "отказ в обслуживании" (от англ. Distributed Denial of Service, или DDoS), когда злоумышленник контролирует тысячи компьютеров и с их помощью атакует сайт. 47 | 48 | *Представьте себе сотни людей, стоящих в очереди за едой в ресторане быстрого питания. Как только они подходят к кассе, они медленно решают ничего не заказывать, но затем моментально возвращаются обратно в очередь. Вполне возможно, что в очереди есть и нормальные клиенты, но им придется стоять в очереди на протяжении нескольких часов, прежде чем они смогут получить еду, а продавец может и отказаться работать!* 49 | 50 | Это [видео от компании Google (Project Shield)](https://www.youtube.com/watch?v=wmTvv8ISwPA) представляет отличное описание атак подобного типа. 51 | 52 | # Как реагировать на DoS атаку 53 | 54 | **Не ждите, когда на вас нападут!** Все описываемые ниже сервисы позволят вам быстро восстановиться во время или после атаки, но вы можете защититься сейчас, перед тем как атака произошла! Это позволит сократить расходы путем снижения вашего трафика и оставить ваш сайт доступным во время атаки. После атаки, процесс "идентификации" вашего нового защищенного адреса Интернетом может занять до трех дней. Поэтому практически в любом случае лучше **обезопаситься и начать сейчас**. Для начала свяжитесь с компанией, у которой вы приобрели доменное имя, и попросите их установить параметр время жизни (от англ. TTL, или “Time to Live”) на 1 час. Это позволит вам существенно сократить время, необходимое для перенаправления запросов, отправленных на ваш сайт во время атаки (по умолчанию это значение устанавливается на 72 часа, или три дня). 55 | 56 | Существует множество сервисов, которые могут помочь вам в борьбе с DoS-атаками; и (очень обобщенно) их можно разделить на две главные категории - **хостируемые** и **проксируемые** сервисы. 57 | 58 | ## Хостируемые сервисы 59 | 60 | Хостируемые сервисы предполагают полное перемещение веб-сайта на их сервер, то есть вы меняете хостинг провайдера. Многие из них в результате помогут вам. Явным плюсом при этом является то, что хостируемые сервисы, как правило, предлагают множество других возможностей защиты в дополнение к предотвращению DDoS атак; минусом может оказаться высокая стоимость (в зависимости от того, сколько вы платите сейчас) и контроль - вам нужно доверять вашему доменному хостингу, так как они обладают большим количеством контроля над вашим веб-сайтом. Хостируемые сервисы могут также использовать технологии *проксируемых сервисов*, описанных ниже. 61 | 62 | ### Достоинства: 63 | 64 | * Предоставляют один централизированный сервис для удовлетворения большинства (если не всех) ваших нужд; 65 | * Часто включают в себя множество вторичных сервисов и консультаций, а в некоторых случаях даже ограниченную юридическую защиту; 66 | * Полная поддержка со стороны команды по работе с клиентами для помощи вашему персоналу. 67 | 68 | ### Недостатки: 69 | 70 | * Вы должны перенести ваш веб-сайт на сервер сервиса; 71 | * Вы должны доверить сервису управление вашим сайтом и защиту ваших прав; 72 | * Как правило, подобные сервисы намного дороже (но вам не придется больше платить другим хостинг / DNS-сервисам!). 73 | 74 | ## Проксируемые сервисы 75 | 76 | Проксируемые сервисы позволяют вам не менять хостинг провайдера и лишь меняют процедуру поиска и подключения интернет-пользователей к вашему веб-сайту. Как правило, такой сервис намного легче установить. Такие сервисы имеют серверы по всему миру. По сути серверы располагаются перед вашим сайтом и пропускают через себя трафик, очищая его от вредоносных элементов. Они выполняют функцию "зеркал" и передают постоянно обновляющуюся копию вашего сайта. Установка таких сервисов крайне проста, и вы сохраняете полный контроль над настройками вашего веб-сайта и хостинга. Основной проблемой проксируемых сервисов является то, что очень сложные веб-сайты иногда некорректно работают при подключении пользователей, не имеющих прав администратора. Также известны проблемы при работе сложных интерактивных и javascript сайтов. Пожалуйста, обсудите эти сложности со своим системным администратором и провайдером проксируемого сервиса, так как большинство проблем могут быть разрешены. 77 | 78 | ### Достоинства: 79 | 80 | * Низкая стоимость (как правило, с возможностью бесплатного пакета); 81 | * Быстрая и легкая установка; 82 | * Отсутствие необходимости менять хостинг провайдера; 83 | * Вы можете изменить пакет или отказаться от услуг в любой момент. 84 | 85 | ### Недостатки: 86 | 87 | * Меньше возможностей поддержки; 88 | * Как правило, основной фокус направлен на предотвращение только DDoS-атак - сервис далеко не всегда включает защиту от вредоносного программного обеспечения и спамеров; 89 | * SSL (шифрованный) трафик будет быстро расшифровываться и снова зашифровываться прокси-сервером для его передачи с их прокси на ваш сервер. 90 | 91 | ## Возможности кастомизации 92 | 93 | Важно иметь в виду существование множества вариантов комбинирования этих двух подходов. Многие веб-сайты используют так называемую сеть доставки контента (CDN), которая снимает часть нагрузки (предоставление изображений и другого статического контента) с веб-сайта и существенно ускоряет его работу. Динамические сайты (например, построенные на основе таких систем управления содержимым (CMS) как Joomla, Wordpress and Drupal) могут иногда "конвертироваться" в статические сайты, которые могут полностью передаваться с использованием сетей доставки контента (CDN). 94 | 95 | Сети доставки контента (CDN) позволяют сократить расходы за полосу пропускания и уменьшить нагрузку во время DDoS-атак, что в случае, если у вас достаточно мощный хостинг, может позволить вам выстоять атаку. Существуют сотни CDN-сервисов, включая Akamai и Amazon CloudFront. MaxCDN также предлагает бесплатный пакет услуг, но в целом цена растет с увеличением трафика, что может означать финансовые потери во время DDoS-атак. Эта технология, как правило, требует определенных технических знаний при установке, и вам нужно поработать со своим веб-мастером. 96 | 97 | Ещё одна интересная возможность - это установка "зеркал" с вашим контентом на нескольких разных сайтах. Это особенно ценный совет, если ваш контент подвергается атаке с целью блокировки или уничтожения. 98 | 99 | ## Перед тем, как выбрать сервис 100 | 101 | В результате, какой бы сервис вы ни выбрали, вы должны быть довольны провайдером. Это означает доверие, а также понимание бизнес-модели провайдера: заключается ли она в выражении "плата в обмен на услугу"? Если есть бесплатная версия, подразумевает ли она меньше поддержки, чем в случае с платной альтернативой? Основана ли компания правительством? Лучше узнать насколько можно больше деталей, чтобы избежать сюрпризов в будущем. 102 | 103 | ### Касательно всех сервисов: 104 | 105 | * Как компания/организация структурирована и за счёт чего поддерживает своё существование? Какие типы проверок и отчетности выполняются, если таковые имеются? 106 | * Примите во внимание информацию о том, в какой стране/ в каких странах компания зарегистрирована и, соответственно, каким юридическим нормам и запросам со стороны правоохранительных органов должна подчиняться. 107 | * Какие данные регистрируются в лог-файлах и какое время они хранятся? 108 | * Есть ли касающиеся вас ограничения, например, тематические разновидности контента, неприемлемые для данного сервиса? 109 | * Есть ли ограничения, касающиеся стран, в которых провайдер может предоставлять сервис? 110 | * Принимается ли предпочитаемая вами форма оплаты? Можете ли вы позволить себе регулярную оплату услуг? 111 | * Безопасное общение -- вы должны иметь возможность безопасного подключения к сайту и конфиденциальной коммуникации с поставщиком услуг. 112 | * Поддерживает ли сервис двухфакторную аутентификацию, чтобы повысить уровень безопасности административного доступа? Это и другие правила безопасности могут позволить вам снизить риск других возможных атак на ваш веб-сайт. 113 | * Какие типы постоянной поддержки входят в состав приобретаемого вами пакета услуг? Существуют ли дополнительные виды расходов, связанные с поддержкой, и/или вы получите достаточный уровень поддержки даже при использовании "бесплатного" пакета? 114 | * Можете ли вы потестировать услуги с помощью временного сайта, прежде чем полностью перенести ваш веб-сайт? 115 | 116 | ### Касательно хостируемых сервисов 117 | 118 | * Предоставляет ли провайдер услуги поддержки при переносе вашего сайта на его платформу? 119 | * Предоставляемые им услуги аналогичны или лучше тех, которые в настоящее время входят в ваш хостинг пакет, как минимум, относительно используемых вами инструментов/сервисов? Основные элементы, которые надо проверить: 120 | * Панель управления, например, cPanel; 121 | * Учетные записи эл. почты (сколько, ограничения, доступ через SMTP, IMAP); 122 | * Базы данных (сколько, типы, доступ); 123 | * Удаленный доступ через SFTP/SSH; 124 | * Поддержка языков программирования (PHP, Perl, Ruby, cgi-bin доступ, ...) или CMS (Drupal, Joomla, Wordpress, …), используемых вашим сайтом. 125 | 126 | ### Касательно проксируемых сервисов: 127 | 128 | * Если вы пользуетесь SSL (HTTPS или безопасный веб-трафик), спросите как они работают с SSL. В некоторых конфигурациях самый простой вариант, если вы предоставляете свой секретный SSL-ключ. В этом случае вы должны сильно доверять поставщику услуг, так как он может "подделать" ваш сайт (на самом деле именно это вы и просите их сделать, предоставляя ваш прокси!). 129 | * Узнайте, как осуществляется работа с административными / редакционными логинами и страницами. 130 | * Обсудите интерактивные части вашего веб-сайта (пользователи, которые авторизовываются и комментируют, административные и редакционные требования, сложные интерактивные страницы / javascript / анимации). Разные прокси-сервисы по-разному работают с этими элементами веб-сайта; вы должны будете потестировать их, прежде чем окончательно перейти на использование сервиса. 131 | 132 | # Сервисы защиты от DDoS-атак 133 | 134 | Все указанные ниже сервисы предоставляют защиту от DDoS-атак. Это неполный список сервисов, их существует огромное множество. Для начала вам подойдет любой из представленных здесь сервисов, так как все они использовались другими членами сообществ независимых медиа / правозащитников / борцов за свободу слова. 135 | 136 | ## Хостируемые сервисы 137 | 138 | Этот список ни в коем случае не является исчерпывающим. При создании этого списка авторы фокусировались на сервисах с хорошей репутацией в содействии защите свободы слова в сети, которые можно быстро задействовать. Пожалуйста, обратите внимание на тот факт, что цены за услуги хостируемых сервисов не могут напрямую сравниваться с ценами за услуги проксируемых сервисов. Хостируемые сервисы включают в себя все существующие расходы за хостинг веб-сайта. 139 | 140 | ### VirtualRoad.org 141 | 142 | * **Стоимость:** Цены от €100/месяц за простые сайты. Существуют и другие классы услуг для сайтов с более серьезными требованиями к хостингу и ресурсам. 143 | * **Ограничения:** Отсутствуют, хотя сервис адаптирован под системы управления содержимым, использующие PHP (например, Joomla, Drupal, Wordpress или их аналоги). 144 | * **Об организации и бизнес модели:** VirtualRoad.org является частью Media Frontiers - компании с социальной целью, зарегистрированной в Дании как ApS (общество с ограниченной ответственностью). Media Frontiers, в свою очередь, создана по инициативе неправительственной организации (НПО) по защите свободы прессы под названием International Media Support (IMS). Главным образом IMS финансируется со стороны правительств Дании, Швеции и Норвегии. Эта организационная структура задумывалась для того, чтобы обеспечить устойчивые на протяжении долгого времени услуги для сообщества. 145 | * **Дополнительные услуги:** VirtualRoad.org предлагает полную защиту, включающую широкий спектр услуг: перенос вашего сайта на их платформу, регистрацию доменного имени, оптимизацию, проверку безопасности, защиту от взломов и фишинговых атак, отчеты о безопасности с детальной информацией и совершенных попытках нападения и даже поддержку по теме реагирования на юридические запросы. Для получения более детальной информации, пожалуйста, посетите сайт: [https://virtualroad.org/get-protected/packages](https://virtualroad.org/get-protected/packages). 146 | * **Технические требования:** Вам понадобится полный доступ к back-end версии сайта или резервным копиям вашего веб-сайта, а также право редактирования поля Nameservers. Если вам необходима техническая поддержка касательно перехода на новый хостинг или его работы, VirtualRoad.org всегда смогут её оказать. 147 | * **Начните сейчас:** Посетите [https://virtualroad.org/contact](https://virtualroad.org/contact) или отправьте эл. письмо на адрес [info@virtualroad.org](mailto:info@virtualroad.org) 148 | 149 | ### The Positive Internet Company 150 | 151 | * **Стоимость:** Цены от $495/месяц за полностью обслуживаемые серверы. Совместный хостинг может быть доступен всего за £125/год. 152 | * **Ограничения:** Отсутствуют 153 | * **Об организации и бизнес модели:** The Positive Internet Company - это коммерческая компания с офисами в Великобритании и США. 154 | * **Дополнительные услуги:** Полное обслуживание, включая брандмауэр, базы данных и запись резервных копий. Более подробную информацию можно найти здесь: [http://www.positive-internet.com/services/vip-hosting](http://www.positive-internet.com/services/vip-hosting) 155 | * **Технические требования:** Вам понадобится полный доступ к back-end версии сайта или резервным копиям вашего веб-сайта, а также право редактирования поля Nameservers. The Positive Internet Company предоставит вам необходимую техническую поддержку касательно перехода на новый хостинг или его работы. 156 | * **Начните сейчас:** Посетите [http://www.positive-internet.com/contact-us](http://www.positive-internet.com/contact-us) или отправьте эл. письмо на адрес good@positive-internet.com 157 | 158 | ### Другие организации, предоставляющие безопасный хостинг: 159 | 160 | * **Greenhost:** [https://greenhost.nl/order/](https://greenhost.nl/order/) Greenhost - это нидерландское [социальное предприятие] (http://social-enterprise.nl/social-enterprises/greenhost/), созданное с целью предоставления устойчивых и экологичных услуг в сфере хостинга веб-сайтов. Greenhost стремится продвигать открытый и свободный Интернет и защищать своих пользователей. 161 | * **Ecological and Dissident Hosting:** [https://ecodissident.net/hosting](https://ecodissident.net/hosting) EcoDissident стремится обеспечивать сильную защиту свободы слова; возможно, вы захотите комбинировать хостинг от EcoDissident с проксируемым сервисом, описанным ниже. Сервис EcoDissident предоставляется устойчивым объединённым социальным предприятием [Webarchitects](http://www.webarchitects.coop/). 162 | * **Gandi.net** [https://www.gandi.net/](https://www.gandi.net/). Gandi - это французская компания с офисами в Балтиморе (США) и Ванкувере (Канада), поддерживает множество популярных инструментов и проектов для сообщества. 163 | * **Множество других!** Существует множество других организаций, которые ориентированы на продвижение свободного Интернета и помогут вам разными методами восстановить сайт после DDoS-атаки. Если вы предоставляете или знаете о сервисе, который мог бы пополнить этот список, пожалуйста, внесите свой вклад. 164 | 165 | ## Проксируемые сервисы 166 | 167 | Опять же, это не полный список сервисов; существуют тысячи коммерческих сервисов, предоставляющих различные прокси и CDN-инструменты, которые могут помочь в защите от DDoS-атак, - их существует огромное множество. При создании этого списка авторы фокусировались на тех сервисах, которые можно быстро задействовать и которые имеют хорошую репутацию содействия защите свободы слова в сети. 168 | 169 | ### Deflect 170 | 171 | * **Стоимость:** Бесплатно 172 | * **Ограничения:** НПО, правозащитные организации и независимые медиа. 173 | * **Об организации и бизнес модели:** Deflect - это проект с открытым кодом, пренадлежащий eQualit.ie, некоммерческому технологическому коллективу, расположенному в Монреале (Канада), и имеющему корни, глубоко уходящие, в правозащитное технологическое сообщество. Deflect образован как неправительственными организациями, так и правительствами, включая правительство США, с целью предоставления услуг Deflect для защиты свободы слова. Deflect не дает информацию о том, какие сайты находятся под его защитой и не нуждается в разрешении для предоставления услуг. Deflect поддерживает работу серверов в сотрудничестве с другими хостинговыми компаниями - единомышленниками по всему миру. 174 | * **Дополнительные услуги:** Команда проекта Deflect поможет вам подключить их услуги. У них есть некоторые гранты для финансирования дополнительных сертификатов SSL и покрытия других расходов, связанных с защитой и восстановлением от кибератак. Сайты, находящиеся под защитой Deflect, могут быть оснащены дополнительными слоями защиты. 175 | * **Технические требования:** Вам необходимо иметь право редактирования полей Nameservers. 176 | * **Начните сейчас:** [https://wiki.deflect.ca/signup/](https://wiki.deflect.ca/signup/). Для дальнейшего ознакомления см.[https://wiki.deflect.ca/wiki/Join_Deflect](https://wiki.deflect.ca/wiki/Join_Deflect) 177 | 178 | ### CloudFlare 179 | 180 | * **Стоимость:** Бесплатная базовая защита, $20/месяц для подключения поддержки SSL и до $200/месяц для соответствия более высоким требованиям. Клиенты платных версий пользуются приоритетом при обращении в службу технической поддержки и получают более высокую гарантию на время работы сайта. 181 | * **Ограничения:** Предмет экспортного контроля Соединенных Штатов Америки, для получения более подробной информации см.[https://blog.cloudflare.com/thoughts-on-abuse](https://blog.cloudflare.com/thoughts-on-abuse) 182 | * **Об организации и бизнес модели:** Cloudflare - это частная, коммерческая компания, зарегистрированная в Дэлавере (США) и расположенная в Сан Франциско. Поддерживает работу серверов по всему миру ([https://www.cloudflare.com/network-map](https://www.cloudflare.com/network-map)) в соответствии с правовыми нормами. 183 | Следует отметить, что часть реализованной в CloudFlare защиты от DDoS-атак периодически ухудшает доступ к сайту через сеть Tor. Это происходит, когда отдельные индивидуумы используют сеть Tor для проведения атак на какой-либо сервис, и **не** является намеренным решением блокировать Tor. Для более подробной информации о правилах CloudFlare, относящихся к свободе слова, см. [этот пост в блоге](http://blog.cloudflare.com/cloudflare-and-free-speech). Компания Cloudflare обязана отвечать на официальные запросы властей США и органов национальной безопасности. 184 | * **Технические требования:** Вам необходимо иметь право редактирования полей Nameservers. 185 | * **Начните сейчас:** Создайте учетную запись здесь: [https://www.cloudflare.com/sign-up](https://www.cloudflare.com/sign-up) 186 | 187 | ### Google’s Project Shield / PageSpeed 188 | 189 | * **Стоимость:** Сервис PageSpeed бесплатный на время пробного периода. Сервис Project Shield "в настоящее время предоставляет свои услуги бесплатно доверенным тестировщикам". . В обоих случаях вы получите уведомление за 30 дней до перехода на платные условия. 190 | * **Ограничения:** Вас должны утвердить. Как правило, этот процесс занимает около 2-х часов, но есть ограничения для некоторых организаций или стран. Сервис Project Shield в настоящее время доступен только по приглашению и "принимает заявки только от веб-сайтов, содержащих новостной, правозащитный или относящийся к выборам контент". 191 | * **Об организации и бизнес модели:** Google - это международная акционерная, коммерческая компания, расположенная в Маунтин Вью, Калифорния (США). 192 | Как и в случае с большинстом других продуктов от Google, требуется привязка вашей учетной записи на Google к вашему веб-сайту. Этот сервис подпадает под общие правила конфиденциальности Google и правила пользования услугами компании. 193 | Компания Google обязана отвечать на официальные запросы властей США, в том числе на письма от службы безопасности. 194 | * **Технические требования:** Вы должны иметь право менять свои DNS-настройки. Сервис PageSpeed переписывает и оптимизирует некоторые части вашего веб-сайта, что может повлиять на его функциональность; вам нужно будет протестировать сайт на чувствительность к этим изменениям. 195 | * **Начните использовать Pagespeed сейчас:** Начните процесс регистрации здесь: [https://developers.google.com/speed/pagespeed/service](https://developers.google.com/speed/pagespeed/service) 196 | * **Начните использовать Project Shield сейчас:** Отправьте запрос на доступ здесь: [http://projectshield.withgoogle.com/about/](http://projectshield.withgoogle.com/about/). Имейте в виду, что Сервис Project Shield в настоящее время доступен только по приглашению и предоставляет доступ на постоянной основе. После регистрации вы "получите уведомление по эл. почте о том, был ли ваш сайт выбран в качестве доверенного тестировщика." 197 | 198 | ### Другие проксируемые сервисы 199 | 200 | Существует огромное количество других организаций, предоставляющих инструменты для защиты сайтов от DDoS-атак. Если вы являетесь или знаете о сервисе, который мог бы пополнить этот список, пожалуйста, внесите свой вклад. 201 | 202 | ## Похожие сервисы: регистрация доменных имён 203 | 204 | DDoS-атаки также влияют на многие другие сервисы, которыми "пользуется" ваш веб-сайт; сервисы, перенаправляющие посетителей на нужный веб-сервер (DNS-серверы или name server) также могут подвергаться атаке или воздействию. И хотя сервисы, которые вы используете, помогут вам выбрать/сменить DNS-провайдера, ниже приведен краткий список достойных сервисов. EasyDNS и Hover.com расположены в Канаде, 1984.is - в Исландии. 205 | 206 | * EasyDNS [https://web.easydns.com/](https://web.easydns.com/) 207 | * 1984.is [https://www.1984.is/](https://www.1984.is/) 208 | * Hover.com [https://www.hover.com/](https://www.hover.com/) 209 | 210 | # Глоссарий 211 | 212 | * **Сеть доставки контента (от англ. CDN, или Content Delivery Network):** международная сеть копьютеров, которая может использоваться вашим веб-сайтом для быстрого предоставления контента. Представьте, что ваш веб-сайт физически расположен в Исландии, но ваши посетители из Тайланда. Если вы используете CDN, как минимум, часть вашего сайта может передаваться вашим посетителям от компьютеров, расположенных намного ближе к их местоположению, что позволяет не загружать весь контент из Исландии. Другой эффект подобной оптимизации заключается в распределении нагрузки между несколькими компьютерами, что позволяет снизить тяжесть DDoS-атаки. 213 | * **Распределенная атака типа "отказ в обслуживании" (от англ. DDoS, или Distributed Denial of Service Attack):** атака типа "отказ в обслуживании", когда злоумышленник (или их группа) пытается просматривать веб-сайт снова и снова, быстро отправляя запросы (используя автоматизированные инструменты), и таким образом вытесняет настоящих читателей. Иногда один “атакующий” пытается замедлить ваш сайт, что, как правило, не является большой проблемой - только если вы не платите за трафик. Наиболее часто встречается "распределенная" атака типа "отказ в обслуживании" (от англ. Distributed Denial of Service, или DDoS), когда злоумышленник контролирует тысячи компьютеров и с их помощью атакует сайт. 214 | * **Записи DNS:** Записи DNS - это своего рода главный список контактов в телефонной книге Интернета. Все веб-серверы идентифицируются последовательностями цифр и/или кодированных букв (IP-адрес). Например, IP-адрес сервера Google.com выглядит так: 74.125.228.69. Изменив эту запись, вы можете присвоить веб-сайту другой IP-адрес, который может быть адресом нового хостинг провайдера или прокси-сервера для вашего исходного сайта. 215 | * **Доменное имя:** Удобное для восприятия человеком название вашего веб-сайта, например, google.com. 216 | * **Nameserver:** Когда браузер пытается найти веб-сайт, он, в первую очередь, связывается с сервером имен, который может связать доменное имя (google.com) с интернет-адресом / IP-адресом (74.125.228.69) посредством использования записей DNS (см. выше). Изменив запись DNS на сервере имен, вы можете "указать" браузеру на другой сервер. 217 | * **SSL:** Также известная как HTTPS, это технология безопасной коммуникации с веб-сайтом (от браузера к веб-сайту). Для получения более подробной информации см. [Wikipedia].(https://en.wikipedia.org/wiki/Secure_Sockets_Layer#Description) 218 | * **Хост веб-сайта:** Сервер, на котором сохранены все файлы и базы данных вашего веб-сайта. 219 | 220 | 221 | [![githalytics.com alpha](https://cruel-carlota.pagodabox.com/dc4c191166ab89785c89e222c02e5572 "githalytics.com")](http://githalytics.com/OpenInternet/MyWebsiteIsDown) 222 | -------------------------------------------------------------------------------- /Mywebsiteisdown.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenInternet/MyWebsiteIsDown/211a4ee0c5f94ed1785e47a10b7d24d7adce06ce/Mywebsiteisdown.docx -------------------------------------------------------------------------------- /Mywebsiteisdown.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenInternet/MyWebsiteIsDown/211a4ee0c5f94ed1785e47a10b7d24d7adce06ce/Mywebsiteisdown.pdf -------------------------------------------------------------------------------- /Mywebsiteisdown.txt: -------------------------------------------------------------------------------- 1 | What to do when your website goes down 2 | 3 | 4 | A threat that many independent journalists, news sites, and bloggers face is having their voices muted because their website is down. In many cases, this may be an innocent if frustrating problem, but on occasion, it may be due to a “denial of service” attack. 5 | 6 | 7 | This document will walk you through some very basic steps to diagnose potential problems. If your site is under a denial of service attack, some immediate options for next steps are suggested. Even if you have not experienced a denial of service attack, this guide offers steps to prepare for one -- hopefully preventing any downtime at all. 8 | 9 | 10 | What to do when your website goes down 11 | First Steps: Diagnosing other potential problems 12 | Next Steps 13 | Responding to a Denial of Service Attack 14 | Hosted Services 15 | Proxied Services 16 | Mixed and Custom Options 17 | Before you choose 18 | For all services: 19 | For hosted services 20 | For proxied services: 21 | Mitigation Services 22 | Hosted Services 23 | VirtualRoad.org 24 | More Secure Hosting Organizations: 25 | Proxy Services 26 | Deflect 27 | CloudFlare 28 | Google’s PageSpeed 29 | Related Services: Domain Name Registration 30 | Glossary 31 | First Steps: Diagnosing other potential problems 32 | 33 | 34 | Sites most often go down due to programming errors or technical problems at the company that hosts the site. Sometimes, other things like legal challenges can cause a host to turn a site off as well. Let’s first try to check for these common problems. When possible, the best first step is to contact a trusted person who can help with your website (your webmaster, the people who helped you set up your site, your internal staff if you have them, and the company that hosts your site). 35 | 36 | 37 | If you are currently researching how to build your website to be resistant to attacks that might take it offline, you should first read through this guide by the Electronic Frontier Foundation: https://www.eff.org/keeping-your-site-alive . 38 | 39 | 40 | AccessNow provides a much more in-depth guide with many more resources and mitigation techniques in English, Farsi, Arabic, and Russian. Visit https://www.accessnow.org/policy/docs and click on DoS on the right side, or download a copy from https://s3.amazonaws.com/access.3cdn.net/3fd9faf32feb878cf7_krm6iy7bo.pdf . 41 | 42 | 43 | 1. Are you seeing error messages? This is a software problem, and you should contact your webmaster. Sending your webmaster a screenshot, the link of the page you are having problems with, and any error messages you see will help them figure out what might be the cause of the problem. You might also copy the error messages into a search to see if they are easily fixed. 44 | 2. Your hosting company may be having problems, in which case you may be facing a hosting problem. Can you visit the website of your hosting company? Note that this is not the admin section of your own site, but the company or organization you work with to host your site. Look or search for a “status” blog (e.g. status.dreamhost.com), and also search on twitter.com for other users discussing downtime at the host - a simple search like “(company name) down” can often reveal if many others are having the same problem. 45 | 3. If your site is loading extremely slowly or not at all, check http://www.isup.me/ - your site might be up, but you can’t see it. This is a network problem. Your own Internet connection could be having problems or be blocking your access to your site. Try visiting other pages on the Internet. Can you visit other sites with content like your site? Try using Tor (https://www.torproject.org/projects/gettor.html) or Psiphon (https://psiphon.ca/products.php) to access your site. If this helps, you have a blocking problem, but you are still online for other parts of the world. 46 | 4. Contact your webmaster and the site host! The problem you face may not be reported on their status page yet, or you could have been taken offline for other reasons (a legal/copyright request, for example). This is a legal problem, and the resources provided by the EFF, while focused on US copyright laws, are a good place to learn more: https://www.eff.org/issues/bloggers/legal/liability/IP. 47 | 48 | 49 | In addition to the services and suggestions below, it’s always good to make sure you have backups (that you store somewhere other than the same place your website is!) - many hosts and website platforms have this included; but it’s best to also have additional copies. Also ensure that your website technology is updated to the latest software. 50 | Next Steps 51 | 52 | 53 | If there is not a legal or technical problem above, your site may be overwhelmed by the number and speed of requests for pages it is receiving -- this is a performance problem. This could be “good” in that your site has become more popular and it simply needs some improvements to respond to more readers - check your site analytics for a long-term pattern in growth. Contact your webmaster or hosting provider for guidance. Many popular blogging and CMS platforms (Joomla, Wordpress, Drupal...) have plugins to help cache your website locally and integrate CDNs, which can dramatically improve site performance and resilience. Many of the solutions below can also help performance problems as well. 54 | 55 | 56 | Your site may be the victim of a “denial of service” attack, where a malicious user (or many of them), try to view the website over and over again, quickly (using automated tools), and in doing so crowd out legitimate readers. Sometimes it’s one “attacker” trying to do this to your site, which usually doesn’t cause much of a problem -- unless you pay for bandwidth. More common is the “Distributed” denial of service (DDoS), where an attacker who controls thousands of machines targets a site with all of them. 57 | 58 | 59 | Imagine hundreds of people in line at a food stall who, when they get to the front of the line, slowly decide not to order anything, but then immediately get back in line. There may be legitimate customers in line, but it’s going to take them hours to get their food, and the vendor may give up! 60 | Responding to a Denial of Service Attack 61 | 62 | 63 | Don’t wait until you have been attacked! All of the services listed below will work quickly to help you recover during or after an attack, but you can get protected now, before any attack happens! This can reduce costs by lowering your bandwidth usage, and keep you online during an attack. Once you’ve been hit, it can take up to three days for the Internet to “find” you at your new, protected address - so in almost every case, it’s much better to be prepared and get started now. The first step is to work with the company you bought your domain from, and change the “Time to Live” or TTL to 1 hour. This can help you redirect your site once it comes under attack much faster (the default is 72 hours, or three days). 64 | 65 | 66 | There are many services that can help you with denial of service attacks; and they fall (very broadly) into two categories - hosted and proxy services. 67 | Hosted Services 68 | Hosted services require you to move your website completely to their servers - you’re changing hosting providers. Many of them can help you through this. The benefits of this include the hosted solution often providing many other protection features in addition to DDoS mitigation; the downside can be cost (depending on what you currently pay) and control - you need to be able to trust your domain host, as they have a lot of control over your website. Hosted services may also use a mixture of the same technology as proxy services below. 69 | Pros: 70 | 1. Provides one central service for most, if not all, your website needs 71 | 2. Often includes many secondary services and consulting, and even limited legal defense in some cases 72 | 3. Full support teams often on staff to help 73 | Cons: 74 | 1. You must host your website with the service 75 | 2. You must trust the service to manage your site and defend your rights 76 | 3. These services often are much more expensive (but you don’t have to pay other hosting / DNS services anymore!) 77 | Proxied Services 78 | Proxied services let you continue hosting your site wherever it is, and just change how others on the Internet find and access it - this is generally much easier to set up. These services have servers around the world which essentially get out in front of your website and absorb or ignore malicious traffic. They serve constantly-updated copies of your site. These services are very easy to set up, and you maintain complete control of your website and hosting setup. One challenge with proxied services is that very complex websites can sometimes experience problems with non-admin user logins and complex interactive/javascript area. Please discuss these with your webmaster and the proxy service as most can be resolved. 79 | 80 | 81 | Pros: 82 | 1. Lower cost (often with a free level) 83 | 2. Quick and easy to set up 84 | 3. You don’t have to change your existing website host 85 | 4. You can change or quit the service at any time 86 | Cons: 87 | 1. Fewer support options 88 | 2. Focused primarily on just mitigating DDoS attacks - does not necessarily include help with malware, spammers, etc. 89 | 3. SSL (encrypted) traffic will be briefly decrypted and re-encrypted by the proxy server to pass it from their proxy to your server. 90 | Custom Options 91 | It’s important to note that there are many ways to combine these approaches. Many websites use what is called a Content Delivery Network (CDN), which takes some of the burden (serving images and other static content) off of a website and speeds it up greatly. Dynamic sites (such as those powered by content management systems like Joomla, Wordpress and Drupal), can sometimes be “converted” into static sites that can be fully hosted (mirrored) using CDNs. 92 | 93 | 94 | Content Delivery Networks can help reduce bandwidth costs and load during DDoS attacks, which, if your host is powerful enough for the rest, can get you through. There are hundreds of CDN services, including Akamai and Amazon CloudFront. MaxCDN has a free level of service, but generally, cost scales with bandwidth, meaning that these may become a financial drain during a DDoS attack. These often require a bit of technical expertise to get working, and you should work with your webmaster. 95 | Before you choose 96 | Finally, for any service, you must be comfortable with the provider - that means trust, but also understanding their business model: Is it fee-for-service? If there’s a free version, does it receive less support than a paid alternative? Is it funded by governments? It is best to cover as much detail up front as possible to avoid surprises down the road. 97 | 98 | 99 | For all services: 100 | 1. How is the company/organization structured and sustained? What types of vetting or reporting are the required to do, if any? 101 | 2. Consider what country/countries they have a legal presence in and would be required to comply with law enforcement and other legal requests 102 | 3. What logs are created, and for how long are they available? 103 | 4. Are there restrictions that impact you on what content the service will host/proxy? 104 | 5. Are there restrictions on the countries where they can provide service? 105 | 6. Do they accept a form of payment you can use? 106 | 1. Secure communications -- you should be able to log in securely, communicate with the service provider securely, and ideally have a “two factor” authorization for major changes 107 | 1. What type of ongoing support will you have access to? Is there an additional cost for support, and/or will you receive sufficient support if you are using a “free” tier? 108 | 2. Can you “test-drive” your website before you move over via a staging site? 109 | 110 | 111 | For hosted services 112 | 1. Do they offer full support on moving your site over? 113 | 2. Are the services equal or better options than your current host, at least for tools/services you use? Top things to check are: 114 | 1. Management dashboards like cPanel 115 | 2. Email accounts (how many, quotas, access via SMTP, IMAP) 116 | 3. Databases (how many, types, access) 117 | 4. Remote access via SFTP/SSH 118 | 5. Support for the programming language (PHP, Perl, Ruby, cgi-bin access...) or CMS (Drupal, Joomla, Wordpress…) your site uses 119 | 1. Is there an option for two-factor authentication, to improve the security of administrator access? This or related secure access policies can help reduce the threat of other forms of attacks against your website. 120 | For proxied services: 121 | 1. If you use SSL, ask how they manage SSL. In some configurations, it may be easiest to share your private SSL key. If you do so, you need to have a high level of trust in the service provider, as they can “impersonate” your site (indeed, this is what you are asking them to do by providing a proxy!) 122 | 2. Ask about how administration / editorial logins and pages are managed 123 | 3. Talk about any interactive parts of your website (users who log in, comment, admin/editorial needs, complex interactive pages/javascript/animations) -- different proxy services manage these differently; you will need to test these before switching completely. 124 | Mitigation Services 125 | 126 | 127 | All of the services listed below provide protection against DDoS attacks. This is not a complete listing of services - there are many, many more. These services all represent good starting points, as they have been used by other members in the independent media / human rights / free speech communities. 128 | Hosted Services 129 | This by no means is an exhaustive list. It focuses on services which can be initiated quickly and have strong track-records on protecting free speech online. Please note that prices for hosted services are not directly comparable to those of proxy services. Hosted services will take the place of any existing cost for website hosting. 130 | VirtualRoad.org 131 | 1. Cost: Pricing starts at €100/month for simple sites. Other tiers for more complex hosting needs or higher resource demands are available. 132 | 2. Restrictions: None, though the service is focused on content management systems which use PHP (Joomla, Drupal, Wordpress, and similar) 133 | 3. About the organization and its business model: VirtualRoad.org is part of Media Frontiers, a social purpose enterprise registered in Denmark as an ApS / limited liability company, established by the press freedom NGO, International Media Support (IMS). IMS is funded largely by the governments of Denmark, Sweden, and Norway. This organizational structure is meant to build long-term sustainable services for the community. 134 | 4. Additional Services: VirtualRoad.org offers full-range protection encompassing a wide variety of services, from transferring your site to their systems, domain registration, optimization, security audits, protection from hacking and phishing, security reports detailing attempted attacks, and even support in responding to legal requests. See https://virtualroad.org/get-protected/packages for more details. 135 | 5. Technical needs: You will need to have full access to your website’s backend or backups, as well as to edit your nameservers. If you need technical assistance with any of the onboarding or hosting, VirtualRoad.org will support you through the process. 136 | 6. Get Started Now: Visit https://virtualroad.org/contact or email info@virtualroad.org 137 | 138 | 139 | The Positive Internet Company 140 | 1. Cost: Pricing starts at $495/month for fully managed servers. Shared hosting may be available for only £125/year. 141 | 2. Restrictions: None 142 | 3. About the organization and its business model: The Positive Internet Company is a for-profit company with offices in the UK and the US. 143 | 4. Additional Services: Services are fully managed, including firewalls, databases, and backups. More information available here: http://www.positive-internet.com/services/vip-hosting 144 | 5. Technical needs: You will need to have full access to your website’s backend or backups, as well as to edit your nameservers. The Positive Internet Company provides technical assistance with onboarding and hosting. 145 | 6. Get Started Now: Visit http://www.positive-internet.com/contact-us or email good@positive-internet.com 146 | 147 | 148 | More Secure Hosting Organizations: 149 | 1. Greenhost: https://greenhost.nl/order/ Greenhost is a Dutch company founded to provide sustainable, environmentally friendly website hosting services. Greenhost is committed to an open and free internet, and the protection of its users. 150 | 1. Ecological and Dissident Hosting: https://ecodissident.net/hosting EcoDissident focuses on providing strong protection for free speech; you may want to pair hosting here with a proxied service, below) 151 | 2. Gandi.net https://www.gandi.net/ . Gandi is based in Paris (France), with offices in Baltimore (USA) and Vancouver (Canada), and supports many popular community tools and projects. 152 | 3. Many others! There are many other organizations who are aligned with promoting Internet freedom and can help you recover from a DDoS in various ways. 153 | Proxy Services 154 | Again, this is by no means an exhaustive list; there are thousands of commercial services which offer variants of proxy and CDN tools which can help defend against DDoS attacks. This list focuses on services which can be initiated quickly and have strong track-records on protecting free speech online. 155 | Deflect 156 | 1. Cost: Free 157 | 2. Restrictions: NGOs, human rights, independent media 158 | 3. About the organization and its business model: Deflect is an open source project of eQualit.ie, a not-for-profit technology collective based in Montreal, Canada with deep roots in the human rights technology community. Deflect is funded by NGOs and governments, including the US government, to provide Deflect services to protect the freedom of speech. Deflect does not disclose the websites they protect nor need approval to provide service. Deflect maintains servers with like-minded hosting companies around the world. 159 | 4. Additional Services: The Deflect team will support you getting on to their services. They have some grant funding available to pay for additional SSL Certificates and other related protection/recovery costs. Sites protected by Deflect can opt to add additional layers of security to their core site. 160 | 5. Technical needs: You will need the ability to change your nameservers. 161 | 6. Get Started Now: https://wiki.deflect.ca/signup/. See also https://wiki.deflect.ca/wiki/Join_Deflect 162 | CloudFlare 163 | 1. Cost: Free for basic protection, $20/month to include SSL support, and up to $200/month for more advanced needs. Paid customers receive preferential support and uptime guarantees. 164 | 2. Restrictions: Subject to US export controls, see also https://blog.cloudflare.com/thoughts-on-abuse 165 | 3. About the organization and its business model: Cloudflare is a privately-held Delware-incorporated US for-profit company based in San Francisco. They maintain servers around the world (https://www.cloudflare.com/network-map) and comply with legal requests. 166 | It should be noted that part of CloudFlare’s defenses against DDoS attacks occasionally degrade access from the Tor network. This happens if someone is using Tor to abuse a service, and is not a policy decision to block Tor. 167 | Cloudflare is required to comply with US legal requests and National Security Letters. 168 | 4. Technical needs: You will need the ability to change your nameservers. 169 | 5. Get Started Now: Create an account here: https://www.cloudflare.com/sign-up 170 | Google’s PageSpeed 171 | 1. Cost: Free during trial period. There will be a 30-day notice before it changes to a fee-based model. 172 | 1. Restrictions: You must be approved, generally a 2-hour process, but may be restricted for some organizations or countries. 173 | 1. About the organization and its business model: Google is an international, public, for-profit company based in Mountain View, California, USA. 174 | As with most Google products, this ties the Google account you use to your website. This service falls under Google’s overall privacy policy and terms of service. 175 | Google is required to comply with US legal requests and National Security Letters. 176 | 2. Technical needs: You will need the ability to fine-tune your DNS records. PageSpeed rewrites and optimizes some parts of your website, which can alter functionality; you should be ready to test for this. 177 | 3. Get Started Now: Begin the sign-up process here: https://developers.google.com/speed/pagespeed/service 178 | Related Services: Domain Name Registration 179 | DDoS attacks also impact many other services around your website - the service that directs visitors to the right webserver (DNS servers or name servers) may also be attacked or impacted. While the services you engage below will support you in chosing/moving DNS providers, here is a short list of well-regarded services. EasyDNS and Hover.com are based in Canada, 1984.is, Iceland. 180 | 1. EasyDNS https://web.easydns.com/ 181 | 2. 1984.is https://www.1984.is/ 182 | 3. Hover.com https://www.hover.com/ 183 | Glossary 184 | 1. CDN / Content Delivery Network: A worldwide collection of computers you can program your website to use to serve content quickly. Consider the case where your website is hosted in Iceland, but you have visitors from Thailand. If you use a CDN, at least parts of your site can be delivered to the visitor from a computer that is much closer to them, than having to come all the way from Iceland. This also has the effect of spreading the load out among other computers, which can reduce the severity of a DDoS Attack 185 | 2. DDoS / Distributed Denial of Service Attack: a “denial of service” attack is where a malicious user (or many of them), try to view the website over and over again, quickly (using automated tools), and in doing so crowd out legitimate readers. Sometimes it’s one “attacker” trying to do this to your site, which usually doesn’t cause much of a problem -- unless you pay for bandwidth. More common is the “Distributed” denial of service (DDoS), where an attacker who controls thousands of machines targets a site with all of them. 186 | 3. Domain Name: The human-readable name of your website - google.com, for example. 187 | 4. DNS Record: The DNS record is like the master Contact List of Phone Book of the Internet. All website servers are identified by a series of numbers and/or coded letters (the IP Address) - Google.com is 74.125.228.69, for example. By changing this record, you can give out a different IP Address for a website - which could be a new hosting provider’s address or a proxy for your original website. 188 | 5. Nameserver: When a browser wants to find a website, it will first contact a name server, which will tell connect the domain name (google.com) to it’s Internet address / IP Address (74.125.228.69) via it’s DNS Record (above). By changing the DNS record at a name server, you can “point” the browser to a different server. 189 | 6. Website host: The server where your website and its files/databases are stored. -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | This is now updated, translated, and maintained at [https://digitalfirstaid.org/en/topics/website-not-working/] 2 | 3 | 4 | MyWebsiteIsDown (OLD) 5 | =============== 6 | 7 | Documentation and guides for withstanding DDoS Attacks. 8 | 9 | Translations and updates are invited via email, pull, and for translations, there is also a [Transifex project](https://www.transifex.com/projects/p/mywebsiteisdown) 10 | 11 | * [Russian translation](https://github.com/OpenInternet/MyWebsiteIsDown/blob/master/MyWebsiteIsDown_RU.md) via @vitolink 12 | 13 | Many thanks to the providers and advisors who helped review and suggest additions, including but by no means limited to the below: 14 | * Cameran Ashraf 15 | * Collin Anderson 16 | 17 | [![githalytics.com alpha](https://cruel-carlota.pagodabox.com/dc4c191166ab89785c89e222c02e5572 "githalytics.com")](http://githalytics.com/OpenInternet/MyWebsiteIsDown) 18 | --------------------------------------------------------------------------------