So, is there a way to prevent the attack? I once saw topics about IP tables, are they effective?
Forum
CS2D Scripts ddos attackddos attack
21 repliesSo, is there a way to prevent the attack? I once saw topics about IP tables, are they effective?
His server crashed --> potential cause (probably not) --> related to topic.
BcY has written
What is the point with stating that floodprot is 1 about the ddos attack?
What is the point of bitching about something irrelevant while you clearly have not a single clue about the topic?
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/bin/bash IPT="/sbin/iptables" DNS_SERVER="8.8.4.4 8.8.8.8" $IPT -F for ip in $DNS_SERVER do 	echo "Allowing DNS lookups (tcp, udp port 53) to server '$ip'" 	$IPT -A OUTPUT -p udp -d $ip --dport 53 -m state --state NEW,ESTABLISHED -j ACCEPT 	$IPT -A INPUT -p udp -s $ip --sport 53 -m state --state ESTABLISHED -j ACCEPT 	$IPT -A OUTPUT -p tcp -d $ip --dport 53 -m state --state NEW,ESTABLISHED -j ACCEPT 	$IPT -A INPUT -p tcp -s $ip --sport 53 -m state --state ESTABLISHED -j ACCEPT done $IPT -A INPUT -p udp -m udp --sport 19 -j DROP $IPT -A INPUT -p udp -m udp --sport 53 -j DROP $IPT -A INPUT -p udp -m udp --sport 1434 -j DROP $IPT -A INPUT -p udp -m udp --sport 137:138 -j DROP $IPT -A INPUT -p udp -m udp --sport 123 -j DROP $IPT -A INPUT -p udp -m udp --sport 111 -j DROP $IPT -A INPUT -p udp -m udp --sport 161:162 -j DROP $IPT -A INPUT -p udp -m udp --sport 1900 -j DROP $IPT -A INPUT -p udp -m udp --sport 27005 -j DROP $IPT -A INPUT -p udp -m string --string "SAMPY" --algo bm --to 60 -j DROP $IPT -A INPUT -p udp -m string --string "HTTP/1.1 200 OK" --algo bm --to 75 -j DROP $IPT -A INPUT -p udp -m length --length 0:28 -j DROP
Type your DNS IP in
DNS_SERVERvariable in script or keep google dns and override the DNS nameserver on your VPS. And then execute script.
I think it was DoS attack and I even got an IP of the suspected guy. If IP tables can help dealing with that 1 guy I must learn to use it.
@ BcY: I am very rude sometimes but only if someone is rude at me Your reply made it obvious you are experienced yet instead of helping you wrote something to make fun of the topic. That's not cool
I guess you can read it like that too, my bad.
Stop being fucking retards and help him out. Gosh.
Now you always find people on fun servers and some standard ones.
Yates has written
And what if "a specific bit of information" is not true?... Lol. He didn't even know what was he doing which I can get since it is not a thing for that situation he gets.Quattro stated all bits of information to make it easier for people to help him out. Asking why he provided a specific bit of information is plain dumb, he thought it would help you help him; that's why.
I ( BcY) don't know why he did that, and I asked him. And you tell me "retard". I think I have to lol now so bad. Thanks.
Ah! And that;
Yates has written
Though. Gosh.
Masea has written
And what if "a specific bit of information" is not true?... Lol. He didn't even know what was he doing which I can get since it is not a thing for that situation he gets.
Exactly. He provided the information he thought was relevant. You already know half the issue based on the title alone, you know the rest by reading the thread post. You can determine with both of these that Quattro believes it to be necessary information for people willing to help him out. Whether it actually is necessary or even related at all does not matter, asking about it makes no sense.
Just say "Hey, [this and that] won't do you any good because [reason]. (Try this out instead: [...])"
Congratulations, you've now learnt how to assess the intent of a question ¯\_(ツ)_/¯
I shouldn't have answered rude to bcy just because he questioned the topic
Yates has written
It does. Let's just say, I knew that mp_floodprot is for only DoS attacks but I see someone who uses this command for DDoS attacks, hence I ask him why he uses it. Why? Because I could have known wrong and he can answer me and fix my wrong (if it is).asking about it makes no sense.
By the way, let me just do that once again:
Yates has written
Gosh.
Wow, it feels damn good, thanks!
You know what he is trying to use it for, so you know whether it will help or not. Tell him why he should be doing something else instead of asking about something you already know the answer to (unless you're an idiot, but I mentioned it in my previous posts so I've got your back. Go check 'em out).
Gosh
On the other hand, I don't even know why you are here. What you say after the main thing is done mean just bullshit to me.
But I'm comfy now since Quattro has accepted his wrong and we're all good (I think).
Gosh
Masea has written
On the other hand, I don't even know why you are here. What you say after the main thing is done mean just bullshit to me.
Because the matter was already resolved before you replied (he explained the reason why he reacted that way and basically apologised). It seemed as if you didn't get the memo.
We all know you of all people need things explaining to you ten times. Pretty sure everyone could vouch for that.
edited 1×, last 06.07.18 11:46:34 pm