<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: fiveshield.co</title>
    <description>The latest articles on DEV Community by fiveshield.co (@fiveshieldco).</description>
    <link>https://dev.to/fiveshieldco</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4273227%2F89f26c8b-e8ac-4814-92a2-59d893a078c4.png</url>
      <title>DEV Community: fiveshield.co</title>
      <link>https://dev.to/fiveshieldco</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/fiveshieldco"/>
    <language>en</language>
    <item>
      <title>Hardening a RedM server against DDoS: what FXServer gives you for free, and where it stops</title>
      <dc:creator>fiveshield.co</dc:creator>
      <pubDate>Mon, 30 Nov 2026 03:14:56 +0000</pubDate>
      <link>https://dev.to/fiveshieldco/hardening-a-redm-server-against-ddos-what-fxserver-gives-you-for-free-and-where-it-stops-137f</link>
      <guid>https://dev.to/fiveshieldco/hardening-a-redm-server-against-ddos-what-fxserver-gives-you-for-free-and-where-it-stops-137f</guid>
      <description>&lt;p&gt;&lt;em&gt;Disclosure: I run &lt;a href="https://fiveshield.co/en" rel="noopener noreferrer"&gt;FIVESHIELD&lt;/a&gt;, a DDoS protection service for FiveM and RedM game servers. Everything in the first four sections is free and works without us.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;RedM (Red Dead Redemption 2 multiplayer) and FiveM (GTA V multiplayer) run on the same server software, FXServer. The &lt;a href="https://docs.fivem.net/docs/server-manual/setting-up-a-server-vanilla/" rel="noopener noreferrer"&gt;Cfx.re setup guide&lt;/a&gt; turns one into the other with a single line of &lt;code&gt;server.cfg&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight conf"&gt;&lt;code&gt;&lt;span class="n"&gt;set&lt;/span&gt; &lt;span class="n"&gt;gamename&lt;/span&gt; &lt;span class="n"&gt;rdr3&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Same program, same default port (30120, TCP and UDP), same connection handshake, same public server list. So every hardening setting written up for FiveM applies to RedM unchanged, and so does every attack.&lt;/p&gt;

&lt;h2&gt;
  
  
  What gets aimed at an FXServer
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Attack&lt;/th&gt;
&lt;th&gt;What is sent&lt;/th&gt;
&lt;th&gt;Why it works&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;UDP flood&lt;/td&gt;
&lt;td&gt;Junk packets at the game port&lt;/td&gt;
&lt;td&gt;It fills the line. Nothing on the machine can fix a line that is already full&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Connection flood&lt;/td&gt;
&lt;td&gt;Fake clients that start the join handshake and never finish it&lt;/td&gt;
&lt;td&gt;The packets are well-formed, so a packet filter sees nothing wrong&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Query flood&lt;/td&gt;
&lt;td&gt;HTTP requests to &lt;code&gt;/info.json&lt;/code&gt;, &lt;code&gt;/dynamic.json&lt;/code&gt; and &lt;code&gt;/players.json&lt;/code&gt; on the game port&lt;/td&gt;
&lt;td&gt;Each request costs the server more than it costs the caller&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  Free setting 1: sv_requestParanoia
&lt;/h2&gt;

&lt;p&gt;FXServer answers those three HTTP endpoints without authentication. &lt;code&gt;sv_requestParanoia&lt;/code&gt; is the built-in countermeasure, an integer from 0 to 3 that defaults to 0:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Level&lt;/th&gt;
&lt;th&gt;Documented behaviour&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;Off&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;Block any IP sending requests that contain a &lt;code&gt;Via&lt;/code&gt; header&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;td&gt;Also block any IP sending requests that contain an &lt;code&gt;Upgrade-Insecure-Requests&lt;/code&gt; header&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;3&lt;/td&gt;
&lt;td&gt;Also close the socket the requests were submitted on&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;set sv_requestParanoia 3
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Level 3 is a sensible default on a public server. The side effect is that you can no longer open &lt;code&gt;/players.json&lt;/code&gt; in a browser, which is intended. A monitoring tool that sends neither header keeps working. It does nothing against a connection flood, because that traffic never touches those endpoints.&lt;/p&gt;

&lt;h2&gt;
  
  
  Free setting 2: stop listing your real IP
&lt;/h2&gt;

&lt;p&gt;The server list publishes a connection address for every listed server, and by default that is your machine. The official &lt;a href="https://docs.fivem.net/docs/server-manual/proxy-setup/" rel="noopener noreferrer"&gt;proxy setup guide&lt;/a&gt; documents the settings that change it:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight conf"&gt;&lt;code&gt;&lt;span class="n"&gt;set&lt;/span&gt; &lt;span class="n"&gt;sv_forceIndirectListing&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;
&lt;span class="n"&gt;set&lt;/span&gt; &lt;span class="n"&gt;sv_listingHostOverride&lt;/span&gt; &lt;span class="s2"&gt;"server1.example.com"&lt;/span&gt;
&lt;span class="n"&gt;set&lt;/span&gt; &lt;span class="n"&gt;sv_proxyIPRanges&lt;/span&gt; &lt;span class="s2"&gt;"100.64.1.1/32"&lt;/span&gt;
&lt;span class="n"&gt;set&lt;/span&gt; &lt;span class="n"&gt;sv_endpoints&lt;/span&gt; &lt;span class="s2"&gt;"100.64.1.2:30120"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;These only make sense once something sits in front of the server. They hide the address and filter nothing, and an IP that has been public once is already in other people's logs.&lt;/p&gt;

&lt;h2&gt;
  
  
  Free step 3: close the leaks
&lt;/h2&gt;

