• Home
Home
Anti-DDoS CDNStatic & dynamic acceleration, edge scrubbingAnti-DDoS IP forwardingL4 forwarding with protected IPsSDK game shieldClient SDK for gaming workloadsAnti-DDoS serversDedicated compute with high availabilityLearn more
Gaming solutionLow latency + protectionFinancial solutionCompliance & scrubbingLive streaming solutionPush/pull at the edgeBlockchain solutionWeb3 infra protectionExplore
DocumentationAPIs & onboardingHelp centerFAQs & ticketsBlog & newsUpdates & best practicesGlobal speed testMulti-region performance checksTag cloudTopic map across the siteOpen docs
AboutMission & visionCareersHiringPartnersEcosystemContactSales & supportContact us

Documentation

  • Introduction
  • Best Practices
Docs/Security Protection/WAF Configuration

WAF Configuration

速盾网络 Team
Docs

Tags

  • DDoS防护

On this page

No outline

Share

𝕏fin

Enterprise CDN & acceleration with AI-driven monitoring and full-spectrum, real-time DDoS/CC protection. Trusted by tens of thousands of companies for fast, secure, and reliable content delivery and DDoS mitigation.

Product

  • Anti-DDoS CDN
  • Anti-DDoS IP forwarding
  • SDK game shield
  • Anti-DDoS servers

Solutions

  • Gaming solution
  • Financial solution
  • Live streaming solution
  • Blockchain solution

Resources

  • Documentation
  • Help center
  • Blog & news
  • Global speed test

Company

  • About
  • Careers
  • Partners
  • Contact

© 2026-2028 sudun.com 保留所有权利

  • Privacy
  • Terms
  • Cookies

Sudun WAF protects your web applications from common vulnerabilities and attacks. Our managed rulesets block SQL injection, cross-site scripting (XSS), and other OWASP Top 10 threats.

How WAF Works

code
Request → WAF Inspection → Rule Matching
                               │
                    ┌──────────┴──────────┐
                    │                     │
               Match Found           No Match
                    │                     │
             Action Taken         → Origin Server

Managed Rulesets

OWASP Core Rule Set

CategoryProtection
SQL InjectionQuery pattern detection
XSSScript injection blocking
LFI/RFIFile inclusion prevention
RCECommand injection blocking

WAF Modes

Detection Mode

json
{
  "waf": {
    "mode": "detection",
    "log_matches": true
  }
}

Prevention Mode

json
{
  "waf": {
    "mode": "prevention",
    "block_action": "block"
  }
}

Sensitivity Levels

LevelDescription
lowFewer false positives
mediumBalanced (recommended)
highStricter detection

Custom Rules

json
{
  "rule": {
    "name": "Block Admin Access",
    "expression": "http.request.uri.path contains \"/admin\"",
    "action": "block"
  }
}

Exceptions

Skip WAF for specific paths:

json
{
  "exceptions": {
    "paths": ["/api/webhook", "/health"]
  }
}

API Reference

Get WAF Settings

bash
curl -X GET https://api.Sudun.com/v1/domains/{domain}/waf \
  -H "Authorization: Bearer YOUR_API_KEY"

Update WAF Mode

bash
curl -X PUT https://api.Sudun.com/v1/domains/{domain}/waf \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{"mode": "prevention"}'

Need help? Contact support@Sudun.com