Create an account

Very important

  • To access the important data of the forums, you must be active in each forum and especially in the leaks and database leaks section, send data and after sending the data and activity, data and important content will be opened and visible for you.
  • You will only see chat messages from people who are at or below your level.
  • More than 500,000 database leaks and millions of account leaks are waiting for you, so access and view with more activity.
  • Many important data are inactive and inaccessible for you, so open them with activity. (This will be done automatically)


Thread Rating:
  • 172 Vote(s) - 3.51 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[DIGIT4L] MyBB - Config Server Firewall - Advanced DDoS And Spam Protection.

#1
[Image: 5TLQK.png]
Okay, this tutorial will be showing you how to install Config Server Firewall to work with your MyBB forum.

[To see links please register here]


This will help you kill ddos attacks before they can do any damage, block spam, and http floods.
You can find a list of all the features here:

[To see links please register here]



You will need ROOT access to your server, and your OS must be supported by CSF.

Login via

[To see links please register here]

and run these commands to install CSF.

Quote:rm -fv csf.tgz
wget

[To see links please register here]

tar -xzf csf.tgz
cd csf
sh install.sh

If you did it correctly you should see the following.
[Image: a62aa47b51.png]

Part one.
Now we are going to start configuring the server to block DDoS, SYN, and HTTP attacks.

So now we want to open this config file.
Quote:cd /etc/csf
nano csf.conf

You need nano to edit files.
Installing nano is very simple.
Quote:yum install nano

Now find each of these lines one by one.
Quote:CT_LIMIT
CT_SKIP_TIME_WAIT
SYNFLOOD

Edit their values to the following.
Quote:CT_LIMIT = "50"
CT_SKIP_TIME_WAIT = "1"
SYNFLOOD = "1"

That's all there is to it!
You will get an email when an attacking IP is blocked.

Part two.
Blocking known spammers

Now we want to open the config file again.
Quote:cd /etc/csf
nano csf.conf

Now find these lines.
Quote:LF_DSHIELD = "0"
LF_SPAMHAUS = "0"
LF_BOGON = "0"

Change the values to the following.
Quote:LF_DSHIELD = "86400"
LF_SPAMHAUS = "86400"
LF_BOGON = "86400"

This will block know spammers and spam addresses from BOGON, Dshield, and Spamhaus's lists.
Bogon isn't really that important, but it helps.


Now once this is finished your forum is protected from DDoS and spam attacks. :smile:


Disable testing mode.

Hidden Content
You must

[To see links please register here]

or

[To see links please register here]

to view this content.

Reply

#2
Sick tutorial. Thanks for posting it. It will arrive in handy later on.
Reply

#3
Nice man! Gonna apply this to my server right now.

Good work :smile:

EDIT:

Quote:LF_DSHIELD = "0"
LF_SPAMHAUS = "0"
LF_BOGON = "0"

don't seem to be in the config file. Do you need to import them?

[ "LF_DSHIELD" could not be found ]
Reply

#4
Nice tutorial mate, it will help out alot of people.
Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

©0Day  2016 - 2023 | All Rights Reserved.  Made with    for the community. Connected through