Welcome, Guest |
You have to register before you can post on our site.
|
Online Users |
There are currently 235 online users. » 0 Member(s) | 232 Guest(s) Bing, Google, Yandex
|
|
|
[SUGGESTION] Dark Mode |
Posted by: Mugsy - 2019-04-14, 10:28 AM - Forum: Chat
- Replies (13)
|
 |
The title says it all, a button with the sign of a moon and that if you give it you put the dark mode and then a sun and if you give it normal mode. Sorry for the translator.
|
|
|
PC hardware: latest, upcoming, personal builds |
Posted by: Wolf - 2019-04-14, 10:11 AM - Forum: Tech
- Replies (30)
|
 |
Thread for discussion about the latest and upcoming pc hardware, as well as your own build.
Personal?build: i5 6400, AMD Radeon RX560 4GB, 8 gigs of RAM, a TB of space (not enough), 1080p monitor and so on
|
|
|
denNorske's SA-MP Query Cache Proxy |
Posted by: denNorske - 2019-04-14, 09:08 AM - Forum: Releases
- Replies (9)
|
 |
SA-MP Query Cache Proxy
(Made in python3.7)
Hosted tab servers are facing a massive spam of spoofed UDP packets. The servers simply have no chance to respond to all the fake query requests, and becomes overworked. This ends up with servers not appearing online in the samp client, and if they appear, lots of information don't appear.?
UPDATE: Attack has calmed down (14th of april 2019)
This package will take all the "shit" from the fake packages and respond with a cached response from the samp server. The proxy sends a request to the samp server every few second to cache latest info, which it so sends further to the client that requests it. This shields the samp server and makes it appear normally in everyone's clients. It has been tested on my community and some other servers, and the effect is very noticeable.?
Why python??
Well, python was the only other language besides PAWN and C# that I knew in 2019, and it was the only contribution I could make together with my friend Nick. Now that I also know a bit of C, Javascript and such, but considering it works so well, it's fair enough to say that it may remain using python.
This project is written by frxstrem, nick and me, and everyone's welcome to contribute with better solutions by creating pull requests from separate branches. It has been tested under load of a UDP spam on approximately 3500 pps. It takes up one entire thread of a CPU on a I7-8700k.
Unfortunately, this method will only work on VPS's/VDS's where you have full access to the host system. Python code requires iptables rules to be applied.
How to run the python script in background;?
1: Code: python3 pack-scan.py &
2:Then use: to avoid it closing with the terminal, when you leave the SSH session, or close the terminal.
Disclaimer: I am in no way responsible for misconfigurations or changes done by you. You should understand what iptables do and what my code do before you use it.
Query Mechanism information: Click here
READ ME: https://github.com/dennorske/samp-packet.../README.md
Known issues:?- Under load, script tends to stop working after approximately a week. You can set up a simple bash script to restart it automatically (Fixed March 19th 2021)
- game-state and SACNR monitor queries are not responded correctly, causing graphs to not show or show incorrectly.
Visual of the Query mechanism with the script running (Assuming iptables works correctly) :
![[Image: 68747470733a2f2f706963732e6475636b792e72...322e706e67]](https://camo.githubusercontent.com/d58f13170da00082ad256c095d149919c1a47037b0f598e29479afdc50f5c2d8/68747470733a2f2f706963732e6475636b792e726f636b732f696d616765732f323032302f30342f32302f556e7469746c65642d4469616772616d2d322e706e67)
LINK TO REPOSITORY/Download https://github.com/dennorske/samp-packet-proxy
Disabling the cache/removing IPtable rules:
In order to remove the rules you've added from IPtables, please replace "-A" or "-I", with "-D" in the commands.
You need to make sure you write the exact same commands, else it will fail. (if you changed ports, use those ports, and replace -A with -D for example)
|
|
|
Burgershot |
Posted by: Mugsy - 2019-04-14, 07:56 AM - Forum: General Discussions
- Replies (18)
|
 |
Very good dear community.
I come to ask several questions.
Why Burgershoot? What is the purpose of the project? When will more official information be given?
I think that very soon news will be given and this project has a good path if it is administered well and does not pass up as SAMP.
Sorry for the google translator.
|
|
|
|