&lt;p&gt;A website or a txAdmin panel on the same machine, an old DNS record, an address pasted in Discord: each one gives the IP away again. Move them, or accept that the address is known.&lt;/p&gt;

&lt;h2&gt;
  
  
  Free step 4: ask your host what happens under attack
&lt;/h2&gt;

&lt;p&gt;Some hosts filter the traffic. Many cut the IP off the network until the flood stops, which takes the server offline as surely as the attack would. Know which one you have before the day it matters.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where free stops
&lt;/h2&gt;

&lt;p&gt;None of this gives you bandwidth, or a filter that can tell a real client from a fake one. Both have to sit upstream of the machine: by the time FXServer decides what to do with a packet, the line has already carried it. A standard web proxy such as Cloudflare's does not fill that gap for game traffic, because it carries HTTP and HTTPS and players connect over UDP.&lt;/p&gt;

&lt;p&gt;That upstream job is what a filtering proxy that speaks the cfx.re protocol is for. Ours is described layer by layer on the &lt;a href="https://fiveshield.co/en/anti-ddos-fivem" rel="noopener noreferrer"&gt;FiveM anti-DDoS page&lt;/a&gt;, and it treats a RedM server exactly like a FiveM one. The query floods above are covered in more depth in &lt;a href="https://fiveshield.co/en/blog/fivem-layer-7-attacks-players-json" rel="noopener noreferrer"&gt;FiveM Layer 7 attacks: players.json, info.json and sv_requestParanoia&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>networking</category>
      <category>gamedev</category>
      <category>ddos</category>
      <category>security</category>
    </item>
    <item>
      <title>What 90 days of DDoS attack records on FiveM game servers look like</title>
      <dc:creator>fiveshield.co</dc:creator>
      <pubDate>Mon, 30 Nov 2026 02:50:22 +0000</pubDate>
      <link>https://dev.to/fiveshieldco/what-90-days-of-ddos-attack-records-on-fivem-game-servers-look-like-nl3</link>
      <guid>https://dev.to/fiveshieldco/what-90-days-of-ddos-attack-records-on-fivem-game-servers-look-like-nl3</guid>
      <description>&lt;p&gt;&lt;em&gt;Disclosure: I run &lt;a href="https://fiveshield.co/en" rel="noopener noreferrer"&gt;FIVESHIELD&lt;/a&gt;, a DDoS protection service for FiveM and RedM game servers. These are our own records for one quarter, not a survey of FiveM.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Between 31 July and 28 October 2026 our systems recorded 37 network-layer attack records on 11 servers, plus 25 web-layer (HTTP) attack episodes. Here is what they look like, and what they cannot tell you.&lt;/p&gt;

&lt;h2&gt;
  
  
  Most were short
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Duration of a network-layer record&lt;/th&gt;
&lt;th&gt;Records&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Under 5 minutes&lt;/td&gt;
&lt;td&gt;9&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;5 to 30 minutes&lt;/td&gt;
&lt;td&gt;25&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;30 minutes to 2 hours&lt;/td&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Over 2 hours&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;That is 34 of 37 under half an hour. The median was about 14 minutes, the 95th percentile about 59 minutes, and the longest record ran 3 hours 26 minutes. By the time someone notices a server is down and switches protection on, a typical attack in this data is mostly over.&lt;/p&gt;

&lt;h2&gt;
  
  
  A few were large
&lt;/h2&gt;

&lt;p&gt;The highest peak on one record was 7,260,430 packets per second. I have not converted it to gigabits per second, because that needs an assumption about packet size that the records do not contain. On the web layer, the highest request rate in a notification was 40,320 requests per second.&lt;/p&gt;

&lt;h2&gt;
  
  
  Plain floods, on the same targets
&lt;/h2&gt;

&lt;p&gt;Every label was a plain transport-layer flood: SYN flood 21 times, UDP flood 21, a generic network flood 6, TCP flood 6. The counts overlap, because one flood often carries two labels, so they are not shares. None named a reflection or amplification vector.&lt;/p&gt;

&lt;p&gt;Three servers account for 23 of the 37 records. Four of the 11 had exactly one record in 90 days.&lt;/p&gt;

&lt;h2&gt;
  
  
  What the data cannot tell you
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;It is not FiveM in general.&lt;/strong&gt; It covers servers that chose to sit behind our service. Servers that are attacked more may be more likely to sign up.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;One flood can be several records.&lt;/strong&gt; When a flood is absorbed upstream before we can tell which server it was aimed at, every server with players on that proxy gets a record. So 37 records is more than 37 separate floods, and we cannot de-duplicate it.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The peak comes from two sources.&lt;/strong&gt; It is the larger of what our own proxy measured and what the upstream scrubbing network reported.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Only detected attacks are counted.&lt;/strong&gt; A flood too small to open a record is not here.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  How a record is opened
&lt;/h2&gt;

&lt;p&gt;A network-layer record opens when a server's traffic stays over the attack threshold for two consecutive 5-second samples, and closes after 12 quiet samples, so each duration includes that last minute.&lt;/p&gt;

&lt;p&gt;What the filtering proxy does with a flood once it is detected is described on our &lt;a href="https://fiveshield.co/en/anti-ddos-fivem" rel="noopener noreferrer"&gt;FiveM anti-DDoS page&lt;/a&gt;. The full tables, the web-layer detail and the counting method are in the original post: &lt;a href="https://fiveshield.co/en/blog/fivem-ddos-attack-data-90-days" rel="noopener noreferrer"&gt;FiveM DDoS Attack Data: 90 Days of Attacks on Servers Behind FIVESHIELD&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>ddos</category>
      <category>security</category>
      <category>networking</category>
      <category>gamedev</category>
    </item>
  </channel>
</rss>
