Urban Terror Forums: DRDoS - Urban Terror Forums

Jump to content

 Login | Register 
Advertisement
  • (27 Pages)
  • +
  • « First
  • 2
  • 3
  • 4
  • 5
  • 6
  • Last »
  • You cannot start a new topic
  • This topic is locked

DRDoS Rate Topic: ***** 1 Votes

Server used as reflector fro DRDoS

#31 User is offline   Rambetter Icon

  •   community dev   
  • Account: rambetter
  • Joined: 28-February 10
  • Posts: 1,140

Posted 12 December 2011 - 02:09 AM

My server was being hit for a very short while, and it's no longer being hit.

#32 User is offline   apath0 Icon

  • Account: apath0
  • Joined: 06-December 11
  • Posts: 7

Posted 12 December 2011 - 10:51 AM

View PostRambetter, on 12 December 2011 - 12:46 AM, said:

I'd like to get some feedback for my fix.
Can anyone confirm that a "before and after", where the "before" is sending tons of data and "after" isn't?


hey ramb,

i installed it just now and don't have any malicious traffic right now... there are some connections, but the rate is not above 'legitimate' requests.

iftop -P:

myserver:27960              => bb115-66-101-144.singnet.com.sg:27960        0b    147b     37b
myserver:27960              => vm7.s7.tonbnc.fr:42155                    3.68Kb   754b    189b
myserver:27960              => fon59-1-88-182-197-194.fbx.proxad.:27960     0b    147b     37b
myserver:27960              => 212.187.209.72:43034                         0b      0b    189b
myserver:27960              => n1164957245.netvigator.com:27960           736b    147b    110b
myserver:27960              => 193.54.153.250:codasrv-se                    0b    147b     37b


even my ssh-connection causes more traffic! so i'd say good job ;)

i'll keep an eye on it and keep you informed in case of problems. i also didn't play yet, so i can't tell you anything about potential gaming- or b3-probs.

thanks a lot for helping us out, you're doing a great job!

apath0

This post has been edited by apath0: 13 December 2011 - 06:42 AM


#33 User is offline   ipwnn00bs Icon

  • Account: ipwnn00bs
  • Joined: 06-June 10
  • Posts: 23

Posted 12 December 2011 - 06:38 PM

Hey ItsMe, do you mind on sharing your iptables script?
Maybe will be useful for other kind of services with some modification

And Thanks Rambetter, I have applied it to several servers now. But still I am not able to see if works, or just the attacks stopped.

The warnings are logged to the games.log file right?

Btw, I like the way you code :P

#34 User is offline   farflame Icon

  • Account: farflame
  • Joined: 06-December 11
  • Posts: 7

Posted 12 December 2011 - 07:29 PM

nitro

