Path Panel DDoS Protection Management Panel User Guide
Complete REXE Path Panel user guide: Dashboard, My IPs, TR protection status, rule management, attack history, abuse filtered, password change and API access.
Complete guide on DDoS attack detection, emergency response steps, traffic analysis, ISP communication, post-mortem analysis, and prevention strategies.
Correct and rapid response during a DDoS attack is critical to minimizing service disruption. This guide covers the entire emergency response process step by step, from attack detection to post-mortem analysis.
Don't panic during a DDoS attack. Follow the steps in this guide sequentially. The REXE support team is available 24/7.
Early detection of a DDoS attack is the first step for effective response.
| Symptom | Possible Attack Type |
|---|---|
| Website slow or unreachable | Layer 7 HTTP flood |
| Cannot establish SSH connection | Layer 4 SYN/TCP flood |
| High bandwidth usage | Volumetric attack |
| CPU/RAM normal but site slow | Network level attack |
| CPU 100% but traffic normal | Application layer attack |
# 1. Server reachability check
ping -c 5 SERVER_IP
# 2. Network connection status
ss -s
# 3. Active connection count
ss -ant | wc -l
# 4. Top connecting IPs
ss -ntu | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -rn | head -20
# 5. SYN-RECV state connections
ss -ant state syn-recv | wc -l
# 6. Bandwidth usage
ifstat -i eth0 1 5
# 7. System resources
top -bn1 | head -5
free -h
# Real-time traffic monitoring
sudo iftop -i eth0 -n
# Protocol-based traffic distribution
sudo tcpdump -i eth0 -c 10000 -nn 2>/dev/null | awk '{print $3}' | cut -d. -f5 | sort | uniq -c | sort -rn | head -10
# Source IP analysis
sudo tcpdump -i eth0 -c 5000 -nn 2>/dev/null | awk '{print $3}' | cut -d. -f1-4 | sort | uniq -c | sort -rn | head -20
# Packet capture for detailed analysis
sudo tcpdump -i eth0 -c 50000 -w /tmp/ddos-capture.pcap
# Determine attack type
# High SYN-RECV = SYN Flood
ss -ant state syn-recv | wc -l
# High ESTABLISHED = HTTP Flood
ss -ant state established | wc -l
# High UDP traffic = UDP Flood
sudo tcpdump -i eth0 udp -c 1000 -nn -q 2>/dev/null | wc -l
# HTTP request analysis
tail -1000 /var/log/nginx/access.log | awk '{print $1}' | sort | uniq -c | sort -rn | head -10
#!/bin/bash
# emergency-block.sh
# Detect top attacking IPs
ATTACKERS=$(ss -ntu | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -rn | head -50 | awk '$1 > 100 {print $2}')
# Block IPs
for ip in $ATTACKERS; do
iptables -I INPUT -s $ip -j DROP
echo "Blocked: $ip"
done
# Bulk blocking with ipset
ipset create blacklist hash:net
for ip in $ATTACKERS; do
ipset add blacklist $ip
done
iptables -I INPUT -m set --match-set blacklist src -j DROP
# Emergency sysctl settings
sysctl -w net.ipv4.tcp_syncookies=1
sysctl -w net.ipv4.tcp_max_syn_backlog=65536
sysctl -w net.ipv4.tcp_synack_retries=1
sysctl -w net.netfilter.nf_conntrack_max=2000000
sysctl -w net.core.somaxconn=65536
sysctl -w net.ipv4.tcp_tw_reuse=1
# Nginx emergency configuration
# /etc/nginx/conf.d/emergency.conf
limit_req_zone $binary_remote_addr zone=emergency:20m rate=5r/s;
limit_conn_zone $binary_remote_addr zone=emergency_conn:20m;
server {
limit_req zone=emergency burst=10 nodelay;
limit_conn emergency_conn 20;
client_max_body_size 1m;
client_body_timeout 5s;
client_header_timeout 5s;
if ($http_user_agent ~* (bot|crawler|spider|scan|attack)) {
return 403;
}
}
sudo nginx -t && sudo systemctl reload nginx
curl -X PATCH "https://api.cloudflare.com/client/v4/zones/ZONE_ID/settings/security_level" \
-H "Authorization: Bearer API_TOKEN" \
-H "Content-Type: application/json" \
--data '{"value":"under_attack"}'
Through Path Panel:
Subject: DDoS Attack - Emergency Response Required
Server IP: [IP_ADDRESS]
Attack Start: [DATE/TIME]
Attack Type: [SYN Flood / UDP Flood / HTTP Flood / Unknown]
Impact: [Full outage / Partial slowdown / Intermittent access]
Measures Taken:
- iptables rules applied
- Cloudflare Under Attack mode active
- Kernel parameters tuned
Additional Info:
- Attack traffic: ~[X] Gbps
- Source IP count: ~[X]
- Target ports: [80, 443, etc.]
# Analyze captured traffic
tcpdump -r /tmp/ddos-capture.pcap -nn | head -100
# Attack statistics
tcpdump -r /tmp/ddos-capture.pcap -nn | awk '{print $3}' | cut -d. -f1-4 | sort | uniq -c | sort -rn | head -20
# Log analysis
grep -c "" /var/log/nginx/access.log
awk '{print $1}' /var/log/nginx/access.log | sort -u | wc -l
# After attack ends, remove emergency rules
# 1. Return Cloudflare to normal mode
curl -X PATCH "https://api.cloudflare.com/client/v4/zones/ZONE_ID/settings/security_level" \
-H "Authorization: Bearer API_TOKEN" \
-H "Content-Type: application/json" \
--data '{"value":"medium"}'
# 2. Clean emergency iptables rules
iptables -D INPUT -m set --match-set blacklist src -j DROP
ipset destroy blacklist
# 3. Remove Nginx emergency config
rm /etc/nginx/conf.d/emergency.conf
sudo nginx -t && sudo systemctl reload nginx
#!/bin/bash
# ddos-monitor.sh - Run with cron (every minute)
THRESHOLD=500
CONNECTIONS=$(ss -ant | wc -l)
if [ $CONNECTIONS -gt $THRESHOLD ]; then
echo "WARNING: High connection count: $CONNECTIONS" | \
mail -s "DDoS Alert - $(hostname)" admin@example.com
/usr/local/bin/emergency-block.sh
logger "DDoS alert: $CONNECTIONS connections detected"
fi
Test your emergency response plan regularly. The plan should be ready when an attack occurs. Keep your contact information with the REXE support team up to date.
Being prepared for DDoS attacks is as important as responding quickly and effectively during an attack. Plan the steps in this guide in advance, prepare scripts, and conduct regular drills. Create a multi-layered defense strategy with Path Panel protection and Cloudflare integration offered by REXE infrastructure.
Excessive slowdown or inaccessibility of your website, inability to establish SSH connections, abnormal bandwidth usage, and high connection counts are symptoms of a DDoS attack. You can quickly diagnose with 'ss -s' and 'iftop' commands.
First, determine the attack type (SYN flood, HTTP flood, UDP flood). Then block the top attacking IPs with iptables, tune kernel parameters, and enable Cloudflare Under Attack mode. Notify the REXE support team.
DDoS attacks can last from a few minutes to several days. Most attacks end within 1-2 hours. However, targeted attacks can continue for days. The impact is minimized as long as your protection measures are active.
You can create a support ticket from the REXE customer panel or call the 24/7 support line for emergencies. Include server IP, attack start time, attack type, and measures taken in your support request.
After the attack ends, remove emergency rules, return Cloudflare to normal mode, perform log analysis, and prepare a post-mortem report. Document attack sources and types to prepare for future attacks.
Complete REXE Path Panel user guide: Dashboard, My IPs, TR protection status, rule management, attack history, abuse filtered, password change and API access.
Path.net DDoS protection game filters guide: Arma/DayZ, Source Engine, CS:GO, CS2, FiveM, Minecraft, Rust and more — how to apply each filter.
Path.net DDoS protection application filters guide: OpenVPN, Wireguard, DTLS, RTP, QUIC, SIP, TCP Symmetric and more — how to choose the right filter.