Quote:
Originally Posted by Exner.
For the owners of experience
a problem suffered by many I don't think this DDOS attack
don't have much experience with c # I tried a lot of filters and I get the same problem
inside filter, many numbers in gateway. After that, the CPU increases, after which the filter is disable
I am running the filter on another server that is far from the game server
|
Quote:
Originally Posted by Exner.
But nothing was discovered about this attack in wireshark
When the filter is turned off, everything is good I use server from ovh of you have
If you have experience in anything they i will pay you money for it
But this happens with the filter on server and the server is running on another server
|
Quote:
Originally Posted by Exner.
Look here, I suffer from this problem a lot. This is ddos, and you would have had after filter close. everything returns to normal. If there is no solution for this, I want to use proxy ip ovh. If it is allowed, I will pay money for the work of such people who have great experience for help.
|
Hello,
Don't jump to conclusions, seems like you don't even know where to start. You need to determine what is the source of the problem. Common knowledge dictates 2 plausible reasons for your problem: Either it's a hardware fault, or a network related one.
This could also be a tiny guide to help psro server owners out there.
Hardware fault:
Your machine can't keep up with the workload that is being utilized.
Measure, don't guess. Monitor your server using Performance Monitor, check the loads on your Disk I/O, MSSQL server, server files, filter and other common system resources. If one of them is pegging the CPU it is more than likely you will have delays and latency involved.
Dedicated over a VPS:
Keep in mind, when choosing hosts Dedicated server is more preferable since all of the resources are allocated to your machine only. Unlike a VPS on which you share network and hardware resources with all of your fellow VPS's on the same rack.
CPU:
Always prefer core-count over core-speed, when choosing a CPU.
Most servers would benefit from a higher core count because they constantly work on a multi-threaded environment, SRO is no different. Many services are running on your machine. Parallelism is better than concurrency in that aspect.
Memory:
It's 2021, RAM is cheap and available year round. I recommend at least 16 GB for a small-medium size server.
The number one service that will devour your RAM is MSSQL server. it works well with RAM that is how Microsoft designed it to work, and it would consume RAM as much as it can get from the OS.
If you are having more than 1 GameServer keep in mind that each GS can consume up to 3.3 ~ 3.5 GB before it crashes since its 32-bit.
If you have multiples, calculate the need for more ram. I recommend at least 30% headroom.
Hard Drive:
Choose an SSD. They are way faster compared to mechanical hard-drives, Be aware, many hosting companies market their lower-tier SSD's as "SSD-boost" or "SSD-cache", especially on VPS's which I don't recommend to begin with.
In case you don't have an SSD on your dedicated server, split the the MSSQL server and the operating system onto separate physical drives. Windows will keep your disk I/O occupied, even on idle, this trick works well even if you have 2 mechanical drives.
General:
Last but not least, check your code, optimize, measure, investigate. it is up to you to determine what are the weak-spots of your systems. Don't copy from others. Learn, create, innovate. There are plenty of optimization techniques to go around.
Networking:
DDOS:
There is no software in the world that can help you against DDOS attacks. Unlike what other people think on this forum, filters can't help you against DDOS attacks.
For this problem, you are dependent on your hosting company. Choose wisely, you mentioned you use OVH. their protection is pretty decent. There are ways to mitigate those attacks, but no company can guarantee 100% protection against all comers. Back to reality, this is still SRO, not a multi-billion industry. So I doubt anybody would sit on your ass for too long.
Wanna know if you're being targetted by a DDOS attack ? open WireShark if it crashes, congrats it's a DDOS attack.
DOS:
Note the difference in name, it's important. That is basically a low-metered type of a single or a couple of connections. This can be blocked by an application level e.g SR_Proxy or any other filter for SRO out there.
Your filter should also help you against common packet-based or game-based exploits.
There are many of them, some are not shared with the public.
Outsourcing services:
You mentioned you are running your filter and server files on different machines. Keep in mind that 2 different machines requires the network traffic to travel at least 2 global-hops for the data to arrive from one end point to the other. Could be even more hops if you use a 3rd party proxy. This could also be the reason for your latency, if not applied properly.
Kind regards,
Iso.