ldd ioUrTded.i386
./ioUrTded.i386: /lib32/libc.so.6: version `GLIBC_2.11' not found (required by ./ioUrTded.i386)
linux-gate.so.1 => (0xf77dd000)
libdl.so.2 => /lib32/libdl.so.2 (0xf77cf000)
libc.so.6 => /lib32/libc.so.6 (0xf767d000)
/lib/ld-linux.so.2 (0xf77de000)

you build the linux ver using a quite new version of GLIBC :)

on Lenny and other linux distros, not so new, it may fail to start :)

#35 User is offline   Rambetter Icon

  •   community dev   
  • Account: rambetter
  • Joined: 28-February 10
  • Posts: 1,140

Posted 12 December 2011 - 07:55 PM

ipwnn00bs, you'll see a few small number of log messages in qconsole.log when the exploit fix is triggered, but you'll only see these log messages when "developer 1" is enabled. I don't recommend turning this on unless you want to see LOTS of log messages (like a line for each connectionless packet received).

I am only logging when "developer 1" is set because I didn't want to unintentionally mess up anyone's log parsing code. I could just as easily change my logging to be on even when "developer 0" is set.

bullet_loaderAdvertisement

#36 User is offline   Durandal Icon

  • Account: durandal
  • Main tag: [DSG]
  • Joined: 28-February 10
  • Posts: 365

Posted 16 December 2011 - 12:16 AM

View PostRambetter, on 12 December 2011 - 12:46 AM, said:

I'd like to get some feedback for my fix.
Can anyone confirm that a "before and after", where the "before" is sending tons of data and "after" isn't?


Didn't seem to make any difference. Had 3 servers under attack just now... two in one VPS in dallas, and one in a different VPS in norcal. I had one on dallas running the new binary... one running the vanilla binary.. and the norcal one running vanilla.

All of them showed the same traffic connections and the same huge lag spikes until the attack stopped.

--edit--

Is there a cvar that needs to be set or is this a hard coded limit on the app level with the new binary?

This post has been edited by Durandal: 16 December 2011 - 12:45 AM

"On a long enough time line, everyone's survival rate drops to zero..." --Tyler Durden

#37 User is offline   Rambetter Icon

  •   community dev   
  • Account: rambetter
  • Joined: 28-February 10
  • Posts: 1,140

Posted 16 December 2011 - 12:33 AM

The incoming packets won't change with the patch, only what gets sent by the game server. You should be seeing that a maximum of 3 getstatus/getinfo responses are sent every 2 seconds to a given IP address, if you have the latest code (I recommend compiling yourself because I'm still making changes to the code).

Also if you're running the latest code you should be seeing something like this in the qconsole.log, even with developer logging disabled:

Possible DRDoS attack to address 2.4.119.112, ignoring getinfo/getstatus connectionless packet


I tested the fix by sending lots of getstatus requests to my game server and sure enough it dropped most of the requests without sending a response.

So, I don't know to what extent it's not working for you.

This post has been edited by Rambetter: 16 December 2011 - 12:34 AM


#38 User is offline   Durandal Icon

  • Account: durandal
  • Main tag: [DSG]
  • Joined: 28-February 10
  • Posts: 365

Posted 16 December 2011 - 12:56 AM

View PostRambetter, on 16 December 2011 - 12:33 AM, said:

The incoming packets won't change with the patch, only what gets sent by the game server. You should be seeing that a maximum of 3 getstatus/getinfo responses are sent every 2 seconds to a given IP address, if you have the latest code (I recommend compiling yourself because I'm still making changes to the code).

Also if you're running the latest code you should be seeing something like this in the qconsole.log, even with developer logging disabled:

Possible DRDoS attack to address 2.4.119.112, ignoring getinfo/getstatus connectionless packet


I tested the fix by sending lots of getstatus requests to my game server and sure enough it dropped most of the requests without sending a response.

So, I don't know to what extent it's not working for you.


Well.. what I was seeing is that during the attacks there was a ton of data being received and sent so not only was there the flood of SV getinfo requests showing... but the netgraph in HLSW and in game were hammered and the game was unplayably lagged when I connected. All servers seemed to show this regardless of version.

I've changed nothing and now I'm seeing huge inbound getinfo requests with minimal lag... but then so is my vanilla server...

So I'm not sure what exactly is going on with it. I'm going to grab the latest code and compile it and see if it makes a difference.

Just to confirm, this is a hard coded limiter and not something you need to configure via server cvars or whatnot right?
"On a long enough time line, everyone's survival rate drops to zero..." --Tyler Durden

#39 User is offline   Rambetter Icon

  •   community dev   
  • Account: rambetter
  • Joined: 28-February 10
  • Posts: 1,140

Posted 16 December 2011 - 01:26 AM

View PostDurandal, on 16 December 2011 - 12:56 AM, said:

Just to confirm, this is a hard coded limiter and not something you need to configure via server cvars or whatnot right?


Yes, hardcoded.

If you're running unpatched and patched servers on the same machine and they are all getting hammered by the DRDoS exploit, then the explanation for the huge lag spikes is that the unpatched servers are sending tons of data which is slowing down the connection. I'm interested if you can more accurately verify that the patched server is sending tons of data. "Huge lag spike" is not a very scientific proof. :-)

#40 User is offline   Nitro Icon

  •   QA member   
  • Account: nitro
  • Main tag: |P|
  • Country:
  • Joined: 15-March 10
  • Posts: 1,133

Posted 16 December 2011 - 11:36 PM

VPS servers share internet bandwidth, and with some people claiming to be recieving upto 10MB/s it could be that the game server is dropping the packets but the amount of bandwidth is maybe what s causing the spikes in game as usually the is some sort of limitation per server on VPS servers aswell, so although the packets are being dropped you still have to recieve them at the network level before you can drop them.
Lian Li pc-o11dw Der 8auer Edition · Gigabyte x570 Aorus Xtreme · AMD Ryzen 9 5950x 16-Core
32GB DDR4 3800MHz CL16 · 2x 1TB Samsung NVMe RAID 0 · 16GB Radeon RX 6900XT Liquid Cooled

  • (27 Pages)
  • +
  • « First
  • 2
  • 3
  • 4
  • 5
  • 6
  • Last »
  • You cannot start a new topic
  • This topic is locked

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users

Advertisement


Copyright © 1999-2024 Frozensand Games Limited  |  All rights reserved  |  Urban Terror™ and FrozenSand™ are trademarks of Frozensand Games Limited

Frozensand Games is a Limited company registered in England and Wales. Company Reg No: 10343942