DDoS Protection
Her planda ücretsiz ve ölçüsüz. Ama ölçüsüz olan mitigasyonun kendisi; görünürlük, kontrol ve log saklama plana göre değişiyor — ve Cloudflare'i atlayan saldırı hiç görülmüyor.
- DurumGenel kullanımda
- FiyatÖlçüsüz ve ücretsiz; saldırı trafiği faturadan çıkarılıyor
- Ücretsiz katmanvar
- Doğrulama
DDoS Protection nedir?
Cloudflare’in en eski ve en çok bilinen vaadi bu, ve tek cümlede özetleniyor:
“Cloudflare provides unmetered and unlimited distributed denial-of-service (DDoS) protection at layers 3, 4, and 7 to all customers on all plans and services.”
Ücretsiz planda da açık, kapatılamıyor, saldırı büyüdükçe fatura büyümüyor. 2017’deki orijinal duyurunun tonu bugün de aynı:
“Regardless of what Cloudflare plan you use — Free, Pro, Business, or Enterprise — we will never tell you to go away or that you need to pay us more because of the size of an attack.”
Bu sayfa DDoS korumasının tamamını anlatıyor. Yalnızca HTTP tarafını arıyorsan DDoS for Web, IP bloğunun tamamını korumak istiyorsan Magic Transit sayfasına bak.
Nasıl çalışır?
İki katmanlı otonom sistem
“The Cloudflare Autonomous Edge is powered by the denial-of-service daemon (
dosd)… Adosdinstance runs in every single server in every one of Cloudflare global network’s data centers around the world. Thesedosdinstances can detect and mitigate DDoS attacks autonomously without requiring centralized consensus.”
Bunun üstünde küresel bir katman var: “the centralized systems run in Cloudflare’s core data centers. They receive samples from every global network data center, analyze them, and automatically send mitigation instructions.”
Örnekleme yol dışında yapılıyor:
“Cloudflare’s autonomous edge and centralized DDoS systems analyze traffic samples out of path, which allows Cloudflare to asynchronously detect DDoS attacks without causing latency or impacting performance.”
Dinamik imza üretimi
Sayfanın en önemli paragrafı, çünkü “Cloudflare kuralı nasıl seçiyor” sorusunun cevabı:
“Once attack traffic matches a rule, Cloudflare’s systems will track that traffic and generate a real-time signature to surgically match against the attack pattern and mitigate the attack without impacting legitimate traffic… For example, if the attack is distributed — that is, originating from many source IPs — then the source IP field will not serve as a strong indicator, and the rule will not choose the source IP field as part of the attack signature. …These mitigation rules are ephemeral and will expire shortly after the attack has ended.”
Neden sana eşik rakamı verilmiyor
“Thresholds vary for each rule and there are different thresholds globally and per colocation. Within a rule, the traffic is fingerprinted and the thresholds are per fingerprint, and it is difficult to know ahead of time which rules, colocations, or fingerprints your traffic generates, so the threshold numbers are not necessarily valuable.”
Sana verilen kontrol bir sayı değil, hassasiyet seviyesi: High, Medium, Low, Essentially Off.
Yığındaki parçalar
| Bileşen | Katman | Kim alabiliyor | Varsayılan |
|---|---|---|---|
| HTTP DDoS Attack Protection | L7 | Tüm planlar | Her zaman açık, kapatılamaz |
| Network-layer DDoS Attack Protection | L3/4 | Tüm planlar | Her zaman açık, kapatılamaz |
| Adaptive DDoS Protection | L7 ve L3/4 | Tüm planlarda yalnızca error kuralı; tamamı Enterprise + add-on | Aksiyon Log |
Advanced TCP Protection (flowtrackd) | L3/4 | Yalnızca Magic Transit | Yeni müşteride Monitor |
Advanced DNS Protection (flowtrackd) | DNS/UDP | Yalnızca Magic Transit | Yeni müşteride Monitor |
| Programmable Flow Protection | UDP tabanlı L7 | Magic Transit eklentisi, kapalı beta | Kapalı beta |
Mitigasyon süresi
“Immediate mitigation for Advanced TCP and DNS Protection systems.” “Up to three seconds on average for the detection and mitigation of L3/4 DDoS attacks at the edge…” “Up to three seconds on average for the detection and mitigation of HTTP DDoS attacks at the edge…”
Bunlar performans tanımı, sözleşmesel taahhüt değil. Yayımlanan tek SLA uptime SLA’sıdır: Business ve Contract’ta %100, Free ve Pro’da yok.
Ne zaman kullanılır, ne zaman kullanılmaz
Bu ürün için soru “kullanır mıyım” değil — zaten açık ve kapatılamıyor. Doğru soru nereye kadar güvenebileceğin.
Yeterli olduğu yerler
- Cloudflare üzerinden geçen HTTP/HTTPS trafiği — her planda, ölçüsüz
- Zone’a onboard edilmiş hostname’lere yönelik L3/4 saldırılar
- Kısa ve küçük saldırıların ezici çoğunluğu: “96.62% of network-layer attacks remaining under 500 Mbps and 90.60% ending in under 10 minutes”
- Saniyeler süren hiper-volumetrik saldırılar — insan müdahalesinin mümkün olmadığı yer
Yetmediği yerler
- Origin IP’nin sızdığı durum. Cloudflare o trafiği hiç görmüyor; panelde iz bile kalmıyor.
- E-posta protokolleri. Birebir: “Does DDoS Protection protect against email-based attacks? No.… DDoS Protection does not inspect or mitigate threats delivered over email protocols such as SMTP, IMAP, or POP3.”
- Onboard olmadığın katman. “you are protected up to the layer on which your service operates.” Yalnızca Magic Transit kullanıyorsan HTTP DDoS koruması almazsın.
- Kesinlik gerektiren sayım. Rate limiting “not designed to allow a precise number of requests” — birkaç saniyelik gecikmeyle fazladan istek origin’e ulaşabiliyor.
- Cloudflare’in önünde başka bir CDN varken. Görünürlük kaybı, yanlış pozitif riski ve ilk-hop faturası.
- Yalnızca DDoS’a güvenmek. Cloudflare’in kendi tavsiyesi: “Deploy WAF custom rules and rate limiting rules to enforce a combined positive and negative security model.”
Somut örnekler
1. Origin’i Cloudflare aralıklarına kilitlemek
Cloudflare’in kendi verdiği iptables örneği:
# Izin ver (her CIDR icin bir kez)
iptables -I INPUT -p tcp -m multiport --dports http,https -s $ip -j ACCEPT
ip6tables -I INPUT -p tcp -m multiport --dports http,https -s $ip -j ACCEPT
# Geri kalani dusur
iptables -A INPUT -p tcp -m multiport --dports http,https -j DROP
ip6tables -A INPUT -p tcp -m multiport --dports http,https -j DROP
Kaynak listeler: https://www.cloudflare.com/ips-v4 (15 IPv4 CIDR),
https://www.cloudflare.com/ips-v6 (7 IPv6 CIDR), veya
https://api.cloudflare.com/client/v4/ips. Aralıklar sık değişmiyor ve
“added to our list of IP ranges before being put into production.”
2. Yanlış pozitifi daraltmak
Enterprise + Advanced add-on ile hassasiyeti tüm trafik için düşürmek yerine ifadeyle daralt:
(http.request.uri.path contains "/legacy-api/")
Bu ifade olmadan tek seçenek kuralın hassasiyetini komple düşürmek. Free/Pro/Business’ta ifade alanı yok — plan farkının en somut hâli bu.
3. Under Attack Mode’u zone geneline açmamak
(starts_with(http.request.uri.path, "/admin"))
Configuration Rule ile yalnızca bu path’e uygula. API path’lerini muaf tutmak için de aynı mekanizma kullanılır.
4. Cache’i saldırıya karşı ayarlamak
Cloudflare’in en somut ve en az uygulanan tavsiyesi:
“To help counter attack randomization, Cloudflare recommends to update your cache settings to exclude the query string as a cache key. When the query string is excluded as a cache key, Cloudflare’s cache will take in unmitigated attack requests instead of forwarding them to the origin.”
Cache-busting saldırıları tam olarak bunu hedefler: her istekte farklı bir ?v= ekleyip cache’i
atlatmak.
Demo 1: Origin IP’nin açıkta olduğunu göster, sonra kilitle
Bu demo Cloudflare’in en kritik uyarısını kendi sunucunda gözle görülür kılıyor.
Ön koşullar: Ubuntu sunucu, nginx 80/443’te, ornek.com Cloudflare’de aktif, www kaydı
turuncu bulut.
export ZONE=ornek.com
export ORIGIN_IP=203.0.113.10 # kendi sunucunun public IP'si
Adım 1 — Proxy’nin çalıştığını doğrula
dig +short A www.$ZONE
curl -sI https://www.$ZONE | grep -Ei '^(HTTP|server|cf-ray|cf-cache-status)'
dig Cloudflare anycast IP’lerini döner, senin IP’ni değil. cf-ray başlığının son üç harfi
isteği karşılayan veri merkezidir — Türkiye’den bakıyorsan IST görmen beklenir.
Adım 2 — Origin’in çıplak olduğunu kanıtla
--resolve DNS’i atlar, TLS SNI’ı doğru tutar ve bağlantıyı doğrudan origin’e açar:
curl -sI --resolve www.$ZONE:443:$ORIGIN_IP https://www.$ZONE \
| grep -Ei '^(HTTP|server|cf-ray)'
curl -s -o /dev/null -w "HTTP %{http_code} | bağlandı: %{remote_ip}:%{remote_port}\n" \
--resolve www.$ZONE:80:$ORIGIN_IP http://www.$ZONE/
HTTP/2 200 ve server: nginx dönüyor, cf-ray başlığı yok. İstek Cloudflare’i hiç
görmedi.
Aynı anda origin log’unu izle:
sudo tail -f /var/log/nginx/access.log
Kaynak IP olarak kendi makinenin gerçek IP’si görünüyor — bir Cloudflare IP’si değil.
Adım 3 — Sızıntı yollarını tara
for h in mail ftp cpanel webmail direct dev staging vpn smtp; do
ip=$(dig +short A $h.$ZONE | tail -1)
[ -n "$ip" ] && echo "$h.$ZONE -> $ip"
done
dig +short TXT $ZONE | grep -i 'v=spf1'
dig +short MX $ZONE
mail.ornek.com -> 203.0.113.10 gibi bir satır çıkarsa, turuncu bulut kullanmana rağmen origin
IP’n açıkta demektir.
Adım 4 — Cloudflare aralıklarını al ve kilitle
sudo mkdir -p /etc/cloudflare
curl -s https://www.cloudflare.com/ips-v4 | sudo tee /etc/cloudflare/ips-v4 >/dev/null
curl -s https://www.cloudflare.com/ips-v6 | sudo tee /etc/cloudflare/ips-v6 >/dev/null
wc -l /etc/cloudflare/ips-v4 /etc/cloudflare/ips-v6
Beklenen: 15 ve 7 satır.
sudo tee /etc/nftables.d/cfguard.nft >/dev/null <<'EOF'
table inet cfguard {
set cf4 { type ipv4_addr; flags interval; }
set cf6 { type ipv6_addr; flags interval; }
chain input {
type filter hook input priority filter; policy accept;
ct state established,related accept
iif lo accept
tcp dport { 80, 443 } ip saddr @cf4 accept
tcp dport { 80, 443 } ip6 saddr @cf6 accept
tcp dport { 80, 443 } counter drop
}
}
EOF
sudo nft -f /etc/nftables.d/cfguard.nft
sudo nft add element inet cfguard cf4 "{ $(paste -sd, /etc/cloudflare/ips-v4) }"
sudo nft add element inet cfguard cf6 "{ $(paste -sd, /etc/cloudflare/ips-v6) }"
sudo nft list table inet cfguard
Adım 5 — Önce/sonra farkını ölç
echo "--- Cloudflare üzerinden (çalışmalı) ---"
curl -s -o /dev/null -w "HTTP %{http_code}\n" https://www.$ZONE/
echo "--- Doğrudan origin'e (artık düşmeli) ---"
curl -s -o /dev/null -w "HTTP %{http_code}\n" --max-time 8 \
--resolve www.$ZONE:443:$ORIGIN_IP https://www.$ZONE/ \
|| echo "ZAMAN AŞIMI — beklenen sonuç"
sudo nft list table inet cfguard | grep 'counter'
Paket drop edildiği için RST bile dönmüyor; curl zaman aşımına düşüyor. Sayaç artışı kilidin
çalıştığının kanıtı.
Adım 6 — Kalıcılık ve haftalık senkron
echo 'include "/etc/nftables.d/cfguard.nft"' | sudo tee -a /etc/nftables.conf
sudo systemctl enable --now nftables
sudo tee /etc/cron.weekly/cf-ips >/dev/null <<'EOF'
#!/bin/sh
curl -sf https://www.cloudflare.com/ips-v4 -o /etc/cloudflare/ips-v4.yeni && \
mv /etc/cloudflare/ips-v4.yeni /etc/cloudflare/ips-v4
nft flush set inet cfguard cf4
nft add element inet cfguard cf4 "{ $(paste -sd, /etc/cloudflare/ips-v4) }"
EOF
sudo chmod +x /etc/cron.weekly/cf-ips
Demo 2: Kendi hostname’ine kontrollü patlama
Yasal çerçeve. Cloudflare bunu açıkça izinli kılıyor:
“You can only launch DDoS attacks against your own Internet properties… The Internet properties are not shared with other organizations or individuals… You do not have to obtain permission from Cloudflare to launch a DDoS attack simulation against your own Internet properties.”
Adım 1 — Ayrı bir test yolu aç
sudo mkdir -p /var/www/html/ddos-lab
echo "lab ok" | sudo tee /var/www/html/ddos-lab/index.html
curl -sI https://www.$ZONE/ddos-lab/ | head -3
Adım 2 — Rate limiting kuralını kur
Panel: Security → Security rules → Rate limiting rules → Create rule
| Alan | Değer |
|---|---|
| Rule name | lab-burst-test |
| If incoming requests match | URI Path · starts with · /ddos-lab |
| Characteristics | IP |
| Period | 10 seconds |
| Requests per period | 20 |
| Then take action | Block |
| Duration | 10 seconds |
Adım 3 — Patlamayı gönder
sudo apt-get install -y hey 2>/dev/null || sudo snap install hey
hey -n 60 -c 10 -t 10 https://www.$ZONE/ddos-lab/
hey yoksa:
for i in $(seq 1 60); do
curl -s -o /dev/null -w "%{http_code}\n" https://www.$ZONE/ddos-lab/ &
done | sort | uniq -c
wait
İlk ~20 istek 200, kalanı 429. Ziyaretçi tarafında bu error 1015 olarak görünüyor:
curl -s https://www.$ZONE/ddos-lab/ | grep -io "error 1015\|rate limited" | head -1
Adım 4 — Security Events’te gör
Panel: Analytics → Events · Filtre: Action equals Block ve Service equals Rate limiting
Adım 5 — Rate limiting ile DDoS korumasını ayır
Aynı ekranda filtreyi değiştir: Service equals HTTP DDoS
Küçük bir lab patlamasında bu ekran büyük ihtimalle boş çıkacak — ve bu öğretici bir sonuç. Rate limiting senin kuralın; DDoS koruması Cloudflare’in otomatik sistemi ve eşikleri fingerprint başına, yayımlanmıyor.
Adım 6 — Origin’in yükü görmediğini kanıtla
sudo tail -n 200 /var/log/nginx/access.log | grep -c '/ddos-lab/'
60’tan belirgin biçimde az. Engellenen istekler origin’e hiç ulaşmadı.
Adım 7 — Temizlik
sudo rm -rf /var/www/html/ddos-lab
Panelden lab-burst-test kuralını sil veya devre dışı bırak.
Ölçüm tablosu
| Ölçüt | Değer |
|---|---|
| Kilitlemeden önce doğrudan origin’e istek sonucu | |
| Sızdıran alt alan adı / SPF kaydı sayısı | |
| Kilitlemeden sonra doğrudan origin’e istek sonucu | |
| nftables drop sayacı | |
| 60 istekte 200 / 429 dağılımı | |
| Origin access.log’una ulaşan istek sayısı | |
| Security Events’te görünen blok sayısı |
Fiyatlandırma
DDoS mitigasyonu her planda ücretsiz ve ölçüsüz. Fark, kontrol ve görünürlükte.
| Free | Pro | Business | Enterprise | Ent + Advanced DDoS | |
|---|---|---|---|---|---|
| Ölçüsüz DDoS koruması (L3–L7) | ✓ | ✓ | ✓ | ✓ | ✓ |
| HTTP DDoS managed ruleset | ✓ | ✓ | ✓ | ✓ | ✓ |
| Network-layer DDoS managed ruleset | ✓ | ✓ | ✓ | ✓ | ✓ |
| Managed rules özelleştirme | ✓ | ✓ | ✓ | Log aksiyonuyla | İfade alanları + çoklu kural |
| Yeni kurallarda proaktif yanlış pozitif tespiti | — | — | — | ✓ | ✓ |
| Adaptive DDoS | yalnız error | yalnız error | yalnız error | yalnız error | tamamı |
| Adaptive profil sinyalleri | hata oranı | hata oranı | + tarihsel eğilim | + tarihsel eğilim | + ülke, user agent, query string, ML skorları |
| Ruleset override sayısı | 1 | 1 | 1 | 1 | 10 |
| Uyarılar | ✓ | ✓ | ✓ | ✓ | filtreli gelişmiş uyarılar |
| Uptime SLA | — | — | %100 | %100 | %100 |
| Servis kredisi | — | — | 1x | 10x / 25x | 10x / 25x |
Plan fiyatları (cloudflare.com/plans, 1 Eylül 2026): Free $0, Pro $20/ay (yıllık) veya $25/ay, Business $200/ay (yıllık) veya $250/ay, Contract özel fiyat.
Magic Transit gerektirenler — hiçbir WAF/CDN planında yok: Advanced TCP Protection, Advanced DNS Protection, Programmable Flow Protection, Network Analytics panosu ve Logpush dataset’i, L3/4 DDoS uyarıları, protokol bazlı adaptive koruma, haftalık e-posta raporları. Magic Transit için yayımlanmış liste fiyatı yoktur.
Ücretsiz ek: DDoS Botnet Threat Feed. “available for free to service providers” — kendi ASN’lerine ait, HTTP DDoS saldırılarına katılmış IP adreslerini veriyor. ASN sahipliği PeeringDB üzerinden doğrulanıyor. Türkiye’deki ISP ve hosting sağlayıcıları için doğrudan uygulanabilir.
Lisanslama ve hukuki çerçeve
DDoS Protection tescilli bir hizmettir ve Cloudflare Hizmet Şartlarına tabidir. Ayrı bir lisans veya sözleşme gerektirmez; her planda açıktır.
Test etme izni. Cloudflare kendi altyapına yönelik simülasyona açıkça izin veriyor:
“You can only launch DDoS attacks against your own Internet properties… provided that: The Internet properties are not shared with other organizations or individuals. The Internet properties have been onboarded to Cloudflare in an account under your name or ownership.” “You do not have to obtain permission from Cloudflare to launch a DDoS attack simulation against your own Internet properties.”
Ve bir uyarı: “if you want to test Cloudflare against an HTTP DDoS attack and you are only using Magic Transit, the test is going to fail because you need to onboard your HTTP application to Cloudflare’s reverse proxy service.”
Veri toplama. Advanced DNS Protection için: “Cloudflare collects DNS-related data such as
query type (for example, A record) and the queried domains.” Bunu kapatmanın tek yolu prefix’i
kaldırmaktır — ve bu Advanced TCP Protection’ı da kaldırır.
Türkiye. Cloudflare’in Data Localization dokümanında bir Turkey bölgesi var ve tanımı “Cloudflare will only use data centers that are physically located within Turkey to decrypt and service HTTPS traffic.” Bu bölge L7/HTTPS içindir; Magic Transit, Network Firewall ve Cloudflare WAN için Regional Services ⚫️ “Not applicable” olarak işaretlidir.
Sık yapılan hatalar
Origin IP’yi açıkta bırakmak
Bu sayfadaki tek en pahalı hata. Cloudflare’in güvenlik derecelendirmesiyle çözüm sırası: Cloudflare Tunnel (Very secure) > Authenticated Origin Pulls (Very secure) > IP izin listesi (Moderately secure) > HTTP header doğrulaması (Moderately secure).
Cloudflare IP’lerini yanlışlıkla engellemek — ters hata
“To your origin server’s firewall, this can look like a limited number of sources sending a high volume of traffic — which may trigger automatic blocking or rate limiting. Because all visitor traffic appears to come from Cloudflare IP addresses, blocking these IPs — even accidentally — will prevent visitor traffic from reaching your application.”
Türkiye’deki paylaşımlı hosting ortamlarında en sık görülen arıza bu: fail2ban, mod_evasive
veya cPanel’in otomatik ban mekanizması bir Cloudflare kenar IP’sini banlıyor ve o kenara düşen
tüm ziyaretçiler siteyi kaybediyor. Cloudflare ayrıca WordPress güvenlik eklentilerini ve
ModSecurity’yi adıyla uyarıyor.
Gri bulutlu kayıtları unutmak
Proxied olmayan her A/AAAA kaydı origin IP’ni yayınlıyor. En sık unutulanlar: mail, ftp,
cpanel, webmail, direct, dev, staging, vpn, smtp. SPF ve TXT kayıtları da düz metin
olarak IP sızdırıyor.
Hassasiyeti aşırı düşürmek
Cloudflare’in ilk tavsiyesi varsayılana dönmektir: “Make sure all DDoS managed rulesets are set
to default settings (High sensitivity level and mitigation actions) for optimal DDoS
activation.” Test aşamasındaki kuralları elle Block’a çevirmek de bir hata:
“By applying a manual Block override, you prevent your configuration from automatically
inheriting the more nuanced DDoS Dynamic action once it is released.”
Cache’i kullanmamak
“Enable caching as much as possible to reduce the strain on your origin servers, and when using Workers, avoid overwhelming your origin server with more subrequests than necessary.”
Cache-busting saldırılarına karşı query string’i cache anahtarından çıkarmak, Cloudflare’in verdiği en somut ayardır.
Under Attack Mode’u zone geneline açmak
API’lerin, webhook’ların ve ödeme callback’lerin JavaScript çalıştıramadığı için interstitial’ı geçemiyor. Configuration Rule ile kapsamı daralt.
Yalnızca DDoS korumasına güvenmek
“Deploy WAF custom rules and rate limiting rules to enforce a combined positive and negative security model. Reduce the traffic allowed to your website based on your known usage.”
“Essentially Off”un gerçekten kapalı olduğunu sanmak
“However, if the attack is extremely large, Cloudflare’s protection systems will still trigger the rule’s mitigation action to protect Cloudflare’s network.”
Tamamen kapatamıyorsun — bu güvenlik açısından iyi, ama trafiğinin ne zaman ve neden mitige edileceği üzerinde tam kontrolün olmadığı anlamına da geliyor.
Sıkça sorulan sorular
- Ücretsiz planda DDoS koruması gerçekten sınırsız mı?
- Evet. Birebir: “Cloudflare provides unmetered and unlimited distributed denial-of-service (DDoS) protection at layers 3, 4, and 7 to all customers on all plans and services.” 2017 duyurusundan: “Regardless of what Cloudflare plan you use — Free, Pro, Business, or Enterprise — we will never tell you to go away or that you need to pay us more because of the size of an attack.” Ama aynı duyurunun devamını okumak şart: “Cloudflare's higher tier plans will continue to offer more sophisticated reporting, tools, and customer support… But volumetric DDoS mitigation is now officially unlimited and unmetered.” Yani ölçüsüz olan mitigasyon; üst planda satın aldığın şey görünürlük ve kontrol.
- Saldırı sırasında faturam artar mı?
- Hayır. Birebir: “No. Since 2017, Cloudflare offers free, unmetered, and unlimited DDoS protection. There is no limit to the number of DDoS attacks, their duration, or their size. Cloudflare's billing systems automatically exclude DDoS attack traffic from your usage.” İki istisna var: Cloudflare'in önünde başka bir CDN varsa “you will still pay your first-hop CDN provider for the attack traffic that they processed before it was mitigated by Cloudflare”; ve cache'lenmeyip origin'e geçen isteklerin sunucu maliyeti sana ait.
- Origin IP'm sızarsa ne olur?
- Saldırı Cloudflare'i tamamen atlar. Birebir: “they could send traffic directly to your server, bypassing Cloudflare's security protections entirely.” Panelinde hiçbir iz görünmez — sunucu çöker, analytics boş kalır. Cloudflare'in tavsiyesi ikili: origin firewall'ında yalnızca Cloudflare aralıklarına izin ver, ve “contacting your hosting provider and requesting new origin server IPs if they have been targeted directly in the past.”
- Turuncu bulut açıkken origin IP'm nasıl sızar?
- Cloudflare'in kendi saydığı dört yol: (1) gri bulutlu kayıtlar —
mail,ftp,cpanel,direct,vpn; (2) SPF/TXT kayıtlarındakiip4:değerleri — “Audit existing DNS-only records (SPF,TXT, and more) to make sure they do not contain origin IP information”; (3) aynı makinedeki posta sunucusu — “emails sent to non-existent addresses get bounced back to the attacker and reveal the mail server IP”; (4) tarihsel kayıtlar — “DNS records are in the public domain. Historical records are kept and would contain IP addresses prior to joining Cloudflare.” - Cloudflare IP'lerine izin vermek yeterli mi?
- Cloudflare kendi yöntemini “Moderately secure” olarak sınıflandırıyor ve zayıflığını yazıyor: “Vulnerable to IP spoofing.” “Very secure” dediği yöntemler: Cloudflare Tunnel, Authenticated Origin Pulls, JWT Validation, Magic Transit, Cloudflare Network Interconnect. AOP için de bir uyarı var: “this certificate only guarantees that a request is coming from the Cloudflare network” — yani başka bir Cloudflare müşterisinin trafiği de geçebilir; kendi sertifikanı yüklemen gerekiyor.
- Managed ruleset'i kapatabilir miyim?
- Hayır. İki ruleset de “always enabled — you can only customize its behavior”. En düşük ayar Essentially Off ve o bile mutlak değil: “if the attack is extremely large, Cloudflare's protection systems will still trigger the rule's mitigation action to protect Cloudflare's network.”
- Cloudflare bana eşik rakamı vermiyor, neden?
- Çünkü tek bir eşik yok. Birebir: “Thresholds vary for each rule and there are different thresholds globally and per colocation. Within a rule, the traffic is fingerprinted and the thresholds are per fingerprint… so the threshold numbers are not necessarily valuable.” İmza da saldırının şekline göre değişiyor: “if the attack is distributed — that is, originating from many source IPs — then the source IP field will not serve as a strong indicator, and the rule will not choose the source IP field as part of the attack signature.” Sana verilen kontrol rakam değil, hassasiyet seviyesi.
- Mitigasyon ne kadar sürüyor?
- Dokümanın verdiği rakamlar: Advanced TCP ve DNS Protection için “Immediate mitigation”; L3/4 ve HTTP managed rules için “Up to three seconds on average”. Ama bu bir performans tanımı, sözleşmesel taahhüt değil. Yayımlanan tek SLA uptime SLA'sı: Business ve Contract'ta %100, Free ve Pro'da yok. Sözleşmeye bağlı bir time-to-mitigate rakamı bulunamadı.
- Yanlış pozitif yaşıyorum, ne yapmalıyım?
- Sırayla: (1) Security Events → filtre
Service equals HTTP DDoSile hangi kuralın tetiklendiğini bul, kural adını kopyala. (2) O kuralın hassasiyetini High → Medium → Low → Essentially Off yönünde adım adım düşür. Cloudflare'in mobil uygulama örneği birebir: “change the sensitivity level toMedium. If traffic continues to be blocked… set the sensitivity level toLoworEssentially off.” (3) Enterprise'daysan önce Log aksiyonuyla gözlemle. (4) Advanced add-on'un varsa ifade filtresiyle yalnızca etkilenen trafiği kapsama al. Kritik asimetri: Free/Pro/Business'ta ifade filtresi yok — hassasiyeti düşürmek tüm trafiğini etkiler. - Under Attack Mode API'lerimi bozar mı?
- Evet, bozabilir. Birebir uyarı: “Under Attack mode may affect some actions on your domain, such as your API traffic.” Sebebi: “Under Attack mode requires your browser to support JavaScript to display and pass the interstitial page.” Yani
curl, native mobil HTTP client'ları, sunucu-sunucu çağrıları, webhook'lar ve ödeme callback'leri geçemez. Doküman ayrıca “it is expected to observe impact on third party analytics tools” diyor. Çözüm: zone geneline açma, Configuration Rule ile daralt —(starts_with(http.request.uri.path, "/admin")). - Under Attack Mode hangi challenge'ı gösteriyor?
- İki resmî sayfa farklı şey söylüyor, ikisini de veriyoruz. Under Attack Mode sayfası: “visitors receive an interstitial page” ve “The
Checking your browser before accessing...challenge determines whether to block or allow a visitor within five seconds.” Security Level sayfası: “When you enable Under Attack mode, Cloudflare will present a Managed Challenge page.” İkisi de 1 Eylül 2026'da erişildi. - Ben proxy'liyim, L3 saldırıyı Cloudflare nasıl görüyor?
- Paketler zaten Cloudflare'in anycast IP'lerine geliyor, senin sunucuna değil.
dosdher Cloudflare sunucusunda çalışıyor: “Adosdinstance runs in every single server in every one of Cloudflare global network's data centers… Thesedosdinstances can detect and mitigate DDoS attacks autonomously without requiring centralized consensus.” Network-layer ruleset'in kapsamı da “Zones onboarded to Cloudflare” olarak yazılı. Yani L3/4 koruması için Magic Transit gerekmiyor — turuncu bulut yeterli. Fark görünürlükte: L3/4 detaylarını gösteren Network Analytics panosu Enterprise + Magic Transit/Spectrum istiyor. - Magic Transit olmadan L3 koruma alabilir miyim?
- Koruma evet, gelişmiş sistemler ve görünürlük hayır. Alırsın: Network-layer managed ruleset (her planda, her zaman açık) ve kapsadığı vektörlerin tamamı. Alamazsın: Advanced TCP Protection, Advanced DNS Protection, Programmable Flow Protection, Network Analytics panosu ve Logpush dataset'i, L3/4 DDoS uyarıları, protokol bazlı adaptive koruma, haftalık e-posta raporları, ve Network ruleset'ini özelleştirme hakkı (“only Magic Transit and Spectrum customers on an Enterprise plan can customize the managed ruleset”). FAQ net: “Advanced TCP Protection is only necessary and available to Magic Transit customers.”
- Adaptive DDoS Protection'ı ücretsiz planda kullanabilir miyim?
- Kısmen. Resmî tablo: Free/Pro/Business/Enterprise = “Only error adaptive rules”; Enterprise + Advanced add-on = “All adaptive rules”. Yani origin hata oranına bakan kural her planda çalışıyor. Tam Adaptive (Origins, User-Agents, Locations profilleri) Enterprise + add-on istiyor. Bir de sessiz ön koşul var: “Cloudflare requires a minimum amount of requests per second (rps) to build traffic profiles” — düşük trafikli sitelerde profil hiç oluşmuyor.
- Cloudflare önünde başka bir CDN kullanabilir miyim?
- Cloudflare açıkça önermiyor: “Cloudflare recommends that you do not use a third-party CDN in front of Cloudflare.” Üç somut sorun: (1) “in rare occasions — such as when using the Akamai CDN in front of Cloudflare — it may appear as if the CDN is launching a DDoS attack against Cloudflare”; (2) “the vendor's IP addresses are available to Cloudflare's network-layer protection systems rather than the true client IP addresses. This lack of visibility… can lead to less effective automated mitigation and potential false positives.”; (3) ilk-hop faturası sana geliyor.
- Saldırı analitiğim ne kadar saklanıyor?
- Plana göre keskin biçimde değişiyor ve bu, ücretsiz planın gerçek sınırı. Free'de Security Events “sampled logs only” ve saklama 24 saat; Business'ta 3 gün; Enterprise'da 30 gün ve hesap düzeyinde pano; Contract planda “Up to 6 months; Logpush to SIEM/cloud storage”. Ayrıca bir alarm boşluğu var: “Alerts are not available for attacks detected by Advanced TCP Protection, Advanced DNS Protection, or Programmable Flow Protection” — yani en gelişmiş korumaların alarm üretmiyor. Ve “You will not receive duplicate DDoS alerts within the same one-hour time frame”.
- En büyük saldırı ne kadardı?
- Ve burada iki resmî sayfa çelişiyor. Pazarlama sayfası: “500 Tbps… 23x larger than the biggest DDoS attack ever recorded” — bu, rekoru ~21,7 Tbps kabul eder. Ama 2025 Q4 raporu: “one reaching 31.4 Tbps in a DDoS attack that lasted just 35 seconds”. Saldırı Kasım 2025 başında oldu, kaynağı Aisuru-Kimwolf botnet'iydi (çoğu Android TV, tahmini 1–4 milyon cihaz), ve “It was one of over 5,000 attacks we blocked that day. No engineer was paged.”
- Asıl tehdit dev saldırılar mı?
- Hayır — ve bu, 2026 H1 raporunun en değerli bulgusu. Birebir: “96.62% of network-layer attacks remaining under 500 Mbps and 90.60% ending in under 10 minutes.” Cloudflare'in kendi ölçeği: “A 100 Mbps attack is enough to overwhelm a server or website.” Ve otomasyonun neden zorunlu olduğu: “we have observed record-breaking assaults that lasted only 35 seconds… there is no practical window for human intervention: by the time an alert reaches a security analyst, the attack has already completed.”
- Türkiye gerçekten en çok saldırıya uğrayan ülkelerden mi?
- Cloudflare'in verilerine göre evet, ama ifadeye dikkat. 2026 H1 raporu (11 Ağustos 2026): “Turkey saw a rapid increase in attacks, more than doubling its share of global attack traffic to climb into the #3 most-attacked position by Q2”, ve bunu “the buildup to the 2026 Ankara NATO Summit in June and early July” ile ilişkilendiriyor. Geçmiş: 2024 Q2 #2, 2025 Q1 #2 (11 sıra yükseliş), 2025 Q2 #6, 2025 Q3 #2, 2026 Q2 #3. Ama metodoloji şunu söylüyor: “attacks and traffic are grouped by customers' billing country” ve “it does not necessarily mean that a certain country was attacked as a country, but rather that organizations that use that country as their billing country were targeted.” Türkiye'nin yüzde payı raporda verilmemiştir.
- Türkiye'de Cloudflare veri merkezi var mı?
- İki tane: Istanbul, TR ve Izmir, TR. İstanbul PoP'u 6 Mart 2018'de açıldı — “our 124th data center globally (and 62nd country)”, “our 34th data center in Europe”. Ankara listede yok (pozitif kontrollü doğrulandı). İzmir PoP'unun açılış tarihi için resmî bir duyuru bulunamadı — tarih verme. Ayrıca Türkçe ağ sayfasında İstanbul'un yanında bir yıldız var ve tanımı “Yapay Zekâ çıkarım konumları” — yani İstanbul bir AI-inference lokasyonu, İzmir değil.
- ISP veya hosting sağlayıcısıyım, kendi ağımdaki botnet'leri görebilir miyim?
- Evet, ücretsiz. DDoS Botnet Threat Feed: “available for free to service providers” — kendi ASN'lerinize ait, HTTP DDoS saldırılarına katılmış IP adreslerini veriyor. “A service provider can only get information about IP addresses associated with their autonomous system numbers (ASNs). The affiliation… will be checked against PeeringDB.” Sayaç mantığı: “if an IP has 3,000 offenses, it means that Cloudflare has mitigated 3,000 HTTP requests from that IP.” 2026 H1 itibarıyla “Over 800 networks worldwide have signed up.” Kurulum: Configurations → DDoS Threat Feed ASNs → Add ASN.
İlgili servisler
- DDoS for WebHTTP katmanındaki DDoS saldırılarına özel kural setleri ve otomatik azaltma.
- Magic TransitKendi IP bloğunu BGP ile Cloudflare’e announce edip tüm ağ trafiğini DDoS koruması altına alır.
- Network FirewallKurumsal WAN trafiği için bulut tabanlı, stateful network firewall.
- WAFSQL injection, XSS ve bilinen zafiyet istismarlarını request origin’e ulaşmadan engeller.
- Rate LimitingIP, oturum veya özel anahtara göre request sayısını sınırlar.
- SpectrumHTTP olmayan TCP/UDP servislerini (SSH, oyun sunucusu, e-posta) Cloudflare arkasına alır.
Bu sayfadaki fiyat ve özellik bilgileri 1 Eylül 2026 tarihinde Cloudflare’in resmî kaynaklarından doğrulanmıştır. Cloudflare fiyatlandırmasını önceden haber vermeden değiştirebilir; bağlayıcı bilgi içinresmî sayfaya bakın.