Add EndGame version 2

This commit is contained in:
Onion Limited 2021-03-28 19:42:45 +00:00
parent 770d6da100
commit 4a766ef0ac
No known key found for this signature in database
GPG key ID: E4B6CAC49B242A44
30 changed files with 2191 additions and 705 deletions

View file

@ -0,0 +1,24 @@
Onionbalance is the core of your scalability system. This is what makes all your seperate front onions work as a unified front!
However it has it's limits. Onion Services have a limit to the amount of introduction points within a specific descriptor they can have and how large the descriptor can be.
These limits lead to some pretty big problems.
1) There is a limit to the amount of fronts a single onion can have.
2) Each front can only have a certain amount of introduction points themselves.
3) Under attack descriptors can become spent before they can be replaced.
"spent" descriptors are when all the introduction points to the onion service are no longer accepting clients. Introduction points have a certain amount of introduction cell requests it will accept before not accepting anymore. These requests are the Tor's main DDOS problem. By specifically requesting tons of introduction cells, which are computationally cheap to do, an attacker can overload an onion service. The only way to protect against this right now is by scaling out.
First read the README.MD from the main directory and install onionbalance to a 2CPU 2GB RAM server seperate from your cluster of fronts.
After you have installed onionbalance you will need to cd into the directory go to /onionbalance/hs_v3/params.py and change
N_INTROS_PER_INSTANCE = 2 -> N_INTROS_PER_INSTANCE = 1
Save the params.py file and go back to the main onionbalance directory. Run
python3 setup.py install
and then you can setup the configuration
**When setting up your onionbalance configuration limit the amount of fronts to 18! Setting it higher you can get descriptor or introduction issues which will cause your onion's descriptor to not be correctly pushed.**

View file

@ -0,0 +1,34 @@
#/bin/bash
clear
echo "Welcome To The End Game DDOS OnionBalance Setup."
sleep 0.5
echo "Starting now!"
apt-get update
apt-get install -y apt-transport-https lsb-release ca-certificates dirmngr git python3-setuptools python3-dev gcc libyaml-0-2
echo "deb https://deb.torproject.org/torproject.org buster main" >> /etc/apt/sources.list.d/tor.list
echo "deb-src https://deb.torproject.org/torproject.org buster main" >> /etc/apt/sources.list.d/tor.list
echo "deb https://deb.torproject.org/torproject.org tor-nightly-master-buster main" >> /etc/apt/sources.list.d/tor.list
echo "deb-src https://deb.torproject.org/torproject.org tor-nightly-master-buster main" >> /etc/apt/sources.list.d/tor.list
wget -qO- https://deb.torproject.org/torproject.org/A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89.asc | gpg --import
gpg --export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | apt-key add -
apt-get update
apt-get install -y tor nyx
apt-get install -y vanguards
service tor stop
rm /etc/tor/torrc
mv torrc /etc/tor/torrc
git clone https://github.com/zscole/onionbalance.git
cd onionbalance
python3 setup.py install
clear
onionbalance-config --hs-version v3 -n 3
echo "Setup Done.You need to do configuration"

View file

@ -0,0 +1,5 @@
SocksPort 0
ControlPort 9051
CookieAuthentication 1
HardwareAccel 1
RunAsDaemon 1