Author Topic: SOLVED: "" is an invalid integer  (Read 6249 times)

0 Members and 1 Guest are viewing this topic.

Offline Moroes

  • Soldier
  • **
  • Posts: 165
    • Soldat-Game.eu
SOLVED: "" is an invalid integer
« on: August 26, 2017, 03:37:09 pm »
Hi Soldaters,
someone has been busy using an exploit and crashing our servers lately.
Please run this command in your linux console to drop the nasty packet and make your server healthy again.
Code: [Select]
iptables -I INPUT -p udp --dport 23073 -m string --algo kmp --hex-string '|64 29 77 00|' -j DROP
- replace 23073 with the serverport you're using
- I guess windows users gotta use netsh advfirewall/netsh firewall command. Get linux tho.

Credit goes to Helloer, the best soldat developer. Retired unfortunately.

#soldatisdead
#whatisdeadmayneverdie

Offline jrgp

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 5036
Re: SOLVED: "" is an invalid integer
« Reply #1 on: August 26, 2017, 04:05:39 pm »
That's good to know. Would be a good idea of the soldatserver could have protection for this sort of attack built in.
There are other worlds than these

Offline ezanolin

  • Major(1)
  • Posts: 1
Re: SOLVED: "" is an invalid integer
« Reply #2 on: November 15, 2017, 01:04:17 pm »
Thank you for your help and the patched ELF, however it segfaults on my server. possibly because I run 64 bit Linux with 32 bit libs. I watched for packets from outside and came up with an additional rule for users with similar problems. Here are the 2 firewall rules that I am using

Code: [Select]
iptables -I INPUT -p udp --dport 23073 -m string --algo kmp --hex-string '|64 29 77 00|' -j DROP
iptables -I INPUT -p udp --dport 23073 -m length --length 1 -m string --algo kmp --hex-string '|64|' -j DROP

I strongly suspect that there will be other packets that could crash the server but for now this is working for me. As of today the packets are coming from 35.196.253.60. Looks like the server list is scanned an then the servers are attacked. My server was brand new never on the internet before and it crashed within minutes of going up.

GeoIP shows the following

35.196.253.60   US   Mountain View,
California,
United States,
North America   94043   37.419200000000004,
-122.0574   1000   Google Cloud   Google Cloud

Probably some Google services user being an a$$, seriously people need better hobbies. When can we expect an officially released binary patch? (ie available on downloads page) I cant imagine this issue is good for the community.

All the best.
Enrico Zanolin

Offline MrHamsTR

  • Soldier
  • **
  • Posts: 209
  • One day, everything will end..
Re: SOLVED: "" is an invalid integer
« Reply #3 on: March 22, 2018, 08:45:40 am »
I thought this was already solved but since I got this error lately, think somebody should figure it out again.
Is there anybody can write script?
Good, go and play soldat ^^

Offline Irlandec

  • Soldier
  • **
  • Posts: 176
Re: SOLVED: "" is an invalid integer
« Reply #4 on: March 27, 2018, 09:39:21 am »
I thought this was already solved but since I got this error lately, think somebody should figure it out again.

What OS, soldatserver version are you using?